[2026-04-26 00:00:15] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:00:15] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:00:15] local.INFO: IMEI packet received {"connection_id":54227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":54227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:00:21] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:00:21] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:00:21] local.INFO: IMEI packet received {"connection_id":54227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":54227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:00:24] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:00:24] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:00:24] local.INFO: Packet analysis {"connection_id":54227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:00:24] local.INFO: Extracted packet for processing {"connection_id":54227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:00:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:00:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777141649000,"timestamp_ms":1777141649000,"timestamp_seconds":1777141649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5e58e68"} 
[2026-04-26 00:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:00:24] 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-04-26 00: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-04-26 00:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948185088001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:00:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:00:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948185088001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":54227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:00:24] local.INFO: GPS data processed {"connection_id":54227,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:00:24] local.INFO: Acknowledgment sent {"connection_id":54227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:00:55] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:00:55] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:00:55] local.INFO: Packet analysis {"connection_id":54227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:00:55] local.INFO: Extracted packet for processing {"connection_id":54227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:00:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777141649000,"timestamp_ms":1777141649000,"timestamp_seconds":1777141649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5e58e68"} 
[2026-04-26 00:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948185088001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:00:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948185088001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":54227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:00:55] local.INFO: GPS data processed {"connection_id":54227,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:00:55] local.INFO: Acknowledgment sent {"connection_id":54227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:01:15] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:01:15] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:01:15] local.INFO: IMEI packet received {"connection_id":54298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":54298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:01:21] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:01:21] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:01:21] local.INFO: IMEI packet received {"connection_id":54298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":54298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:01:22] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:01:22] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:01:22] local.INFO: Packet analysis {"connection_id":54298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:01:22] local.INFO: Extracted packet for processing {"connection_id":54298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777141649000,"timestamp_ms":1777141649000,"timestamp_seconds":1777141649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5e58e68"} 
[2026-04-26 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-04-26 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:01:22] 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-04-26 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-04-26 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-04-26 00:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:01: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-04-26 00:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948185088001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:01:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948185088001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":54298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:01:22] local.INFO: GPS data processed {"connection_id":54298,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:01:22] local.INFO: Acknowledgment sent {"connection_id":54298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:01:53] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:01:53] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:01:53] local.INFO: Packet analysis {"connection_id":54298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:01:53] local.INFO: Extracted packet for processing {"connection_id":54298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777141649000,"timestamp_ms":1777141649000,"timestamp_seconds":1777141649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5e58e68"} 
[2026-04-26 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-04-26 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:01: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-04-26 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-04-26 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-04-26 00:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:01: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-04-26 00:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948185088001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:01:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:01:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948185088001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":54298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:01:53] local.INFO: GPS data processed {"connection_id":54298,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:01:53] local.INFO: Acknowledgment sent {"connection_id":54298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:02:15] local.INFO: TCP Data received {"connection_id":54028,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:02:15] local.INFO: Processing buffer {"connection_id":54028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:02:15] local.INFO: IMEI packet received {"connection_id":54028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":54028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:02:21] local.INFO: TCP Data received {"connection_id":54028,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:02:21] local.INFO: Processing buffer {"connection_id":54028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:02:21] local.INFO: IMEI packet received {"connection_id":54028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":54028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:02:22] local.INFO: TCP Data received {"connection_id":54028,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:02:22] local.INFO: Processing buffer {"connection_id":54028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:02:22] local.INFO: Packet analysis {"connection_id":54028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:02:22] local.INFO: Extracted packet for processing {"connection_id":54028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:02:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:02:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777141649000,"timestamp_ms":1777141649000,"timestamp_seconds":1777141649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5e58e68"} 
[2026-04-26 00:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:02:22] 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-04-26 00:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:02: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-04-26 00:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948185088001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:02:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:02:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:02:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948185088001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":54028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:02:22] local.INFO: GPS data processed {"connection_id":54028,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:02:22] local.INFO: Acknowledgment sent {"connection_id":54028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:02:53] local.INFO: TCP Data received {"connection_id":54028,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:02:53] local.INFO: Processing buffer {"connection_id":54028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5e58e68012cb299c007822ce00050001228..."} 
[2026-04-26 00:02:53] local.INFO: Packet analysis {"connection_id":54028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:02:53] local.INFO: Extracted packet for processing {"connection_id":54028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5e5"} 
[2026-04-26 00:02:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:02:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777141649000,"timestamp_ms":1777141649000,"timestamp_seconds":1777141649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5e58e68"} 
[2026-04-26 00:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:02: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-04-26 00:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:02: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-04-26 00:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948185088001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:02:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:02:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948185088001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":54028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:02:53] local.INFO: GPS data processed {"connection_id":54028,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:02:53] local.INFO: Acknowledgment sent {"connection_id":54028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:03:21] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:03:21] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:03:21] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:03:26] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:03:26] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:03:26] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:03:27] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:03:27] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:03:27] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:03:27] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:03:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:03:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:03:27] 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-04-26 00:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:03:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:03:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:03:27] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:03:27] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:03:31] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:03:31] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:03:31] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:03:31] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:03:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:03: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-04-26 00: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-04-26 00:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:03: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-04-26 00:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:03:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:03:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:03:31] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:03:31] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:04:07] local.INFO: TCP Data received {"connection_id":54299,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:04:07] local.INFO: Processing buffer {"connection_id":54299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:04:07] local.INFO: IMEI packet received {"connection_id":54299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":54299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:04:16] local.INFO: TCP Data received {"connection_id":54030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:04:16] local.INFO: Processing buffer {"connection_id":54030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:04:16] local.INFO: IMEI packet received {"connection_id":54030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":54030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:04:21] local.INFO: TCP Data received {"connection_id":54030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:04:21] local.INFO: Processing buffer {"connection_id":54030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:04:21] local.INFO: IMEI packet received {"connection_id":54030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":54030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:04:22] local.INFO: TCP Data received {"connection_id":54030,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:04:22] local.INFO: Processing buffer {"connection_id":54030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:04:22] local.INFO: Packet analysis {"connection_id":54030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:04:22] local.INFO: Extracted packet for processing {"connection_id":54030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:04:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:04:22] 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-04-26 00: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-04-26 00:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:04: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-04-26 00:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:04:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:04:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":54030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:04:22] local.INFO: GPS data processed {"connection_id":54030,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:04:22] local.INFO: Acknowledgment sent {"connection_id":54030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:04:42] local.INFO: TCP Data received {"connection_id":54947,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:04:42] local.INFO: Processing buffer {"connection_id":54947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:04:42] local.INFO: IMEI packet received {"connection_id":54947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":54947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:04:54] local.INFO: TCP Data received {"connection_id":54030,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:04:54] local.INFO: Processing buffer {"connection_id":54030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:04:54] local.INFO: Packet analysis {"connection_id":54030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:04:54] local.INFO: Extracted packet for processing {"connection_id":54030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:04:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:04:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:04:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:04:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:04:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:04:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":54030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:04:54] local.INFO: GPS data processed {"connection_id":54030,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:04:54] local.INFO: Acknowledgment sent {"connection_id":54030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:05:15] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:05:15] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:05:15] local.INFO: IMEI packet received {"connection_id":54300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":54300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:05:21] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:05:21] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:05:21] local.INFO: IMEI packet received {"connection_id":54300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":54300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:05:22] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:05:22] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:05:22] local.INFO: Packet analysis {"connection_id":54300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:05:22] local.INFO: Extracted packet for processing {"connection_id":54300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:05:22] 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-04-26 00:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:05: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-04-26 00:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:05:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:05:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":54300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:05:22] local.INFO: GPS data processed {"connection_id":54300,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:05:22] local.INFO: Acknowledgment sent {"connection_id":54300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:05:53] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:05:53] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:05:53] local.INFO: Packet analysis {"connection_id":54300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:05:53] local.INFO: Extracted packet for processing {"connection_id":54300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:05:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:05:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:05: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-04-26 00:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:05:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:05:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":54300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:05:53] local.INFO: GPS data processed {"connection_id":54300,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:05:53] local.INFO: Acknowledgment sent {"connection_id":54300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:06:21] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:06:21] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:06:21] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:06:26] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:06:26] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:06:26] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:06:27] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:06:27] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:06:27] local.INFO: Packet analysis {"connection_id":54948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:06:27] local.INFO: Extracted packet for processing {"connection_id":54948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:06:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 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-04-26 00:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:06: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-04-26 00:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:06:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:06:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":54948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:06:27] local.INFO: GPS data processed {"connection_id":54948,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:06:27] local.INFO: Acknowledgment sent {"connection_id":54948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:06:31] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:06:31] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:06:31] local.INFO: Packet analysis {"connection_id":54948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:06:31] local.INFO: Extracted packet for processing {"connection_id":54948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:06:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:06:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:06: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-04-26 00: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-04-26 00:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:06: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-04-26 00:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:06:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:06:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":54948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:06:31] local.INFO: GPS data processed {"connection_id":54948,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:06:31] local.INFO: Acknowledgment sent {"connection_id":54948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:07:16] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:07:16] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:07:16] local.INFO: IMEI packet received {"connection_id":54301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":54301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:07:21] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:07:21] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:07:21] local.INFO: IMEI packet received {"connection_id":54301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":54301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:07:22] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:07:22] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:07:22] local.INFO: Packet analysis {"connection_id":54301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:07:22] local.INFO: Extracted packet for processing {"connection_id":54301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:07:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:07:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:07:22] 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-04-26 00: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-04-26 00:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:07: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-04-26 00:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:07:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:07:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:07:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":54301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:07:22] local.INFO: GPS data processed {"connection_id":54301,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:07:22] local.INFO: Acknowledgment sent {"connection_id":54301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:07:53] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:07:53] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5ea2630012cb299c007822ce0004a001229..."} 
[2026-04-26 00:07:53] local.INFO: Packet analysis {"connection_id":54301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:07:53] local.INFO: Extracted packet for processing {"connection_id":54301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ea"} 
[2026-04-26 00:07:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948262144001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777141950000,"timestamp_ms":1777141950000,"timestamp_seconds":1777141950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5ea2630"} 
[2026-04-26 00:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:07: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-04-26 00:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948262144001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948262144001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:07:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948262144001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":54301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:07:53] local.INFO: GPS data processed {"connection_id":54301,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:07:53] local.INFO: Acknowledgment sent {"connection_id":54301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:08:16] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:16] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:16] local.INFO: IMEI packet received {"connection_id":54229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":54229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:08:23] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:23] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:23] local.INFO: IMEI packet received {"connection_id":54229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":54229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:08:25] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:25] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:25] local.INFO: IMEI packet received {"connection_id":54229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":54229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:08:30] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:30] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:08:30] local.INFO: IMEI packet received {"connection_id":54229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":54229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:08:31] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:08:31] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:08:31] local.INFO: Packet analysis {"connection_id":54229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:08:31] local.INFO: Extracted packet for processing {"connection_id":54229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:08:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 00:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:08:31] 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-04-26 00:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:08:31] 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-04-26 00:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:08:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:08:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":54229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:08:31] local.INFO: GPS data processed {"connection_id":54229,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:08:31] local.INFO: Acknowledgment sent {"connection_id":54229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:09:15] local.INFO: TCP Data received {"connection_id":54031,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:09:15] local.INFO: Processing buffer {"connection_id":54031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:09:15] local.INFO: IMEI packet received {"connection_id":54031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":54031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:09:21] local.INFO: TCP Data received {"connection_id":54031,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:09:21] local.INFO: Processing buffer {"connection_id":54031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:09:21] local.INFO: IMEI packet received {"connection_id":54031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":54031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:09:22] local.INFO: TCP Data received {"connection_id":54031,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:09:22] local.INFO: Processing buffer {"connection_id":54031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:09:22] local.INFO: Packet analysis {"connection_id":54031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:09:22] local.INFO: Extracted packet for processing {"connection_id":54031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:09:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 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-04-26 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:09:22] 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-04-26 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-04-26 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-04-26 00:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:09: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-04-26 00:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:09:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:09:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:09:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":54031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:09:22] local.INFO: GPS data processed {"connection_id":54031,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:09:22] local.INFO: Acknowledgment sent {"connection_id":54031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:09:53] local.INFO: TCP Data received {"connection_id":54031,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:09:53] local.INFO: Processing buffer {"connection_id":54031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:09:53] local.INFO: Packet analysis {"connection_id":54031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:09:53] local.INFO: Extracted packet for processing {"connection_id":54031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:09:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 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-04-26 00:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:09:53] 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-04-26 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-04-26 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-04-26 00:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:09: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-04-26 00:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:09:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:09:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":54031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:09:53] local.INFO: GPS data processed {"connection_id":54031,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:09:53] local.INFO: Acknowledgment sent {"connection_id":54031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:10:01] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:01] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:01] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:10:21] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:10:21] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:10:21] local.INFO: IMEI packet received {"connection_id":54230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":54230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:10:26] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:10:26] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:10:26] local.INFO: IMEI packet received {"connection_id":54230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":54230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:10:27] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:10:27] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:10:27] local.INFO: Packet analysis {"connection_id":54230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:10:27] local.INFO: Extracted packet for processing {"connection_id":54230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:10:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:10:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 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-04-26 00:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:10: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-04-26 00:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:10:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:10:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":54230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:10:27] local.INFO: GPS data processed {"connection_id":54230,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:10:27] local.INFO: Acknowledgment sent {"connection_id":54230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:10:31] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:10:31] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:10:31] local.INFO: Packet analysis {"connection_id":54230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:10:31] local.INFO: Extracted packet for processing {"connection_id":54230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:10:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 00:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:10:31] 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-04-26 00:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:10: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-04-26 00:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:10:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:10:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":54230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:10:31] local.INFO: GPS data processed {"connection_id":54230,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:10:31] local.INFO: Acknowledgment sent {"connection_id":54230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:10:46] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:46] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:46] local.INFO: IMEI packet received {"connection_id":54953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":54953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:10:51] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:51] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:51] local.INFO: IMEI packet received {"connection_id":54953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 00:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":54953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:10:56] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:56] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:10:56] local.INFO: IMEI packet received {"connection_id":54953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 00:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":54953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:11:16] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:11:16] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:11:16] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:11:21] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:11:21] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:11:21] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:11:22] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:11:22] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:11:22] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:11:22] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 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-04-26 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:11:22] 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-04-26 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-04-26 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-04-26 00:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:11: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-04-26 00:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:11:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:11:22] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:11:22] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:11:39] local.INFO: TCP Data received {"connection_id":54231,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:11:39] local.INFO: Processing buffer {"connection_id":54231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:11:39] local.INFO: IMEI packet received {"connection_id":54231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":54231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:11:53] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:11:53] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:11:53] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:11:53] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:11:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 00:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:11:53] 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-04-26 00:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:11: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-04-26 00:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:11:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:11:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:11:53] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:11:53] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:12:15] local.INFO: TCP Data received {"connection_id":54032,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:12:15] local.INFO: Processing buffer {"connection_id":54032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:12:15] local.INFO: IMEI packet received {"connection_id":54032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:12:21] local.INFO: TCP Data received {"connection_id":54032,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:12:21] local.INFO: Processing buffer {"connection_id":54032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:12:21] local.INFO: IMEI packet received {"connection_id":54032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":54032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:12:22] local.INFO: TCP Data received {"connection_id":54032,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:12:22] local.INFO: Processing buffer {"connection_id":54032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:12:22] local.INFO: Packet analysis {"connection_id":54032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:12:22] local.INFO: Extracted packet for processing {"connection_id":54032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:12:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 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-04-26 00:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:12:22] 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-04-26 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-04-26 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-04-26 00:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:12: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-04-26 00:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:12:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":54032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:12:22] local.INFO: GPS data processed {"connection_id":54032,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:12:22] local.INFO: Acknowledgment sent {"connection_id":54032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:12:56] local.INFO: TCP Data received {"connection_id":54032,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:12:56] local.INFO: Processing buffer {"connection_id":54032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5eebdf8012cb299c007822ce0004f001229..."} 
[2026-04-26 00:12:56] local.INFO: Packet analysis {"connection_id":54032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:12:56] local.INFO: Extracted packet for processing {"connection_id":54032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5ee"} 
[2026-04-26 00:12:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948339200001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:12:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777142251000,"timestamp_ms":1777142251000,"timestamp_seconds":1777142251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5eebdf8"} 
[2026-04-26 00:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948339200001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948339200001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:12:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:12:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948339200001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":54032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:12:56] local.INFO: GPS data processed {"connection_id":54032,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:12:56] local.INFO: Acknowledgment sent {"connection_id":54032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:13:15] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:13:15] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:13:15] local.INFO: IMEI packet received {"connection_id":54303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":54303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:13:21] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:13:21] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:13:21] local.INFO: IMEI packet received {"connection_id":54303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":54303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:13:22] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:13:22] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:13:22] local.INFO: Packet analysis {"connection_id":54303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:13:22] local.INFO: Extracted packet for processing {"connection_id":54303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:13:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 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-04-26 00:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:13:22] 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-04-26 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-04-26 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-04-26 00:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:13:22] 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-04-26 00:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:13:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":54303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:13:22] local.INFO: GPS data processed {"connection_id":54303,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:13:22] local.INFO: Acknowledgment sent {"connection_id":54303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:13:53] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:13:53] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:13:53] local.INFO: Packet analysis {"connection_id":54303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:13:53] local.INFO: Extracted packet for processing {"connection_id":54303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:13:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:13:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 00:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:13:53] 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-04-26 00:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:13:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:13:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:13:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":54303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:13:53] local.INFO: GPS data processed {"connection_id":54303,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:13:53] local.INFO: Acknowledgment sent {"connection_id":54303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:14:21] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:21] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:21] local.INFO: IMEI packet received {"connection_id":54956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":54956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:14:26] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:26] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:26] local.INFO: IMEI packet received {"connection_id":54956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":54956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:14:30] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:30] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:14:30] local.INFO: IMEI packet received {"connection_id":54956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":54956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:14:31] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:14:31] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:14:31] local.INFO: Packet analysis {"connection_id":54956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:14:31] local.INFO: Extracted packet for processing {"connection_id":54956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:14:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 00:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:14:31] 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-04-26 00: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-04-26 00:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:14:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:14:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":54956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:14:31] local.INFO: GPS data processed {"connection_id":54956,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:14:31] local.INFO: Acknowledgment sent {"connection_id":54956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:14:36] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:14:36] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:14:36] local.INFO: Packet analysis {"connection_id":54956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:14:36] local.INFO: Extracted packet for processing {"connection_id":54956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:14:36] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 00:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:14:36] 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-04-26 00:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:14:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":54956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:14:36] local.INFO: GPS data processed {"connection_id":54956,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:14:36] local.INFO: Acknowledgment sent {"connection_id":54956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:15:15] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:15:15] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:15:15] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:15:20] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:15:20] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:15:20] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:15:21] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:15:21] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:15:21] local.INFO: Packet analysis {"connection_id":54305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:15:21] local.INFO: Extracted packet for processing {"connection_id":54305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 00:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:15:21] 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-04-26 00:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:15:21] local.INFO: GPS data processed {"connection_id":54305,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:15:21] local.INFO: Acknowledgment sent {"connection_id":54305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:15:52] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:15:52] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:15:52] local.INFO: Packet analysis {"connection_id":54305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:15:52] local.INFO: Extracted packet for processing {"connection_id":54305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:15:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 00:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:15:52] 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-04-26 00:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:15:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":54305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:15:52] local.INFO: GPS data processed {"connection_id":54305,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:15:52] local.INFO: Acknowledgment sent {"connection_id":54305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:16:15] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:16:15] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:16:15] local.INFO: IMEI packet received {"connection_id":54306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:16:21] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:16:21] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:16:21] local.INFO: IMEI packet received {"connection_id":54306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":54306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:16:22] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:16:22] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:16:22] local.INFO: Packet analysis {"connection_id":54306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:16:22] local.INFO: Extracted packet for processing {"connection_id":54306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 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-04-26 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:16:22] 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-04-26 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-04-26 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-04-26 00:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:16: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-04-26 00:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:16:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":54306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:16:22] local.INFO: GPS data processed {"connection_id":54306,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:16:22] local.INFO: Acknowledgment sent {"connection_id":54306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:17:01] local.INFO: TCP Data received {"connection_id":54034,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:01] local.INFO: Processing buffer {"connection_id":54034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:01] local.INFO: IMEI packet received {"connection_id":54034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":54034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:17:15] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:17:15] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:17:15] local.INFO: IMEI packet received {"connection_id":54232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":54232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:17:21] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:17:21] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:17:21] local.INFO: IMEI packet received {"connection_id":54232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":54232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:17:22] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:17:22] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:17:22] local.INFO: Packet analysis {"connection_id":54232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:17:22] local.INFO: Extracted packet for processing {"connection_id":54232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:17:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 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-04-26 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:17:22] 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-04-26 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-04-26 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-04-26 00:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:17:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:17:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:17:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":54232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:17:22] local.INFO: GPS data processed {"connection_id":54232,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:17:22] local.INFO: Acknowledgment sent {"connection_id":54232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:17:41] local.INFO: TCP Data received {"connection_id":54035,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:41] local.INFO: Processing buffer {"connection_id":54035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:41] local.INFO: IMEI packet received {"connection_id":54035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":54035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:17:53] local.INFO: TCP Data received {"connection_id":54035,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:53] local.INFO: Processing buffer {"connection_id":54035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:53] local.INFO: IMEI packet received {"connection_id":54035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 00:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":54035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:17:53] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:17:53] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f355c0012cb299c007822ce0004f00122a..."} 
[2026-04-26 00:17:53] local.INFO: Packet analysis {"connection_id":54232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:17:53] local.INFO: Extracted packet for processing {"connection_id":54232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f3"} 
[2026-04-26 00:17:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948416256001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:17:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142552000,"timestamp_ms":1777142552000,"timestamp_seconds":1777142552,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f355c0"} 
[2026-04-26 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-04-26 00:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:17:53] 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-04-26 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-04-26 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-04-26 00:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:17: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-04-26 00:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948416256001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948416256001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:17:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:17:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948416256001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":54232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:17:53] local.INFO: GPS data processed {"connection_id":54232,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:17:53] local.INFO: Acknowledgment sent {"connection_id":54232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:17:53] local.INFO: TCP Data received {"connection_id":54035,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:53] local.INFO: Processing buffer {"connection_id":54035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:17:53] local.INFO: IMEI packet received {"connection_id":54035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 00:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":54035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:18:15] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:18:15] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:18:15] local.INFO: IMEI packet received {"connection_id":54307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:18:21] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:18:21] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:18:21] local.INFO: IMEI packet received {"connection_id":54307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":54307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:18:22] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:18:22] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:18:22] local.INFO: Packet analysis {"connection_id":54307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:18:22] local.INFO: Extracted packet for processing {"connection_id":54307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:18:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:18:22] 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-04-26 00:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:18:22] 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-04-26 00:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:18:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":54307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:18:22] local.INFO: GPS data processed {"connection_id":54307,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:18:22] local.INFO: Acknowledgment sent {"connection_id":54307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:18:53] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:18:53] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:18:53] local.INFO: Packet analysis {"connection_id":54307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:18:53] local.INFO: Extracted packet for processing {"connection_id":54307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:18:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:18:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:18:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":54307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:18:53] local.INFO: GPS data processed {"connection_id":54307,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:18:53] local.INFO: Acknowledgment sent {"connection_id":54307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:19:16] local.INFO: TCP Data received {"connection_id":54036,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:19:16] local.INFO: Processing buffer {"connection_id":54036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:19:16] local.INFO: IMEI packet received {"connection_id":54036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":54036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:19:21] local.INFO: TCP Data received {"connection_id":54036,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:19:21] local.INFO: Processing buffer {"connection_id":54036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:19:21] local.INFO: IMEI packet received {"connection_id":54036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":54036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:19:22] local.INFO: TCP Data received {"connection_id":54036,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:19:22] local.INFO: Processing buffer {"connection_id":54036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:19:22] local.INFO: Packet analysis {"connection_id":54036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:19:22] local.INFO: Extracted packet for processing {"connection_id":54036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:19:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:19:22] 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-04-26 00:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:19: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-04-26 00:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:19:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:19:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:19:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":54036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:19:22] local.INFO: GPS data processed {"connection_id":54036,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:19:22] local.INFO: Acknowledgment sent {"connection_id":54036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:19:53] local.INFO: TCP Data received {"connection_id":54036,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:19:53] local.INFO: Processing buffer {"connection_id":54036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:19:53] local.INFO: Packet analysis {"connection_id":54036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:19:53] local.INFO: Extracted packet for processing {"connection_id":54036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:19:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:19:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:19: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-04-26 00:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:19:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:19:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":54036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:19:53] local.INFO: GPS data processed {"connection_id":54036,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:19:53] local.INFO: Acknowledgment sent {"connection_id":54036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:20:15] local.INFO: TCP Data received {"connection_id":54234,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:20:15] local.INFO: Processing buffer {"connection_id":54234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:20:15] local.INFO: IMEI packet received {"connection_id":54234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":54234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:20:21] local.INFO: TCP Data received {"connection_id":54234,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:20:21] local.INFO: Processing buffer {"connection_id":54234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:20:21] local.INFO: IMEI packet received {"connection_id":54234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":54234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:20:22] local.INFO: TCP Data received {"connection_id":54234,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:20:22] local.INFO: Processing buffer {"connection_id":54234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:20:22] local.INFO: Packet analysis {"connection_id":54234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:20:22] local.INFO: Extracted packet for processing {"connection_id":54234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:20:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:20:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 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-04-26 00:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:20:22] 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-04-26 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-04-26 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-04-26 00:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:20: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-04-26 00:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:20:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:20:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:20:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":54234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:20:22] local.INFO: GPS data processed {"connection_id":54234,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:20:22] local.INFO: Acknowledgment sent {"connection_id":54234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:20:55] local.INFO: TCP Data received {"connection_id":54234,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:20:55] local.INFO: Processing buffer {"connection_id":54234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:20:55] local.INFO: Packet analysis {"connection_id":54234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:20:55] local.INFO: Extracted packet for processing {"connection_id":54234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:20:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:20:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:20:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:20:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:20:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":54234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:20:55] local.INFO: GPS data processed {"connection_id":54234,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:20:55] local.INFO: Acknowledgment sent {"connection_id":54234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:21:15] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:21:15] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:21:15] local.INFO: IMEI packet received {"connection_id":54309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":54309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:21:21] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:21:21] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:21:21] local.INFO: IMEI packet received {"connection_id":54309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":54309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:21:22] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:21:22] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:21:22] local.INFO: Packet analysis {"connection_id":54309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:21:22] local.INFO: Extracted packet for processing {"connection_id":54309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:21:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:21:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:21:22] 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-04-26 00:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:21:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:21:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:21:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":54309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:21:22] local.INFO: GPS data processed {"connection_id":54309,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:21:22] local.INFO: Acknowledgment sent {"connection_id":54309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:21:53] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:21:53] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:21:53] local.INFO: Packet analysis {"connection_id":54309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:21:53] local.INFO: Extracted packet for processing {"connection_id":54309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:21:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:21:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:21:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":54309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:21:53] local.INFO: GPS data processed {"connection_id":54309,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:21:53] local.INFO: Acknowledgment sent {"connection_id":54309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:22:21] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:22:21] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:22:21] local.INFO: IMEI packet received {"connection_id":54235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":54235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:22:26] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:22:26] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:22:26] local.INFO: IMEI packet received {"connection_id":54235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":54235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:22:27] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:22:27] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:22:27] local.INFO: Packet analysis {"connection_id":54235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:22:27] local.INFO: Extracted packet for processing {"connection_id":54235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:22:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:22: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-04-26 00:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:22:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":54235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:22:27] local.INFO: GPS data processed {"connection_id":54235,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:22:27] local.INFO: Acknowledgment sent {"connection_id":54235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:22:31] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:22:31] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5f7ed88012cb299c007822ce0004a001227..."} 
[2026-04-26 00:22:31] local.INFO: Packet analysis {"connection_id":54235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:22:31] local.INFO: Extracted packet for processing {"connection_id":54235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5f7"} 
[2026-04-26 00:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948493312001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777142853000,"timestamp_ms":1777142853000,"timestamp_seconds":1777142853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5f7ed88"} 
[2026-04-26 00:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:22: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-04-26 00:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:22: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-04-26 00:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948493312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948493312001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:22:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948493312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":54235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:22:31] local.INFO: GPS data processed {"connection_id":54235,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:22:31] local.INFO: Acknowledgment sent {"connection_id":54235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:22:56] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:22:56] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:22:56] local.INFO: IMEI packet received {"connection_id":54957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":54957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:23:16] local.INFO: TCP Data received {"connection_id":54040,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:23:16] local.INFO: Processing buffer {"connection_id":54040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:23:16] local.INFO: IMEI packet received {"connection_id":54040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":54040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:23:21] local.INFO: TCP Data received {"connection_id":54040,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:23:21] local.INFO: Processing buffer {"connection_id":54040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:23:21] local.INFO: IMEI packet received {"connection_id":54040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":54040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:23:22] local.INFO: TCP Data received {"connection_id":54040,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:23:22] local.INFO: Processing buffer {"connection_id":54040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:23:22] local.INFO: Packet analysis {"connection_id":54040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:23:22] local.INFO: Extracted packet for processing {"connection_id":54040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:23:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:23:22] 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-04-26 00: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-04-26 00:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:23: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-04-26 00:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:23:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:23:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":54040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:23:22] local.INFO: GPS data processed {"connection_id":54040,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:23:22] local.INFO: Acknowledgment sent {"connection_id":54040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:23:41] local.INFO: TCP Data received {"connection_id":54041,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:23:41] local.INFO: Processing buffer {"connection_id":54041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:23:41] local.INFO: IMEI packet received {"connection_id":54041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":54041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:23:53] local.INFO: TCP Data received {"connection_id":54040,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:23:53] local.INFO: Processing buffer {"connection_id":54040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:23:53] local.INFO: Packet analysis {"connection_id":54040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:23:53] local.INFO: Extracted packet for processing {"connection_id":54040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:23:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:23:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:23: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-04-26 00:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:23:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:23:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:23:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":54040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:23:53] local.INFO: GPS data processed {"connection_id":54040,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:23:53] local.INFO: Acknowledgment sent {"connection_id":54040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:24:15] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:24:15] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:24:15] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:24:21] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:24:21] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:24:21] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:24:22] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:24:22] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:24:22] local.INFO: Packet analysis {"connection_id":54959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:24:22] local.INFO: Extracted packet for processing {"connection_id":54959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:24:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:24:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 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-04-26 00:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:24:22] 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-04-26 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-04-26 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-04-26 00:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:24: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-04-26 00:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:24:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":54959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:24:22] local.INFO: GPS data processed {"connection_id":54959,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:24:22] local.INFO: Acknowledgment sent {"connection_id":54959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:24:55] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:24:55] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:24:55] local.INFO: Packet analysis {"connection_id":54959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:24:55] local.INFO: Extracted packet for processing {"connection_id":54959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:24:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:24: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-04-26 00:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:24:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":54959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:24:55] local.INFO: GPS data processed {"connection_id":54959,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:24:55] local.INFO: Acknowledgment sent {"connection_id":54959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:25:15] local.INFO: TCP Data received {"connection_id":54042,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:25:15] local.INFO: Processing buffer {"connection_id":54042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:25:15] local.INFO: IMEI packet received {"connection_id":54042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":54042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:25:21] local.INFO: TCP Data received {"connection_id":54042,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:25:21] local.INFO: Processing buffer {"connection_id":54042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:25:21] local.INFO: IMEI packet received {"connection_id":54042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":54042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:25:22] local.INFO: TCP Data received {"connection_id":54042,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:25:22] local.INFO: Processing buffer {"connection_id":54042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:25:22] local.INFO: Packet analysis {"connection_id":54042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:25:22] local.INFO: Extracted packet for processing {"connection_id":54042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 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-04-26 00:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:25:22] 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-04-26 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-04-26 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-04-26 00:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:25: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-04-26 00:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:25:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:25:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":54042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:25:22] local.INFO: GPS data processed {"connection_id":54042,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:25:22] local.INFO: Acknowledgment sent {"connection_id":54042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:25:53] local.INFO: TCP Data received {"connection_id":54042,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:25:53] local.INFO: Processing buffer {"connection_id":54042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:25:53] local.INFO: Packet analysis {"connection_id":54042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:25:53] local.INFO: Extracted packet for processing {"connection_id":54042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:25:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:25:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 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-04-26 00:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:25: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-04-26 00:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:25:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:25:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:25:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":54042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:25:53] local.INFO: GPS data processed {"connection_id":54042,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:25:53] local.INFO: Acknowledgment sent {"connection_id":54042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:26:21] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:26:21] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:26:21] local.INFO: IMEI packet received {"connection_id":54311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":54311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:26:26] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:26:26] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:26:26] local.INFO: IMEI packet received {"connection_id":54311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":54311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:26:27] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:26:27] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:26:27] local.INFO: Packet analysis {"connection_id":54311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:26:27] local.INFO: Extracted packet for processing {"connection_id":54311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:26:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 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-04-26 00:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:26: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-04-26 00:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:26:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:26:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":54311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:26:27] local.INFO: GPS data processed {"connection_id":54311,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:26:27] local.INFO: Acknowledgment sent {"connection_id":54311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:26:31] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:26:31] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:26:31] local.INFO: Packet analysis {"connection_id":54311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:26:31] local.INFO: Extracted packet for processing {"connection_id":54311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:26:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:26: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-04-26 00: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-04-26 00:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:26: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-04-26 00:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:26:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:26:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":54311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:26:31] local.INFO: GPS data processed {"connection_id":54311,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:26:31] local.INFO: Acknowledgment sent {"connection_id":54311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:27:16] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:27:16] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:27:16] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:27:20] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:27:20] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:27:20] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:27:24] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:24] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:24] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:27:24] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:27: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-04-26 00:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:27:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:27:24] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:27:24] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:27:26] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:26] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:26] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:27:26] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:27:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:27:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:27:26] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:27:26] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:27:57] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:57] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc5fc8550012cb299c007822ce0004b001229..."} 
[2026-04-26 00:27:57] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:27:57] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc5fc"} 
[2026-04-26 00:27:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948570368001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777143154000,"timestamp_ms":1777143154000,"timestamp_seconds":1777143154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc5fc8550"} 
[2026-04-26 00:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 00:27:57] 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-04-26 00:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:27: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-04-26 00:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948570368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948570368001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:27:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:27:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948570368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:27:57] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:27:57] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:28:15] local.INFO: TCP Data received {"connection_id":54043,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:28:15] local.INFO: Processing buffer {"connection_id":54043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:28:15] local.INFO: IMEI packet received {"connection_id":54043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:28:21] local.INFO: TCP Data received {"connection_id":54043,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:28:21] local.INFO: Processing buffer {"connection_id":54043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:28:21] local.INFO: IMEI packet received {"connection_id":54043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":54043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:28:22] local.INFO: TCP Data received {"connection_id":54043,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:28:22] local.INFO: Processing buffer {"connection_id":54043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:28:22] local.INFO: Packet analysis {"connection_id":54043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:28:22] local.INFO: Extracted packet for processing {"connection_id":54043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:28:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 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-04-26 00:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:28:22] 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-04-26 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-04-26 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-04-26 00:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:28: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-04-26 00:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:28:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":54043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:28:22] local.INFO: GPS data processed {"connection_id":54043,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:28:22] local.INFO: Acknowledgment sent {"connection_id":54043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:28:53] local.INFO: TCP Data received {"connection_id":54043,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:28:53] local.INFO: Processing buffer {"connection_id":54043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:28:53] local.INFO: Packet analysis {"connection_id":54043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:28:53] local.INFO: Extracted packet for processing {"connection_id":54043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:28:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:28:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:28: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-04-26 00:28:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:28: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-04-26 00:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:28:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:28:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:28:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":54043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:28:53] local.INFO: GPS data processed {"connection_id":54043,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:28:53] local.INFO: Acknowledgment sent {"connection_id":54043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:29:06] local.INFO: TCP Data received {"connection_id":54238,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:29:06] local.INFO: Processing buffer {"connection_id":54238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:29:06] local.INFO: IMEI packet received {"connection_id":54238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":54238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:29:21] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:29:21] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:29:21] local.INFO: IMEI packet received {"connection_id":54239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":54239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:29:26] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:29:26] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:29:26] local.INFO: IMEI packet received {"connection_id":54239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":54239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:29:27] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:29:27] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:29:27] local.INFO: Packet analysis {"connection_id":54239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:29:27] local.INFO: Extracted packet for processing {"connection_id":54239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:29:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:29:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:29:27] 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-04-26 00: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-04-26 00:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:29: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-04-26 00:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:29:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:29:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":54239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:29:27] local.INFO: GPS data processed {"connection_id":54239,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:29:27] local.INFO: Acknowledgment sent {"connection_id":54239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:29:31] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:29:31] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:29:31] local.INFO: Packet analysis {"connection_id":54239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:29:31] local.INFO: Extracted packet for processing {"connection_id":54239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:29:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:29:31] 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-04-26 00:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:29: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-04-26 00:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:29:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":54239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:29:31] local.INFO: GPS data processed {"connection_id":54239,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:29:31] local.INFO: Acknowledgment sent {"connection_id":54239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:29:41] local.INFO: TCP Data received {"connection_id":54313,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:29:41] local.INFO: Processing buffer {"connection_id":54313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:29:41] local.INFO: IMEI packet received {"connection_id":54313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":54313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:30:16] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:30:16] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:30:16] local.INFO: IMEI packet received {"connection_id":54314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":54314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:30:20] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:30:20] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:30:20] local.INFO: IMEI packet received {"connection_id":54314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:30:21] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:21] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:21] local.INFO: Packet analysis {"connection_id":54314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:30:21] local.INFO: Extracted packet for processing {"connection_id":54314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:30: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-04-26 00: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-04-26 00:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:30: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-04-26 00:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:30:21] local.INFO: GPS data processed {"connection_id":54314,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:30:21] local.INFO: Acknowledgment sent {"connection_id":54314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:30:26] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:26] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:26] local.INFO: Packet analysis {"connection_id":54314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:30:26] local.INFO: Extracted packet for processing {"connection_id":54314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:30:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:30:26] 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-04-26 00:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:30:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":54314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:30:26] local.INFO: GPS data processed {"connection_id":54314,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:30:26] local.INFO: Acknowledgment sent {"connection_id":54314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:30:57] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:57] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:30:57] local.INFO: Packet analysis {"connection_id":54314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:30:57] local.INFO: Extracted packet for processing {"connection_id":54314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:30:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:30:57] 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-04-26 00:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:30:57] 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-04-26 00:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:30:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:30:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":54314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:30:57] local.INFO: GPS data processed {"connection_id":54314,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:30:57] local.INFO: Acknowledgment sent {"connection_id":54314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:31:16] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:31:16] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:31:16] local.INFO: IMEI packet received {"connection_id":54961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":54961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:31:21] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:31:21] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:31:21] local.INFO: IMEI packet received {"connection_id":54961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":54961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:31:22] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:31:22] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:31:22] local.INFO: Packet analysis {"connection_id":54961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:31:22] local.INFO: Extracted packet for processing {"connection_id":54961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:31:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:31:22] 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-04-26 00: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-04-26 00:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:31: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-04-26 00:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":54961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:31:22] local.INFO: GPS data processed {"connection_id":54961,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:31:22] local.INFO: Acknowledgment sent {"connection_id":54961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:31:53] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:31:53] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:31:53] local.INFO: Packet analysis {"connection_id":54961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:31:53] local.INFO: Extracted packet for processing {"connection_id":54961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:31:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:31:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:31: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-04-26 00: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-04-26 00:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:31: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-04-26 00:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:31:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:31:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:31:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":54961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:31:53] local.INFO: GPS data processed {"connection_id":54961,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:31:53] local.INFO: Acknowledgment sent {"connection_id":54961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:32:15] local.INFO: TCP Data received {"connection_id":54046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:32:15] local.INFO: Processing buffer {"connection_id":54046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:32:15] local.INFO: IMEI packet received {"connection_id":54046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":54046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:32:21] local.INFO: TCP Data received {"connection_id":54046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:32:21] local.INFO: Processing buffer {"connection_id":54046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:32:21] local.INFO: IMEI packet received {"connection_id":54046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":54046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:32:22] local.INFO: TCP Data received {"connection_id":54046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:32:22] local.INFO: Processing buffer {"connection_id":54046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:32:22] local.INFO: Packet analysis {"connection_id":54046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:32:22] local.INFO: Extracted packet for processing {"connection_id":54046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:32:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:32:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:32:22] 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-04-26 00: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-04-26 00:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:32: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-04-26 00:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:32:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:32:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:32:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":54046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:32:22] local.INFO: GPS data processed {"connection_id":54046,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:32:22] local.INFO: Acknowledgment sent {"connection_id":54046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:32:53] local.INFO: TCP Data received {"connection_id":54046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:32:53] local.INFO: Processing buffer {"connection_id":54046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6011d18012cb299c007822ce0004b00122b..."} 
[2026-04-26 00:32:53] local.INFO: Packet analysis {"connection_id":54046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:32:53] local.INFO: Extracted packet for processing {"connection_id":54046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc601"} 
[2026-04-26 00:32:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948647424001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143455000,"timestamp_ms":1777143455000,"timestamp_seconds":1777143455,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6011d18"} 
[2026-04-26 00:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:32: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-04-26 00: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-04-26 00:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:32: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-04-26 00:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948647424001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948647424001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:32:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948647424001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":54046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:32:53] local.INFO: GPS data processed {"connection_id":54046,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:32:53] local.INFO: Acknowledgment sent {"connection_id":54046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:33:15] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:33:15] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:33:15] local.INFO: IMEI packet received {"connection_id":54240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:33:21] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:33:21] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:33:21] local.INFO: IMEI packet received {"connection_id":54240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":54240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:33:23] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:33:23] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:33:23] local.INFO: Packet analysis {"connection_id":54240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:33:23] local.INFO: Extracted packet for processing {"connection_id":54240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:33:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:33:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:33:23] 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-04-26 00: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-04-26 00:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:33:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":54240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:33:23] local.INFO: GPS data processed {"connection_id":54240,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:33:23] local.INFO: Acknowledgment sent {"connection_id":54240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:33:54] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:33:54] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:33:54] local.INFO: Packet analysis {"connection_id":54240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:33:54] local.INFO: Extracted packet for processing {"connection_id":54240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:33:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:33:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:33:54] 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-04-26 00:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:33: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-04-26 00:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:33:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":54240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:33:54] local.INFO: GPS data processed {"connection_id":54240,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:33:54] local.INFO: Acknowledgment sent {"connection_id":54240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:34:15] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:34:15] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:34:15] local.INFO: IMEI packet received {"connection_id":54962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":54962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:34:21] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:34:21] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:34:21] local.INFO: IMEI packet received {"connection_id":54962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":54962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:34:22] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:34:22] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:34:22] local.INFO: Packet analysis {"connection_id":54962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:34:22] local.INFO: Extracted packet for processing {"connection_id":54962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:34:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:34:22] 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-04-26 00: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-04-26 00:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:34: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-04-26 00:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:34:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:34:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":54962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:34:22] local.INFO: GPS data processed {"connection_id":54962,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:34:22] local.INFO: Acknowledgment sent {"connection_id":54962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:34:54] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:34:54] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:34:54] local.INFO: Packet analysis {"connection_id":54962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:34:54] local.INFO: Extracted packet for processing {"connection_id":54962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:34:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:34:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:34:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:34:54] 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-04-26 00:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:34: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-04-26 00:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:34:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:34:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:34:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":54962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:34:54] local.INFO: GPS data processed {"connection_id":54962,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:34:54] local.INFO: Acknowledgment sent {"connection_id":54962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:35:06] local.INFO: TCP Data received {"connection_id":54241,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:35:06] local.INFO: Processing buffer {"connection_id":54241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:35:06] local.INFO: IMEI packet received {"connection_id":54241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":54241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:35:15] local.INFO: TCP Data received {"connection_id":54242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:35:15] local.INFO: Processing buffer {"connection_id":54242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:35:15] local.INFO: IMEI packet received {"connection_id":54242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":54242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:35:21] local.INFO: TCP Data received {"connection_id":54242,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:35:21] local.INFO: Processing buffer {"connection_id":54242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:35:21] local.INFO: IMEI packet received {"connection_id":54242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":54242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:35:22] local.INFO: TCP Data received {"connection_id":54242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:35:22] local.INFO: Processing buffer {"connection_id":54242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:35:22] local.INFO: Packet analysis {"connection_id":54242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:35:22] local.INFO: Extracted packet for processing {"connection_id":54242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:35:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:35:22] 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-04-26 00: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-04-26 00:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:35: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-04-26 00:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:35:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:35:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:35:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":54242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:35:22] local.INFO: GPS data processed {"connection_id":54242,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:35:22] local.INFO: Acknowledgment sent {"connection_id":54242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:35:41] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:35:41] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:35:41] local.INFO: IMEI packet received {"connection_id":54315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":54315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:35:53] local.INFO: TCP Data received {"connection_id":54242,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:35:53] local.INFO: Processing buffer {"connection_id":54242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:35:53] local.INFO: Packet analysis {"connection_id":54242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:35:53] local.INFO: Extracted packet for processing {"connection_id":54242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:35:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:35:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:35:53] 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-04-26 00: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-04-26 00:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:35: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-04-26 00:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:35:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:35:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:35:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":54242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:35:53] local.INFO: GPS data processed {"connection_id":54242,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:35:53] local.INFO: Acknowledgment sent {"connection_id":54242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:36:15] local.INFO: TCP Data received {"connection_id":54963,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:36:15] local.INFO: Processing buffer {"connection_id":54963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:36:15] local.INFO: IMEI packet received {"connection_id":54963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":54963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:36:21] local.INFO: TCP Data received {"connection_id":54963,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:36:21] local.INFO: Processing buffer {"connection_id":54963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:36:21] local.INFO: IMEI packet received {"connection_id":54963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":54963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:36:22] local.INFO: TCP Data received {"connection_id":54963,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:36:22] local.INFO: Processing buffer {"connection_id":54963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:36:22] local.INFO: Packet analysis {"connection_id":54963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:36:22] local.INFO: Extracted packet for processing {"connection_id":54963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:36:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:36:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:36:22] 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-04-26 00: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-04-26 00:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:36: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-04-26 00:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:36:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:36:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":54963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:36:22] local.INFO: GPS data processed {"connection_id":54963,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:36:22] local.INFO: Acknowledgment sent {"connection_id":54963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:36:53] local.INFO: TCP Data received {"connection_id":54963,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:36:53] local.INFO: Processing buffer {"connection_id":54963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:36:53] local.INFO: Packet analysis {"connection_id":54963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:36:53] local.INFO: Extracted packet for processing {"connection_id":54963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:36:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:36:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:36:53] 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-04-26 00: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-04-26 00:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:36: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-04-26 00:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:36:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:36:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":54963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:36:53] local.INFO: GPS data processed {"connection_id":54963,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:36:53] local.INFO: Acknowledgment sent {"connection_id":54963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:37:15] local.INFO: TCP Data received {"connection_id":54050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:37:15] local.INFO: Processing buffer {"connection_id":54050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:37:15] local.INFO: IMEI packet received {"connection_id":54050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:37:21] local.INFO: TCP Data received {"connection_id":54050,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:37:21] local.INFO: Processing buffer {"connection_id":54050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:37:21] local.INFO: IMEI packet received {"connection_id":54050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":54050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:37:21] local.INFO: TCP Data received {"connection_id":54050,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:37:21] local.INFO: Processing buffer {"connection_id":54050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:37:21] local.INFO: Packet analysis {"connection_id":54050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:37:21] local.INFO: Extracted packet for processing {"connection_id":54050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:37:21] 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-04-26 00: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-04-26 00:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:37: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-04-26 00:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:37:21] local.INFO: GPS data processed {"connection_id":54050,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:37:21] local.INFO: Acknowledgment sent {"connection_id":54050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:37:53] local.INFO: TCP Data received {"connection_id":54050,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:37:53] local.INFO: Processing buffer {"connection_id":54050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc605b4e0012cb299c007822ce0004d001229..."} 
[2026-04-26 00:37:53] local.INFO: Packet analysis {"connection_id":54050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:37:53] local.INFO: Extracted packet for processing {"connection_id":54050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc605"} 
[2026-04-26 00:37:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948724480001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777143756000,"timestamp_ms":1777143756000,"timestamp_seconds":1777143756,"priority":1,"record_length":96,"hex_timestamp":"0000019dc605b4e0"} 
[2026-04-26 00:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 00:37:53] 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-04-26 00: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-04-26 00:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948724480001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948724480001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:37:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948724480001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":54050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:37:53] local.INFO: GPS data processed {"connection_id":54050,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:37:53] local.INFO: Acknowledgment sent {"connection_id":54050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:38:21] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:38:21] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:38:21] local.INFO: IMEI packet received {"connection_id":54316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":54316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:38:25] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:38:25] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:38:25] local.INFO: IMEI packet received {"connection_id":54316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":54316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:38:26] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:38:26] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:38:26] local.INFO: Packet analysis {"connection_id":54316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:38:26] local.INFO: Extracted packet for processing {"connection_id":54316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:38:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 00:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:38: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-04-26 00:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:38:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":54316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:38:26] local.INFO: GPS data processed {"connection_id":54316,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:38:26] local.INFO: Acknowledgment sent {"connection_id":54316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:38:31] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:38:31] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:38:31] local.INFO: Packet analysis {"connection_id":54316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:38:31] local.INFO: Extracted packet for processing {"connection_id":54316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 00:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:38:31] 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-04-26 00:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:38: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-04-26 00:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:38:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":54316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:38:31] local.INFO: GPS data processed {"connection_id":54316,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:38:31] local.INFO: Acknowledgment sent {"connection_id":54316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:39:15] local.INFO: TCP Data received {"connection_id":54243,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:39:15] local.INFO: Processing buffer {"connection_id":54243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:39:15] local.INFO: IMEI packet received {"connection_id":54243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":54243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:39:21] local.INFO: TCP Data received {"connection_id":54243,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:39:21] local.INFO: Processing buffer {"connection_id":54243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:39:21] local.INFO: IMEI packet received {"connection_id":54243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":54243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:39:22] local.INFO: TCP Data received {"connection_id":54243,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:39:22] local.INFO: Processing buffer {"connection_id":54243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:39:22] local.INFO: Packet analysis {"connection_id":54243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:39:22] local.INFO: Extracted packet for processing {"connection_id":54243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:39:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:39:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 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-04-26 00:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:39:22] 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-04-26 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-04-26 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-04-26 00:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:39: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-04-26 00:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:39:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:39:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:39:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":54243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:39:22] local.INFO: GPS data processed {"connection_id":54243,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:39:22] local.INFO: Acknowledgment sent {"connection_id":54243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:39:53] local.INFO: TCP Data received {"connection_id":54243,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:39:53] local.INFO: Processing buffer {"connection_id":54243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:39:53] local.INFO: Packet analysis {"connection_id":54243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:39:53] local.INFO: Extracted packet for processing {"connection_id":54243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:39:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 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-04-26 00:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:39:53] 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-04-26 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-04-26 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-04-26 00:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:39: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-04-26 00:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:39:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:39:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":54243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:39:53] local.INFO: GPS data processed {"connection_id":54243,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:39:53] local.INFO: Acknowledgment sent {"connection_id":54243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:40:15] local.INFO: TCP Data received {"connection_id":54052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:40:15] local.INFO: Processing buffer {"connection_id":54052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:40:15] local.INFO: IMEI packet received {"connection_id":54052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:40:21] local.INFO: TCP Data received {"connection_id":54052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:40:21] local.INFO: Processing buffer {"connection_id":54052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:40:21] local.INFO: IMEI packet received {"connection_id":54052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":54052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:40:22] local.INFO: TCP Data received {"connection_id":54052,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:40:22] local.INFO: Processing buffer {"connection_id":54052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:40:22] local.INFO: Packet analysis {"connection_id":54052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:40:22] local.INFO: Extracted packet for processing {"connection_id":54052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:40:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:40:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 00:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:40:22] 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-04-26 00: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-04-26 00:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:40: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-04-26 00:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:40:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:40:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:40:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":54052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:40:22] local.INFO: GPS data processed {"connection_id":54052,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:40:22] local.INFO: Acknowledgment sent {"connection_id":54052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:40:53] local.INFO: TCP Data received {"connection_id":54052,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:40:53] local.INFO: Processing buffer {"connection_id":54052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:40:53] local.INFO: Packet analysis {"connection_id":54052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:40:53] local.INFO: Extracted packet for processing {"connection_id":54052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:40:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:40:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 00:40:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:40:53] 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-04-26 00: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-04-26 00:40:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:40: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-04-26 00:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:40:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:40:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:40:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":54052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:40:53] local.INFO: GPS data processed {"connection_id":54052,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:40:53] local.INFO: Acknowledgment sent {"connection_id":54052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:40:56] local.INFO: TCP Data received {"connection_id":54965,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:40:56] local.INFO: Processing buffer {"connection_id":54965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:40:56] local.INFO: IMEI packet received {"connection_id":54965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":54965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:41:15] local.INFO: TCP Data received {"connection_id":54244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:41:15] local.INFO: Processing buffer {"connection_id":54244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:41:15] local.INFO: IMEI packet received {"connection_id":54244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:41:21] local.INFO: TCP Data received {"connection_id":54244,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:41:21] local.INFO: Processing buffer {"connection_id":54244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:41:21] local.INFO: IMEI packet received {"connection_id":54244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":54244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:41:22] local.INFO: TCP Data received {"connection_id":54244,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:41:22] local.INFO: Processing buffer {"connection_id":54244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:41:22] local.INFO: Packet analysis {"connection_id":54244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:41:22] local.INFO: Extracted packet for processing {"connection_id":54244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:41:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:41:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 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-04-26 00:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:41:22] 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-04-26 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-04-26 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-04-26 00:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:41: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-04-26 00:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:41:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:41:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":54244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:41:22] local.INFO: GPS data processed {"connection_id":54244,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:41:22] local.INFO: Acknowledgment sent {"connection_id":54244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:41:41] local.INFO: TCP Data received {"connection_id":54966,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:41:41] local.INFO: Processing buffer {"connection_id":54966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:41:41] local.INFO: IMEI packet received {"connection_id":54966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":54966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:41:53] local.INFO: TCP Data received {"connection_id":54244,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:41:53] local.INFO: Processing buffer {"connection_id":54244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:41:53] local.INFO: Packet analysis {"connection_id":54244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:41:53] local.INFO: Extracted packet for processing {"connection_id":54244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:41:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:41:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 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-04-26 00:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:41:53] 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-04-26 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-04-26 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-04-26 00:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:41:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:41:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":54244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:41:53] local.INFO: GPS data processed {"connection_id":54244,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:41:53] local.INFO: Acknowledgment sent {"connection_id":54244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:42:21] local.INFO: TCP Data received {"connection_id":54246,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:42:21] local.INFO: Processing buffer {"connection_id":54246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:42:21] local.INFO: IMEI packet received {"connection_id":54246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":54246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:42:26] local.INFO: TCP Data received {"connection_id":54246,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:42:26] local.INFO: Processing buffer {"connection_id":54246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:42:26] local.INFO: IMEI packet received {"connection_id":54246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":54246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:42:26] local.INFO: TCP Data received {"connection_id":54246,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:42:26] local.INFO: Processing buffer {"connection_id":54246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:42:26] local.INFO: Packet analysis {"connection_id":54246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:42:26] local.INFO: Extracted packet for processing {"connection_id":54246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:42:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 00:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:42: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-04-26 00:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:42:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":54246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:42:26] local.INFO: GPS data processed {"connection_id":54246,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:42:26] local.INFO: Acknowledgment sent {"connection_id":54246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:42:31] local.INFO: TCP Data received {"connection_id":54246,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:42:31] local.INFO: Processing buffer {"connection_id":54246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60a4ca8012cb299c007822ce0004c00122a..."} 
[2026-04-26 00:42:31] local.INFO: Packet analysis {"connection_id":54246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:42:31] local.INFO: Extracted packet for processing {"connection_id":54246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60a"} 
[2026-04-26 00:42:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:42: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-04-26 00:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948801536001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777144057000,"timestamp_ms":1777144057000,"timestamp_seconds":1777144057,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60a4ca8"} 
[2026-04-26 00:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:42: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:42:31] 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-04-26 00:42: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-04-26 00:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:42: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-04-26 00:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948801536001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948801536001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:42:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948801536001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":54246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:42:31] local.INFO: GPS data processed {"connection_id":54246,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:42:31] local.INFO: Acknowledgment sent {"connection_id":54246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:43:16] local.INFO: TCP Data received {"connection_id":54053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:16] local.INFO: Processing buffer {"connection_id":54053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:16] local.INFO: IMEI packet received {"connection_id":54053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":54053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:43:16] local.INFO: TCP Data received {"connection_id":54053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:16] local.INFO: Processing buffer {"connection_id":54053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:16] local.INFO: IMEI packet received {"connection_id":54053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":54053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:43:21] local.INFO: TCP Data received {"connection_id":54053,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:21] local.INFO: Processing buffer {"connection_id":54053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:43:21] local.INFO: IMEI packet received {"connection_id":54053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":54053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:43:22] local.INFO: TCP Data received {"connection_id":54053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:43:22] local.INFO: Processing buffer {"connection_id":54053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:43:22] local.INFO: Packet analysis {"connection_id":54053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:43:22] local.INFO: Extracted packet for processing {"connection_id":54053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:43:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:43:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 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-04-26 00:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:43:22] 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-04-26 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-04-26 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-04-26 00:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 00:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:43:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:43:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:43:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":54053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:43:22] local.INFO: GPS data processed {"connection_id":54053,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:43:22] local.INFO: Acknowledgment sent {"connection_id":54053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:43:53] local.INFO: TCP Data received {"connection_id":54053,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:43:53] local.INFO: Processing buffer {"connection_id":54053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:43:53] local.INFO: Packet analysis {"connection_id":54053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:43:53] local.INFO: Extracted packet for processing {"connection_id":54053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:43:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:43:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 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-04-26 00:43:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:43:53] 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-04-26 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-04-26 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-04-26 00:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 00:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:43:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:43:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:43:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":54053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:43:53] local.INFO: GPS data processed {"connection_id":54053,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:43:53] local.INFO: Acknowledgment sent {"connection_id":54053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:44:15] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:44:15] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:44:15] local.INFO: IMEI packet received {"connection_id":54319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":54319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:44:21] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:44:21] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:44:21] local.INFO: IMEI packet received {"connection_id":54319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":54319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:44:22] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:44:22] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:44:22] local.INFO: Packet analysis {"connection_id":54319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:44:22] local.INFO: Extracted packet for processing {"connection_id":54319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:44:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:44:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 00:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:44:22] 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-04-26 00: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-04-26 00:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:44:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:44:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:44:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":54319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:44:22] local.INFO: GPS data processed {"connection_id":54319,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:44:22] local.INFO: Acknowledgment sent {"connection_id":54319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:44:53] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:44:53] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:44:53] local.INFO: Packet analysis {"connection_id":54319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:44:53] local.INFO: Extracted packet for processing {"connection_id":54319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:44:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:44:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 00:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:44:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:44:53] 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-04-26 00: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-04-26 00:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:44:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:44:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:44:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":54319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:44:53] local.INFO: GPS data processed {"connection_id":54319,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:44:53] local.INFO: Acknowledgment sent {"connection_id":54319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:45:15] local.INFO: TCP Data received {"connection_id":54321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:45:15] local.INFO: Processing buffer {"connection_id":54321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:45:15] local.INFO: IMEI packet received {"connection_id":54321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:45:21] local.INFO: TCP Data received {"connection_id":54321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:45:21] local.INFO: Processing buffer {"connection_id":54321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:45:21] local.INFO: IMEI packet received {"connection_id":54321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":54321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:45:22] local.INFO: TCP Data received {"connection_id":54321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:45:22] local.INFO: Processing buffer {"connection_id":54321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:45:22] local.INFO: Packet analysis {"connection_id":54321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:45:22] local.INFO: Extracted packet for processing {"connection_id":54321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 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-04-26 00:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:45:22] 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-04-26 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-04-26 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-04-26 00:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:45: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-04-26 00:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:45:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":54321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:45:22] local.INFO: GPS data processed {"connection_id":54321,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:45:22] local.INFO: Acknowledgment sent {"connection_id":54321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:45:53] local.INFO: TCP Data received {"connection_id":54321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:45:53] local.INFO: Processing buffer {"connection_id":54321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:45:53] local.INFO: Packet analysis {"connection_id":54321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:45:53] local.INFO: Extracted packet for processing {"connection_id":54321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:45:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:45:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 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-04-26 00:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:45:53] 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-04-26 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-04-26 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-04-26 00:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:45: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-04-26 00:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:45:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:45:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":54321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:45:53] local.INFO: GPS data processed {"connection_id":54321,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:45:53] local.INFO: Acknowledgment sent {"connection_id":54321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:46:21] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:21] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:21] local.INFO: IMEI packet received {"connection_id":54247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":54247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:46:30] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:30] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:30] local.INFO: IMEI packet received {"connection_id":54247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":54247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:46:30] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:30] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:30] local.INFO: IMEI packet received {"connection_id":54247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":54247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:46:36] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:36] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:46:36] local.INFO: IMEI packet received {"connection_id":54247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:46:36] local.INFO: IMEI acknowledgment sent {"connection_id":54247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:46:36] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:46:36] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:46:36] local.INFO: Packet analysis {"connection_id":54247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:46:36] local.INFO: Extracted packet for processing {"connection_id":54247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:46:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 00:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:46:36] 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-04-26 00:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:46:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:46:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":54247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:46:36] local.INFO: GPS data processed {"connection_id":54247,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:46:36] local.INFO: Acknowledgment sent {"connection_id":54247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:47:06] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:47:06] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:47:06] local.INFO: IMEI packet received {"connection_id":54322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":54322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:47:15] local.INFO: TCP Data received {"connection_id":54054,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:47:15] local.INFO: Processing buffer {"connection_id":54054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:47:15] local.INFO: IMEI packet received {"connection_id":54054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":54054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:47:20] local.INFO: TCP Data received {"connection_id":54054,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:47:20] local.INFO: Processing buffer {"connection_id":54054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:47:20] local.INFO: IMEI packet received {"connection_id":54054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:47:21] local.INFO: TCP Data received {"connection_id":54054,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:21] local.INFO: Processing buffer {"connection_id":54054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:21] local.INFO: Packet analysis {"connection_id":54054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:47:21] local.INFO: Extracted packet for processing {"connection_id":54054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 00:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:47:21] 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-04-26 00: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-04-26 00:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:47: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-04-26 00:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:47:21] local.INFO: GPS data processed {"connection_id":54054,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:47:21] local.INFO: Acknowledgment sent {"connection_id":54054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:47:26] local.INFO: TCP Data received {"connection_id":54054,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:26] local.INFO: Processing buffer {"connection_id":54054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:26] local.INFO: Packet analysis {"connection_id":54054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:47:26] local.INFO: Extracted packet for processing {"connection_id":54054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:47:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 00:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:47: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-04-26 00:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:47:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":54054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:47:26] local.INFO: GPS data processed {"connection_id":54054,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:47:26] local.INFO: Acknowledgment sent {"connection_id":54054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:47:41] local.INFO: TCP Data received {"connection_id":54323,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:47:41] local.INFO: Processing buffer {"connection_id":54323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:47:41] local.INFO: IMEI packet received {"connection_id":54323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":54323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:47:57] local.INFO: TCP Data received {"connection_id":54054,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:57] local.INFO: Processing buffer {"connection_id":54054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc60ee470012cb299c007822ce0004b00122a..."} 
[2026-04-26 00:47:57] local.INFO: Packet analysis {"connection_id":54054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:47:57] local.INFO: Extracted packet for processing {"connection_id":54054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc60e"} 
[2026-04-26 00:47:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948878592001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777144358000,"timestamp_ms":1777144358000,"timestamp_seconds":1777144358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc60ee470"} 
[2026-04-26 00:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 00:47:57] 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-04-26 00:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:47: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-04-26 00:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948878592001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948878592001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:47:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:47:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948878592001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":54054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:47:57] local.INFO: GPS data processed {"connection_id":54054,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:47:57] local.INFO: Acknowledgment sent {"connection_id":54054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:48:15] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:15] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:15] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:48:16] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:16] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:16] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:48:21] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:21] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:48:21] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:48:21] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:48:21] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:48:21] local.INFO: Packet analysis {"connection_id":54969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:48:21] local.INFO: Extracted packet for processing {"connection_id":54969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:48: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-04-26 00: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-04-26 00:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":54969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:48:21] local.INFO: GPS data processed {"connection_id":54969,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:48:21] local.INFO: Acknowledgment sent {"connection_id":54969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:48:53] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:48:53] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:48:53] local.INFO: Packet analysis {"connection_id":54969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:48:53] local.INFO: Extracted packet for processing {"connection_id":54969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:48:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:48:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:48: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-04-26 00: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-04-26 00:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:48: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-04-26 00:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:48:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:48:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:48:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":54969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:48:53] local.INFO: GPS data processed {"connection_id":54969,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:48:53] local.INFO: Acknowledgment sent {"connection_id":54969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:49:16] local.INFO: TCP Data received {"connection_id":54248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:49:16] local.INFO: Processing buffer {"connection_id":54248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:49:16] local.INFO: IMEI packet received {"connection_id":54248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":54248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:49:21] local.INFO: TCP Data received {"connection_id":54248,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:49:21] local.INFO: Processing buffer {"connection_id":54248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:49:21] local.INFO: IMEI packet received {"connection_id":54248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":54248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:49:21] local.INFO: TCP Data received {"connection_id":54248,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:49:21] local.INFO: Processing buffer {"connection_id":54248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:49:21] local.INFO: Packet analysis {"connection_id":54248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:49:21] local.INFO: Extracted packet for processing {"connection_id":54248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:49: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-04-26 00: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-04-26 00:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:49: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-04-26 00:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":54248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:49:21] local.INFO: GPS data processed {"connection_id":54248,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:49:21] local.INFO: Acknowledgment sent {"connection_id":54248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:49:53] local.INFO: TCP Data received {"connection_id":54248,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:49:53] local.INFO: Processing buffer {"connection_id":54248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:49:53] local.INFO: Packet analysis {"connection_id":54248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:49:53] local.INFO: Extracted packet for processing {"connection_id":54248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:49:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:49: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-04-26 00:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:49: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-04-26 00:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:49:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":54248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:49:53] local.INFO: GPS data processed {"connection_id":54248,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:49:53] local.INFO: Acknowledgment sent {"connection_id":54248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:50:15] local.INFO: TCP Data received {"connection_id":54055,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:50:15] local.INFO: Processing buffer {"connection_id":54055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:50:15] local.INFO: IMEI packet received {"connection_id":54055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:50:21] local.INFO: TCP Data received {"connection_id":54055,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:50:21] local.INFO: Processing buffer {"connection_id":54055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:50:21] local.INFO: IMEI packet received {"connection_id":54055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":54055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:50:21] local.INFO: TCP Data received {"connection_id":54055,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:50:21] local.INFO: Processing buffer {"connection_id":54055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:50:21] local.INFO: Packet analysis {"connection_id":54055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:50:21] local.INFO: Extracted packet for processing {"connection_id":54055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:50: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-04-26 00: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-04-26 00:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:50: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-04-26 00:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":54055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:50:22] local.INFO: GPS data processed {"connection_id":54055,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:50:22] local.INFO: Acknowledgment sent {"connection_id":54055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:50:53] local.INFO: TCP Data received {"connection_id":54055,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:50:53] local.INFO: Processing buffer {"connection_id":54055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:50:53] local.INFO: Packet analysis {"connection_id":54055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:50:53] local.INFO: Extracted packet for processing {"connection_id":54055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:50:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:50:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:50: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-04-26 00: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-04-26 00:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:50: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-04-26 00:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:50:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:50:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:50:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":54055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:50:53] local.INFO: GPS data processed {"connection_id":54055,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:50:53] local.INFO: Acknowledgment sent {"connection_id":54055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:51:15] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:51:15] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:51:15] local.INFO: IMEI packet received {"connection_id":54326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":54326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:51:21] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:51:21] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:51:21] local.INFO: IMEI packet received {"connection_id":54326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":54326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:51:21] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:51:21] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:51:21] local.INFO: Packet analysis {"connection_id":54326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:51:21] local.INFO: Extracted packet for processing {"connection_id":54326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 00:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:51: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-04-26 00: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-04-26 00:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":54326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:51:21] local.INFO: GPS data processed {"connection_id":54326,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:51:21] local.INFO: Acknowledgment sent {"connection_id":54326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:51:53] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:51:53] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:51:53] local.INFO: Packet analysis {"connection_id":54326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:51:53] local.INFO: Extracted packet for processing {"connection_id":54326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:51:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 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-04-26 00:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:51: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-04-26 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-04-26 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-04-26 00:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:51: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-04-26 00:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:51:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":54326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:51:53] local.INFO: GPS data processed {"connection_id":54326,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:51:53] local.INFO: Acknowledgment sent {"connection_id":54326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:52:15] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:52:15] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:52:15] local.INFO: IMEI packet received {"connection_id":54971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":54971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:52:21] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:52:21] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:52:21] local.INFO: IMEI packet received {"connection_id":54971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":54971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:52:22] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:52:22] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:52:22] local.INFO: Packet analysis {"connection_id":54971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:52:22] local.INFO: Extracted packet for processing {"connection_id":54971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:52:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:52:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 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-04-26 00:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:52:22] 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-04-26 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-04-26 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-04-26 00:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:52: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-04-26 00:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:52:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:52:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":54971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:52:22] local.INFO: GPS data processed {"connection_id":54971,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:52:22] local.INFO: Acknowledgment sent {"connection_id":54971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:52:53] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:52:53] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6137c38012cb299c007822ce0004e00122b..."} 
[2026-04-26 00:52:53] local.INFO: Packet analysis {"connection_id":54971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:52:53] local.INFO: Extracted packet for processing {"connection_id":54971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc613"} 
[2026-04-26 00:52:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454948955648001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:52:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144659000,"timestamp_ms":1777144659000,"timestamp_seconds":1777144659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6137c38"} 
[2026-04-26 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-04-26 00:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 00:52: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-04-26 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-04-26 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-04-26 00:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:52: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-04-26 00:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454948955648001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454948955648001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:52:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:52:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454948955648001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":54971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:52:53] local.INFO: GPS data processed {"connection_id":54971,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:52:53] local.INFO: Acknowledgment sent {"connection_id":54971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:53:11] local.INFO: TCP Data received {"connection_id":54057,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:53:11] local.INFO: Processing buffer {"connection_id":54057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:53:11] local.INFO: IMEI packet received {"connection_id":54057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":54057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:53:17] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:17] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:17] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:53:21] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:21] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:21] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:53:26] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:26] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:53:26] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:53:29] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:53:29] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:53:29] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:53:29] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:53:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:53: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-04-26 00:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:53:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:53:29] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:53:29] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:53:31] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:53:31] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:53:31] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:53:31] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:53:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:53:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:53:31] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:53:31] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:53:41] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:53:41] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:53:41] local.INFO: IMEI packet received {"connection_id":54973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":54973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:54:15] local.INFO: TCP Data received {"connection_id":54327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:54:15] local.INFO: Processing buffer {"connection_id":54327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:54:15] local.INFO: IMEI packet received {"connection_id":54327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":54327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:54:21] local.INFO: TCP Data received {"connection_id":54327,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:54:21] local.INFO: Processing buffer {"connection_id":54327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:54:21] local.INFO: IMEI packet received {"connection_id":54327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":54327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:54:21] local.INFO: TCP Data received {"connection_id":54327,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:54:21] local.INFO: Processing buffer {"connection_id":54327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:54:21] local.INFO: Packet analysis {"connection_id":54327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:54:21] local.INFO: Extracted packet for processing {"connection_id":54327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:54:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:54:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:54: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-04-26 00:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:54:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":54327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:54:21] local.INFO: GPS data processed {"connection_id":54327,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:54:21] local.INFO: Acknowledgment sent {"connection_id":54327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:54:54] local.INFO: TCP Data received {"connection_id":54327,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:54:54] local.INFO: Processing buffer {"connection_id":54327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:54:54] local.INFO: Packet analysis {"connection_id":54327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:54:54] local.INFO: Extracted packet for processing {"connection_id":54327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:54:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:54:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:54:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:54:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":54327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:54:54] local.INFO: GPS data processed {"connection_id":54327,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:54:54] local.INFO: Acknowledgment sent {"connection_id":54327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:55:15] local.INFO: TCP Data received {"connection_id":54059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:55:15] local.INFO: Processing buffer {"connection_id":54059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:55:15] local.INFO: IMEI packet received {"connection_id":54059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:55:21] local.INFO: TCP Data received {"connection_id":54059,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:55:21] local.INFO: Processing buffer {"connection_id":54059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:55:21] local.INFO: IMEI packet received {"connection_id":54059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":54059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:55:21] local.INFO: TCP Data received {"connection_id":54059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:55:21] local.INFO: Processing buffer {"connection_id":54059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:55:21] local.INFO: Packet analysis {"connection_id":54059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:55:21] local.INFO: Extracted packet for processing {"connection_id":54059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:55: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-04-26 00:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":54059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:55:21] local.INFO: GPS data processed {"connection_id":54059,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:55:21] local.INFO: Acknowledgment sent {"connection_id":54059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:55:52] local.INFO: TCP Data received {"connection_id":54059,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:55:53] local.INFO: Processing buffer {"connection_id":54059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:55:53] local.INFO: Packet analysis {"connection_id":54059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:55:53] local.INFO: Extracted packet for processing {"connection_id":54059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:55:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:55:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 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-04-26 00:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:55: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-04-26 00:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:55:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:55:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":54059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:55:53] local.INFO: GPS data processed {"connection_id":54059,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:55:53] local.INFO: Acknowledgment sent {"connection_id":54059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:56:15] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:56:15] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:56:15] local.INFO: IMEI packet received {"connection_id":54329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":54329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:56:21] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:56:21] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:56:21] local.INFO: IMEI packet received {"connection_id":54329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":54329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:56:21] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:56:21] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:56:21] local.INFO: Packet analysis {"connection_id":54329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:56:21] local.INFO: Extracted packet for processing {"connection_id":54329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:56: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-04-26 00:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":54329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:56:21] local.INFO: GPS data processed {"connection_id":54329,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:56:21] local.INFO: Acknowledgment sent {"connection_id":54329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:56:53] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:56:53] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:56:53] local.INFO: Packet analysis {"connection_id":54329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:56:53] local.INFO: Extracted packet for processing {"connection_id":54329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:56:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:56:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 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-04-26 00:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:56: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-04-26 00:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:56:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:56:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:56:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":54329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:56:53] local.INFO: GPS data processed {"connection_id":54329,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:56:53] local.INFO: Acknowledgment sent {"connection_id":54329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:57:21] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:57:21] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:57:21] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:57:26] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:57:26] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:57:26] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:57:26] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:57:26] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:57:26] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:57:26] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:57:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:57:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:57: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-04-26 00:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:57:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:57:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:57:26] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:57:26] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:57:31] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:57:31] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6181400012cb299c007822ce00050001228..."} 
[2026-04-26 00:57:31] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:57:31] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc618"} 
[2026-04-26 00:57:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949032704001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777144960000,"timestamp_ms":1777144960000,"timestamp_seconds":1777144960,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6181400"} 
[2026-04-26 00:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:57: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-04-26 00:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949032704001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949032704001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:57:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:57:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949032704001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:57:31] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:57:31] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:58:15] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:58:15] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:58:15] local.INFO: IMEI packet received {"connection_id":54330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":54330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:58:22] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:58:22] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:58:22] local.INFO: IMEI packet received {"connection_id":54330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":54330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:58:22] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:22] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:22] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:58:22] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:58:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 00:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 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-04-26 00:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 00:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:58:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:58:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:58:22] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:58:22] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:58:23] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:23] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:23] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:58:23] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:58:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 00:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:58:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:58:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:58:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:58:23] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:58:23] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:58:54] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:54] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:58:54] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:58:54] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:58:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 00:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:58:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:58:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:58:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:58:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:58:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:58:54] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:58:54] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:58:57] local.INFO: TCP Data received {"connection_id":54250,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:58:57] local.INFO: Processing buffer {"connection_id":54250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:58:57] local.INFO: IMEI packet received {"connection_id":54250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":54250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:59:15] local.INFO: TCP Data received {"connection_id":54060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:59:15] local.INFO: Processing buffer {"connection_id":54060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:59:15] local.INFO: IMEI packet received {"connection_id":54060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 00:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":54060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:59:21] local.INFO: TCP Data received {"connection_id":54060,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:59:21] local.INFO: Processing buffer {"connection_id":54060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 00:59:21] local.INFO: IMEI packet received {"connection_id":54060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 00:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":54060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 00:59:21] local.INFO: TCP Data received {"connection_id":54060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:59:21] local.INFO: Processing buffer {"connection_id":54060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:59:21] local.INFO: Packet analysis {"connection_id":54060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:59:21] local.INFO: Extracted packet for processing {"connection_id":54060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00: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-04-26 00:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 00:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00: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-04-26 00:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00: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-04-26 00:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":54060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:59:21] local.INFO: GPS data processed {"connection_id":54060,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:59:21] local.INFO: Acknowledgment sent {"connection_id":54060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 00:59:41] local.INFO: TCP Data received {"connection_id":54251,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:59:41] local.INFO: Processing buffer {"connection_id":54251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 00:59:41] local.INFO: IMEI packet received {"connection_id":54251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 00:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":54251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 00:59:53] local.INFO: TCP Data received {"connection_id":54060,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:59:53] local.INFO: Processing buffer {"connection_id":54060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 00:59:53] local.INFO: Packet analysis {"connection_id":54060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:59:53] local.INFO: Extracted packet for processing {"connection_id":54060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 00:59:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 00:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 00:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 00:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 00:59:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 00:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 00:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 00:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 00:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 00:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 00:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 00:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 00:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 00:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 00:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 00:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 00:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 00:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 00:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 00:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 00:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 00:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 00:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 00:59:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 00:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 00:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 00:59:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 00:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 00:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":54060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 00:59:53] local.INFO: GPS data processed {"connection_id":54060,"processed":1,"errors":0,"total":1} 
[2026-04-26 00:59:53] local.INFO: Acknowledgment sent {"connection_id":54060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:00:15] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:00:15] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:00:15] local.INFO: IMEI packet received {"connection_id":54976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":54976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:00:21] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:00:21] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:00:21] local.INFO: IMEI packet received {"connection_id":54976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":54976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:00:22] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:00:22] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:00:22] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:00:22] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:00:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:00:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 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-04-26 01:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:00: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-04-26 01:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:00:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:00:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:00:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:00:22] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:00:22] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:00:53] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:00:53] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:00:53] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:00:53] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:00:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:00:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 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-04-26 01:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:00: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-04-26 01:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:00:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:00:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:00:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:00:53] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:00:53] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:01:15] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:01:15] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:01:15] local.INFO: IMEI packet received {"connection_id":54977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":54977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:01:21] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:01:21] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:01:21] local.INFO: IMEI packet received {"connection_id":54977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":54977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:01:21] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:01:21] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:01:21] local.INFO: Packet analysis {"connection_id":54977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:01:21] local.INFO: Extracted packet for processing {"connection_id":54977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 01:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:01: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-04-26 01:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":54977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:01:21] local.INFO: GPS data processed {"connection_id":54977,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:01:21] local.INFO: Acknowledgment sent {"connection_id":54977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:01:53] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:01:53] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:01:53] local.INFO: Packet analysis {"connection_id":54977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:01:53] local.INFO: Extracted packet for processing {"connection_id":54977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:01:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 01:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:01:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:01:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":54977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:01:53] local.INFO: GPS data processed {"connection_id":54977,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:01:53] local.INFO: Acknowledgment sent {"connection_id":54977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:02:21] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:02:21] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:02:21] local.INFO: IMEI packet received {"connection_id":54978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":54978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:02:26] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:02:26] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:02:26] local.INFO: IMEI packet received {"connection_id":54978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":54978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:02:26] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:02:26] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:02:26] local.INFO: Packet analysis {"connection_id":54978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:02:26] local.INFO: Extracted packet for processing {"connection_id":54978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:02:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 01:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:02: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-04-26 01:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:02:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":54978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:02:26] local.INFO: GPS data processed {"connection_id":54978,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:02:26] local.INFO: Acknowledgment sent {"connection_id":54978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:02:31] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:02:31] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc61cabc8012cb299c007822ce0004900122a..."} 
[2026-04-26 01:02:31] local.INFO: Packet analysis {"connection_id":54978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:02:31] local.INFO: Extracted packet for processing {"connection_id":54978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc61c"} 
[2026-04-26 01:02:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777145261000,"timestamp_ms":1777145261000,"timestamp_seconds":1777145261,"priority":1,"record_length":96,"hex_timestamp":"0000019dc61cabc8"} 
[2026-04-26 01:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:02: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-04-26 01:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949109760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:02:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949109760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":54978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:02:31] local.INFO: GPS data processed {"connection_id":54978,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:02:31] local.INFO: Acknowledgment sent {"connection_id":54978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:03:16] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:03:16] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:03:16] local.INFO: IMEI packet received {"connection_id":54979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":54979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:03:20] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:03:20] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:03:20] local.INFO: IMEI packet received {"connection_id":54979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:03:20] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:03:20] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:03:20] local.INFO: Packet analysis {"connection_id":54979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:03:20] local.INFO: Extracted packet for processing {"connection_id":54979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:03: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-04-26 01:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:03:20] local.INFO: GPS data processed {"connection_id":54979,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:03:20] local.INFO: Acknowledgment sent {"connection_id":54979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:03:52] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:03:52] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:03:52] local.INFO: Packet analysis {"connection_id":54979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:03:52] local.INFO: Extracted packet for processing {"connection_id":54979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:03:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:03: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-04-26 01:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:03:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":54979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:03:52] local.INFO: GPS data processed {"connection_id":54979,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:03:52] local.INFO: Acknowledgment sent {"connection_id":54979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:04:15] local.INFO: TCP Data received {"connection_id":54254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:04:15] local.INFO: Processing buffer {"connection_id":54254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:04:15] local.INFO: IMEI packet received {"connection_id":54254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":54254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:04:21] local.INFO: TCP Data received {"connection_id":54254,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:04:21] local.INFO: Processing buffer {"connection_id":54254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:04:21] local.INFO: IMEI packet received {"connection_id":54254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":54254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:04:22] local.INFO: TCP Data received {"connection_id":54254,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:04:22] local.INFO: Processing buffer {"connection_id":54254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:04:22] local.INFO: Packet analysis {"connection_id":54254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:04:22] local.INFO: Extracted packet for processing {"connection_id":54254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:04:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:04:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 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-04-26 01:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:04: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-04-26 01:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:04:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:04:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:04:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":54254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:04:22] local.INFO: GPS data processed {"connection_id":54254,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:04:22] local.INFO: Acknowledgment sent {"connection_id":54254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:04:43] local.INFO: TCP Data received {"connection_id":54062,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:04:43] local.INFO: Processing buffer {"connection_id":54062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:04:43] local.INFO: IMEI packet received {"connection_id":54062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":54062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:04:53] local.INFO: TCP Data received {"connection_id":54254,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:04:53] local.INFO: Processing buffer {"connection_id":54254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:04:53] local.INFO: Packet analysis {"connection_id":54254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:04:53] local.INFO: Extracted packet for processing {"connection_id":54254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:04:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:04:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 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-04-26 01:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:04: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-04-26 01:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:04:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:04:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":54254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:04:53] local.INFO: GPS data processed {"connection_id":54254,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:04:53] local.INFO: Acknowledgment sent {"connection_id":54254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:05:21] local.INFO: TCP Data received {"connection_id":54063,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:05:21] local.INFO: Processing buffer {"connection_id":54063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:05:21] local.INFO: IMEI packet received {"connection_id":54063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":54063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:05:26] local.INFO: TCP Data received {"connection_id":54063,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:05:26] local.INFO: Processing buffer {"connection_id":54063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:05:26] local.INFO: IMEI packet received {"connection_id":54063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":54063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:05:26] local.INFO: TCP Data received {"connection_id":54063,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:05:27] local.INFO: Processing buffer {"connection_id":54063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:05:27] local.INFO: Packet analysis {"connection_id":54063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:05:27] local.INFO: Extracted packet for processing {"connection_id":54063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:05:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:05:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:05: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-04-26 01:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:05:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:05:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":54063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:05:27] local.INFO: GPS data processed {"connection_id":54063,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:05:27] local.INFO: Acknowledgment sent {"connection_id":54063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:05:31] local.INFO: TCP Data received {"connection_id":54063,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:05:31] local.INFO: Processing buffer {"connection_id":54063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:05:31] local.INFO: Packet analysis {"connection_id":54063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:05:31] local.INFO: Extracted packet for processing {"connection_id":54063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:05:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:05:31] 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-04-26 01:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:05:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":54063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:05:31] local.INFO: GPS data processed {"connection_id":54063,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:05:31] local.INFO: Acknowledgment sent {"connection_id":54063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:06:16] local.INFO: TCP Data received {"connection_id":54256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:06:16] local.INFO: Processing buffer {"connection_id":54256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:06:16] local.INFO: IMEI packet received {"connection_id":54256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":54256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:06:21] local.INFO: TCP Data received {"connection_id":54256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:06:21] local.INFO: Processing buffer {"connection_id":54256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:06:21] local.INFO: IMEI packet received {"connection_id":54256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":54256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:06:21] local.INFO: TCP Data received {"connection_id":54256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:06:21] local.INFO: Processing buffer {"connection_id":54256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:06:21] local.INFO: Packet analysis {"connection_id":54256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:06:21] local.INFO: Extracted packet for processing {"connection_id":54256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:06: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-04-26 01:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":54256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:06:21] local.INFO: GPS data processed {"connection_id":54256,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:06:21] local.INFO: Acknowledgment sent {"connection_id":54256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:06:53] local.INFO: TCP Data received {"connection_id":54256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:06:53] local.INFO: Processing buffer {"connection_id":54256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:06:53] local.INFO: Packet analysis {"connection_id":54256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:06:53] local.INFO: Extracted packet for processing {"connection_id":54256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:06:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:06:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:06: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-04-26 01:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:06:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:06:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":54256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:06:53] local.INFO: GPS data processed {"connection_id":54256,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:06:53] local.INFO: Acknowledgment sent {"connection_id":54256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:07:16] local.INFO: TCP Data received {"connection_id":54064,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:07:16] local.INFO: Processing buffer {"connection_id":54064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:07:16] local.INFO: IMEI packet received {"connection_id":54064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":54064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:07:21] local.INFO: TCP Data received {"connection_id":54064,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:07:21] local.INFO: Processing buffer {"connection_id":54064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:07:21] local.INFO: IMEI packet received {"connection_id":54064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":54064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:07:21] local.INFO: TCP Data received {"connection_id":54064,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:07:21] local.INFO: Processing buffer {"connection_id":54064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:07:21] local.INFO: Packet analysis {"connection_id":54064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:07:21] local.INFO: Extracted packet for processing {"connection_id":54064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 01:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:07: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-04-26 01:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":54064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:07:21] local.INFO: GPS data processed {"connection_id":54064,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:07:21] local.INFO: Acknowledgment sent {"connection_id":54064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:07:53] local.INFO: TCP Data received {"connection_id":54064,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:07:53] local.INFO: Processing buffer {"connection_id":54064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6214390012cb299c007822ce0004e00122a..."} 
[2026-04-26 01:07:53] local.INFO: Packet analysis {"connection_id":54064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:07:53] local.INFO: Extracted packet for processing {"connection_id":54064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc621"} 
[2026-04-26 01:07:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949186816001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:07:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:07:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145562000,"timestamp_ms":1777145562000,"timestamp_seconds":1777145562,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6214390"} 
[2026-04-26 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-04-26 01:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 01:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:07: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-04-26 01:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949186816001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949186816001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:07:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:07:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:07:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949186816001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":54064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:07:53] local.INFO: GPS data processed {"connection_id":54064,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:07:53] local.INFO: Acknowledgment sent {"connection_id":54064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:08:15] local.INFO: TCP Data received {"connection_id":54065,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:08:15] local.INFO: Processing buffer {"connection_id":54065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:08:15] local.INFO: IMEI packet received {"connection_id":54065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":54065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:08:20] local.INFO: TCP Data received {"connection_id":54065,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:08:20] local.INFO: Processing buffer {"connection_id":54065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:08:20] local.INFO: IMEI packet received {"connection_id":54065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:08:21] local.INFO: TCP Data received {"connection_id":54065,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:08:21] local.INFO: Processing buffer {"connection_id":54065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:08:21] local.INFO: Packet analysis {"connection_id":54065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:08:21] local.INFO: Extracted packet for processing {"connection_id":54065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:08:21] 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-04-26 01: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-04-26 01:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:08: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-04-26 01:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":54065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:08:21] local.INFO: GPS data processed {"connection_id":54065,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:08:21] local.INFO: Acknowledgment sent {"connection_id":54065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:08:53] local.INFO: TCP Data received {"connection_id":54065,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:08:53] local.INFO: Processing buffer {"connection_id":54065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:08:53] local.INFO: Packet analysis {"connection_id":54065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:08:53] local.INFO: Extracted packet for processing {"connection_id":54065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:08:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:08:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 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-04-26 01:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:08: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-04-26 01:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:08:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:08:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:08:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":54065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:08:53] local.INFO: GPS data processed {"connection_id":54065,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:08:53] local.INFO: Acknowledgment sent {"connection_id":54065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:09:21] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:09:21] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:09:21] local.INFO: IMEI packet received {"connection_id":54334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":54334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:09:25] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:09:25] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:09:25] local.INFO: IMEI packet received {"connection_id":54334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":54334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:09:26] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:09:26] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:09:26] local.INFO: Packet analysis {"connection_id":54334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:09:26] local.INFO: Extracted packet for processing {"connection_id":54334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:09:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:09:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:09: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-04-26 01: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-04-26 01:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:09: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-04-26 01:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:09:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:09:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":54334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:09:26] local.INFO: GPS data processed {"connection_id":54334,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:09:26] local.INFO: Acknowledgment sent {"connection_id":54334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:09:31] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:09:31] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:09:31] local.INFO: Packet analysis {"connection_id":54334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:09:31] local.INFO: Extracted packet for processing {"connection_id":54334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:09:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:09:31] 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-04-26 01: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-04-26 01:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:09:31] 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-04-26 01:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:09:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":54334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:09:31] local.INFO: GPS data processed {"connection_id":54334,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:09:31] local.INFO: Acknowledgment sent {"connection_id":54334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:10:15] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:10:15] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:10:15] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:10:16] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:10:16] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:10:16] local.INFO: IMEI packet received {"connection_id":54981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":54981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:10:20] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:10:20] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:10:20] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:10:22] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:10:22] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:10:22] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:10:22] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:10:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:10:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:10:22] 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-04-26 01: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-04-26 01:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:10: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-04-26 01:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:10:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:10:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:10:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:10:22] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:10:22] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:10:46] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:10:46] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:10:46] local.INFO: IMEI packet received {"connection_id":54983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:10:46] local.INFO: IMEI acknowledgment sent {"connection_id":54983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:10:53] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:10:53] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:10:53] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:10:53] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:10:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:10:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:10: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-04-26 01:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:10:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:10:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:10:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:10:53] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:10:53] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:11:16] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:11:16] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:11:16] local.INFO: IMEI packet received {"connection_id":54258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":54258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:11:21] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:11:21] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:11:21] local.INFO: IMEI packet received {"connection_id":54258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":54258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:11:21] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:11:21] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:11:21] local.INFO: Packet analysis {"connection_id":54258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:11:21] local.INFO: Extracted packet for processing {"connection_id":54258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:11:21] 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-04-26 01: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-04-26 01:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:11:21] local.INFO: GPS data processed {"connection_id":54258,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:11:21] local.INFO: Acknowledgment sent {"connection_id":54258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:11:52] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:11:52] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:11:52] local.INFO: Packet analysis {"connection_id":54258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:11:52] local.INFO: Extracted packet for processing {"connection_id":54258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:11:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:11: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-04-26 01: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-04-26 01:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:11: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-04-26 01:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:11:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":54258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:11:52] local.INFO: GPS data processed {"connection_id":54258,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:11:53] local.INFO: Acknowledgment sent {"connection_id":54258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:12:15] local.INFO: TCP Data received {"connection_id":54066,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:12:15] local.INFO: Processing buffer {"connection_id":54066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:12:15] local.INFO: IMEI packet received {"connection_id":54066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:12:21] local.INFO: TCP Data received {"connection_id":54066,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:12:21] local.INFO: Processing buffer {"connection_id":54066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:12:21] local.INFO: IMEI packet received {"connection_id":54066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":54066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:12:21] local.INFO: TCP Data received {"connection_id":54066,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:12:21] local.INFO: Processing buffer {"connection_id":54066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:12:21] local.INFO: Packet analysis {"connection_id":54066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:12:21] local.INFO: Extracted packet for processing {"connection_id":54066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:12:21] 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-04-26 01: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-04-26 01:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:12: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-04-26 01:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":54066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:12:21] local.INFO: GPS data processed {"connection_id":54066,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:12:21] local.INFO: Acknowledgment sent {"connection_id":54066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:12:53] local.INFO: TCP Data received {"connection_id":54066,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:12:53] local.INFO: Processing buffer {"connection_id":54066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:12:53] local.INFO: Packet analysis {"connection_id":54066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:12:53] local.INFO: Extracted packet for processing {"connection_id":54066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:12:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 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-04-26 01:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 01:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:12: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-04-26 01:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:12:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":54066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:12:53] local.INFO: GPS data processed {"connection_id":54066,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:12:53] local.INFO: Acknowledgment sent {"connection_id":54066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:13:15] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:13:15] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:13:15] local.INFO: IMEI packet received {"connection_id":54259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":54259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:13:21] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:13:21] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:13:21] local.INFO: IMEI packet received {"connection_id":54259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":54259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:13:21] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:13:21] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc625db58012cb299c007822ce0004700122a..."} 
[2026-04-26 01:13:21] local.INFO: Packet analysis {"connection_id":54259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:13:21] local.INFO: Extracted packet for processing {"connection_id":54259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc625"} 
[2026-04-26 01:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949263872001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777145863000,"timestamp_ms":1777145863000,"timestamp_seconds":1777145863,"priority":1,"record_length":96,"hex_timestamp":"0000019dc625db58"} 
[2026-04-26 01:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 01:13:21] 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-04-26 01: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-04-26 01:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:13: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-04-26 01:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949263872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949263872001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949263872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:13:21] local.INFO: GPS data processed {"connection_id":54259,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:13:21] local.INFO: Acknowledgment sent {"connection_id":54259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:13:52] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:13:52] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:13:52] local.INFO: Packet analysis {"connection_id":54259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:13:52] local.INFO: Extracted packet for processing {"connection_id":54259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:13:52] 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-04-26 01: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-04-26 01:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:13: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-04-26 01:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":54259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:13:52] local.INFO: GPS data processed {"connection_id":54259,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:13:52] local.INFO: Acknowledgment sent {"connection_id":54259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:14:16] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:14:16] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:14:16] local.INFO: IMEI packet received {"connection_id":54985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":54985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:14:21] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:14:21] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:14:21] local.INFO: IMEI packet received {"connection_id":54985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":54985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:14:22] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:14:22] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:14:22] local.INFO: Packet analysis {"connection_id":54985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:14:22] local.INFO: Extracted packet for processing {"connection_id":54985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:14:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:14:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:14:22] 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-04-26 01: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-04-26 01:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:14: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-04-26 01:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:14:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:14:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:14:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":54985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:14:22] local.INFO: GPS data processed {"connection_id":54985,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:14:22] local.INFO: Acknowledgment sent {"connection_id":54985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:14:53] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:14:53] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:14:53] local.INFO: Packet analysis {"connection_id":54985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:14:53] local.INFO: Extracted packet for processing {"connection_id":54985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:14:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:14:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:14: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-04-26 01:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:14:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:14:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":54985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:14:53] local.INFO: GPS data processed {"connection_id":54985,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:14:53] local.INFO: Acknowledgment sent {"connection_id":54985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:15:15] local.INFO: TCP Data received {"connection_id":54067,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:15:15] local.INFO: Processing buffer {"connection_id":54067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:15:15] local.INFO: IMEI packet received {"connection_id":54067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:15:21] local.INFO: TCP Data received {"connection_id":54067,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:15:21] local.INFO: Processing buffer {"connection_id":54067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:15:21] local.INFO: IMEI packet received {"connection_id":54067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":54067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:15:21] local.INFO: TCP Data received {"connection_id":54067,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:15:21] local.INFO: Processing buffer {"connection_id":54067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:15:21] local.INFO: Packet analysis {"connection_id":54067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:15:21] local.INFO: Extracted packet for processing {"connection_id":54067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:15: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-04-26 01: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-04-26 01:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:15: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-04-26 01:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:15:21] local.INFO: GPS data processed {"connection_id":54067,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:15:21] local.INFO: Acknowledgment sent {"connection_id":54067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:15:53] local.INFO: TCP Data received {"connection_id":54067,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:15:53] local.INFO: Processing buffer {"connection_id":54067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:15:53] local.INFO: Packet analysis {"connection_id":54067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:15:53] local.INFO: Extracted packet for processing {"connection_id":54067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:15:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:15:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:15:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:15: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-04-26 01: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-04-26 01:15:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:15: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-04-26 01:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:15:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":54067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:15:53] local.INFO: GPS data processed {"connection_id":54067,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:15:53] local.INFO: Acknowledgment sent {"connection_id":54067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:16:06] local.INFO: TCP Data received {"connection_id":54068,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:16:06] local.INFO: Processing buffer {"connection_id":54068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:16:06] local.INFO: IMEI packet received {"connection_id":54068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":54068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:16:15] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:16:15] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:16:15] local.INFO: IMEI packet received {"connection_id":54261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:16:21] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:16:21] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:16:21] local.INFO: IMEI packet received {"connection_id":54261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":54261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:16:22] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:16:22] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:16:22] local.INFO: Packet analysis {"connection_id":54261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:16:22] local.INFO: Extracted packet for processing {"connection_id":54261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:16:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:16:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 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-04-26 01:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:16:22] 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-04-26 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-04-26 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-04-26 01:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:16: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-04-26 01:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:16:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:16:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:16:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":54261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:16:22] local.INFO: GPS data processed {"connection_id":54261,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:16:22] local.INFO: Acknowledgment sent {"connection_id":54261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:16:41] local.INFO: TCP Data received {"connection_id":54337,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:16:41] local.INFO: Processing buffer {"connection_id":54337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:16:41] local.INFO: IMEI packet received {"connection_id":54337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":54337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:16:54] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:16:54] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:16:54] local.INFO: Packet analysis {"connection_id":54261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:16:54] local.INFO: Extracted packet for processing {"connection_id":54261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:16:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:16:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:16: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-04-26 01:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:16:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:16:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:16:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":54261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:16:54] local.INFO: GPS data processed {"connection_id":54261,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:16:54] local.INFO: Acknowledgment sent {"connection_id":54261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:17:21] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:17:21] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:17:21] local.INFO: IMEI packet received {"connection_id":54986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":54986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:17:25] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:17:25] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:17:25] local.INFO: IMEI packet received {"connection_id":54986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":54986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:17:26] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:17:26] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:17:26] local.INFO: Packet analysis {"connection_id":54986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:17:26] local.INFO: Extracted packet for processing {"connection_id":54986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:17:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:17:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":54986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:17:26] local.INFO: GPS data processed {"connection_id":54986,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:17:26] local.INFO: Acknowledgment sent {"connection_id":54986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:17:31] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:17:31] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:17:31] local.INFO: Packet analysis {"connection_id":54986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:17:31] local.INFO: Extracted packet for processing {"connection_id":54986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:17:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 01:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:17:31] 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-04-26 01: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-04-26 01:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:17: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-04-26 01:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:17:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":54986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:17:31] local.INFO: GPS data processed {"connection_id":54986,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:17:31] local.INFO: Acknowledgment sent {"connection_id":54986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:18:16] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:18:16] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:18:16] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:18:21] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:18:21] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:18:21] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:18:22] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:18:22] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62a7320012cb299c007822ce00047001227..."} 
[2026-04-26 01:18:22] local.INFO: Packet analysis {"connection_id":54338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:18:22] local.INFO: Extracted packet for processing {"connection_id":54338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62a"} 
[2026-04-26 01:18:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949340928001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777146164000,"timestamp_ms":1777146164000,"timestamp_seconds":1777146164,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62a7320"} 
[2026-04-26 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-04-26 01:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:18:22] 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-04-26 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-04-26 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-04-26 01:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:18: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-04-26 01:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949340928001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949340928001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:18:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949340928001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":54338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:18:22] local.INFO: GPS data processed {"connection_id":54338,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:18:22] local.INFO: Acknowledgment sent {"connection_id":54338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:18:53] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:18:53] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:18:53] local.INFO: Packet analysis {"connection_id":54338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:18:53] local.INFO: Extracted packet for processing {"connection_id":54338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:18:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:18:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 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-04-26 01:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:18:53] 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-04-26 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-04-26 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-04-26 01:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:18: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-04-26 01:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:18:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:18:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":54338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:18:53] local.INFO: GPS data processed {"connection_id":54338,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:18:53] local.INFO: Acknowledgment sent {"connection_id":54338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:19:15] local.INFO: TCP Data received {"connection_id":54069,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:19:15] local.INFO: Processing buffer {"connection_id":54069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:19:15] local.INFO: IMEI packet received {"connection_id":54069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:19:21] local.INFO: TCP Data received {"connection_id":54069,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:19:21] local.INFO: Processing buffer {"connection_id":54069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:19:21] local.INFO: IMEI packet received {"connection_id":54069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":54069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:19:21] local.INFO: TCP Data received {"connection_id":54069,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:19:21] local.INFO: Processing buffer {"connection_id":54069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:19:21] local.INFO: Packet analysis {"connection_id":54069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:19:21] local.INFO: Extracted packet for processing {"connection_id":54069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:19:21] 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-04-26 01: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-04-26 01:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:19: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-04-26 01:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":54069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:19:21] local.INFO: GPS data processed {"connection_id":54069,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:19:21] local.INFO: Acknowledgment sent {"connection_id":54069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:19:54] local.INFO: TCP Data received {"connection_id":54069,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:19:54] local.INFO: Processing buffer {"connection_id":54069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:19:54] local.INFO: Packet analysis {"connection_id":54069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:19:54] local.INFO: Extracted packet for processing {"connection_id":54069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:19:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:19:54] 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-04-26 01:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:19: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-04-26 01:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:19:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":54069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:19:54] local.INFO: GPS data processed {"connection_id":54069,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:19:54] local.INFO: Acknowledgment sent {"connection_id":54069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:20:21] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:20:21] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:20:21] local.INFO: IMEI packet received {"connection_id":54263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":54263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:20:26] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:20:26] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:20:26] local.INFO: IMEI packet received {"connection_id":54263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":54263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:20:26] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:20:26] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:20:26] local.INFO: Packet analysis {"connection_id":54263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:20:26] local.INFO: Extracted packet for processing {"connection_id":54263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:20:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:20:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:20:26] 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-04-26 01: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-04-26 01:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:20:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:20:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":54263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:20:26] local.INFO: GPS data processed {"connection_id":54263,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:20:26] local.INFO: Acknowledgment sent {"connection_id":54263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:20:30] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:20:30] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:20:30] local.INFO: Packet analysis {"connection_id":54263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:20:30] local.INFO: Extracted packet for processing {"connection_id":54263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:20:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:20: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-04-26 01: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-04-26 01:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:20:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":54263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:20:30] local.INFO: GPS data processed {"connection_id":54263,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:20:30] local.INFO: Acknowledgment sent {"connection_id":54263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:21:16] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:21:16] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:21:16] local.INFO: IMEI packet received {"connection_id":54339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":54339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:21:21] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:21:21] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:21:21] local.INFO: IMEI packet received {"connection_id":54339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":54339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:21:21] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:21:21] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:21:21] local.INFO: Packet analysis {"connection_id":54339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:21:21] local.INFO: Extracted packet for processing {"connection_id":54339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:21:21] 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-04-26 01: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-04-26 01:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":54339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:21:21] local.INFO: GPS data processed {"connection_id":54339,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:21:21] local.INFO: Acknowledgment sent {"connection_id":54339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:21:53] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:21:53] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:21:53] local.INFO: Packet analysis {"connection_id":54339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:21:53] local.INFO: Extracted packet for processing {"connection_id":54339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:21:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 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-04-26 01:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:21:53] 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-04-26 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-04-26 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-04-26 01:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:21:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:21:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:21:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":54339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:21:53] local.INFO: GPS data processed {"connection_id":54339,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:21:53] local.INFO: Acknowledgment sent {"connection_id":54339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:22:06] local.INFO: TCP Data received {"connection_id":54264,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:22:06] local.INFO: Processing buffer {"connection_id":54264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:22:06] local.INFO: IMEI packet received {"connection_id":54264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":54264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:22:15] local.INFO: TCP Data received {"connection_id":54265,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:22:15] local.INFO: Processing buffer {"connection_id":54265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:22:15] local.INFO: IMEI packet received {"connection_id":54265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":54265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:22:21] local.INFO: TCP Data received {"connection_id":54265,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:22:21] local.INFO: Processing buffer {"connection_id":54265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:22:21] local.INFO: IMEI packet received {"connection_id":54265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":54265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:22:21] local.INFO: TCP Data received {"connection_id":54265,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:22:21] local.INFO: Processing buffer {"connection_id":54265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:22:21] local.INFO: Packet analysis {"connection_id":54265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:22:21] local.INFO: Extracted packet for processing {"connection_id":54265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:22:21] 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-04-26 01: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-04-26 01:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:22: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-04-26 01:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":54265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:22:21] local.INFO: GPS data processed {"connection_id":54265,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:22:21] local.INFO: Acknowledgment sent {"connection_id":54265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:22:41] local.INFO: TCP Data received {"connection_id":54071,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:22:41] local.INFO: Processing buffer {"connection_id":54071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:22:41] local.INFO: IMEI packet received {"connection_id":54071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":54071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:22:53] local.INFO: TCP Data received {"connection_id":54265,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:22:53] local.INFO: Processing buffer {"connection_id":54265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:22:53] local.INFO: Packet analysis {"connection_id":54265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:22:53] local.INFO: Extracted packet for processing {"connection_id":54265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:22:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:22:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 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-04-26 01:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:22:53] 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-04-26 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-04-26 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-04-26 01:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:22: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-04-26 01:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:22:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:22:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:22:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":54265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:22:53] local.INFO: GPS data processed {"connection_id":54265,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:22:53] local.INFO: Acknowledgment sent {"connection_id":54265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:23:15] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:23:15] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:23:15] local.INFO: IMEI packet received {"connection_id":54989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":54989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:23:21] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:23:21] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:23:21] local.INFO: IMEI packet received {"connection_id":54989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":54989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:23:21] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:23:21] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc62f0ae8012cb299c007822ce0004a001228..."} 
[2026-04-26 01:23:21] local.INFO: Packet analysis {"connection_id":54989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:23:21] local.INFO: Extracted packet for processing {"connection_id":54989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc62f"} 
[2026-04-26 01:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949417984001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146465000,"timestamp_ms":1777146465000,"timestamp_seconds":1777146465,"priority":1,"record_length":96,"hex_timestamp":"0000019dc62f0ae8"} 
[2026-04-26 01:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:23:21] 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-04-26 01: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-04-26 01:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949417984001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949417984001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949417984001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":54989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:23:21] local.INFO: GPS data processed {"connection_id":54989,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:23:21] local.INFO: Acknowledgment sent {"connection_id":54989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:23:52] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:23:52] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:23:52] local.INFO: Packet analysis {"connection_id":54989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:23:52] local.INFO: Extracted packet for processing {"connection_id":54989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:23:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:23: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-04-26 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-04-26 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-04-26 01:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:23:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:23:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:23:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":54989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:23:53] local.INFO: GPS data processed {"connection_id":54989,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:23:53] local.INFO: Acknowledgment sent {"connection_id":54989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:24:21] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:24:21] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:24:21] local.INFO: IMEI packet received {"connection_id":54267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":54267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:24:26] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:24:26] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:24:26] local.INFO: IMEI packet received {"connection_id":54267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":54267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:24:28] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:24:28] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:24:28] local.INFO: Packet analysis {"connection_id":54267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:24:28] local.INFO: Extracted packet for processing {"connection_id":54267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:24:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:24:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:24:28] 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-04-26 01: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-04-26 01:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:24: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-04-26 01:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:24:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:24:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":54267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:24:28] local.INFO: GPS data processed {"connection_id":54267,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:24:28] local.INFO: Acknowledgment sent {"connection_id":54267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:24:30] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:24:30] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:24:30] local.INFO: Packet analysis {"connection_id":54267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:24:30] local.INFO: Extracted packet for processing {"connection_id":54267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:24:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:24:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":54267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:24:30] local.INFO: GPS data processed {"connection_id":54267,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:24:30] local.INFO: Acknowledgment sent {"connection_id":54267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:25:15] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:25:15] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:25:15] local.INFO: IMEI packet received {"connection_id":54990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":54990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:25:20] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:25:20] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:25:20] local.INFO: IMEI packet received {"connection_id":54990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":54990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:25:21] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:25:21] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:25:21] local.INFO: Packet analysis {"connection_id":54990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:25:21] local.INFO: Extracted packet for processing {"connection_id":54990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:25: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-04-26 01: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-04-26 01:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":54990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:25:21] local.INFO: GPS data processed {"connection_id":54990,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:25:21] local.INFO: Acknowledgment sent {"connection_id":54990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:25:52] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:25:52] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:25:52] local.INFO: Packet analysis {"connection_id":54990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:25:52] local.INFO: Extracted packet for processing {"connection_id":54990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:25:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:25:52] 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-04-26 01: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-04-26 01:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:25:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":54990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:25:52] local.INFO: GPS data processed {"connection_id":54990,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:25:52] local.INFO: Acknowledgment sent {"connection_id":54990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:26:15] local.INFO: TCP Data received {"connection_id":54268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:26:15] local.INFO: Processing buffer {"connection_id":54268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:26:15] local.INFO: IMEI packet received {"connection_id":54268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":54268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:26:21] local.INFO: TCP Data received {"connection_id":54268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:26:21] local.INFO: Processing buffer {"connection_id":54268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:26:21] local.INFO: IMEI packet received {"connection_id":54268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":54268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:26:21] local.INFO: TCP Data received {"connection_id":54268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:26:21] local.INFO: Processing buffer {"connection_id":54268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:26:21] local.INFO: Packet analysis {"connection_id":54268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:26:21] local.INFO: Extracted packet for processing {"connection_id":54268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:26: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-04-26 01: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-04-26 01:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":54268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:26:21] local.INFO: GPS data processed {"connection_id":54268,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:26:21] local.INFO: Acknowledgment sent {"connection_id":54268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:26:53] local.INFO: TCP Data received {"connection_id":54268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:26:53] local.INFO: Processing buffer {"connection_id":54268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:26:53] local.INFO: Packet analysis {"connection_id":54268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:26:53] local.INFO: Extracted packet for processing {"connection_id":54268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:26:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:26:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:26: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-04-26 01: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-04-26 01:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:26:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:26:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":54268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:26:53] local.INFO: GPS data processed {"connection_id":54268,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:26:53] local.INFO: Acknowledgment sent {"connection_id":54268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:27:15] local.INFO: TCP Data received {"connection_id":54074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:27:15] local.INFO: Processing buffer {"connection_id":54074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:27:15] local.INFO: IMEI packet received {"connection_id":54074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":54074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:27:20] local.INFO: TCP Data received {"connection_id":54074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:27:20] local.INFO: Processing buffer {"connection_id":54074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:27:20] local.INFO: IMEI packet received {"connection_id":54074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:27:21] local.INFO: TCP Data received {"connection_id":54074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:27:21] local.INFO: Processing buffer {"connection_id":54074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:27:21] local.INFO: Packet analysis {"connection_id":54074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:27:21] local.INFO: Extracted packet for processing {"connection_id":54074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:27: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-04-26 01: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-04-26 01:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:27: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-04-26 01:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:27:21] local.INFO: GPS data processed {"connection_id":54074,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:27:21] local.INFO: Acknowledgment sent {"connection_id":54074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:27:52] local.INFO: TCP Data received {"connection_id":54074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:27:52] local.INFO: Processing buffer {"connection_id":54074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:27:52] local.INFO: Packet analysis {"connection_id":54074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:27:52] local.INFO: Extracted packet for processing {"connection_id":54074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:27:52] 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-04-26 01: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-04-26 01:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:27:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":54074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:27:52] local.INFO: GPS data processed {"connection_id":54074,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:27:52] local.INFO: Acknowledgment sent {"connection_id":54074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:28:11] local.INFO: TCP Data received {"connection_id":54075,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:28:11] local.INFO: Processing buffer {"connection_id":54075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:28:11] local.INFO: IMEI packet received {"connection_id":54075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":54075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:28:15] local.INFO: TCP Data received {"connection_id":54076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:28:15] local.INFO: Processing buffer {"connection_id":54076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:28:15] local.INFO: IMEI packet received {"connection_id":54076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:28:21] local.INFO: TCP Data received {"connection_id":54076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:28:21] local.INFO: Processing buffer {"connection_id":54076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:28:21] local.INFO: IMEI packet received {"connection_id":54076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":54076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:28:21] local.INFO: TCP Data received {"connection_id":54076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:28:21] local.INFO: Processing buffer {"connection_id":54076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc633a2b0012cb299c007822ce00051001228..."} 
[2026-04-26 01:28:21] local.INFO: Packet analysis {"connection_id":54076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:28:21] local.INFO: Extracted packet for processing {"connection_id":54076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc633"} 
[2026-04-26 01:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949495040001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777146766000,"timestamp_ms":1777146766000,"timestamp_seconds":1777146766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc633a2b0"} 
[2026-04-26 01:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:28: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-04-26 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-04-26 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-04-26 01:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:28: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-04-26 01:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949495040001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949495040001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:28:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949495040001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":54076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:28:22] local.INFO: GPS data processed {"connection_id":54076,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:28:22] local.INFO: Acknowledgment sent {"connection_id":54076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:28:41] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:28:41] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:28:41] local.INFO: IMEI packet received {"connection_id":54991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":54991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:28:53] local.INFO: TCP Data received {"connection_id":54076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:28:53] local.INFO: Processing buffer {"connection_id":54076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:28:53] local.INFO: Packet analysis {"connection_id":54076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:28:53] local.INFO: Extracted packet for processing {"connection_id":54076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:28:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:28:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 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-04-26 01:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:28:53] 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-04-26 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-04-26 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-04-26 01:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:28: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-04-26 01:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:28:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:28:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:28:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":54076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:28:53] local.INFO: GPS data processed {"connection_id":54076,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:28:53] local.INFO: Acknowledgment sent {"connection_id":54076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:29:21] local.INFO: TCP Data received {"connection_id":54077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:29:21] local.INFO: Processing buffer {"connection_id":54077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:29:21] local.INFO: IMEI packet received {"connection_id":54077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":54077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:29:26] local.INFO: TCP Data received {"connection_id":54077,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:29:26] local.INFO: Processing buffer {"connection_id":54077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:29:26] local.INFO: IMEI packet received {"connection_id":54077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":54077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:29:26] local.INFO: TCP Data received {"connection_id":54077,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:29:26] local.INFO: Processing buffer {"connection_id":54077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:29:26] local.INFO: Packet analysis {"connection_id":54077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:29:26] local.INFO: Extracted packet for processing {"connection_id":54077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:29:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:29:26] 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-04-26 01:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:29:26] 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-04-26 01:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:29:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":54077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:29:26] local.INFO: GPS data processed {"connection_id":54077,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:29:26] local.INFO: Acknowledgment sent {"connection_id":54077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:29:32] local.INFO: TCP Data received {"connection_id":54077,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:29:32] local.INFO: Processing buffer {"connection_id":54077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:29:32] local.INFO: Packet analysis {"connection_id":54077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:29:32] local.INFO: Extracted packet for processing {"connection_id":54077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:29:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 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-04-26 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:29:32] 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-04-26 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-04-26 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-04-26 01:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:29: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-04-26 01:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:29:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:29:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:29:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":54077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:29:32] local.INFO: GPS data processed {"connection_id":54077,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:29:32] local.INFO: Acknowledgment sent {"connection_id":54077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:30:16] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:30:16] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:30:16] local.INFO: IMEI packet received {"connection_id":54992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":54992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:30:21] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:30:21] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:30:21] local.INFO: IMEI packet received {"connection_id":54992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":54992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:30:21] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:30:21] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:30:21] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:30:21] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:30:21] 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-04-26 01: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-04-26 01:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:30: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-04-26 01:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:30:21] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:30:21] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:30:53] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:30:53] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:30:53] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:30:53] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:30:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:30:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 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-04-26 01:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:30:53] 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-04-26 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-04-26 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-04-26 01:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:30:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:30:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:30:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:30:53] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:30:53] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:31:15] local.INFO: TCP Data received {"connection_id":54342,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:31:15] local.INFO: Processing buffer {"connection_id":54342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:31:15] local.INFO: IMEI packet received {"connection_id":54342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":54342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:31:21] local.INFO: TCP Data received {"connection_id":54342,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:31:21] local.INFO: Processing buffer {"connection_id":54342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:31:21] local.INFO: IMEI packet received {"connection_id":54342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":54342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:31:21] local.INFO: TCP Data received {"connection_id":54342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:31:21] local.INFO: Processing buffer {"connection_id":54342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:31:21] local.INFO: Packet analysis {"connection_id":54342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:31:21] local.INFO: Extracted packet for processing {"connection_id":54342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:31:21] 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-04-26 01: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-04-26 01:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:31: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-04-26 01:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:31:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":54342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:31:21] local.INFO: GPS data processed {"connection_id":54342,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:31:21] local.INFO: Acknowledgment sent {"connection_id":54342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:31:52] local.INFO: TCP Data received {"connection_id":54342,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:31:52] local.INFO: Processing buffer {"connection_id":54342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:31:52] local.INFO: Packet analysis {"connection_id":54342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:31:52] local.INFO: Extracted packet for processing {"connection_id":54342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:31:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:31: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-04-26 01: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-04-26 01:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:31: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-04-26 01:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:31:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":54342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:31:52] local.INFO: GPS data processed {"connection_id":54342,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:31:52] local.INFO: Acknowledgment sent {"connection_id":54342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:32:15] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:32:15] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:32:15] local.INFO: IMEI packet received {"connection_id":54270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":54270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:32:21] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:32:21] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:32:21] local.INFO: IMEI packet received {"connection_id":54270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":54270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:32:21] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:32:21] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:32:21] local.INFO: Packet analysis {"connection_id":54270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:32:21] local.INFO: Extracted packet for processing {"connection_id":54270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:32:21] 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-04-26 01: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-04-26 01:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:32: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-04-26 01:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":54270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:32:21] local.INFO: GPS data processed {"connection_id":54270,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:32:21] local.INFO: Acknowledgment sent {"connection_id":54270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:32:53] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:32:53] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:32:53] local.INFO: Packet analysis {"connection_id":54270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:32:53] local.INFO: Extracted packet for processing {"connection_id":54270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:32:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:32:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:32:53] 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-04-26 01:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:32: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-04-26 01:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:32:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:32:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:32:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":54270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:32:53] local.INFO: GPS data processed {"connection_id":54270,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:32:53] local.INFO: Acknowledgment sent {"connection_id":54270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:33:15] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:33:15] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:33:15] local.INFO: IMEI packet received {"connection_id":54994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:33:21] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:33:21] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:33:21] local.INFO: IMEI packet received {"connection_id":54994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":54994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:33:21] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:33:21] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6383a78012cb299c007822ce0004a001226..."} 
[2026-04-26 01:33:21] local.INFO: Packet analysis {"connection_id":54994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:33:21] local.INFO: Extracted packet for processing {"connection_id":54994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc638"} 
[2026-04-26 01:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":38,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949572096001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147067000,"timestamp_ms":1777147067000,"timestamp_seconds":1777147067,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6383a78"} 
[2026-04-26 01:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:33:21] 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-04-26 01: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-04-26 01:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:33: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-04-26 01:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949572096001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949572096001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949572096001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":54994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:33:21] local.INFO: GPS data processed {"connection_id":54994,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:33:21] local.INFO: Acknowledgment sent {"connection_id":54994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:33:52] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:33:52] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:33:52] local.INFO: Packet analysis {"connection_id":54994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:33:52] local.INFO: Extracted packet for processing {"connection_id":54994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:33:52] 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-04-26 01: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-04-26 01:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:33: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-04-26 01:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":54994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:33:52] local.INFO: GPS data processed {"connection_id":54994,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:33:52] local.INFO: Acknowledgment sent {"connection_id":54994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:33:56] local.INFO: TCP Data received {"connection_id":54343,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:33:56] local.INFO: Processing buffer {"connection_id":54343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:33:56] local.INFO: IMEI packet received {"connection_id":54343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":54343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:34:16] local.INFO: TCP Data received {"connection_id":54078,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:34:16] local.INFO: Processing buffer {"connection_id":54078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:34:16] local.INFO: IMEI packet received {"connection_id":54078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":54078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:34:21] local.INFO: TCP Data received {"connection_id":54078,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:34:21] local.INFO: Processing buffer {"connection_id":54078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:34:21] local.INFO: IMEI packet received {"connection_id":54078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":54078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:34:21] local.INFO: TCP Data received {"connection_id":54078,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:34:21] local.INFO: Processing buffer {"connection_id":54078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:34:21] local.INFO: Packet analysis {"connection_id":54078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:34:21] local.INFO: Extracted packet for processing {"connection_id":54078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:34: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-04-26 01: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-04-26 01:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:34: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-04-26 01:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":54078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:34:21] local.INFO: GPS data processed {"connection_id":54078,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:34:21] local.INFO: Acknowledgment sent {"connection_id":54078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:34:41] local.INFO: TCP Data received {"connection_id":54079,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:34:41] local.INFO: Processing buffer {"connection_id":54079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:34:41] local.INFO: IMEI packet received {"connection_id":54079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":54079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:34:53] local.INFO: TCP Data received {"connection_id":54078,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:34:53] local.INFO: Processing buffer {"connection_id":54078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:34:53] local.INFO: Packet analysis {"connection_id":54078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:34:53] local.INFO: Extracted packet for processing {"connection_id":54078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:34:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:34:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:34: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-04-26 01: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-04-26 01:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:34: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-04-26 01:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:34:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:34:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:34:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":54078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:34:53] local.INFO: GPS data processed {"connection_id":54078,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:34:53] local.INFO: Acknowledgment sent {"connection_id":54078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:35:15] local.INFO: TCP Data received {"connection_id":54273,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:35:15] local.INFO: Processing buffer {"connection_id":54273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:35:15] local.INFO: IMEI packet received {"connection_id":54273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":54273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:35:21] local.INFO: TCP Data received {"connection_id":54273,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:35:21] local.INFO: Processing buffer {"connection_id":54273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:35:21] local.INFO: IMEI packet received {"connection_id":54273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":54273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:35:21] local.INFO: TCP Data received {"connection_id":54273,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:35:21] local.INFO: Processing buffer {"connection_id":54273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:35:21] local.INFO: Packet analysis {"connection_id":54273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:35:21] local.INFO: Extracted packet for processing {"connection_id":54273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:35: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-04-26 01: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-04-26 01:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:35: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-04-26 01:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:35:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":54273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:35:21] local.INFO: GPS data processed {"connection_id":54273,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:35:21] local.INFO: Acknowledgment sent {"connection_id":54273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:35:53] local.INFO: TCP Data received {"connection_id":54273,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:35:53] local.INFO: Processing buffer {"connection_id":54273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:35:53] local.INFO: Packet analysis {"connection_id":54273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:35:53] local.INFO: Extracted packet for processing {"connection_id":54273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:35:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:35:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:35: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-04-26 01: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-04-26 01:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:35: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-04-26 01:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:35:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:35:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:35:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":54273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:35:53] local.INFO: GPS data processed {"connection_id":54273,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:35:53] local.INFO: Acknowledgment sent {"connection_id":54273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:36:15] local.INFO: TCP Data received {"connection_id":54080,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:36:15] local.INFO: Processing buffer {"connection_id":54080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:36:15] local.INFO: IMEI packet received {"connection_id":54080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":54080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:36:21] local.INFO: TCP Data received {"connection_id":54080,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:36:21] local.INFO: Processing buffer {"connection_id":54080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:36:21] local.INFO: IMEI packet received {"connection_id":54080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":54080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:36:21] local.INFO: TCP Data received {"connection_id":54080,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:36:21] local.INFO: Processing buffer {"connection_id":54080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:36:21] local.INFO: Packet analysis {"connection_id":54080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:36:21] local.INFO: Extracted packet for processing {"connection_id":54080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:36: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-04-26 01: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-04-26 01:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:36: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-04-26 01:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":54080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:36:21] local.INFO: GPS data processed {"connection_id":54080,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:36:21] local.INFO: Acknowledgment sent {"connection_id":54080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:36:53] local.INFO: TCP Data received {"connection_id":54080,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:36:53] local.INFO: Processing buffer {"connection_id":54080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:36:53] local.INFO: Packet analysis {"connection_id":54080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:36:53] local.INFO: Extracted packet for processing {"connection_id":54080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:36:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:36:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 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-04-26 01:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:36: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-04-26 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-04-26 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-04-26 01:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:36: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-04-26 01:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:36:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:36:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":54080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:36:53] local.INFO: GPS data processed {"connection_id":54080,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:36:53] local.INFO: Acknowledgment sent {"connection_id":54080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:37:15] local.INFO: TCP Data received {"connection_id":54081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:37:15] local.INFO: Processing buffer {"connection_id":54081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:37:15] local.INFO: IMEI packet received {"connection_id":54081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:37:21] local.INFO: TCP Data received {"connection_id":54081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:37:21] local.INFO: Processing buffer {"connection_id":54081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:37:21] local.INFO: IMEI packet received {"connection_id":54081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":54081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:37:21] local.INFO: TCP Data received {"connection_id":54081,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:37:21] local.INFO: Processing buffer {"connection_id":54081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:37:21] local.INFO: Packet analysis {"connection_id":54081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:37:21] local.INFO: Extracted packet for processing {"connection_id":54081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:37: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-04-26 01: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-04-26 01:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:37: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-04-26 01:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:37:21] local.INFO: GPS data processed {"connection_id":54081,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:37:21] local.INFO: Acknowledgment sent {"connection_id":54081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:37:53] local.INFO: TCP Data received {"connection_id":54081,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:37:53] local.INFO: Processing buffer {"connection_id":54081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:37:53] local.INFO: Packet analysis {"connection_id":54081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:37:53] local.INFO: Extracted packet for processing {"connection_id":54081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:37:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:37: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-04-26 01: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-04-26 01:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:37: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-04-26 01:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:37:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":54081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:37:53] local.INFO: GPS data processed {"connection_id":54081,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:37:53] local.INFO: Acknowledgment sent {"connection_id":54081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:38:21] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:38:21] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:38:21] local.INFO: IMEI packet received {"connection_id":54345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":54345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:38:26] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:38:26] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:38:26] local.INFO: IMEI packet received {"connection_id":54345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":54345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:38:26] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:38:26] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc63cce58012cb299c007822ce0004b001228..."} 
[2026-04-26 01:38:26] local.INFO: Packet analysis {"connection_id":54345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:38:26] local.INFO: Extracted packet for processing {"connection_id":54345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc63c"} 
[2026-04-26 01:38:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949649152001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777147367000,"timestamp_ms":1777147367000,"timestamp_seconds":1777147367,"priority":1,"record_length":96,"hex_timestamp":"0000019dc63cce58"} 
[2026-04-26 01:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:38:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:38:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:38:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949649152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949649152001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:38:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:38:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:38:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949649152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":54345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:38:26] local.INFO: GPS data processed {"connection_id":54345,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:38:26] local.INFO: Acknowledgment sent {"connection_id":54345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:38:27] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:38:27] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:38:27] local.INFO: Packet analysis {"connection_id":54345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:38:27] local.INFO: Extracted packet for processing {"connection_id":54345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:38:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:38:27] 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-04-26 01: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-04-26 01:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:38: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-04-26 01:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:38:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:38:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":54345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:38:27] local.INFO: GPS data processed {"connection_id":54345,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:38:27] local.INFO: Acknowledgment sent {"connection_id":54345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:38:58] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:38:58] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:38:58] local.INFO: Packet analysis {"connection_id":54345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:38:58] local.INFO: Extracted packet for processing {"connection_id":54345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:38:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:38:58] 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-04-26 01: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-04-26 01:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:38:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:38:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":54345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:38:58] local.INFO: GPS data processed {"connection_id":54345,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:38:58] local.INFO: Acknowledgment sent {"connection_id":54345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:39:15] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:39:15] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:39:15] local.INFO: IMEI packet received {"connection_id":54276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":54276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:39:21] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:39:21] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:39:21] local.INFO: IMEI packet received {"connection_id":54276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":54276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:39:21] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:39:21] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:39:21] local.INFO: Packet analysis {"connection_id":54276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:39:21] local.INFO: Extracted packet for processing {"connection_id":54276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:39: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-04-26 01: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-04-26 01:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:39: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-04-26 01:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":54276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:39:21] local.INFO: GPS data processed {"connection_id":54276,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:39:21] local.INFO: Acknowledgment sent {"connection_id":54276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:39:53] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:39:53] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:39:53] local.INFO: Packet analysis {"connection_id":54276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:39:53] local.INFO: Extracted packet for processing {"connection_id":54276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:39:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:39:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 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-04-26 01:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:39: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-04-26 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-04-26 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-04-26 01:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:39: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-04-26 01:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:39:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:39:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":54276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:39:53] local.INFO: GPS data processed {"connection_id":54276,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:39:53] local.INFO: Acknowledgment sent {"connection_id":54276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:40:06] local.INFO: TCP Data received {"connection_id":54277,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:40:06] local.INFO: Processing buffer {"connection_id":54277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:40:06] local.INFO: IMEI packet received {"connection_id":54277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":54277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:40:15] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:40:15] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:40:15] local.INFO: IMEI packet received {"connection_id":54996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:40:21] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:40:21] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:40:21] local.INFO: IMEI packet received {"connection_id":54996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":54996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:40:21] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:40:21] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:40:21] local.INFO: Packet analysis {"connection_id":54996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:40:21] local.INFO: Extracted packet for processing {"connection_id":54996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:40: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-04-26 01: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-04-26 01:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:40: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-04-26 01:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":54996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:40:21] local.INFO: GPS data processed {"connection_id":54996,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:40:21] local.INFO: Acknowledgment sent {"connection_id":54996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:40:41] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:40:41] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:40:41] local.INFO: IMEI packet received {"connection_id":54346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":54346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:40:53] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:40:53] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:40:53] local.INFO: Packet analysis {"connection_id":54996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:40:53] local.INFO: Extracted packet for processing {"connection_id":54996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:40:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:40:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:40:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:40:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:40:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:40:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 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-04-26 01:40:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:40: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-04-26 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-04-26 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-04-26 01:40:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:40:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:40:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:40:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:40: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-04-26 01:40:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:40:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:40:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:40:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:40:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:40:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:40:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:40:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:40:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:40:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:40:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:40:53] local.INFO: DEBUG: GPS processor result {"connection_id":54996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:40:53] local.INFO: GPS data processed {"connection_id":54996,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:40:53] local.INFO: Acknowledgment sent {"connection_id":54996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:41:15] local.INFO: TCP Data received {"connection_id":54082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:41:15] local.INFO: Processing buffer {"connection_id":54082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:41:15] local.INFO: IMEI packet received {"connection_id":54082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:41:21] local.INFO: TCP Data received {"connection_id":54082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:41:21] local.INFO: Processing buffer {"connection_id":54082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:41:21] local.INFO: IMEI packet received {"connection_id":54082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":54082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:41:21] local.INFO: TCP Data received {"connection_id":54082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:41:21] local.INFO: Processing buffer {"connection_id":54082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:41:21] local.INFO: Packet analysis {"connection_id":54082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:41:21] local.INFO: Extracted packet for processing {"connection_id":54082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:41: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-04-26 01:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":54082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:41:21] local.INFO: GPS data processed {"connection_id":54082,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:41:21] local.INFO: Acknowledgment sent {"connection_id":54082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:41:53] local.INFO: TCP Data received {"connection_id":54082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:41:53] local.INFO: Processing buffer {"connection_id":54082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:41:53] local.INFO: Packet analysis {"connection_id":54082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:41:53] local.INFO: Extracted packet for processing {"connection_id":54082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:41:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:41:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 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-04-26 01:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:41: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-04-26 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-04-26 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-04-26 01:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:41:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:41:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:41:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":54082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:41:53] local.INFO: GPS data processed {"connection_id":54082,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:41:53] local.INFO: Acknowledgment sent {"connection_id":54082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:42:21] local.INFO: TCP Data received {"connection_id":54998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:42:21] local.INFO: Processing buffer {"connection_id":54998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:42:21] local.INFO: IMEI packet received {"connection_id":54998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":54998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:42:26] local.INFO: TCP Data received {"connection_id":54998,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:42:26] local.INFO: Processing buffer {"connection_id":54998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:42:26] local.INFO: IMEI packet received {"connection_id":54998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":54998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:42:26] local.INFO: TCP Data received {"connection_id":54998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:42:26] local.INFO: Processing buffer {"connection_id":54998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:42:26] local.INFO: Packet analysis {"connection_id":54998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:42:26] local.INFO: Extracted packet for processing {"connection_id":54998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:42:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:42:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":54998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:42:26] local.INFO: GPS data processed {"connection_id":54998,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:42:26] local.INFO: Acknowledgment sent {"connection_id":54998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:42:30] local.INFO: TCP Data received {"connection_id":54998,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:42:30] local.INFO: Processing buffer {"connection_id":54998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:42:30] local.INFO: Packet analysis {"connection_id":54998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:42:30] local.INFO: Extracted packet for processing {"connection_id":54998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:42:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:42: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-04-26 01:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:42:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":54998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:42:30] local.INFO: GPS data processed {"connection_id":54998,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:42:30] local.INFO: Acknowledgment sent {"connection_id":54998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:43:15] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:43:15] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:43:15] local.INFO: IMEI packet received {"connection_id":54279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":54279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:43:20] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:43:20] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:43:20] local.INFO: IMEI packet received {"connection_id":54279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:43:21] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:43:21] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6416620012cb299c007822ce0004e001228..."} 
[2026-04-26 01:43:21] local.INFO: Packet analysis {"connection_id":54279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:43:21] local.INFO: Extracted packet for processing {"connection_id":54279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc641"} 
[2026-04-26 01:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949725952001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147668000,"timestamp_ms":1777147668000,"timestamp_seconds":1777147668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6416620"} 
[2026-04-26 01:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 01:43: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-04-26 01: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-04-26 01:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949725952001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949725952001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949725952001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":54279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:43:21] local.INFO: GPS data processed {"connection_id":54279,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:43:21] local.INFO: Acknowledgment sent {"connection_id":54279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:43:52] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:43:52] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:43:52] local.INFO: Packet analysis {"connection_id":54279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:43:52] local.INFO: Extracted packet for processing {"connection_id":54279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:43: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-04-26 01: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-04-26 01:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:43:52] local.INFO: GPS data processed {"connection_id":54279,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:43:52] local.INFO: Acknowledgment sent {"connection_id":54279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:44:15] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:44:15] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:44:15] local.INFO: IMEI packet received {"connection_id":54347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":54347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:44:21] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:44:21] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:44:21] local.INFO: IMEI packet received {"connection_id":54347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":54347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:44:21] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:44:21] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:44:21] local.INFO: Packet analysis {"connection_id":54347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:44:21] local.INFO: Extracted packet for processing {"connection_id":54347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:44:21] 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-04-26 01: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-04-26 01:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:44: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-04-26 01:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":54347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:44:21] local.INFO: GPS data processed {"connection_id":54347,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:44:21] local.INFO: Acknowledgment sent {"connection_id":54347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:44:52] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:44:52] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:44:52] local.INFO: Packet analysis {"connection_id":54347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:44:52] local.INFO: Extracted packet for processing {"connection_id":54347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:44:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:44: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-04-26 01: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-04-26 01:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:44: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-04-26 01:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:44:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":54347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:44:52] local.INFO: GPS data processed {"connection_id":54347,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:44:52] local.INFO: Acknowledgment sent {"connection_id":54347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:45:15] local.INFO: TCP Data received {"connection_id":54348,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:45:15] local.INFO: Processing buffer {"connection_id":54348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:45:15] local.INFO: IMEI packet received {"connection_id":54348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:45:21] local.INFO: TCP Data received {"connection_id":54348,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:45:21] local.INFO: Processing buffer {"connection_id":54348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:45:21] local.INFO: IMEI packet received {"connection_id":54348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":54348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:45:21] local.INFO: TCP Data received {"connection_id":54348,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:45:21] local.INFO: Processing buffer {"connection_id":54348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:45:21] local.INFO: Packet analysis {"connection_id":54348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:45:21] local.INFO: Extracted packet for processing {"connection_id":54348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:45:21] 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-04-26 01: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-04-26 01:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:45: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-04-26 01:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:45:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:45:21] local.INFO: GPS data processed {"connection_id":54348,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:45:21] local.INFO: Acknowledgment sent {"connection_id":54348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:45:53] local.INFO: TCP Data received {"connection_id":54348,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:45:53] local.INFO: Processing buffer {"connection_id":54348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:45:53] local.INFO: Packet analysis {"connection_id":54348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:45:53] local.INFO: Extracted packet for processing {"connection_id":54348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:45:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:45:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 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-04-26 01:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:45:53] 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-04-26 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-04-26 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-04-26 01:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:45: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-04-26 01:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:45:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:45:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:45:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":54348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:45:53] local.INFO: GPS data processed {"connection_id":54348,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:45:53] local.INFO: Acknowledgment sent {"connection_id":54348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:45:56] local.INFO: TCP Data received {"connection_id":54349,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:45:56] local.INFO: Processing buffer {"connection_id":54349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:45:56] local.INFO: IMEI packet received {"connection_id":54349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":54349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:46:21] local.INFO: TCP Data received {"connection_id":55001,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:46:21] local.INFO: Processing buffer {"connection_id":55001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:46:21] local.INFO: IMEI packet received {"connection_id":55001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":55001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:46:26] local.INFO: TCP Data received {"connection_id":55001,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:46:26] local.INFO: Processing buffer {"connection_id":55001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:46:26] local.INFO: IMEI packet received {"connection_id":55001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":55001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:46:26] local.INFO: TCP Data received {"connection_id":55001,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:46:26] local.INFO: Processing buffer {"connection_id":55001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:46:26] local.INFO: Packet analysis {"connection_id":55001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:46:26] local.INFO: Extracted packet for processing {"connection_id":55001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:46:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:46:26] 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-04-26 01:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:46:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:46:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":55001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:46:26] local.INFO: GPS data processed {"connection_id":55001,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:46:26] local.INFO: Acknowledgment sent {"connection_id":55001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:46:30] local.INFO: TCP Data received {"connection_id":55001,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:46:30] local.INFO: Processing buffer {"connection_id":55001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:46:30] local.INFO: Packet analysis {"connection_id":55001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:46:30] local.INFO: Extracted packet for processing {"connection_id":55001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:46:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:46: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-04-26 01:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:46:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":55001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:46:30] local.INFO: GPS data processed {"connection_id":55001,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:46:30] local.INFO: Acknowledgment sent {"connection_id":55001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:46:46] local.INFO: TCP Data received {"connection_id":54280,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:46:46] local.INFO: Processing buffer {"connection_id":54280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:46:46] local.INFO: IMEI packet received {"connection_id":54280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":54280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:47:16] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:47:16] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:47:16] local.INFO: IMEI packet received {"connection_id":54281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":54281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:47:21] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:47:21] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:47:21] local.INFO: IMEI packet received {"connection_id":54281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":54281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:47:21] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:47:21] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:47:21] local.INFO: Packet analysis {"connection_id":54281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:47:21] local.INFO: Extracted packet for processing {"connection_id":54281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:47:21] 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-04-26 01: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-04-26 01:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:47: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-04-26 01:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:47:21] local.INFO: GPS data processed {"connection_id":54281,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:47:21] local.INFO: Acknowledgment sent {"connection_id":54281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:47:52] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:47:52] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:47:52] local.INFO: Packet analysis {"connection_id":54281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:47:52] local.INFO: Extracted packet for processing {"connection_id":54281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:47: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-04-26 01: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-04-26 01:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:47: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-04-26 01:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:47:52] local.INFO: GPS data processed {"connection_id":54281,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:47:52] local.INFO: Acknowledgment sent {"connection_id":54281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:48:15] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:48:15] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:48:15] local.INFO: IMEI packet received {"connection_id":54350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":54350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:48:21] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:48:21] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:48:21] local.INFO: IMEI packet received {"connection_id":54350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":54350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:48:21] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:48:21] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc645fde8012cb299c007822ce0004a001227..."} 
[2026-04-26 01:48:21] local.INFO: Packet analysis {"connection_id":54350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:48:21] local.INFO: Extracted packet for processing {"connection_id":54350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc645"} 
[2026-04-26 01:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949803008001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777147969000,"timestamp_ms":1777147969000,"timestamp_seconds":1777147969,"priority":1,"record_length":96,"hex_timestamp":"0000019dc645fde8"} 
[2026-04-26 01:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 01:48:21] 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-04-26 01: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-04-26 01:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:48: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-04-26 01:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949803008001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949803008001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949803008001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":54350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:48:21] local.INFO: GPS data processed {"connection_id":54350,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:48:21] local.INFO: Acknowledgment sent {"connection_id":54350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:48:52] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:48:52] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:48:52] local.INFO: Packet analysis {"connection_id":54350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:48:52] local.INFO: Extracted packet for processing {"connection_id":54350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:48:52] 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-04-26 01: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-04-26 01:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:48: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-04-26 01:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":54350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:48:52] local.INFO: GPS data processed {"connection_id":54350,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:48:52] local.INFO: Acknowledgment sent {"connection_id":54350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:49:15] local.INFO: TCP Data received {"connection_id":54085,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:49:15] local.INFO: Processing buffer {"connection_id":54085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:49:15] local.INFO: IMEI packet received {"connection_id":54085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":54085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:49:21] local.INFO: TCP Data received {"connection_id":54085,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:49:21] local.INFO: Processing buffer {"connection_id":54085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:49:21] local.INFO: IMEI packet received {"connection_id":54085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":54085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:49:21] local.INFO: TCP Data received {"connection_id":54085,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:49:21] local.INFO: Processing buffer {"connection_id":54085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:49:21] local.INFO: Packet analysis {"connection_id":54085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:49:21] local.INFO: Extracted packet for processing {"connection_id":54085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:49:21] 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-04-26 01: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-04-26 01:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:49:21] 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-04-26 01:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":54085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:49:21] local.INFO: GPS data processed {"connection_id":54085,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:49:21] local.INFO: Acknowledgment sent {"connection_id":54085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:49:53] local.INFO: TCP Data received {"connection_id":54085,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:49:53] local.INFO: Processing buffer {"connection_id":54085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:49:53] local.INFO: Packet analysis {"connection_id":54085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:49:53] local.INFO: Extracted packet for processing {"connection_id":54085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:49:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:49:53] 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-04-26 01:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:49:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":54085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:49:53] local.INFO: GPS data processed {"connection_id":54085,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:49:53] local.INFO: Acknowledgment sent {"connection_id":54085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:50:21] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:50:21] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:50:21] local.INFO: IMEI packet received {"connection_id":55003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":55003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:50:26] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:50:26] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:50:26] local.INFO: IMEI packet received {"connection_id":55003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":55003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:50:26] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:50:26] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:50:26] local.INFO: Packet analysis {"connection_id":55003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:50:26] local.INFO: Extracted packet for processing {"connection_id":55003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:50:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:50:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:50:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:50:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:50:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:50: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-04-26 01:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:50:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:50:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:50:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":55003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:50:26] local.INFO: GPS data processed {"connection_id":55003,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:50:26] local.INFO: Acknowledgment sent {"connection_id":55003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:50:30] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:50:30] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:50:30] local.INFO: Packet analysis {"connection_id":55003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:50:30] local.INFO: Extracted packet for processing {"connection_id":55003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:50:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:50:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":55003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:50:30] local.INFO: GPS data processed {"connection_id":55003,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:50:30] local.INFO: Acknowledgment sent {"connection_id":55003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:51:16] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.151","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:51:16] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:51:16] local.INFO: IMEI packet received {"connection_id":54351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":54351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:51:21] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.151","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:51:21] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:51:21] local.INFO: IMEI packet received {"connection_id":54351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":54351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:51:21] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.151","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:51:21] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:51:21] local.INFO: Packet analysis {"connection_id":54351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:51:21] local.INFO: Extracted packet for processing {"connection_id":54351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:51:21] 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-04-26 01: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-04-26 01:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.151","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":54351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:51:21] local.INFO: GPS data processed {"connection_id":54351,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:51:21] local.INFO: Acknowledgment sent {"connection_id":54351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:51:52] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.151","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:51:52] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:51:52] local.INFO: Packet analysis {"connection_id":54351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:51:52] local.INFO: Extracted packet for processing {"connection_id":54351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:51:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:51:52] 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-04-26 01: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-04-26 01:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:51:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.151","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.151","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:51:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":54351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:51:52] local.INFO: GPS data processed {"connection_id":54351,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:51:52] local.INFO: Acknowledgment sent {"connection_id":54351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:52:15] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:52:15] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:52:15] local.INFO: IMEI packet received {"connection_id":54352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":54352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:52:19] local.INFO: TCP Data received {"connection_id":54086,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:52:19] local.INFO: Processing buffer {"connection_id":54086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:52:19] local.INFO: IMEI packet received {"connection_id":54086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:52:21] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:52:21] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:52:21] local.INFO: IMEI packet received {"connection_id":54352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":54352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:52:22] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:52:22] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:52:22] local.INFO: Packet analysis {"connection_id":54352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:52:22] local.INFO: Extracted packet for processing {"connection_id":54352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:52:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:52:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 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-04-26 01:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:52:22] 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-04-26 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-04-26 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-04-26 01:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:52: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-04-26 01:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:52:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:52:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:52:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":54352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:52:22] local.INFO: GPS data processed {"connection_id":54352,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:52:22] local.INFO: Acknowledgment sent {"connection_id":54352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:52:41] local.INFO: TCP Data received {"connection_id":54353,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:52:41] local.INFO: Processing buffer {"connection_id":54353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:52:41] local.INFO: IMEI packet received {"connection_id":54353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":54353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:52:53] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:52:53] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:52:53] local.INFO: Packet analysis {"connection_id":54352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:52:53] local.INFO: Extracted packet for processing {"connection_id":54352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:52:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 01:52:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:52:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:52:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:52:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:52:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 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-04-26 01:52:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:52:53] 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-04-26 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-04-26 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-04-26 01:52:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:52:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:52:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:52:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:52: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-04-26 01:52:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:52:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:52:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:52:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:52:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:52:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:52:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:52:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:52:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:52:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:52:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:52:53] local.INFO: DEBUG: GPS processor result {"connection_id":54352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:52:53] local.INFO: GPS data processed {"connection_id":54352,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:52:53] local.INFO: Acknowledgment sent {"connection_id":54352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:53:15] local.INFO: TCP Data received {"connection_id":54087,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:53:15] local.INFO: Processing buffer {"connection_id":54087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:53:15] local.INFO: IMEI packet received {"connection_id":54087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":54087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:53:21] local.INFO: TCP Data received {"connection_id":54087,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:53:21] local.INFO: Processing buffer {"connection_id":54087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:53:21] local.INFO: IMEI packet received {"connection_id":54087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":54087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:53:21] local.INFO: TCP Data received {"connection_id":54087,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:53:21] local.INFO: Processing buffer {"connection_id":54087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64a95b0012cb299c007822ce0004e001227..."} 
[2026-04-26 01:53:21] local.INFO: Packet analysis {"connection_id":54087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:53:21] local.INFO: Extracted packet for processing {"connection_id":54087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64a"} 
[2026-04-26 01:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949880064001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148270000,"timestamp_ms":1777148270000,"timestamp_seconds":1777148270,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64a95b0"} 
[2026-04-26 01:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:53:21] 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-04-26 01: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-04-26 01:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:53:21] 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-04-26 01:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949880064001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949880064001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949880064001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":54087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:53:21] local.INFO: GPS data processed {"connection_id":54087,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:53:21] local.INFO: Acknowledgment sent {"connection_id":54087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:53:52] local.INFO: TCP Data received {"connection_id":54087,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:53:52] local.INFO: Processing buffer {"connection_id":54087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:53:52] local.INFO: Packet analysis {"connection_id":54087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:53:52] local.INFO: Extracted packet for processing {"connection_id":54087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:53:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:53:52] 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-04-26 01: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-04-26 01:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:53:52] 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-04-26 01:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:53:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":54087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:53:52] local.INFO: GPS data processed {"connection_id":54087,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:53:52] local.INFO: Acknowledgment sent {"connection_id":54087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:54:15] local.INFO: TCP Data received {"connection_id":54283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:54:15] local.INFO: Processing buffer {"connection_id":54283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:54:15] local.INFO: IMEI packet received {"connection_id":54283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":54283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:54:21] local.INFO: TCP Data received {"connection_id":54283,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:54:21] local.INFO: Processing buffer {"connection_id":54283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:54:21] local.INFO: IMEI packet received {"connection_id":54283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":54283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:54:21] local.INFO: TCP Data received {"connection_id":54283,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:54:21] local.INFO: Processing buffer {"connection_id":54283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:54:21] local.INFO: Packet analysis {"connection_id":54283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:54:21] local.INFO: Extracted packet for processing {"connection_id":54283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:54:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:54:21] 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-04-26 01: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-04-26 01:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:54:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":54283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:54:21] local.INFO: GPS data processed {"connection_id":54283,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:54:21] local.INFO: Acknowledgment sent {"connection_id":54283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:54:52] local.INFO: TCP Data received {"connection_id":54283,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:54:52] local.INFO: Processing buffer {"connection_id":54283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:54:52] local.INFO: Packet analysis {"connection_id":54283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:54:52] local.INFO: Extracted packet for processing {"connection_id":54283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:54:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:54:52] 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-04-26 01: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-04-26 01:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:54:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":54283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:54:52] local.INFO: GPS data processed {"connection_id":54283,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:54:52] local.INFO: Acknowledgment sent {"connection_id":54283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:55:21] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:55:21] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:55:21] local.INFO: IMEI packet received {"connection_id":55006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":55006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:55:25] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:55:26] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:55:26] local.INFO: IMEI packet received {"connection_id":55006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":55006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:55:26] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:55:26] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:55:26] local.INFO: Packet analysis {"connection_id":55006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:55:26] local.INFO: Extracted packet for processing {"connection_id":55006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:55:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:55:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:55:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01: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-04-26 01:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:55:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:55:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:55:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":55006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:55:26] local.INFO: GPS data processed {"connection_id":55006,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:55:26] local.INFO: Acknowledgment sent {"connection_id":55006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:55:31] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:55:31] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:55:31] local.INFO: Packet analysis {"connection_id":55006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:55:31] local.INFO: Extracted packet for processing {"connection_id":55006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:55:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:55:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:55:31] 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-04-26 01:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:55: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-04-26 01:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:55:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:55:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":55006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:55:31] local.INFO: GPS data processed {"connection_id":55006,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:55:31] local.INFO: Acknowledgment sent {"connection_id":55006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:56:16] local.INFO: TCP Data received {"connection_id":54088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:56:16] local.INFO: Processing buffer {"connection_id":54088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:56:16] local.INFO: IMEI packet received {"connection_id":54088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":54088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:56:21] local.INFO: TCP Data received {"connection_id":54088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:56:21] local.INFO: Processing buffer {"connection_id":54088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:56:21] local.INFO: IMEI packet received {"connection_id":54088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":54088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:56:21] local.INFO: TCP Data received {"connection_id":54088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:56:22] local.INFO: Processing buffer {"connection_id":54088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:56:22] local.INFO: Packet analysis {"connection_id":54088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:56:22] local.INFO: Extracted packet for processing {"connection_id":54088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:56:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:56:22] 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-04-26 01:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:56:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:56:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:56:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":54088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:56:22] local.INFO: GPS data processed {"connection_id":54088,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:56:22] local.INFO: Acknowledgment sent {"connection_id":54088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:56:52] local.INFO: TCP Data received {"connection_id":54088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:56:52] local.INFO: Processing buffer {"connection_id":54088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:56:52] local.INFO: Packet analysis {"connection_id":54088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:56:52] local.INFO: Extracted packet for processing {"connection_id":54088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:56:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:56:52] 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-04-26 01: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-04-26 01:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:56: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-04-26 01:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:56:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":54088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:56:52] local.INFO: GPS data processed {"connection_id":54088,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:56:52] local.INFO: Acknowledgment sent {"connection_id":54088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:57:15] local.INFO: TCP Data received {"connection_id":54089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:57:15] local.INFO: Processing buffer {"connection_id":54089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:57:15] local.INFO: IMEI packet received {"connection_id":54089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":54089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:57:20] local.INFO: TCP Data received {"connection_id":54089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:57:20] local.INFO: Processing buffer {"connection_id":54089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:57:20] local.INFO: IMEI packet received {"connection_id":54089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:57:21] local.INFO: TCP Data received {"connection_id":54089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:57:21] local.INFO: Processing buffer {"connection_id":54089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:57:21] local.INFO: Packet analysis {"connection_id":54089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:57:21] local.INFO: Extracted packet for processing {"connection_id":54089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:57:21] 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-04-26 01: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-04-26 01:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:57: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-04-26 01:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":54089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:57:21] local.INFO: GPS data processed {"connection_id":54089,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:57:21] local.INFO: Acknowledgment sent {"connection_id":54089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:57:52] local.INFO: TCP Data received {"connection_id":54089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:57:52] local.INFO: Processing buffer {"connection_id":54089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:57:52] local.INFO: Packet analysis {"connection_id":54089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:57:52] local.INFO: Extracted packet for processing {"connection_id":54089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:57:52] 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-04-26 01: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-04-26 01:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:57:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":54089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:57:52] local.INFO: GPS data processed {"connection_id":54089,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:57:52] local.INFO: Acknowledgment sent {"connection_id":54089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:58:06] local.INFO: TCP Data received {"connection_id":54356,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:58:06] local.INFO: Processing buffer {"connection_id":54356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:58:06] local.INFO: IMEI packet received {"connection_id":54356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":54356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:58:15] local.INFO: TCP Data received {"connection_id":54090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:58:15] local.INFO: Processing buffer {"connection_id":54090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:58:15] local.INFO: IMEI packet received {"connection_id":54090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":54090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:58:20] local.INFO: TCP Data received {"connection_id":54090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:58:20] local.INFO: Processing buffer {"connection_id":54090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:58:20] local.INFO: IMEI packet received {"connection_id":54090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":54090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:58:21] local.INFO: TCP Data received {"connection_id":54090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:58:21] local.INFO: Processing buffer {"connection_id":54090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:58:21] local.INFO: Packet analysis {"connection_id":54090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:58:21] local.INFO: Extracted packet for processing {"connection_id":54090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:58:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:58:21] 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-04-26 01: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-04-26 01:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:58:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":54090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:58:21] local.INFO: GPS data processed {"connection_id":54090,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:58:21] local.INFO: Acknowledgment sent {"connection_id":54090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:58:26] local.INFO: TCP Data received {"connection_id":54090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:58:26] local.INFO: Processing buffer {"connection_id":54090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc64f2d78012cb299c007822ce0004e001228..."} 
[2026-04-26 01:58:26] local.INFO: Packet analysis {"connection_id":54090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:58:26] local.INFO: Extracted packet for processing {"connection_id":54090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc64f"} 
[2026-04-26 01:58:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454949957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777148571000,"timestamp_ms":1777148571000,"timestamp_seconds":1777148571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc64f2d78"} 
[2026-04-26 01:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 01:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:58: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-04-26 01:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454949957120001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454949957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:58:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454949957120001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":54090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:58:26] local.INFO: GPS data processed {"connection_id":54090,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:58:26] local.INFO: Acknowledgment sent {"connection_id":54090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:58:41] local.INFO: TCP Data received {"connection_id":55008,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:58:41] local.INFO: Processing buffer {"connection_id":55008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 01:58:41] local.INFO: IMEI packet received {"connection_id":55008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 01:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":55008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:58:57] local.INFO: TCP Data received {"connection_id":54090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:58:57] local.INFO: Processing buffer {"connection_id":54090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:58:57] local.INFO: Packet analysis {"connection_id":54090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 01:58:57] local.INFO: Extracted packet for processing {"connection_id":54090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 01:58:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 01:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:58:57] 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-04-26 01:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:58:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:58:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":54090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:58:57] local.INFO: GPS data processed {"connection_id":54090,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:58:57] local.INFO: Acknowledgment sent {"connection_id":54090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:59:15] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:59:15] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:59:15] local.INFO: IMEI packet received {"connection_id":55009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 01:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":55009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 01:59:20] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:59:20] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 01:59:20] local.INFO: IMEI packet received {"connection_id":55009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 01:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":55009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 01:59:21] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:59:21] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:59:21] local.INFO: Packet analysis {"connection_id":55009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 01:59:21] local.INFO: Extracted packet for processing {"connection_id":55009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 01:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01: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-04-26 01:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 01:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:59:21] 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-04-26 01: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-04-26 01:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01: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-04-26 01:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":55009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:59:21] local.INFO: GPS data processed {"connection_id":55009,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:59:21] local.INFO: Acknowledgment sent {"connection_id":55009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 01:59:58] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:59:58] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 01:59:58] local.INFO: Packet analysis {"connection_id":55009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 01:59:58] local.INFO: Extracted packet for processing {"connection_id":55009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 01:59:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 01:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 01:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 01:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 01:59:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 01:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 01:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 01:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 01:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 01:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 01:59:58] 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-04-26 01:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 01:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 01:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 01:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":55009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 01:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":55009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":55009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 01:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 01:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 01:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 01:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 01:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 01:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 01:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 01:59:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 01:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 01:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 01:59:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 01:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 01:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":55009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 01:59:58] local.INFO: GPS data processed {"connection_id":55009,"processed":1,"errors":0,"total":1} 
[2026-04-26 01:59:58] local.INFO: Acknowledgment sent {"connection_id":55009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:00:20] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:00:21] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:00:21] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:00:25] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:00:25] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:00:25] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:00:26] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:00:26] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:00:26] local.INFO: Packet analysis {"connection_id":55010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:00:26] local.INFO: Extracted packet for processing {"connection_id":55010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:00:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 02:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:00: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-04-26 02:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:00:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:00:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":55010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:00:26] local.INFO: GPS data processed {"connection_id":55010,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:00:26] local.INFO: Acknowledgment sent {"connection_id":55010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:00:30] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:00:30] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:00:30] local.INFO: Packet analysis {"connection_id":55010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:00:30] local.INFO: Extracted packet for processing {"connection_id":55010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:00:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 02:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:00: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-04-26 02:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:00:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":55010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:00:30] local.INFO: GPS data processed {"connection_id":55010,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:00:30] local.INFO: Acknowledgment sent {"connection_id":55010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:01:16] local.INFO: TCP Data received {"connection_id":54092,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:01:16] local.INFO: Processing buffer {"connection_id":54092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:01:16] local.INFO: IMEI packet received {"connection_id":54092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":54092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:01:20] local.INFO: TCP Data received {"connection_id":54092,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:01:20] local.INFO: Processing buffer {"connection_id":54092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:01:20] local.INFO: IMEI packet received {"connection_id":54092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:01:21] local.INFO: TCP Data received {"connection_id":54092,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:01:21] local.INFO: Processing buffer {"connection_id":54092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:01:21] local.INFO: Packet analysis {"connection_id":54092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:01:21] local.INFO: Extracted packet for processing {"connection_id":54092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 02:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:01:21] 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-04-26 02: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-04-26 02:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":54092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:01:21] local.INFO: GPS data processed {"connection_id":54092,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:01:21] local.INFO: Acknowledgment sent {"connection_id":54092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:01:52] local.INFO: TCP Data received {"connection_id":54092,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:01:52] local.INFO: Processing buffer {"connection_id":54092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:01:52] local.INFO: Packet analysis {"connection_id":54092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:01:52] local.INFO: Extracted packet for processing {"connection_id":54092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 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-04-26 02:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:01:52] 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-04-26 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-04-26 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-04-26 02:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":54092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:01:52] local.INFO: GPS data processed {"connection_id":54092,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:01:52] local.INFO: Acknowledgment sent {"connection_id":54092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:02:15] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:02:15] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:02:15] local.INFO: IMEI packet received {"connection_id":54357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":54357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:02:21] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:02:21] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:02:21] local.INFO: IMEI packet received {"connection_id":54357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":54357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:02:21] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:02:21] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:02:21] local.INFO: Packet analysis {"connection_id":54357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:02:21] local.INFO: Extracted packet for processing {"connection_id":54357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 02:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:02:21] 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-04-26 02: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-04-26 02:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:02: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-04-26 02:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":54357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:02:21] local.INFO: GPS data processed {"connection_id":54357,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:02:21] local.INFO: Acknowledgment sent {"connection_id":54357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:02:53] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:02:53] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:02:53] local.INFO: Packet analysis {"connection_id":54357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:02:53] local.INFO: Extracted packet for processing {"connection_id":54357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:02:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:02:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 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-04-26 02:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:02:53] 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-04-26 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-04-26 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-04-26 02:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:02: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-04-26 02:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:02:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:02:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:02:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":54357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:02:53] local.INFO: GPS data processed {"connection_id":54357,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:02:53] local.INFO: Acknowledgment sent {"connection_id":54357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:03:15] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:03:15] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:03:15] local.INFO: IMEI packet received {"connection_id":54285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":54285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:03:20] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:03:20] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:03:20] local.INFO: IMEI packet received {"connection_id":54285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:03:21] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:03:21] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc653c540012cb299c007822ce0004a001227..."} 
[2026-04-26 02:03:21] local.INFO: Packet analysis {"connection_id":54285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:03:21] local.INFO: Extracted packet for processing {"connection_id":54285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc653"} 
[2026-04-26 02:03:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950034176001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777148872000,"timestamp_ms":1777148872000,"timestamp_seconds":1777148872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc653c540"} 
[2026-04-26 02:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:03:21] 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-04-26 02: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-04-26 02:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:03: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-04-26 02:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950034176001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950034176001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:03:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950034176001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":54285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:03:21] local.INFO: GPS data processed {"connection_id":54285,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:03:21] local.INFO: Acknowledgment sent {"connection_id":54285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:03:52] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:03:52] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:03:52] local.INFO: Packet analysis {"connection_id":54285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:03:52] local.INFO: Extracted packet for processing {"connection_id":54285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:03:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:03:52] 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-04-26 02: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-04-26 02:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:03: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-04-26 02:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:03:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":54285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:03:52] local.INFO: GPS data processed {"connection_id":54285,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:03:52] local.INFO: Acknowledgment sent {"connection_id":54285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:04:06] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:04:06] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:04:06] local.INFO: IMEI packet received {"connection_id":55013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":55013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:04:20] local.INFO: TCP Data received {"connection_id":54093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:04:20] local.INFO: Processing buffer {"connection_id":54093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:04:20] local.INFO: IMEI packet received {"connection_id":54093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":54093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:04:25] local.INFO: TCP Data received {"connection_id":54093,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:04:25] local.INFO: Processing buffer {"connection_id":54093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:04:25] local.INFO: IMEI packet received {"connection_id":54093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":54093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:04:26] local.INFO: TCP Data received {"connection_id":54093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:04:26] local.INFO: Processing buffer {"connection_id":54093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:04:26] local.INFO: Packet analysis {"connection_id":54093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:04:26] local.INFO: Extracted packet for processing {"connection_id":54093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:04:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:04: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-04-26 02:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:04:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":54093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:04:26] local.INFO: GPS data processed {"connection_id":54093,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:04:26] local.INFO: Acknowledgment sent {"connection_id":54093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:04:30] local.INFO: TCP Data received {"connection_id":54093,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:04:30] local.INFO: Processing buffer {"connection_id":54093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:04:30] local.INFO: Packet analysis {"connection_id":54093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:04:30] local.INFO: Extracted packet for processing {"connection_id":54093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:04:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:04: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-04-26 02:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:04:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":54093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:04:30] local.INFO: GPS data processed {"connection_id":54093,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:04:30] local.INFO: Acknowledgment sent {"connection_id":54093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:04:46] local.INFO: TCP Data received {"connection_id":54286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:04:46] local.INFO: Processing buffer {"connection_id":54286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:04:46] local.INFO: IMEI packet received {"connection_id":54286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":54286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:05:15] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:05:15] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:05:15] local.INFO: IMEI packet received {"connection_id":54287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":54287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:05:20] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:05:20] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:05:20] local.INFO: IMEI packet received {"connection_id":54287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:05:21] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:05:21] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:05:21] local.INFO: Packet analysis {"connection_id":54287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:05:21] local.INFO: Extracted packet for processing {"connection_id":54287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:05: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-04-26 02: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-04-26 02:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:05: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-04-26 02:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":54287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:05:21] local.INFO: GPS data processed {"connection_id":54287,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:05:21] local.INFO: Acknowledgment sent {"connection_id":54287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:05:52] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:05:52] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:05:52] local.INFO: Packet analysis {"connection_id":54287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:05:52] local.INFO: Extracted packet for processing {"connection_id":54287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:05:52] 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-04-26 02: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-04-26 02:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:05: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-04-26 02:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":54287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:05:52] local.INFO: GPS data processed {"connection_id":54287,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:05:52] local.INFO: Acknowledgment sent {"connection_id":54287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:06:15] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:06:15] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:06:15] local.INFO: IMEI packet received {"connection_id":54358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:06:20] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:06:20] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:06:20] local.INFO: IMEI packet received {"connection_id":54358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":54358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:06:21] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:06:21] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:06:21] local.INFO: Packet analysis {"connection_id":54358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:06:21] local.INFO: Extracted packet for processing {"connection_id":54358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:06: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-04-26 02: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-04-26 02:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:06: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-04-26 02:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":54358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:06:21] local.INFO: GPS data processed {"connection_id":54358,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:06:21] local.INFO: Acknowledgment sent {"connection_id":54358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:06:52] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:06:52] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:06:52] local.INFO: Packet analysis {"connection_id":54358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:06:52] local.INFO: Extracted packet for processing {"connection_id":54358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:06:52] 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-04-26 02: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-04-26 02:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:06: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-04-26 02:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:06:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":54358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:06:52] local.INFO: GPS data processed {"connection_id":54358,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:06:52] local.INFO: Acknowledgment sent {"connection_id":54358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:07:15] local.INFO: TCP Data received {"connection_id":55016,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:07:15] local.INFO: Processing buffer {"connection_id":55016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:07:15] local.INFO: IMEI packet received {"connection_id":55016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":55016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:07:20] local.INFO: TCP Data received {"connection_id":55016,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:07:20] local.INFO: Processing buffer {"connection_id":55016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:07:20] local.INFO: IMEI packet received {"connection_id":55016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":55016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:07:21] local.INFO: TCP Data received {"connection_id":55016,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:07:21] local.INFO: Processing buffer {"connection_id":55016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:07:21] local.INFO: Packet analysis {"connection_id":55016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:07:21] local.INFO: Extracted packet for processing {"connection_id":55016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:07: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-04-26 02: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-04-26 02:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:07: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-04-26 02:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":55016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:07:21] local.INFO: GPS data processed {"connection_id":55016,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:07:21] local.INFO: Acknowledgment sent {"connection_id":55016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:07:52] local.INFO: TCP Data received {"connection_id":55016,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:07:52] local.INFO: Processing buffer {"connection_id":55016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:07:52] local.INFO: Packet analysis {"connection_id":55016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:07:52] local.INFO: Extracted packet for processing {"connection_id":55016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:07:52] 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-04-26 02: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-04-26 02:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:07: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-04-26 02:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":55016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:07:52] local.INFO: GPS data processed {"connection_id":55016,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:07:52] local.INFO: Acknowledgment sent {"connection_id":55016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:08:15] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:08:15] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:08:15] local.INFO: IMEI packet received {"connection_id":54289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":54289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:08:20] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:08:20] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:08:20] local.INFO: IMEI packet received {"connection_id":54289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:08:21] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:08:21] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6585d08012cb299c007822ce00048001228..."} 
[2026-04-26 02:08:21] local.INFO: Packet analysis {"connection_id":54289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:08:21] local.INFO: Extracted packet for processing {"connection_id":54289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc658"} 
[2026-04-26 02:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950111232001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149173000,"timestamp_ms":1777149173000,"timestamp_seconds":1777149173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6585d08"} 
[2026-04-26 02:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:08: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-04-26 02: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-04-26 02:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:08: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-04-26 02:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950111232001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950111232001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950111232001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":54289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:08:21] local.INFO: GPS data processed {"connection_id":54289,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:08:21] local.INFO: Acknowledgment sent {"connection_id":54289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:08:52] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:08:52] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:08:52] local.INFO: Packet analysis {"connection_id":54289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:08:52] local.INFO: Extracted packet for processing {"connection_id":54289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:08:52] 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-04-26 02:08:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:08: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-04-26 02:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:08:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":54289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:08:52] local.INFO: GPS data processed {"connection_id":54289,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:08:52] local.INFO: Acknowledgment sent {"connection_id":54289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:09:20] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:09:20] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:09:20] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:09:25] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:09:25] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:09:25] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:09:26] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:09:26] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:09:26] local.INFO: Packet analysis {"connection_id":55017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:09:26] local.INFO: Extracted packet for processing {"connection_id":55017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:09:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:09:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:09:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:09:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":55017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:09:26] local.INFO: GPS data processed {"connection_id":55017,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:09:26] local.INFO: Acknowledgment sent {"connection_id":55017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:09:31] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:09:31] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:09:31] local.INFO: Packet analysis {"connection_id":55017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:09:31] local.INFO: Extracted packet for processing {"connection_id":55017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:09:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:09:31] 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-04-26 02: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-04-26 02:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:09: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-04-26 02:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:09:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":55017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:09:31] local.INFO: GPS data processed {"connection_id":55017,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:09:31] local.INFO: Acknowledgment sent {"connection_id":55017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:10:01] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:10:01] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:10:01] local.INFO: IMEI packet received {"connection_id":55018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":55018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:10:15] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:10:15] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:10:15] local.INFO: IMEI packet received {"connection_id":54359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:10:20] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:10:20] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:10:20] local.INFO: IMEI packet received {"connection_id":54359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:10:21] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:10:21] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:10:21] local.INFO: Packet analysis {"connection_id":54359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:10:21] local.INFO: Extracted packet for processing {"connection_id":54359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:10: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-04-26 02: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-04-26 02:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:10: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-04-26 02:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":54359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:10:21] local.INFO: GPS data processed {"connection_id":54359,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:10:21] local.INFO: Acknowledgment sent {"connection_id":54359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:10:41] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:10:41] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:10:41] local.INFO: IMEI packet received {"connection_id":54360,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":54360,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:10:52] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:10:52] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:10:52] local.INFO: Packet analysis {"connection_id":54359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:10:52] local.INFO: Extracted packet for processing {"connection_id":54359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:10:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:10:52] 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-04-26 02:10:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:10: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-04-26 02:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":54359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:10:52] local.INFO: GPS data processed {"connection_id":54359,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:10:52] local.INFO: Acknowledgment sent {"connection_id":54359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:11:15] local.INFO: TCP Data received {"connection_id":54095,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:11:15] local.INFO: Processing buffer {"connection_id":54095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:11:15] local.INFO: IMEI packet received {"connection_id":54095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:11:20] local.INFO: TCP Data received {"connection_id":54095,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:11:20] local.INFO: Processing buffer {"connection_id":54095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:11:20] local.INFO: IMEI packet received {"connection_id":54095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:11:21] local.INFO: TCP Data received {"connection_id":54095,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:11:21] local.INFO: Processing buffer {"connection_id":54095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:11:21] local.INFO: Packet analysis {"connection_id":54095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:11:21] local.INFO: Extracted packet for processing {"connection_id":54095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:11: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-04-26 02: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-04-26 02:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:11: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-04-26 02:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:11:21] local.INFO: GPS data processed {"connection_id":54095,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:11:21] local.INFO: Acknowledgment sent {"connection_id":54095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:11:52] local.INFO: TCP Data received {"connection_id":54095,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:11:52] local.INFO: Processing buffer {"connection_id":54095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:11:52] local.INFO: Packet analysis {"connection_id":54095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:11:52] local.INFO: Extracted packet for processing {"connection_id":54095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:11:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:11:52] 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-04-26 02: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-04-26 02:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:11:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":54095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:11:52] local.INFO: GPS data processed {"connection_id":54095,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:11:52] local.INFO: Acknowledgment sent {"connection_id":54095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:12:15] local.INFO: TCP Data received {"connection_id":54096,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:12:15] local.INFO: Processing buffer {"connection_id":54096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:12:15] local.INFO: IMEI packet received {"connection_id":54096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:12:20] local.INFO: TCP Data received {"connection_id":54096,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:12:21] local.INFO: Processing buffer {"connection_id":54096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:12:21] local.INFO: IMEI packet received {"connection_id":54096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":54096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:12:22] local.INFO: TCP Data received {"connection_id":54096,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:12:22] local.INFO: Processing buffer {"connection_id":54096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:12:22] local.INFO: Packet analysis {"connection_id":54096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:12:22] local.INFO: Extracted packet for processing {"connection_id":54096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:12:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:12:22] 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-04-26 02: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-04-26 02:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:12: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-04-26 02:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:12:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":54096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:12:22] local.INFO: GPS data processed {"connection_id":54096,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:12:22] local.INFO: Acknowledgment sent {"connection_id":54096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:12:53] local.INFO: TCP Data received {"connection_id":54096,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:12:53] local.INFO: Processing buffer {"connection_id":54096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:12:53] local.INFO: Packet analysis {"connection_id":54096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:12:53] local.INFO: Extracted packet for processing {"connection_id":54096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:12:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 02:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:12: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-04-26 02: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-04-26 02:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:12: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-04-26 02:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:12:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":54096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:12:53] local.INFO: GPS data processed {"connection_id":54096,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:12:53] local.INFO: Acknowledgment sent {"connection_id":54096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:13:15] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:13:15] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:13:15] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:13:20] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:13:21] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:13:21] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:13:21] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:13:22] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc65cf4d0012cb299c007822ce0004a00122a..."} 
[2026-04-26 02:13:22] local.INFO: Packet analysis {"connection_id":55019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:13:22] local.INFO: Extracted packet for processing {"connection_id":55019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc65c"} 
[2026-04-26 02:13:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950188288001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:13:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777149474000,"timestamp_ms":1777149474000,"timestamp_seconds":1777149474,"priority":1,"record_length":96,"hex_timestamp":"0000019dc65cf4d0"} 
[2026-04-26 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-04-26 02:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:13:22] 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-04-26 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-04-26 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-04-26 02:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:13: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-04-26 02:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950188288001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950188288001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:13:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:13:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:13:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950188288001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":55019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:13:22] local.INFO: GPS data processed {"connection_id":55019,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:13:22] local.INFO: Acknowledgment sent {"connection_id":55019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:13:52] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:13:52] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:13:52] local.INFO: Packet analysis {"connection_id":55019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:13:52] local.INFO: Extracted packet for processing {"connection_id":55019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:13: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-04-26 02: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-04-26 02:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:13: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-04-26 02:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":55019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:13:52] local.INFO: GPS data processed {"connection_id":55019,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:13:52] local.INFO: Acknowledgment sent {"connection_id":55019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:14:16] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:14:16] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:14:16] local.INFO: IMEI packet received {"connection_id":55020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":55020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:14:20] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:14:20] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:14:20] local.INFO: IMEI packet received {"connection_id":55020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":55020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:14:21] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:14:21] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:14:21] local.INFO: Packet analysis {"connection_id":55020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:14:21] local.INFO: Extracted packet for processing {"connection_id":55020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:14:21] 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-04-26 02: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-04-26 02:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:14: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-04-26 02:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":55020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:14:21] local.INFO: GPS data processed {"connection_id":55020,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:14:21] local.INFO: Acknowledgment sent {"connection_id":55020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:14:53] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:14:53] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:14:53] local.INFO: Packet analysis {"connection_id":55020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:14:53] local.INFO: Extracted packet for processing {"connection_id":55020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:14:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:14:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 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-04-26 02:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 02:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:14: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-04-26 02:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:14:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:14:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":55020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:14:53] local.INFO: GPS data processed {"connection_id":55020,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:14:53] local.INFO: Acknowledgment sent {"connection_id":55020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:15:15] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:15:15] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:15:15] local.INFO: IMEI packet received {"connection_id":54292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:15:20] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:15:20] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:15:20] local.INFO: IMEI packet received {"connection_id":54292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:15:21] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:15:21] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:15:21] local.INFO: Packet analysis {"connection_id":54292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:15:21] local.INFO: Extracted packet for processing {"connection_id":54292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:15:21] 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-04-26 02: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-04-26 02:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:15: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-04-26 02:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:15:21] local.INFO: GPS data processed {"connection_id":54292,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:15:21] local.INFO: Acknowledgment sent {"connection_id":54292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:15:53] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:15:53] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:15:53] local.INFO: Packet analysis {"connection_id":54292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:15:53] local.INFO: Extracted packet for processing {"connection_id":54292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:15:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:15:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:15:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:15:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:15:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:15:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 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-04-26 02:15:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:15:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 02:15:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:15:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:15:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:15:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:15: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-04-26 02:15:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:15:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:15:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:15:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:15:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:15:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:15:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:15:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:15:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:15:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:15:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:15:53] local.INFO: DEBUG: GPS processor result {"connection_id":54292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:15:53] local.INFO: GPS data processed {"connection_id":54292,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:15:53] local.INFO: Acknowledgment sent {"connection_id":54292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:16:11] local.INFO: TCP Data received {"connection_id":55021,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:16:11] local.INFO: Processing buffer {"connection_id":55021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:16:11] local.INFO: IMEI packet received {"connection_id":55021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":55021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:16:15] local.INFO: TCP Data received {"connection_id":54363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:16:15] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:16:15] local.INFO: IMEI packet received {"connection_id":54363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:16:20] local.INFO: TCP Data received {"connection_id":54363,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:16:20] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:16:20] local.INFO: IMEI packet received {"connection_id":54363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:16:21] local.INFO: TCP Data received {"connection_id":54363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:16:21] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:16:21] local.INFO: Packet analysis {"connection_id":54363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:16:21] local.INFO: Extracted packet for processing {"connection_id":54363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:16:21] 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-04-26 02: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-04-26 02:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:16: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-04-26 02:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":54363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:16:21] local.INFO: GPS data processed {"connection_id":54363,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:16:21] local.INFO: Acknowledgment sent {"connection_id":54363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:16:46] local.INFO: TCP Data received {"connection_id":54097,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:16:46] local.INFO: Processing buffer {"connection_id":54097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:16:46] local.INFO: IMEI packet received {"connection_id":54097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":54097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:16:52] local.INFO: TCP Data received {"connection_id":54363,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:16:52] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:16:52] local.INFO: Packet analysis {"connection_id":54363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:16:52] local.INFO: Extracted packet for processing {"connection_id":54363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:16: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-04-26 02: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-04-26 02:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:16: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-04-26 02:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:16:52] local.INFO: GPS data processed {"connection_id":54363,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:16:52] local.INFO: Acknowledgment sent {"connection_id":54363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:17:15] local.INFO: TCP Data received {"connection_id":54293,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:17:15] local.INFO: Processing buffer {"connection_id":54293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:17:15] local.INFO: IMEI packet received {"connection_id":54293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":54293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:17:20] local.INFO: TCP Data received {"connection_id":54293,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:17:20] local.INFO: Processing buffer {"connection_id":54293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:17:20] local.INFO: IMEI packet received {"connection_id":54293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":54293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:17:21] local.INFO: TCP Data received {"connection_id":54293,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:17:21] local.INFO: Processing buffer {"connection_id":54293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:17:21] local.INFO: Packet analysis {"connection_id":54293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:17:21] local.INFO: Extracted packet for processing {"connection_id":54293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:17:21] 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-04-26 02: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-04-26 02:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:17: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-04-26 02:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:17:21] local.INFO: GPS data processed {"connection_id":54293,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:17:21] local.INFO: Acknowledgment sent {"connection_id":54293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:17:52] local.INFO: TCP Data received {"connection_id":54293,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:17:52] local.INFO: Processing buffer {"connection_id":54293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:17:52] local.INFO: Packet analysis {"connection_id":54293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:17:52] local.INFO: Extracted packet for processing {"connection_id":54293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:17: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-04-26 02: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-04-26 02:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:17: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-04-26 02:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:17:52] local.INFO: GPS data processed {"connection_id":54293,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:17:52] local.INFO: Acknowledgment sent {"connection_id":54293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:18:15] local.INFO: TCP Data received {"connection_id":54098,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:18:15] local.INFO: Processing buffer {"connection_id":54098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:18:15] local.INFO: IMEI packet received {"connection_id":54098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:18:20] local.INFO: TCP Data received {"connection_id":54098,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:18:20] local.INFO: Processing buffer {"connection_id":54098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:18:20] local.INFO: IMEI packet received {"connection_id":54098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:18:21] local.INFO: TCP Data received {"connection_id":54098,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:18:21] local.INFO: Processing buffer {"connection_id":54098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6618c98012cb299c007822ce0004800122a..."} 
[2026-04-26 02:18:21] local.INFO: Packet analysis {"connection_id":54098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:18:21] local.INFO: Extracted packet for processing {"connection_id":54098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc661"} 
[2026-04-26 02:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950265344001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777149775000,"timestamp_ms":1777149775000,"timestamp_seconds":1777149775,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6618c98"} 
[2026-04-26 02:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:18:21] 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-04-26 02: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-04-26 02:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:18: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-04-26 02:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950265344001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950265344001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950265344001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:18:21] local.INFO: GPS data processed {"connection_id":54098,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:18:21] local.INFO: Acknowledgment sent {"connection_id":54098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:18:52] local.INFO: TCP Data received {"connection_id":54098,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:18:52] local.INFO: Processing buffer {"connection_id":54098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:18:52] local.INFO: Packet analysis {"connection_id":54098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:18:52] local.INFO: Extracted packet for processing {"connection_id":54098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:18:52] 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-04-26 02: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-04-26 02:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:18: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-04-26 02:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:18:52] local.INFO: GPS data processed {"connection_id":54098,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:18:52] local.INFO: Acknowledgment sent {"connection_id":54098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:19:15] local.INFO: TCP Data received {"connection_id":54366,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:19:15] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:19:15] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:19:22] local.INFO: TCP Data received {"connection_id":54366,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:19:22] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:19:22] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:19:23] local.INFO: TCP Data received {"connection_id":54366,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:19:23] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:19:23] local.INFO: Packet analysis {"connection_id":54366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:19:23] local.INFO: Extracted packet for processing {"connection_id":54366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:19:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:19:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:19:23] 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-04-26 02: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-04-26 02:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:19: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-04-26 02:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:19:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:19:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:19:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":54366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:19:23] local.INFO: GPS data processed {"connection_id":54366,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:19:23] local.INFO: Acknowledgment sent {"connection_id":54366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:19:54] local.INFO: TCP Data received {"connection_id":54366,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:19:54] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:19:54] local.INFO: Packet analysis {"connection_id":54366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:19:54] local.INFO: Extracted packet for processing {"connection_id":54366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:19:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:19: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-04-26 02:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:19: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-04-26 02:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:19:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:19:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":54366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:19:54] local.INFO: GPS data processed {"connection_id":54366,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:19:54] local.INFO: Acknowledgment sent {"connection_id":54366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:20:15] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:20:15] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:20:15] local.INFO: IMEI packet received {"connection_id":54367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":54367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:20:20] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:20:20] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:20:20] local.INFO: IMEI packet received {"connection_id":54367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":54367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:20:21] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:20:21] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:20:21] local.INFO: Packet analysis {"connection_id":54367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:20:21] local.INFO: Extracted packet for processing {"connection_id":54367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:20:21] 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-04-26 02: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-04-26 02:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:20: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-04-26 02:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":54367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:20:21] local.INFO: GPS data processed {"connection_id":54367,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:20:21] local.INFO: Acknowledgment sent {"connection_id":54367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:20:52] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:20:53] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:20:53] local.INFO: Packet analysis {"connection_id":54367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:20:53] local.INFO: Extracted packet for processing {"connection_id":54367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:20:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:20:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:20:53] 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-04-26 02:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:20:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:20:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:20:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":54367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:20:53] local.INFO: GPS data processed {"connection_id":54367,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:20:53] local.INFO: Acknowledgment sent {"connection_id":54367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:21:15] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:21:15] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:21:15] local.INFO: IMEI packet received {"connection_id":54368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":54368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:21:20] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:21:20] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:21:20] local.INFO: IMEI packet received {"connection_id":54368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":54368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:21:21] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:21:21] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:21:21] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:21:21] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:21:21] 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-04-26 02: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-04-26 02:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:21: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-04-26 02:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:21:21] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:21:21] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:21:54] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:21:54] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:21:54] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:21:54] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:21:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:21:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02: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-04-26 02: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-04-26 02:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:21:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:21:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:21:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:21:54] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:21:54] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:22:01] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:22:01] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:22:01] local.INFO: IMEI packet received {"connection_id":55024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":55024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:22:15] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:22:15] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:22:15] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:22:20] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:22:20] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:22:20] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:22:21] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:22:21] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:22:21] local.INFO: Packet analysis {"connection_id":55025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:22:21] local.INFO: Extracted packet for processing {"connection_id":55025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:22:21] 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-04-26 02: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-04-26 02:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:22: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-04-26 02:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":55025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:22:21] local.INFO: GPS data processed {"connection_id":55025,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:22:21] local.INFO: Acknowledgment sent {"connection_id":55025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:22:48] local.INFO: TCP Data received {"connection_id":54099,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:22:48] local.INFO: Processing buffer {"connection_id":54099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:22:48] local.INFO: IMEI packet received {"connection_id":54099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":54099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:22:52] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:22:52] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:22:52] local.INFO: Packet analysis {"connection_id":55025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:22:52] local.INFO: Extracted packet for processing {"connection_id":55025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:22:52] 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-04-26 02: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-04-26 02:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":55025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:22:52] local.INFO: GPS data processed {"connection_id":55025,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:22:52] local.INFO: Acknowledgment sent {"connection_id":55025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:23:20] local.INFO: TCP Data received {"connection_id":54294,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:23:20] local.INFO: Processing buffer {"connection_id":54294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:23:20] local.INFO: IMEI packet received {"connection_id":54294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:23:25] local.INFO: TCP Data received {"connection_id":54294,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:23:25] local.INFO: Processing buffer {"connection_id":54294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:23:25] local.INFO: IMEI packet received {"connection_id":54294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":54294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:23:26] local.INFO: TCP Data received {"connection_id":54294,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:23:26] local.INFO: Processing buffer {"connection_id":54294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:23:26] local.INFO: Packet analysis {"connection_id":54294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:23:26] local.INFO: Extracted packet for processing {"connection_id":54294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:23:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:23: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-04-26 02:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:23:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":54294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:23:26] local.INFO: GPS data processed {"connection_id":54294,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:23:26] local.INFO: Acknowledgment sent {"connection_id":54294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:23:31] local.INFO: TCP Data received {"connection_id":54294,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:23:31] local.INFO: Processing buffer {"connection_id":54294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6662460012cb299c007822ce0004a00122b..."} 
[2026-04-26 02:23:31] local.INFO: Packet analysis {"connection_id":54294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:23:31] local.INFO: Extracted packet for processing {"connection_id":54294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc666"} 
[2026-04-26 02:23:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950342400001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777150076000,"timestamp_ms":1777150076000,"timestamp_seconds":1777150076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6662460"} 
[2026-04-26 02:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:23:31] 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-04-26 02:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:23:31] 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-04-26 02:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950342400001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950342400001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:23:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:23:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950342400001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":54294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:23:31] local.INFO: GPS data processed {"connection_id":54294,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:23:31] local.INFO: Acknowledgment sent {"connection_id":54294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:24:15] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:24:15] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:24:15] local.INFO: IMEI packet received {"connection_id":54369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":54369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:24:20] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:24:20] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:24:20] local.INFO: IMEI packet received {"connection_id":54369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":54369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:24:21] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:24:21] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:24:21] local.INFO: Packet analysis {"connection_id":54369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:24:21] local.INFO: Extracted packet for processing {"connection_id":54369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:24:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:24:21] 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-04-26 02: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-04-26 02:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:24:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":54369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:24:21] local.INFO: GPS data processed {"connection_id":54369,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:24:21] local.INFO: Acknowledgment sent {"connection_id":54369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:24:52] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:24:52] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:24:52] local.INFO: Packet analysis {"connection_id":54369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:24:52] local.INFO: Extracted packet for processing {"connection_id":54369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:24:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:24: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-04-26 02: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-04-26 02:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:24:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":54369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:24:52] local.INFO: GPS data processed {"connection_id":54369,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:24:52] local.INFO: Acknowledgment sent {"connection_id":54369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:25:15] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:25:15] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:25:15] local.INFO: IMEI packet received {"connection_id":55026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":55026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:25:20] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:25:20] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:25:20] local.INFO: IMEI packet received {"connection_id":55026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":55026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:25:21] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:25:21] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:25:21] local.INFO: Packet analysis {"connection_id":55026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:25:21] local.INFO: Extracted packet for processing {"connection_id":55026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:25:21] 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-04-26 02: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-04-26 02:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":55026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:25:21] local.INFO: GPS data processed {"connection_id":55026,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:25:21] local.INFO: Acknowledgment sent {"connection_id":55026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:25:52] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:25:52] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:25:52] local.INFO: Packet analysis {"connection_id":55026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:25:52] local.INFO: Extracted packet for processing {"connection_id":55026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:25:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:25: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-04-26 02: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-04-26 02:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:25:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":55026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:25:52] local.INFO: GPS data processed {"connection_id":55026,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:25:52] local.INFO: Acknowledgment sent {"connection_id":55026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:26:15] local.INFO: TCP Data received {"connection_id":54101,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:26:15] local.INFO: Processing buffer {"connection_id":54101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:26:15] local.INFO: IMEI packet received {"connection_id":54101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":54101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:26:20] local.INFO: TCP Data received {"connection_id":54101,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:26:20] local.INFO: Processing buffer {"connection_id":54101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:26:20] local.INFO: IMEI packet received {"connection_id":54101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":54101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:26:21] local.INFO: TCP Data received {"connection_id":54101,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:26:21] local.INFO: Processing buffer {"connection_id":54101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:26:21] local.INFO: Packet analysis {"connection_id":54101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:26:21] local.INFO: Extracted packet for processing {"connection_id":54101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:26:21] 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-04-26 02: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-04-26 02:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:26: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-04-26 02:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":54101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:26:21] local.INFO: GPS data processed {"connection_id":54101,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:26:21] local.INFO: Acknowledgment sent {"connection_id":54101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:26:52] local.INFO: TCP Data received {"connection_id":54101,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:26:52] local.INFO: Processing buffer {"connection_id":54101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:26:52] local.INFO: Packet analysis {"connection_id":54101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:26:52] local.INFO: Extracted packet for processing {"connection_id":54101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:26:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:26: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-04-26 02: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-04-26 02:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:26: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-04-26 02:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:26:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":54101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:26:52] local.INFO: GPS data processed {"connection_id":54101,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:26:52] local.INFO: Acknowledgment sent {"connection_id":54101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:27:15] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:27:15] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:27:15] local.INFO: IMEI packet received {"connection_id":54373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":54373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:27:20] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:27:20] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:27:20] local.INFO: IMEI packet received {"connection_id":54373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:27:21] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:27:21] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:27:21] local.INFO: Packet analysis {"connection_id":54373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:27:21] local.INFO: Extracted packet for processing {"connection_id":54373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:27:21] 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-04-26 02: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-04-26 02:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:27:21] local.INFO: GPS data processed {"connection_id":54373,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:27:21] local.INFO: Acknowledgment sent {"connection_id":54373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:27:52] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:27:52] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:27:52] local.INFO: Packet analysis {"connection_id":54373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:27:52] local.INFO: Extracted packet for processing {"connection_id":54373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:27: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-04-26 02: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-04-26 02:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:27:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":54373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:27:52] local.INFO: GPS data processed {"connection_id":54373,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:27:52] local.INFO: Acknowledgment sent {"connection_id":54373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:28:21] local.INFO: TCP Data received {"connection_id":54102,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:28:21] local.INFO: Processing buffer {"connection_id":54102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:28:21] local.INFO: IMEI packet received {"connection_id":54102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":54102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:28:22] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:28:22] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:28:22] local.INFO: IMEI packet received {"connection_id":55027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":55027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:28:25] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:28:25] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:28:25] local.INFO: IMEI packet received {"connection_id":55027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":55027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:28:26] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:28:26] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:28:26] local.INFO: Packet analysis {"connection_id":55027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:28:26] local.INFO: Extracted packet for processing {"connection_id":55027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:28:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:28:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:28: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-04-26 02: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-04-26 02:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:28: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-04-26 02:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:28:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:28:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":55027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:28:26] local.INFO: GPS data processed {"connection_id":55027,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:28:26] local.INFO: Acknowledgment sent {"connection_id":55027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:28:30] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:28:30] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66abc28012cb299c007822ce0004800122b..."} 
[2026-04-26 02:28:30] local.INFO: Packet analysis {"connection_id":55027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:28:30] local.INFO: Extracted packet for processing {"connection_id":55027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66a"} 
[2026-04-26 02:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950419456001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777150377000,"timestamp_ms":1777150377000,"timestamp_seconds":1777150377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66abc28"} 
[2026-04-26 02:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:28: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-04-26 02:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950419456001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950419456001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:28:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950419456001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":55027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:28:30] local.INFO: GPS data processed {"connection_id":55027,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:28:30] local.INFO: Acknowledgment sent {"connection_id":55027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:28:43] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:28:43] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:28:43] local.INFO: IMEI packet received {"connection_id":55028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":55028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:29:15] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:29:15] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:29:15] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:29:20] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:29:20] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:29:20] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:29:21] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:29:21] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:29:21] local.INFO: Packet analysis {"connection_id":55029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:29:21] local.INFO: Extracted packet for processing {"connection_id":55029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:29:21] 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-04-26 02: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-04-26 02:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:29: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-04-26 02:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":55029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:29:21] local.INFO: GPS data processed {"connection_id":55029,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:29:21] local.INFO: Acknowledgment sent {"connection_id":55029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:29:53] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:29:53] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:29:53] local.INFO: Packet analysis {"connection_id":55029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:29:53] local.INFO: Extracted packet for processing {"connection_id":55029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:29:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 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-04-26 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 02:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:29:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:29:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:29:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":55029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:29:53] local.INFO: GPS data processed {"connection_id":55029,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:29:53] local.INFO: Acknowledgment sent {"connection_id":55029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:30:15] local.INFO: TCP Data received {"connection_id":54296,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:30:15] local.INFO: Processing buffer {"connection_id":54296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:30:15] local.INFO: IMEI packet received {"connection_id":54296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":54296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:30:20] local.INFO: TCP Data received {"connection_id":54296,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:30:20] local.INFO: Processing buffer {"connection_id":54296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:30:20] local.INFO: IMEI packet received {"connection_id":54296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:30:21] local.INFO: TCP Data received {"connection_id":54296,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:30:21] local.INFO: Processing buffer {"connection_id":54296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:30:21] local.INFO: Packet analysis {"connection_id":54296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:30:21] local.INFO: Extracted packet for processing {"connection_id":54296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:30:21] 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-04-26 02: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-04-26 02:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:30: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-04-26 02:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:30:21] local.INFO: GPS data processed {"connection_id":54296,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:30:21] local.INFO: Acknowledgment sent {"connection_id":54296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:30:52] local.INFO: TCP Data received {"connection_id":54296,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:30:52] local.INFO: Processing buffer {"connection_id":54296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:30:52] local.INFO: Packet analysis {"connection_id":54296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:30:52] local.INFO: Extracted packet for processing {"connection_id":54296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:30:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:30: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-04-26 02: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-04-26 02:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:30: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-04-26 02:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:30:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":54296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:30:52] local.INFO: GPS data processed {"connection_id":54296,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:30:52] local.INFO: Acknowledgment sent {"connection_id":54296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:31:15] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:31:15] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:31:15] local.INFO: IMEI packet received {"connection_id":54374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":54374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:31:20] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:31:20] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:31:20] local.INFO: IMEI packet received {"connection_id":54374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":54374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:31:21] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:31:21] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:31:21] local.INFO: Packet analysis {"connection_id":54374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:31:21] local.INFO: Extracted packet for processing {"connection_id":54374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:31:21] 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-04-26 02: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-04-26 02:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:31:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":54374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:31:21] local.INFO: GPS data processed {"connection_id":54374,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:31:21] local.INFO: Acknowledgment sent {"connection_id":54374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:31:52] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:31:52] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:31:52] local.INFO: Packet analysis {"connection_id":54374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:31:52] local.INFO: Extracted packet for processing {"connection_id":54374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:31:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:31: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-04-26 02: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-04-26 02:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:31:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":54374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:31:52] local.INFO: GPS data processed {"connection_id":54374,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:31:52] local.INFO: Acknowledgment sent {"connection_id":54374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:32:20] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:32:20] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:32:20] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:32:25] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:32:25] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:32:25] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:32:26] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:32:26] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:32:26] local.INFO: Packet analysis {"connection_id":55031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:32:26] local.INFO: Extracted packet for processing {"connection_id":55031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:32:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:32:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:32: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-04-26 02:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:32: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-04-26 02:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:32:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:32:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":55031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:32:26] local.INFO: GPS data processed {"connection_id":55031,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:32:26] local.INFO: Acknowledgment sent {"connection_id":55031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:32:30] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:32:30] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:32:30] local.INFO: Packet analysis {"connection_id":55031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:32:30] local.INFO: Extracted packet for processing {"connection_id":55031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:32:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:32: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-04-26 02:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:32:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":55031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:32:30] local.INFO: GPS data processed {"connection_id":55031,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:32:30] local.INFO: Acknowledgment sent {"connection_id":55031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:33:15] local.INFO: TCP Data received {"connection_id":54297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:33:15] local.INFO: Processing buffer {"connection_id":54297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:33:15] local.INFO: IMEI packet received {"connection_id":54297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:33:20] local.INFO: TCP Data received {"connection_id":54297,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:33:20] local.INFO: Processing buffer {"connection_id":54297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:33:20] local.INFO: IMEI packet received {"connection_id":54297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":54297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:33:21] local.INFO: TCP Data received {"connection_id":54297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:33:21] local.INFO: Processing buffer {"connection_id":54297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc66f53f0012cb299c007822ce0004700122b..."} 
[2026-04-26 02:33:21] local.INFO: Packet analysis {"connection_id":54297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:33:21] local.INFO: Extracted packet for processing {"connection_id":54297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc66f"} 
[2026-04-26 02:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950496512001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150678000,"timestamp_ms":1777150678000,"timestamp_seconds":1777150678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc66f53f0"} 
[2026-04-26 02:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:33:21] 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-04-26 02: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-04-26 02:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:33: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-04-26 02:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950496512001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950496512001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950496512001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":54297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:33:21] local.INFO: GPS data processed {"connection_id":54297,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:33:21] local.INFO: Acknowledgment sent {"connection_id":54297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:33:52] local.INFO: TCP Data received {"connection_id":54297,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:33:52] local.INFO: Processing buffer {"connection_id":54297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:33:52] local.INFO: Packet analysis {"connection_id":54297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:33:52] local.INFO: Extracted packet for processing {"connection_id":54297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:33:52] 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-04-26 02: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-04-26 02:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:33: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-04-26 02:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":54297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:33:52] local.INFO: GPS data processed {"connection_id":54297,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:33:52] local.INFO: Acknowledgment sent {"connection_id":54297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:34:01] local.INFO: TCP Data received {"connection_id":54105,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:34:01] local.INFO: Processing buffer {"connection_id":54105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:34:01] local.INFO: IMEI packet received {"connection_id":54105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":54105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:34:15] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:34:15] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:34:15] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:34:20] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:34:20] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:34:20] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:34:21] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:34:21] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:34:21] local.INFO: Packet analysis {"connection_id":55032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:34:21] local.INFO: Extracted packet for processing {"connection_id":55032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:34: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-04-26 02: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-04-26 02:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:34: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-04-26 02:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":55032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:34:22] local.INFO: GPS data processed {"connection_id":55032,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:34:22] local.INFO: Acknowledgment sent {"connection_id":55032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:34:41] local.INFO: TCP Data received {"connection_id":55033,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:34:41] local.INFO: Processing buffer {"connection_id":55033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:34:41] local.INFO: IMEI packet received {"connection_id":55033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":55033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:34:53] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:34:53] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:34:53] local.INFO: Packet analysis {"connection_id":55032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:34:53] local.INFO: Extracted packet for processing {"connection_id":55032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:34:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:34:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 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-04-26 02:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:34: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-04-26 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-04-26 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-04-26 02:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:34: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-04-26 02:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:34:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:34:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:34:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":55032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:34:53] local.INFO: GPS data processed {"connection_id":55032,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:34:53] local.INFO: Acknowledgment sent {"connection_id":55032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:35:15] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:35:15] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:35:15] local.INFO: IMEI packet received {"connection_id":55034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":55034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:35:20] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:35:20] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:35:20] local.INFO: IMEI packet received {"connection_id":55034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":55034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:35:21] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:35:21] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:35:21] local.INFO: Packet analysis {"connection_id":55034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:35:21] local.INFO: Extracted packet for processing {"connection_id":55034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:35: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-04-26 02: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-04-26 02:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:35: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-04-26 02:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:35:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":55034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:35:21] local.INFO: GPS data processed {"connection_id":55034,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:35:21] local.INFO: Acknowledgment sent {"connection_id":55034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:35:52] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:35:52] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:35:52] local.INFO: Packet analysis {"connection_id":55034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:35:52] local.INFO: Extracted packet for processing {"connection_id":55034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:35:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:35:52] 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-04-26 02: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-04-26 02:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:35: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-04-26 02:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:35:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":55034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:35:52] local.INFO: GPS data processed {"connection_id":55034,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:35:52] local.INFO: Acknowledgment sent {"connection_id":55034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:36:15] local.INFO: TCP Data received {"connection_id":54106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:36:15] local.INFO: Processing buffer {"connection_id":54106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:36:15] local.INFO: IMEI packet received {"connection_id":54106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":54106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:36:20] local.INFO: TCP Data received {"connection_id":54106,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:36:20] local.INFO: Processing buffer {"connection_id":54106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:36:20] local.INFO: IMEI packet received {"connection_id":54106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":54106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:36:21] local.INFO: TCP Data received {"connection_id":54106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:36:21] local.INFO: Processing buffer {"connection_id":54106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:36:21] local.INFO: Packet analysis {"connection_id":54106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:36:21] local.INFO: Extracted packet for processing {"connection_id":54106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:36: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-04-26 02:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":54106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:36:21] local.INFO: GPS data processed {"connection_id":54106,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:36:21] local.INFO: Acknowledgment sent {"connection_id":54106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:36:52] local.INFO: TCP Data received {"connection_id":54106,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:36:52] local.INFO: Processing buffer {"connection_id":54106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:36:52] local.INFO: Packet analysis {"connection_id":54106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:36:52] local.INFO: Extracted packet for processing {"connection_id":54106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:36:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:36:52] 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-04-26 02: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-04-26 02:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:36:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":54106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:36:52] local.INFO: GPS data processed {"connection_id":54106,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:36:52] local.INFO: Acknowledgment sent {"connection_id":54106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:37:20] local.INFO: TCP Data received {"connection_id":54299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:37:20] local.INFO: Processing buffer {"connection_id":54299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:37:20] local.INFO: IMEI packet received {"connection_id":54299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:37:25] local.INFO: TCP Data received {"connection_id":54299,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:37:25] local.INFO: Processing buffer {"connection_id":54299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:37:25] local.INFO: IMEI packet received {"connection_id":54299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":54299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:37:26] local.INFO: TCP Data received {"connection_id":54299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:37:26] local.INFO: Processing buffer {"connection_id":54299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:37:26] local.INFO: Packet analysis {"connection_id":54299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:37:26] local.INFO: Extracted packet for processing {"connection_id":54299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:37:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:37:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:37:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:37:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:37:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:37:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:37:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:37:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:37:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:37:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:37:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:37:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:37:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:37:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:37:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:37:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:37:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:37:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:37:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:37:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:37:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:37:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:37:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:37:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:37:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:37:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:37:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:37:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:37:26] local.INFO: DEBUG: GPS processor result {"connection_id":54299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:37:26] local.INFO: GPS data processed {"connection_id":54299,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:37:26] local.INFO: Acknowledgment sent {"connection_id":54299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:37:30] local.INFO: TCP Data received {"connection_id":54299,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:37:30] local.INFO: Processing buffer {"connection_id":54299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:37:30] local.INFO: Packet analysis {"connection_id":54299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:37:30] local.INFO: Extracted packet for processing {"connection_id":54299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:37:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:37: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-04-26 02:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:37:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":54299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:37:30] local.INFO: GPS data processed {"connection_id":54299,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:37:30] local.INFO: Acknowledgment sent {"connection_id":54299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:38:15] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:38:15] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:38:15] local.INFO: IMEI packet received {"connection_id":54300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":54300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:38:20] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:38:20] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:38:20] local.INFO: IMEI packet received {"connection_id":54300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:38:21] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:38:21] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc673ebb8012cb299c007822ce0004b00122b..."} 
[2026-04-26 02:38:21] local.INFO: Packet analysis {"connection_id":54300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:38:21] local.INFO: Extracted packet for processing {"connection_id":54300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc673"} 
[2026-04-26 02:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950573568001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777150979000,"timestamp_ms":1777150979000,"timestamp_seconds":1777150979,"priority":1,"record_length":96,"hex_timestamp":"0000019dc673ebb8"} 
[2026-04-26 02:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:38: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-04-26 02: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-04-26 02:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950573568001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950573568001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950573568001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:38:21] local.INFO: GPS data processed {"connection_id":54300,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:38:21] local.INFO: Acknowledgment sent {"connection_id":54300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:38:52] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:38:52] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:38:52] local.INFO: Packet analysis {"connection_id":54300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:38:52] local.INFO: Extracted packet for processing {"connection_id":54300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:38:52] 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-04-26 02: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-04-26 02:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:38:52] local.INFO: GPS data processed {"connection_id":54300,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:38:52] local.INFO: Acknowledgment sent {"connection_id":54300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:39:15] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:39:15] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:39:15] local.INFO: IMEI packet received {"connection_id":54301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":54301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:39:20] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:39:20] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:39:20] local.INFO: IMEI packet received {"connection_id":54301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:39:21] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:39:21] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:39:21] local.INFO: Packet analysis {"connection_id":54301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:39:21] local.INFO: Extracted packet for processing {"connection_id":54301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:39:21] 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-04-26 02: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-04-26 02:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:39: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-04-26 02:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":54301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:39:21] local.INFO: GPS data processed {"connection_id":54301,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:39:21] local.INFO: Acknowledgment sent {"connection_id":54301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:39:52] local.INFO: TCP Data received {"connection_id":54301,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:39:52] local.INFO: Processing buffer {"connection_id":54301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:39:52] local.INFO: Packet analysis {"connection_id":54301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:39:52] local.INFO: Extracted packet for processing {"connection_id":54301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:39:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:39:52] 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-04-26 02: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-04-26 02:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:39:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":54301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:39:52] local.INFO: GPS data processed {"connection_id":54301,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:39:52] local.INFO: Acknowledgment sent {"connection_id":54301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:40:06] local.INFO: TCP Data received {"connection_id":54108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:40:06] local.INFO: Processing buffer {"connection_id":54108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:40:06] local.INFO: IMEI packet received {"connection_id":54108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":54108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:40:15] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:40:15] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:40:15] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:40:20] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:40:20] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:40:20] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:40:21] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:40:21] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:40:21] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:40:21] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:40:21] 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-04-26 02: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-04-26 02:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:40: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-04-26 02:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:40:21] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:40:21] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:40:41] local.INFO: TCP Data received {"connection_id":55035,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:40:41] local.INFO: Processing buffer {"connection_id":55035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:40:41] local.INFO: IMEI packet received {"connection_id":55035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":55035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:40:52] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:40:52] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:40:52] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:40:52] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:40:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:40:52] 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-04-26 02: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-04-26 02:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:40:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:40:52] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:40:52] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:41:15] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:41:15] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:41:15] local.INFO: IMEI packet received {"connection_id":54377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:41:20] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:41:20] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:41:20] local.INFO: IMEI packet received {"connection_id":54377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":54377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:41:21] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:41:21] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:41:21] local.INFO: Packet analysis {"connection_id":54377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:41:21] local.INFO: Extracted packet for processing {"connection_id":54377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:41:21] 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-04-26 02: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-04-26 02:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":54377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:41:21] local.INFO: GPS data processed {"connection_id":54377,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:41:21] local.INFO: Acknowledgment sent {"connection_id":54377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:41:51] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:41:51] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:41:51] local.INFO: Packet analysis {"connection_id":54377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:41:51] local.INFO: Extracted packet for processing {"connection_id":54377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:41:51] 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-04-26 02: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-04-26 02:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:41:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:41:51] local.INFO: GPS data processed {"connection_id":54377,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:41:51] local.INFO: Acknowledgment sent {"connection_id":54377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:42:20] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:42:20] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:42:20] local.INFO: IMEI packet received {"connection_id":54303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":54303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:42:25] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:42:25] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:42:25] local.INFO: IMEI packet received {"connection_id":54303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":54303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:42:26] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:42:26] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:42:26] local.INFO: Packet analysis {"connection_id":54303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:42:26] local.INFO: Extracted packet for processing {"connection_id":54303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:42:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:42: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-04-26 02:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:42:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":54303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:42:26] local.INFO: GPS data processed {"connection_id":54303,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:42:26] local.INFO: Acknowledgment sent {"connection_id":54303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:42:31] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:42:31] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:42:31] local.INFO: Packet analysis {"connection_id":54303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:42:31] local.INFO: Extracted packet for processing {"connection_id":54303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:42:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:42: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-04-26 02:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:42: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:42:31] 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-04-26 02:42: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-04-26 02:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:42: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-04-26 02:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:42:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":54303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:42:31] local.INFO: GPS data processed {"connection_id":54303,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:42:31] local.INFO: Acknowledgment sent {"connection_id":54303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:43:15] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:43:15] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:43:15] local.INFO: IMEI packet received {"connection_id":54304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":54304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:43:20] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:43:20] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:43:20] local.INFO: IMEI packet received {"connection_id":54304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:43:21] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:43:21] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6788380012cb299c007822ce0004d001229..."} 
[2026-04-26 02:43:21] local.INFO: Packet analysis {"connection_id":54304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:43:21] local.INFO: Extracted packet for processing {"connection_id":54304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc678"} 
[2026-04-26 02:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151280000,"timestamp_ms":1777151280000,"timestamp_seconds":1777151280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6788380"} 
[2026-04-26 02:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:43:21] 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-04-26 02: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-04-26 02:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:43: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-04-26 02:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950650624001,"66":24343,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950650624001,"power":24343,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":54304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:43:21] local.INFO: GPS data processed {"connection_id":54304,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:43:21] local.INFO: Acknowledgment sent {"connection_id":54304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:43:52] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:43:52] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:43:52] local.INFO: Packet analysis {"connection_id":54304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:43:52] local.INFO: Extracted packet for processing {"connection_id":54304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:43: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-04-26 02:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:43:52] local.INFO: GPS data processed {"connection_id":54304,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:43:52] local.INFO: Acknowledgment sent {"connection_id":54304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:44:15] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:44:15] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:44:15] local.INFO: IMEI packet received {"connection_id":54379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":54379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:44:20] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:44:20] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:44:20] local.INFO: IMEI packet received {"connection_id":54379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:44:21] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:44:21] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:44:21] local.INFO: Packet analysis {"connection_id":54379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:44:21] local.INFO: Extracted packet for processing {"connection_id":54379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:44: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-04-26 02:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":54379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:44:21] local.INFO: GPS data processed {"connection_id":54379,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:44:21] local.INFO: Acknowledgment sent {"connection_id":54379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:44:53] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:44:53] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:44:53] local.INFO: Packet analysis {"connection_id":54379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:44:53] local.INFO: Extracted packet for processing {"connection_id":54379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:44:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:44:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:44:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:44:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:44: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-04-26 02:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:44:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:44:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:44:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":54379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:44:53] local.INFO: GPS data processed {"connection_id":54379,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:44:53] local.INFO: Acknowledgment sent {"connection_id":54379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:45:15] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:45:15] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:45:15] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:45:20] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:45:20] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:45:20] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:45:21] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:45:21] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:45:21] local.INFO: Packet analysis {"connection_id":54305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:45:21] local.INFO: Extracted packet for processing {"connection_id":54305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:45:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:45:21] local.INFO: GPS data processed {"connection_id":54305,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:45:21] local.INFO: Acknowledgment sent {"connection_id":54305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:45:52] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:45:52] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:45:52] local.INFO: Packet analysis {"connection_id":54305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:45:52] local.INFO: Extracted packet for processing {"connection_id":54305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 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-04-26 02:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 02:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:45:52] local.INFO: GPS data processed {"connection_id":54305,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:45:52] local.INFO: Acknowledgment sent {"connection_id":54305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:46:11] local.INFO: TCP Data received {"connection_id":55037,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:46:11] local.INFO: Processing buffer {"connection_id":55037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:46:11] local.INFO: IMEI packet received {"connection_id":55037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":55037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:46:15] local.INFO: TCP Data received {"connection_id":54111,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:46:15] local.INFO: Processing buffer {"connection_id":54111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:46:15] local.INFO: IMEI packet received {"connection_id":54111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":54111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:46:20] local.INFO: TCP Data received {"connection_id":54111,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:46:20] local.INFO: Processing buffer {"connection_id":54111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:46:20] local.INFO: IMEI packet received {"connection_id":54111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:46:21] local.INFO: TCP Data received {"connection_id":54111,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:46:21] local.INFO: Processing buffer {"connection_id":54111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:46:21] local.INFO: Packet analysis {"connection_id":54111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:46:21] local.INFO: Extracted packet for processing {"connection_id":54111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:46:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:46: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-04-26 02:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":54111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:46:21] local.INFO: GPS data processed {"connection_id":54111,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:46:21] local.INFO: Acknowledgment sent {"connection_id":54111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:46:41] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:46:41] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:46:41] local.INFO: IMEI packet received {"connection_id":54380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":54380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:46:52] local.INFO: TCP Data received {"connection_id":54111,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:46:52] local.INFO: Processing buffer {"connection_id":54111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:46:52] local.INFO: Packet analysis {"connection_id":54111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:46:52] local.INFO: Extracted packet for processing {"connection_id":54111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:46: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-04-26 02:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":54111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:46:52] local.INFO: GPS data processed {"connection_id":54111,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:46:52] local.INFO: Acknowledgment sent {"connection_id":54111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:47:20] local.INFO: TCP Data received {"connection_id":54381,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:47:20] local.INFO: Processing buffer {"connection_id":54381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:47:20] local.INFO: IMEI packet received {"connection_id":54381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:47:25] local.INFO: TCP Data received {"connection_id":54381,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:47:25] local.INFO: Processing buffer {"connection_id":54381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:47:25] local.INFO: IMEI packet received {"connection_id":54381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":54381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:47:26] local.INFO: TCP Data received {"connection_id":54381,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:47:26] local.INFO: Processing buffer {"connection_id":54381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:47:26] local.INFO: Packet analysis {"connection_id":54381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:47:26] local.INFO: Extracted packet for processing {"connection_id":54381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:47:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:47:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:47: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-04-26 02:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:47:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:47:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":54381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:47:26] local.INFO: GPS data processed {"connection_id":54381,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:47:26] local.INFO: Acknowledgment sent {"connection_id":54381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:47:31] local.INFO: TCP Data received {"connection_id":54381,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:47:31] local.INFO: Processing buffer {"connection_id":54381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:47:31] local.INFO: Packet analysis {"connection_id":54381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:47:31] local.INFO: Extracted packet for processing {"connection_id":54381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:47:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:47:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:47: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-04-26 02:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:47:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:47:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":54381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:47:31] local.INFO: GPS data processed {"connection_id":54381,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:47:31] local.INFO: Acknowledgment sent {"connection_id":54381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:48:15] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:48:15] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:48:15] local.INFO: IMEI packet received {"connection_id":55038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":55038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:48:20] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:48:20] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:48:20] local.INFO: IMEI packet received {"connection_id":55038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":55038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:48:21] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:48:21] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc67d1b48012cb299c007822ce0004f00122b..."} 
[2026-04-26 02:48:21] local.INFO: Packet analysis {"connection_id":55038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:48:21] local.INFO: Extracted packet for processing {"connection_id":55038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc67d"} 
[2026-04-26 02:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950727680001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151581000,"timestamp_ms":1777151581000,"timestamp_seconds":1777151581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc67d1b48"} 
[2026-04-26 02:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":95,"n8_eight_byte":23,"data_length":795,"current_offset":136} 
[2026-04-26 02:48:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":880,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:48: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-04-26 02:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950727680001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950727680001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950727680001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":55038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:48:21] local.INFO: GPS data processed {"connection_id":55038,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:48:21] local.INFO: Acknowledgment sent {"connection_id":55038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:48:52] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:48:52] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:48:52] local.INFO: Packet analysis {"connection_id":55038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:48:52] local.INFO: Extracted packet for processing {"connection_id":55038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:48:52] 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-04-26 02: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-04-26 02:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":55038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:48:52] local.INFO: GPS data processed {"connection_id":55038,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:48:52] local.INFO: Acknowledgment sent {"connection_id":55038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:49:15] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:49:15] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:49:15] local.INFO: IMEI packet received {"connection_id":54382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":54382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:49:20] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:49:20] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:49:20] local.INFO: IMEI packet received {"connection_id":54382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":54382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:49:21] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:49:21] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:49:21] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:49:21] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:49:21] 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-04-26 02: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-04-26 02:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:49: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-04-26 02:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:49:21] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:49:21] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:49:52] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:49:52] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:49:52] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:49:52] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:49:52] 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-04-26 02: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-04-26 02:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:49: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-04-26 02:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:49:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:49:52] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:49:52] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:50:15] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:50:15] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:50:15] local.INFO: IMEI packet received {"connection_id":54308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:50:20] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:50:20] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:50:20] local.INFO: IMEI packet received {"connection_id":54308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:50:21] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:50:21] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:50:21] local.INFO: Packet analysis {"connection_id":54308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:50:21] local.INFO: Extracted packet for processing {"connection_id":54308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:50:21] 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-04-26 02: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-04-26 02:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:50: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-04-26 02:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":54308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:50:21] local.INFO: GPS data processed {"connection_id":54308,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:50:21] local.INFO: Acknowledgment sent {"connection_id":54308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:50:52] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:50:52] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:50:52] local.INFO: Packet analysis {"connection_id":54308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:50:52] local.INFO: Extracted packet for processing {"connection_id":54308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:50:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:50:52] 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-04-26 02: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-04-26 02:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:50: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-04-26 02:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:50:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":54308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:50:53] local.INFO: GPS data processed {"connection_id":54308,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:50:53] local.INFO: Acknowledgment sent {"connection_id":54308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:51:20] local.INFO: TCP Data received {"connection_id":54113,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:51:20] local.INFO: Processing buffer {"connection_id":54113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:51:20] local.INFO: IMEI packet received {"connection_id":54113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":54113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:51:25] local.INFO: TCP Data received {"connection_id":54113,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:51:25] local.INFO: Processing buffer {"connection_id":54113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:51:25] local.INFO: IMEI packet received {"connection_id":54113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":54113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:51:26] local.INFO: TCP Data received {"connection_id":54113,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:51:26] local.INFO: Processing buffer {"connection_id":54113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:51:26] local.INFO: Packet analysis {"connection_id":54113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:51:26] local.INFO: Extracted packet for processing {"connection_id":54113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:51:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:51:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:51:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:51:26] 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-04-26 02:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:51:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:51:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:51:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":54113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:51:26] local.INFO: GPS data processed {"connection_id":54113,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:51:26] local.INFO: Acknowledgment sent {"connection_id":54113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:51:31] local.INFO: TCP Data received {"connection_id":54113,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:51:31] local.INFO: Processing buffer {"connection_id":54113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:51:31] local.INFO: Packet analysis {"connection_id":54113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:51:31] local.INFO: Extracted packet for processing {"connection_id":54113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:51:31] 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-04-26 02: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-04-26 02:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:51:31] 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-04-26 02:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:51:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":54113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:51:31] local.INFO: GPS data processed {"connection_id":54113,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:51:31] local.INFO: Acknowledgment sent {"connection_id":54113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:52:06] local.INFO: TCP Data received {"connection_id":54114,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:52:06] local.INFO: Processing buffer {"connection_id":54114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:52:06] local.INFO: IMEI packet received {"connection_id":54114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":54114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:52:15] local.INFO: TCP Data received {"connection_id":54115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:52:15] local.INFO: Processing buffer {"connection_id":54115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:52:15] local.INFO: IMEI packet received {"connection_id":54115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":54115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:52:20] local.INFO: TCP Data received {"connection_id":54115,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:52:20] local.INFO: Processing buffer {"connection_id":54115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:52:20] local.INFO: IMEI packet received {"connection_id":54115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:52:21] local.INFO: TCP Data received {"connection_id":54115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:52:21] local.INFO: Processing buffer {"connection_id":54115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:52:21] local.INFO: Packet analysis {"connection_id":54115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:52:21] local.INFO: Extracted packet for processing {"connection_id":54115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:52:21] 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-04-26 02: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-04-26 02:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:52: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-04-26 02:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":54115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:52:21] local.INFO: GPS data processed {"connection_id":54115,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:52:21] local.INFO: Acknowledgment sent {"connection_id":54115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:52:41] local.INFO: TCP Data received {"connection_id":55040,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:52:41] local.INFO: Processing buffer {"connection_id":55040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:52:41] local.INFO: IMEI packet received {"connection_id":55040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":55040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:52:52] local.INFO: TCP Data received {"connection_id":54115,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:52:52] local.INFO: Processing buffer {"connection_id":54115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:52:52] local.INFO: Packet analysis {"connection_id":54115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:52:52] local.INFO: Extracted packet for processing {"connection_id":54115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:52:52] 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-04-26 02: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-04-26 02:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:52: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-04-26 02:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":54115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:52:52] local.INFO: GPS data processed {"connection_id":54115,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:52:52] local.INFO: Acknowledgment sent {"connection_id":54115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:53:15] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:53:15] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:53:15] local.INFO: IMEI packet received {"connection_id":55041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":55041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:53:20] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:53:20] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:53:20] local.INFO: IMEI packet received {"connection_id":55041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":55041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:53:21] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:53:21] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc681b310012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:53:21] local.INFO: Packet analysis {"connection_id":55041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:53:21] local.INFO: Extracted packet for processing {"connection_id":55041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc681"} 
[2026-04-26 02:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950804736001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777151882000,"timestamp_ms":1777151882000,"timestamp_seconds":1777151882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc681b310"} 
[2026-04-26 02:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 02:53:21] 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-04-26 02: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-04-26 02:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:53: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-04-26 02:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950804736001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950804736001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950804736001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":55041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:53:21] local.INFO: GPS data processed {"connection_id":55041,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:53:21] local.INFO: Acknowledgment sent {"connection_id":55041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:53:52] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:53:52] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:53:52] local.INFO: Packet analysis {"connection_id":55041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:53:52] local.INFO: Extracted packet for processing {"connection_id":55041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:53:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 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-04-26 02:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:53:52] 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-04-26 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-04-26 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-04-26 02:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:53: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-04-26 02:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:53:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":55041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:53:52] local.INFO: GPS data processed {"connection_id":55041,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:53:52] local.INFO: Acknowledgment sent {"connection_id":55041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:54:15] local.INFO: TCP Data received {"connection_id":54117,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:54:15] local.INFO: Processing buffer {"connection_id":54117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:54:15] local.INFO: IMEI packet received {"connection_id":54117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":54117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:54:20] local.INFO: TCP Data received {"connection_id":54117,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:54:20] local.INFO: Processing buffer {"connection_id":54117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:54:20] local.INFO: IMEI packet received {"connection_id":54117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":54117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:54:21] local.INFO: TCP Data received {"connection_id":54117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:54:21] local.INFO: Processing buffer {"connection_id":54117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:54:21] local.INFO: Packet analysis {"connection_id":54117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:54:21] local.INFO: Extracted packet for processing {"connection_id":54117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:54:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:54: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-04-26 02: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-04-26 02:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:54: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-04-26 02:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:54:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:54:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":54117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:54:21] local.INFO: GPS data processed {"connection_id":54117,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:54:21] local.INFO: Acknowledgment sent {"connection_id":54117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:54:52] local.INFO: TCP Data received {"connection_id":54117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:54:52] local.INFO: Processing buffer {"connection_id":54117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:54:52] local.INFO: Packet analysis {"connection_id":54117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:54:52] local.INFO: Extracted packet for processing {"connection_id":54117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:54:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:54:52] 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-04-26 02: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-04-26 02:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:54: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-04-26 02:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:54:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":54117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:54:52] local.INFO: GPS data processed {"connection_id":54117,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:54:52] local.INFO: Acknowledgment sent {"connection_id":54117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:55:15] local.INFO: TCP Data received {"connection_id":54119,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:55:15] local.INFO: Processing buffer {"connection_id":54119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:55:15] local.INFO: IMEI packet received {"connection_id":54119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:55:20] local.INFO: TCP Data received {"connection_id":54119,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:55:20] local.INFO: Processing buffer {"connection_id":54119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:55:20] local.INFO: IMEI packet received {"connection_id":54119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:55:21] local.INFO: TCP Data received {"connection_id":54119,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:55:21] local.INFO: Processing buffer {"connection_id":54119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:55:21] local.INFO: Packet analysis {"connection_id":54119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:55:21] local.INFO: Extracted packet for processing {"connection_id":54119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:55: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-04-26 02: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-04-26 02:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:55: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-04-26 02:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":54119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:55:21] local.INFO: GPS data processed {"connection_id":54119,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:55:21] local.INFO: Acknowledgment sent {"connection_id":54119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:55:52] local.INFO: TCP Data received {"connection_id":54119,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:55:52] local.INFO: Processing buffer {"connection_id":54119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:55:52] local.INFO: Packet analysis {"connection_id":54119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:55:52] local.INFO: Extracted packet for processing {"connection_id":54119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 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-04-26 02:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:55:52] 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-04-26 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-04-26 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-04-26 02:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:55: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-04-26 02:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":54119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:55:52] local.INFO: GPS data processed {"connection_id":54119,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:55:52] local.INFO: Acknowledgment sent {"connection_id":54119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:56:20] local.INFO: TCP Data received {"connection_id":54310,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:56:20] local.INFO: Processing buffer {"connection_id":54310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:56:20] local.INFO: IMEI packet received {"connection_id":54310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":54310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:56:25] local.INFO: TCP Data received {"connection_id":54310,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:56:25] local.INFO: Processing buffer {"connection_id":54310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:56:25] local.INFO: IMEI packet received {"connection_id":54310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":54310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:56:26] local.INFO: TCP Data received {"connection_id":54310,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:56:26] local.INFO: Processing buffer {"connection_id":54310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:56:26] local.INFO: Packet analysis {"connection_id":54310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:56:26] local.INFO: Extracted packet for processing {"connection_id":54310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:56:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:56:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:56:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:56:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":54310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:56:26] local.INFO: GPS data processed {"connection_id":54310,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:56:26] local.INFO: Acknowledgment sent {"connection_id":54310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:56:30] local.INFO: TCP Data received {"connection_id":54310,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:56:30] local.INFO: Processing buffer {"connection_id":54310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:56:30] local.INFO: Packet analysis {"connection_id":54310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:56:30] local.INFO: Extracted packet for processing {"connection_id":54310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:56:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 02: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-04-26 02:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 02:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:56:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":54310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:56:30] local.INFO: GPS data processed {"connection_id":54310,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:56:30] local.INFO: Acknowledgment sent {"connection_id":54310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:57:45] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:57:45] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:57:45] local.INFO: IMEI packet received {"connection_id":54385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":54385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:57:50] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:57:50] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:57:50] local.INFO: IMEI packet received {"connection_id":54385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":54385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:57:51] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:57:51] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:57:51] local.INFO: Packet analysis {"connection_id":54385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:57:51] local.INFO: Extracted packet for processing {"connection_id":54385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:57:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:57: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-04-26 02: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-04-26 02:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:57: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-04-26 02:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:57:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":54385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:57:51] local.INFO: GPS data processed {"connection_id":54385,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:57:51] local.INFO: Acknowledgment sent {"connection_id":54385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:58:06] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:58:06] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:58:06] local.INFO: IMEI packet received {"connection_id":54311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":54311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:58:15] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:58:15] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:58:15] local.INFO: IMEI packet received {"connection_id":54386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":54386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:58:20] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:58:20] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:58:20] local.INFO: IMEI packet received {"connection_id":54386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":54386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:58:21] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:58:21] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6864ad8012cb299c007822ce0004d00122c..."} 
[2026-04-26 02:58:21] local.INFO: Packet analysis {"connection_id":54386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:58:21] local.INFO: Extracted packet for processing {"connection_id":54386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc686"} 
[2026-04-26 02:58:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950881792001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152183000,"timestamp_ms":1777152183000,"timestamp_seconds":1777152183,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6864ad8"} 
[2026-04-26 02:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 02:58: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-04-26 02: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-04-26 02:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:58: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-04-26 02:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950881792001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950881792001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:58:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950881792001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":54386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:58:21] local.INFO: GPS data processed {"connection_id":54386,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:58:21] local.INFO: Acknowledgment sent {"connection_id":54386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:58:46] local.INFO: TCP Data received {"connection_id":54312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:58:46] local.INFO: Processing buffer {"connection_id":54312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 02:58:46] local.INFO: IMEI packet received {"connection_id":54312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 02:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":54312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:58:52] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:58:52] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:58:52] local.INFO: Packet analysis {"connection_id":54386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 02:58:52] local.INFO: Extracted packet for processing {"connection_id":54386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 02:58:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02: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-04-26 02:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:58:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 02:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:58: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-04-26 02: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-04-26 02:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:58: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-04-26 02:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:58:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:58:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":54386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:58:52] local.INFO: GPS data processed {"connection_id":54386,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:58:52] local.INFO: Acknowledgment sent {"connection_id":54386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:59:20] local.INFO: TCP Data received {"connection_id":54120,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:59:20] local.INFO: Processing buffer {"connection_id":54120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:59:20] local.INFO: IMEI packet received {"connection_id":54120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 02:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 02:59:25] local.INFO: TCP Data received {"connection_id":54120,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:59:25] local.INFO: Processing buffer {"connection_id":54120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 02:59:25] local.INFO: IMEI packet received {"connection_id":54120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 02:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":54120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 02:59:26] local.INFO: TCP Data received {"connection_id":54120,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:59:26] local.INFO: Processing buffer {"connection_id":54120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:59:26] local.INFO: Packet analysis {"connection_id":54120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 02:59:26] local.INFO: Extracted packet for processing {"connection_id":54120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 02:59:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 02:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 02:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 02:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 02:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 02:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:59: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-04-26 02:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 02:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 02:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02: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-04-26 02:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:59:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":54120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:59:26] local.INFO: GPS data processed {"connection_id":54120,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:59:26] local.INFO: Acknowledgment sent {"connection_id":54120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 02:59:31] local.INFO: TCP Data received {"connection_id":54120,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:59:31] local.INFO: Processing buffer {"connection_id":54120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 02:59:31] local.INFO: Packet analysis {"connection_id":54120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 02:59:31] local.INFO: Extracted packet for processing {"connection_id":54120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 02:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 02:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 02:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 02:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 02:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 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-04-26 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 02:59:31] 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-04-26 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-04-26 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-04-26 02:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 02:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 02:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 02:59: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-04-26 02:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 02:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 02:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 02:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 02:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 02:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 02:59:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 02:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 02:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 02:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 02:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 02:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":54120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 02:59:31] local.INFO: GPS data processed {"connection_id":54120,"processed":1,"errors":0,"total":1} 
[2026-04-26 02:59:31] local.INFO: Acknowledgment sent {"connection_id":54120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:00:15] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:00:15] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:00:15] local.INFO: IMEI packet received {"connection_id":55043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":55043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:00:20] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:00:20] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:00:20] local.INFO: IMEI packet received {"connection_id":55043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":55043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:00:21] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:00:21] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:00:21] local.INFO: Packet analysis {"connection_id":55043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:00:21] local.INFO: Extracted packet for processing {"connection_id":55043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:00:21] 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-04-26 03: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-04-26 03:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":55043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:00:21] local.INFO: GPS data processed {"connection_id":55043,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:00:21] local.INFO: Acknowledgment sent {"connection_id":55043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:00:52] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:00:52] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:00:52] local.INFO: Packet analysis {"connection_id":55043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:00:52] local.INFO: Extracted packet for processing {"connection_id":55043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:00:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:00: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-04-26 03: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-04-26 03:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:00:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":55043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:00:52] local.INFO: GPS data processed {"connection_id":55043,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:00:52] local.INFO: Acknowledgment sent {"connection_id":55043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:01:15] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:01:15] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:01:15] local.INFO: IMEI packet received {"connection_id":55044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":55044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:01:20] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:01:20] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:01:20] local.INFO: IMEI packet received {"connection_id":55044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":55044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:01:21] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:01:21] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:01:21] local.INFO: Packet analysis {"connection_id":55044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:01:21] local.INFO: Extracted packet for processing {"connection_id":55044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:01:21] 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-04-26 03: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-04-26 03:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:01: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-04-26 03:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":55044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:01:21] local.INFO: GPS data processed {"connection_id":55044,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:01:21] local.INFO: Acknowledgment sent {"connection_id":55044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:01:52] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:01:52] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:01:52] local.INFO: Packet analysis {"connection_id":55044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:01:52] local.INFO: Extracted packet for processing {"connection_id":55044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 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-04-26 03:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:01: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-04-26 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-04-26 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-04-26 03:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:01: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-04-26 03:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":55044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:01:52] local.INFO: GPS data processed {"connection_id":55044,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:01:52] local.INFO: Acknowledgment sent {"connection_id":55044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:02:15] local.INFO: TCP Data received {"connection_id":54387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:02:15] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:02:15] local.INFO: IMEI packet received {"connection_id":54387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":54387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:02:20] local.INFO: TCP Data received {"connection_id":54387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:02:20] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:02:20] local.INFO: IMEI packet received {"connection_id":54387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":54387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:02:21] local.INFO: TCP Data received {"connection_id":54387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:21] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:21] local.INFO: Packet analysis {"connection_id":54387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:02:21] local.INFO: Extracted packet for processing {"connection_id":54387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:02:21] 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-04-26 03: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-04-26 03:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:02: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-04-26 03:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":54387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:02:21] local.INFO: GPS data processed {"connection_id":54387,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:02:21] local.INFO: Acknowledgment sent {"connection_id":54387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:02:26] local.INFO: TCP Data received {"connection_id":54387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:26] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:26] local.INFO: Packet analysis {"connection_id":54387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:02:26] local.INFO: Extracted packet for processing {"connection_id":54387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:02:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:02: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-04-26 03:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:02:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":54387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:02:26] local.INFO: GPS data processed {"connection_id":54387,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:02:26] local.INFO: Acknowledgment sent {"connection_id":54387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:02:57] local.INFO: TCP Data received {"connection_id":54387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:57] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:02:57] local.INFO: Packet analysis {"connection_id":54387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:02:57] local.INFO: Extracted packet for processing {"connection_id":54387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:02:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:02:57] 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-04-26 03:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:02:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:02:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":54387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:02:57] local.INFO: GPS data processed {"connection_id":54387,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:02:57] local.INFO: Acknowledgment sent {"connection_id":54387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:03:15] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:03:15] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:03:15] local.INFO: IMEI packet received {"connection_id":55045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":55045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:03:20] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:03:20] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:03:20] local.INFO: IMEI packet received {"connection_id":55045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":55045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:03:21] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:03:21] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68ae2a0012cb299c007822ce0004900122c..."} 
[2026-04-26 03:03:21] local.INFO: Packet analysis {"connection_id":55045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:03:21] local.INFO: Extracted packet for processing {"connection_id":55045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68a"} 
[2026-04-26 03:03:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454950958848001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152484000,"timestamp_ms":1777152484000,"timestamp_seconds":1777152484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68ae2a0"} 
[2026-04-26 03:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:03:21] 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-04-26 03: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-04-26 03:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:03: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-04-26 03:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454950958848001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454950958848001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:03:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454950958848001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":55045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:03:21] local.INFO: GPS data processed {"connection_id":55045,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:03:21] local.INFO: Acknowledgment sent {"connection_id":55045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:03:52] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:03:52] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:03:52] local.INFO: Packet analysis {"connection_id":55045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:03:52] local.INFO: Extracted packet for processing {"connection_id":55045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:03:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 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-04-26 03:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:03: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-04-26 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-04-26 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-04-26 03:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:03: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-04-26 03:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:03:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":55045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:03:52] local.INFO: GPS data processed {"connection_id":55045,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:03:52] local.INFO: Acknowledgment sent {"connection_id":55045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:04:11] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:04:11] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:04:11] local.INFO: IMEI packet received {"connection_id":54314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":54314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:04:20] local.INFO: TCP Data received {"connection_id":54123,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:04:20] local.INFO: Processing buffer {"connection_id":54123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:04:20] local.INFO: IMEI packet received {"connection_id":54123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":54123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:04:25] local.INFO: TCP Data received {"connection_id":54123,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:04:25] local.INFO: Processing buffer {"connection_id":54123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:04:25] local.INFO: IMEI packet received {"connection_id":54123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":54123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:04:26] local.INFO: TCP Data received {"connection_id":54123,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:04:26] local.INFO: Processing buffer {"connection_id":54123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:04:26] local.INFO: Packet analysis {"connection_id":54123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:04:26] local.INFO: Extracted packet for processing {"connection_id":54123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:04:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:04:26] 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-04-26 03:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:04:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":54123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:04:26] local.INFO: GPS data processed {"connection_id":54123,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:04:26] local.INFO: Acknowledgment sent {"connection_id":54123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:04:30] local.INFO: TCP Data received {"connection_id":54123,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:04:30] local.INFO: Processing buffer {"connection_id":54123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:04:30] local.INFO: Packet analysis {"connection_id":54123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:04:30] local.INFO: Extracted packet for processing {"connection_id":54123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:04:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:04: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-04-26 03: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-04-26 03:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:04:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":54123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:04:30] local.INFO: GPS data processed {"connection_id":54123,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:04:30] local.INFO: Acknowledgment sent {"connection_id":54123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:04:41] local.INFO: TCP Data received {"connection_id":55046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:04:41] local.INFO: Processing buffer {"connection_id":55046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:04:41] local.INFO: IMEI packet received {"connection_id":55046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":55046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:05:15] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:05:15] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:05:15] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:05:20] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:05:20] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:05:20] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:05:21] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:05:21] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:05:21] local.INFO: Packet analysis {"connection_id":55047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:05:21] local.INFO: Extracted packet for processing {"connection_id":55047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:05:21] 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-04-26 03: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-04-26 03:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:05: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-04-26 03:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":55047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:05:21] local.INFO: GPS data processed {"connection_id":55047,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:05:21] local.INFO: Acknowledgment sent {"connection_id":55047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:05:52] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:05:52] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:05:52] local.INFO: Packet analysis {"connection_id":55047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:05:52] local.INFO: Extracted packet for processing {"connection_id":55047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 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-04-26 03:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:05: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-04-26 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-04-26 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-04-26 03:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:05: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-04-26 03:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":55047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:05:52] local.INFO: GPS data processed {"connection_id":55047,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:05:52] local.INFO: Acknowledgment sent {"connection_id":55047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:06:15] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:06:15] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:06:15] local.INFO: IMEI packet received {"connection_id":54315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:06:20] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:06:20] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:06:20] local.INFO: IMEI packet received {"connection_id":54315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":54315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:06:21] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:06:21] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:06:21] local.INFO: Packet analysis {"connection_id":54315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:06:21] local.INFO: Extracted packet for processing {"connection_id":54315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:06:21] 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-04-26 03: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-04-26 03:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:06: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-04-26 03:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":54315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:06:21] local.INFO: GPS data processed {"connection_id":54315,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:06:21] local.INFO: Acknowledgment sent {"connection_id":54315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:06:52] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:06:52] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:06:52] local.INFO: Packet analysis {"connection_id":54315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:06:52] local.INFO: Extracted packet for processing {"connection_id":54315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:06: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-04-26 03: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-04-26 03:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:06: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-04-26 03:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:06:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":54315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:06:52] local.INFO: GPS data processed {"connection_id":54315,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:06:52] local.INFO: Acknowledgment sent {"connection_id":54315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:07:15] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:07:15] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:07:15] local.INFO: IMEI packet received {"connection_id":54316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":54316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:07:20] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:07:20] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:07:20] local.INFO: IMEI packet received {"connection_id":54316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":54316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:07:21] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:07:21] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:07:21] local.INFO: Packet analysis {"connection_id":54316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:07:21] local.INFO: Extracted packet for processing {"connection_id":54316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:07:21] 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-04-26 03: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-04-26 03:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:07:21] 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-04-26 03:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":54316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:07:21] local.INFO: GPS data processed {"connection_id":54316,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:07:21] local.INFO: Acknowledgment sent {"connection_id":54316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:07:52] local.INFO: TCP Data received {"connection_id":54316,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:07:52] local.INFO: Processing buffer {"connection_id":54316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:07:52] local.INFO: Packet analysis {"connection_id":54316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:07:52] local.INFO: Extracted packet for processing {"connection_id":54316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 03:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:07: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-04-26 03: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-04-26 03:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:07:52] 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-04-26 03:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":54316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:07:52] local.INFO: GPS data processed {"connection_id":54316,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:07:52] local.INFO: Acknowledgment sent {"connection_id":54316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:08:15] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:08:15] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:08:15] local.INFO: IMEI packet received {"connection_id":55048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":55048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:08:20] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:08:20] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:08:20] local.INFO: IMEI packet received {"connection_id":55048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":55048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:08:21] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:08:21] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc68f7a68012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:08:21] local.INFO: Packet analysis {"connection_id":55048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:08:21] local.INFO: Extracted packet for processing {"connection_id":55048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc68f"} 
[2026-04-26 03:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777152785000,"timestamp_ms":1777152785000,"timestamp_seconds":1777152785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc68f7a68"} 
[2026-04-26 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-04-26 03:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:08:21] 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-04-26 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-04-26 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-04-26 03:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:08: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-04-26 03:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951035904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951035904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":55048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:08:21] local.INFO: GPS data processed {"connection_id":55048,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:08:21] local.INFO: Acknowledgment sent {"connection_id":55048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:08:52] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:08:52] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:08:52] local.INFO: Packet analysis {"connection_id":55048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:08:52] local.INFO: Extracted packet for processing {"connection_id":55048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:08:52] 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-04-26 03: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-04-26 03:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:08: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-04-26 03:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:08:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":55048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:08:53] local.INFO: GPS data processed {"connection_id":55048,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:08:53] local.INFO: Acknowledgment sent {"connection_id":55048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:09:15] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:09:15] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:09:15] local.INFO: IMEI packet received {"connection_id":54319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":54319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:09:20] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:09:20] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:09:20] local.INFO: IMEI packet received {"connection_id":54319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":54319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:09:21] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:09:21] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:09:21] local.INFO: Packet analysis {"connection_id":54319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:09:21] local.INFO: Extracted packet for processing {"connection_id":54319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:09: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-04-26 03: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-04-26 03:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:09: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-04-26 03:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":54319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:09:21] local.INFO: GPS data processed {"connection_id":54319,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:09:21] local.INFO: Acknowledgment sent {"connection_id":54319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:09:52] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:09:52] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:09:52] local.INFO: Packet analysis {"connection_id":54319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:09:52] local.INFO: Extracted packet for processing {"connection_id":54319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:09:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:09:52] 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-04-26 03: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-04-26 03:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:09: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-04-26 03:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:09:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":54319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:09:52] local.INFO: GPS data processed {"connection_id":54319,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:09:52] local.INFO: Acknowledgment sent {"connection_id":54319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:10:08] local.INFO: TCP Data received {"connection_id":54320,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:10:08] local.INFO: Processing buffer {"connection_id":54320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:10:08] local.INFO: IMEI packet received {"connection_id":54320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":54320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:10:15] local.INFO: TCP Data received {"connection_id":54126,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:10:15] local.INFO: Processing buffer {"connection_id":54126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:10:15] local.INFO: IMEI packet received {"connection_id":54126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:10:20] local.INFO: TCP Data received {"connection_id":54126,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:10:20] local.INFO: Processing buffer {"connection_id":54126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:10:20] local.INFO: IMEI packet received {"connection_id":54126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:10:21] local.INFO: TCP Data received {"connection_id":54126,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:10:21] local.INFO: Processing buffer {"connection_id":54126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:10:21] local.INFO: Packet analysis {"connection_id":54126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:10:21] local.INFO: Extracted packet for processing {"connection_id":54126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:10: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-04-26 03: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-04-26 03:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:10: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-04-26 03:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":54126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:10:21] local.INFO: GPS data processed {"connection_id":54126,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:10:21] local.INFO: Acknowledgment sent {"connection_id":54126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:10:41] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:10:41] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:10:41] local.INFO: IMEI packet received {"connection_id":54388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":54388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:10:55] local.INFO: TCP Data received {"connection_id":54126,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:10:55] local.INFO: Processing buffer {"connection_id":54126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:10:55] local.INFO: Packet analysis {"connection_id":54126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:10:55] local.INFO: Extracted packet for processing {"connection_id":54126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:10:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:10:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:10:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:10:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:10:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":54126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:10:55] local.INFO: GPS data processed {"connection_id":54126,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:10:55] local.INFO: Acknowledgment sent {"connection_id":54126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:11:15] local.INFO: TCP Data received {"connection_id":54127,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:11:15] local.INFO: Processing buffer {"connection_id":54127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:11:15] local.INFO: IMEI packet received {"connection_id":54127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:11:20] local.INFO: TCP Data received {"connection_id":54127,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:11:20] local.INFO: Processing buffer {"connection_id":54127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:11:20] local.INFO: IMEI packet received {"connection_id":54127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:11:21] local.INFO: TCP Data received {"connection_id":54127,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:11:21] local.INFO: Processing buffer {"connection_id":54127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:11:21] local.INFO: Packet analysis {"connection_id":54127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:11:21] local.INFO: Extracted packet for processing {"connection_id":54127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:11: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-04-26 03: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-04-26 03:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:11: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-04-26 03:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:11:21] local.INFO: GPS data processed {"connection_id":54127,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:11:21] local.INFO: Acknowledgment sent {"connection_id":54127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:11:52] local.INFO: TCP Data received {"connection_id":54127,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:11:52] local.INFO: Processing buffer {"connection_id":54127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:11:52] local.INFO: Packet analysis {"connection_id":54127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:11:52] local.INFO: Extracted packet for processing {"connection_id":54127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:11:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 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-04-26 03:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:11:52] 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-04-26 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-04-26 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-04-26 03:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:11: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-04-26 03:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:11:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":54127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:11:52] local.INFO: GPS data processed {"connection_id":54127,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:11:52] local.INFO: Acknowledgment sent {"connection_id":54127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:12:15] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:12:15] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:12:15] local.INFO: IMEI packet received {"connection_id":54390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:12:20] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:12:20] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:12:20] local.INFO: IMEI packet received {"connection_id":54390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:12:21] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:12:21] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:12:21] local.INFO: Packet analysis {"connection_id":54390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:12:21] local.INFO: Extracted packet for processing {"connection_id":54390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:12: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-04-26 03: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-04-26 03:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:12: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-04-26 03:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":54390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:12:21] local.INFO: GPS data processed {"connection_id":54390,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:12:21] local.INFO: Acknowledgment sent {"connection_id":54390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:12:52] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:12:52] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:12:52] local.INFO: Packet analysis {"connection_id":54390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:12:52] local.INFO: Extracted packet for processing {"connection_id":54390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:12:52] 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-04-26 03: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-04-26 03:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:12: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-04-26 03:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:12:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":54390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:12:52] local.INFO: GPS data processed {"connection_id":54390,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:12:52] local.INFO: Acknowledgment sent {"connection_id":54390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:13:15] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:13:15] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:13:15] local.INFO: IMEI packet received {"connection_id":54322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":54322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:13:20] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:13:20] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:13:20] local.INFO: IMEI packet received {"connection_id":54322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":54322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:13:21] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:13:21] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6941230012cb299c007822ce0004800122e..."} 
[2026-04-26 03:13:21] local.INFO: Packet analysis {"connection_id":54322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:13:21] local.INFO: Extracted packet for processing {"connection_id":54322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc694"} 
[2026-04-26 03:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951112960001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153086000,"timestamp_ms":1777153086000,"timestamp_seconds":1777153086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6941230"} 
[2026-04-26 03:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:13: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-04-26 03: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-04-26 03:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:13: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-04-26 03:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951112960001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951112960001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951112960001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:13:21] local.INFO: GPS data processed {"connection_id":54322,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:13:21] local.INFO: Acknowledgment sent {"connection_id":54322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:13:52] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:13:52] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:13:52] local.INFO: Packet analysis {"connection_id":54322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:13:52] local.INFO: Extracted packet for processing {"connection_id":54322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 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-04-26 03:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:13:52] 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-04-26 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-04-26 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-04-26 03:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:13: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-04-26 03:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":54322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:13:52] local.INFO: GPS data processed {"connection_id":54322,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:13:52] local.INFO: Acknowledgment sent {"connection_id":54322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:14:20] local.INFO: TCP Data received {"connection_id":55050,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:14:20] local.INFO: Processing buffer {"connection_id":55050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:14:20] local.INFO: IMEI packet received {"connection_id":55050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":55050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:14:25] local.INFO: TCP Data received {"connection_id":55050,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:14:25] local.INFO: Processing buffer {"connection_id":55050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:14:25] local.INFO: IMEI packet received {"connection_id":55050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":55050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:14:26] local.INFO: TCP Data received {"connection_id":55050,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:14:26] local.INFO: Processing buffer {"connection_id":55050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:14:26] local.INFO: Packet analysis {"connection_id":55050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:14:26] local.INFO: Extracted packet for processing {"connection_id":55050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:14:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:14: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-04-26 03:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:14:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":55050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:14:26] local.INFO: GPS data processed {"connection_id":55050,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:14:26] local.INFO: Acknowledgment sent {"connection_id":55050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:14:30] local.INFO: TCP Data received {"connection_id":55050,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:14:30] local.INFO: Processing buffer {"connection_id":55050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:14:30] local.INFO: Packet analysis {"connection_id":55050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:14:30] local.INFO: Extracted packet for processing {"connection_id":55050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:14: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-04-26 03:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:14:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":55050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:14:30] local.INFO: GPS data processed {"connection_id":55050,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:14:30] local.INFO: Acknowledgment sent {"connection_id":55050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:15:15] local.INFO: TCP Data received {"connection_id":54128,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:15:15] local.INFO: Processing buffer {"connection_id":54128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:15:15] local.INFO: IMEI packet received {"connection_id":54128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:15:20] local.INFO: TCP Data received {"connection_id":54128,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:15:20] local.INFO: Processing buffer {"connection_id":54128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:15:20] local.INFO: IMEI packet received {"connection_id":54128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:15:21] local.INFO: TCP Data received {"connection_id":54128,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:15:21] local.INFO: Processing buffer {"connection_id":54128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:15:21] local.INFO: Packet analysis {"connection_id":54128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:15:21] local.INFO: Extracted packet for processing {"connection_id":54128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:15: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-04-26 03:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:15: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-04-26 03:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:15:21] local.INFO: GPS data processed {"connection_id":54128,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:15:21] local.INFO: Acknowledgment sent {"connection_id":54128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:15:52] local.INFO: TCP Data received {"connection_id":54128,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:15:52] local.INFO: Processing buffer {"connection_id":54128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:15:52] local.INFO: Packet analysis {"connection_id":54128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:15:52] local.INFO: Extracted packet for processing {"connection_id":54128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:15:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 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-04-26 03:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:15:52] 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-04-26 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-04-26 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-04-26 03:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:15: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-04-26 03:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:15:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":54128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:15:52] local.INFO: GPS data processed {"connection_id":54128,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:15:52] local.INFO: Acknowledgment sent {"connection_id":54128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:16:01] local.INFO: TCP Data received {"connection_id":54391,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:16:01] local.INFO: Processing buffer {"connection_id":54391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:16:01] local.INFO: IMEI packet received {"connection_id":54391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":54391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:16:15] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:16:15] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:16:15] local.INFO: IMEI packet received {"connection_id":54392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:16:20] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:16:20] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:16:20] local.INFO: IMEI packet received {"connection_id":54392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:16:21] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:16:21] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:16:21] local.INFO: Packet analysis {"connection_id":54392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:16:21] local.INFO: Extracted packet for processing {"connection_id":54392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:16: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-04-26 03: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-04-26 03:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:16: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-04-26 03:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":54392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:16:21] local.INFO: GPS data processed {"connection_id":54392,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:16:21] local.INFO: Acknowledgment sent {"connection_id":54392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:16:46] local.INFO: TCP Data received {"connection_id":54323,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:16:46] local.INFO: Processing buffer {"connection_id":54323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:16:46] local.INFO: IMEI packet received {"connection_id":54323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":54323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:16:52] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:16:52] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:16:52] local.INFO: Packet analysis {"connection_id":54392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:16:52] local.INFO: Extracted packet for processing {"connection_id":54392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:16:52] 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-04-26 03: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-04-26 03:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:16:52] local.INFO: GPS data processed {"connection_id":54392,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:16:52] local.INFO: Acknowledgment sent {"connection_id":54392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:17:15] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:17:15] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:17:15] local.INFO: IMEI packet received {"connection_id":54324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":54324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:17:20] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:17:20] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:17:20] local.INFO: IMEI packet received {"connection_id":54324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":54324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:17:21] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:17:21] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:17:21] local.INFO: Packet analysis {"connection_id":54324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:17:21] local.INFO: Extracted packet for processing {"connection_id":54324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:17: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-04-26 03: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-04-26 03:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:17: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-04-26 03:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:17:21] local.INFO: GPS data processed {"connection_id":54324,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:17:21] local.INFO: Acknowledgment sent {"connection_id":54324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:17:52] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:17:52] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:17:52] local.INFO: Packet analysis {"connection_id":54324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:17:52] local.INFO: Extracted packet for processing {"connection_id":54324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:17:52] 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-04-26 03: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-04-26 03:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:17:52] local.INFO: GPS data processed {"connection_id":54324,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:17:52] local.INFO: Acknowledgment sent {"connection_id":54324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:18:15] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:18:15] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:18:15] local.INFO: IMEI packet received {"connection_id":54393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:18:20] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:18:20] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:18:20] local.INFO: IMEI packet received {"connection_id":54393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:18:21] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:18:21] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc698a9f8012cb299c007822ce0004c00122e..."} 
[2026-04-26 03:18:21] local.INFO: Packet analysis {"connection_id":54393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:18:21] local.INFO: Extracted packet for processing {"connection_id":54393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc698"} 
[2026-04-26 03:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951190016001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153387000,"timestamp_ms":1777153387000,"timestamp_seconds":1777153387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc698a9f8"} 
[2026-04-26 03:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:18: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-04-26 03: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-04-26 03:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:18: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-04-26 03:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951190016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951190016001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951190016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:18:21] local.INFO: GPS data processed {"connection_id":54393,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:18:21] local.INFO: Acknowledgment sent {"connection_id":54393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:18:52] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:18:52] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:18:52] local.INFO: Packet analysis {"connection_id":54393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:18:52] local.INFO: Extracted packet for processing {"connection_id":54393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:18:52] 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-04-26 03: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-04-26 03:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:18: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-04-26 03:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:18:52] local.INFO: GPS data processed {"connection_id":54393,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:18:52] local.INFO: Acknowledgment sent {"connection_id":54393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:19:20] local.INFO: TCP Data received {"connection_id":54129,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:19:20] local.INFO: Processing buffer {"connection_id":54129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:19:20] local.INFO: IMEI packet received {"connection_id":54129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":54129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:19:25] local.INFO: TCP Data received {"connection_id":54129,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:19:25] local.INFO: Processing buffer {"connection_id":54129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:19:25] local.INFO: IMEI packet received {"connection_id":54129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":54129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:19:26] local.INFO: TCP Data received {"connection_id":54129,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:19:26] local.INFO: Processing buffer {"connection_id":54129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:19:26] local.INFO: Packet analysis {"connection_id":54129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:19:26] local.INFO: Extracted packet for processing {"connection_id":54129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:19:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:19: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-04-26 03:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:19:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":54129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:19:26] local.INFO: GPS data processed {"connection_id":54129,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:19:26] local.INFO: Acknowledgment sent {"connection_id":54129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:19:57] local.INFO: TCP Data received {"connection_id":54129,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:19:57] local.INFO: Processing buffer {"connection_id":54129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:19:57] local.INFO: Packet analysis {"connection_id":54129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:19:57] local.INFO: Extracted packet for processing {"connection_id":54129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:19:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:19:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:19:57] 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-04-26 03: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-04-26 03:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:19: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-04-26 03:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:19:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:19:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":54129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:19:57] local.INFO: GPS data processed {"connection_id":54129,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:19:57] local.INFO: Acknowledgment sent {"connection_id":54129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:20:15] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:20:15] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:20:15] local.INFO: IMEI packet received {"connection_id":55054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":55054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:20:20] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:20:20] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:20:20] local.INFO: IMEI packet received {"connection_id":55054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":55054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:20:21] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:20:21] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:20:21] local.INFO: Packet analysis {"connection_id":55054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:20:21] local.INFO: Extracted packet for processing {"connection_id":55054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:20: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-04-26 03: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-04-26 03:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:20: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-04-26 03:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":55054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:20:21] local.INFO: GPS data processed {"connection_id":55054,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:20:21] local.INFO: Acknowledgment sent {"connection_id":55054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:20:52] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:20:52] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:20:52] local.INFO: Packet analysis {"connection_id":55054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:20:52] local.INFO: Extracted packet for processing {"connection_id":55054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:20:52] 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-04-26 03: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-04-26 03:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:20: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-04-26 03:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:20:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":55054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:20:52] local.INFO: GPS data processed {"connection_id":55054,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:20:52] local.INFO: Acknowledgment sent {"connection_id":55054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:21:15] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:21:15] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:21:15] local.INFO: IMEI packet received {"connection_id":54326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":54326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:21:20] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:21:20] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:21:20] local.INFO: IMEI packet received {"connection_id":54326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":54326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:21:21] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:21:21] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:21:21] local.INFO: Packet analysis {"connection_id":54326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:21:21] local.INFO: Extracted packet for processing {"connection_id":54326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:21: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-04-26 03: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-04-26 03:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:21: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-04-26 03:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":54326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:21:21] local.INFO: GPS data processed {"connection_id":54326,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:21:21] local.INFO: Acknowledgment sent {"connection_id":54326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:21:52] local.INFO: TCP Data received {"connection_id":54326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:21:52] local.INFO: Processing buffer {"connection_id":54326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:21:52] local.INFO: Packet analysis {"connection_id":54326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:21:52] local.INFO: Extracted packet for processing {"connection_id":54326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:21:52] 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-04-26 03: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-04-26 03:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:21: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-04-26 03:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:21:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":54326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:21:52] local.INFO: GPS data processed {"connection_id":54326,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:21:52] local.INFO: Acknowledgment sent {"connection_id":54326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:22:15] local.INFO: TCP Data received {"connection_id":54131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:22:15] local.INFO: Processing buffer {"connection_id":54131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:22:15] local.INFO: IMEI packet received {"connection_id":54131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":54131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:22:16] local.INFO: TCP Data received {"connection_id":54394,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:22:16] local.INFO: Processing buffer {"connection_id":54394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:22:16] local.INFO: IMEI packet received {"connection_id":54394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":54394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:22:20] local.INFO: TCP Data received {"connection_id":54131,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:22:20] local.INFO: Processing buffer {"connection_id":54131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:22:20] local.INFO: IMEI packet received {"connection_id":54131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":54131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:22:21] local.INFO: TCP Data received {"connection_id":54131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:22:21] local.INFO: Processing buffer {"connection_id":54131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:22:21] local.INFO: Packet analysis {"connection_id":54131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:22:21] local.INFO: Extracted packet for processing {"connection_id":54131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:22: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-04-26 03: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-04-26 03:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":54131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:22:21] local.INFO: GPS data processed {"connection_id":54131,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:22:21] local.INFO: Acknowledgment sent {"connection_id":54131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:22:46] local.INFO: TCP Data received {"connection_id":54327,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:22:46] local.INFO: Processing buffer {"connection_id":54327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:22:46] local.INFO: IMEI packet received {"connection_id":54327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":54327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:22:52] local.INFO: TCP Data received {"connection_id":54131,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:22:52] local.INFO: Processing buffer {"connection_id":54131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:22:52] local.INFO: Packet analysis {"connection_id":54131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:22:52] local.INFO: Extracted packet for processing {"connection_id":54131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:22:52] 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-04-26 03: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-04-26 03:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":54131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:22:52] local.INFO: GPS data processed {"connection_id":54131,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:22:52] local.INFO: Acknowledgment sent {"connection_id":54131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:23:15] local.INFO: TCP Data received {"connection_id":54328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:23:15] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:23:15] local.INFO: IMEI packet received {"connection_id":54328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":54328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:23:20] local.INFO: TCP Data received {"connection_id":54328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:23:20] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:23:20] local.INFO: IMEI packet received {"connection_id":54328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:23:21] local.INFO: TCP Data received {"connection_id":54328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:23:21] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc69d41c0012cb299c007822ce0004b00122f..."} 
[2026-04-26 03:23:21] local.INFO: Packet analysis {"connection_id":54328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:23:21] local.INFO: Extracted packet for processing {"connection_id":54328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc69d"} 
[2026-04-26 03:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951267072001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153688000,"timestamp_ms":1777153688000,"timestamp_seconds":1777153688,"priority":1,"record_length":96,"hex_timestamp":"0000019dc69d41c0"} 
[2026-04-26 03:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:23: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-04-26 03: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-04-26 03:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951267072001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951267072001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951267072001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":54328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:23:21] local.INFO: GPS data processed {"connection_id":54328,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:23:21] local.INFO: Acknowledgment sent {"connection_id":54328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:23:51] local.INFO: TCP Data received {"connection_id":54328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:23:51] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:23:51] local.INFO: Packet analysis {"connection_id":54328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:23:51] local.INFO: Extracted packet for processing {"connection_id":54328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:23: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-04-26 03: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-04-26 03:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:23:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:23:51] local.INFO: GPS data processed {"connection_id":54328,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:23:51] local.INFO: Acknowledgment sent {"connection_id":54328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:24:20] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:24:20] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:24:20] local.INFO: IMEI packet received {"connection_id":54396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":54396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:24:25] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:24:25] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:24:25] local.INFO: IMEI packet received {"connection_id":54396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":54396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:24:26] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:24:26] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:24:26] local.INFO: Packet analysis {"connection_id":54396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:24:26] local.INFO: Extracted packet for processing {"connection_id":54396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:24:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:24:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":54396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:24:26] local.INFO: GPS data processed {"connection_id":54396,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:24:26] local.INFO: Acknowledgment sent {"connection_id":54396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:24:30] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:24:30] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:24:30] local.INFO: Packet analysis {"connection_id":54396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:24:30] local.INFO: Extracted packet for processing {"connection_id":54396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:24:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:24:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":54396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:24:30] local.INFO: GPS data processed {"connection_id":54396,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:24:30] local.INFO: Acknowledgment sent {"connection_id":54396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:25:15] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:25:15] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:25:15] local.INFO: IMEI packet received {"connection_id":54329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":54329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:25:20] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:25:20] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:25:20] local.INFO: IMEI packet received {"connection_id":54329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":54329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:25:21] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:25:21] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:25:21] local.INFO: Packet analysis {"connection_id":54329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:25:21] local.INFO: Extracted packet for processing {"connection_id":54329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:25: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-04-26 03: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-04-26 03:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":54329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:25:21] local.INFO: GPS data processed {"connection_id":54329,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:25:21] local.INFO: Acknowledgment sent {"connection_id":54329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:25:51] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:25:51] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:25:51] local.INFO: Packet analysis {"connection_id":54329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:25:51] local.INFO: Extracted packet for processing {"connection_id":54329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:25: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-04-26 03: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-04-26 03:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:25:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:25:51] local.INFO: GPS data processed {"connection_id":54329,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:25:51] local.INFO: Acknowledgment sent {"connection_id":54329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:26:15] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:26:15] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:26:15] local.INFO: IMEI packet received {"connection_id":55056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":55056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:26:20] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:26:20] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:26:20] local.INFO: IMEI packet received {"connection_id":55056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":55056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:26:21] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:26:21] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:26:21] local.INFO: Packet analysis {"connection_id":55056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:26:21] local.INFO: Extracted packet for processing {"connection_id":55056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:26: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-04-26 03: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-04-26 03:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":55056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:26:21] local.INFO: GPS data processed {"connection_id":55056,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:26:21] local.INFO: Acknowledgment sent {"connection_id":55056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:26:52] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:26:52] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:26:52] local.INFO: Packet analysis {"connection_id":55056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:26:52] local.INFO: Extracted packet for processing {"connection_id":55056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:26:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:26:52] 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-04-26 03: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-04-26 03:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:26:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":55056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:26:52] local.INFO: GPS data processed {"connection_id":55056,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:26:52] local.INFO: Acknowledgment sent {"connection_id":55056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:27:15] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:27:15] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:27:15] local.INFO: IMEI packet received {"connection_id":54330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":54330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:27:20] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:27:20] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:27:20] local.INFO: IMEI packet received {"connection_id":54330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:27:21] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:27:21] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:27:21] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:27:21] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:27: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-04-26 03: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-04-26 03:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:27: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-04-26 03:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:27:21] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:27:21] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:27:51] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:27:51] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:27:51] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:27:51] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 03:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:27: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-04-26 03: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-04-26 03:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:27:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:27:51] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:27:51] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:28:01] local.INFO: TCP Data received {"connection_id":54397,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:28:01] local.INFO: Processing buffer {"connection_id":54397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:28:01] local.INFO: IMEI packet received {"connection_id":54397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":54397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:28:15] local.INFO: TCP Data received {"connection_id":55058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:28:15] local.INFO: Processing buffer {"connection_id":55058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:28:15] local.INFO: IMEI packet received {"connection_id":55058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":55058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:28:20] local.INFO: TCP Data received {"connection_id":55058,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:28:20] local.INFO: Processing buffer {"connection_id":55058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:28:20] local.INFO: IMEI packet received {"connection_id":55058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":55058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:28:22] local.INFO: TCP Data received {"connection_id":55058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:28:22] local.INFO: Processing buffer {"connection_id":55058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a1d988012cb299c007822ce0004d00122e..."} 
[2026-04-26 03:28:22] local.INFO: Packet analysis {"connection_id":55058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:28:22] local.INFO: Extracted packet for processing {"connection_id":55058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a1"} 
[2026-04-26 03:28:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951344128001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:28:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777153989000,"timestamp_ms":1777153989000,"timestamp_seconds":1777153989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a1d988"} 
[2026-04-26 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-04-26 03:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:28:22] 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-04-26 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-04-26 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-04-26 03:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:28: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-04-26 03:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951344128001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951344128001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:28:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:28:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:28:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951344128001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":55058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:28:22] local.INFO: GPS data processed {"connection_id":55058,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:28:22] local.INFO: Acknowledgment sent {"connection_id":55058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:28:41] local.INFO: TCP Data received {"connection_id":54398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:28:41] local.INFO: Processing buffer {"connection_id":54398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:28:41] local.INFO: IMEI packet received {"connection_id":54398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":54398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:28:52] local.INFO: TCP Data received {"connection_id":55058,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:28:52] local.INFO: Processing buffer {"connection_id":55058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:28:52] local.INFO: Packet analysis {"connection_id":55058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:28:52] local.INFO: Extracted packet for processing {"connection_id":55058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:28:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:28: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-04-26 03: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-04-26 03:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:28:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":55058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:28:52] local.INFO: GPS data processed {"connection_id":55058,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:28:52] local.INFO: Acknowledgment sent {"connection_id":55058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:29:20] local.INFO: TCP Data received {"connection_id":54399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:29:20] local.INFO: Processing buffer {"connection_id":54399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:29:20] local.INFO: IMEI packet received {"connection_id":54399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":54399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:29:25] local.INFO: TCP Data received {"connection_id":54399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:29:25] local.INFO: Processing buffer {"connection_id":54399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:29:25] local.INFO: IMEI packet received {"connection_id":54399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":54399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:29:26] local.INFO: TCP Data received {"connection_id":54399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:29:26] local.INFO: Processing buffer {"connection_id":54399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:29:26] local.INFO: Packet analysis {"connection_id":54399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:29:26] local.INFO: Extracted packet for processing {"connection_id":54399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:29:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:29:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:29:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:29:26] 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-04-26 03:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:29: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-04-26 03:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:29:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:29:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:29:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":54399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:29:26] local.INFO: GPS data processed {"connection_id":54399,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:29:26] local.INFO: Acknowledgment sent {"connection_id":54399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:29:31] local.INFO: TCP Data received {"connection_id":54399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:29:31] local.INFO: Processing buffer {"connection_id":54399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:29:31] local.INFO: Packet analysis {"connection_id":54399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:29:31] local.INFO: Extracted packet for processing {"connection_id":54399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:29:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:29:31] 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-04-26 03:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:29: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-04-26 03:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:29:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:29:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":54399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:29:31] local.INFO: GPS data processed {"connection_id":54399,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:29:31] local.INFO: Acknowledgment sent {"connection_id":54399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:30:15] local.INFO: TCP Data received {"connection_id":54134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:30:15] local.INFO: Processing buffer {"connection_id":54134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:30:15] local.INFO: IMEI packet received {"connection_id":54134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":54134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:30:20] local.INFO: TCP Data received {"connection_id":54134,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:30:20] local.INFO: Processing buffer {"connection_id":54134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:30:20] local.INFO: IMEI packet received {"connection_id":54134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:30:21] local.INFO: TCP Data received {"connection_id":54134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:30:21] local.INFO: Processing buffer {"connection_id":54134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:30:21] local.INFO: Packet analysis {"connection_id":54134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:30:21] local.INFO: Extracted packet for processing {"connection_id":54134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:30:21] 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-04-26 03: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-04-26 03:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:30: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-04-26 03:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:30:21] local.INFO: GPS data processed {"connection_id":54134,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:30:21] local.INFO: Acknowledgment sent {"connection_id":54134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:30:53] local.INFO: TCP Data received {"connection_id":54134,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:30:53] local.INFO: Processing buffer {"connection_id":54134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:30:53] local.INFO: Packet analysis {"connection_id":54134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:30:53] local.INFO: Extracted packet for processing {"connection_id":54134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:30:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:30:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:30:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:30:53] 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-04-26 03:30:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:30: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-04-26 03:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:30:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:30:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":54134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:30:53] local.INFO: GPS data processed {"connection_id":54134,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:30:53] local.INFO: Acknowledgment sent {"connection_id":54134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:31:15] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:31:15] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:31:15] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:31:20] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:31:20] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:31:20] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:31:21] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:31:21] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:31:21] local.INFO: Packet analysis {"connection_id":55059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:31:21] local.INFO: Extracted packet for processing {"connection_id":55059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:31:21] 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-04-26 03: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-04-26 03:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:31:21] 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-04-26 03:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:31:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":55059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:31:21] local.INFO: GPS data processed {"connection_id":55059,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:31:21] local.INFO: Acknowledgment sent {"connection_id":55059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:31:52] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:31:52] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:31:52] local.INFO: Packet analysis {"connection_id":55059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:31:52] local.INFO: Extracted packet for processing {"connection_id":55059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:31:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:31: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-04-26 03: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-04-26 03:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:31:52] 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-04-26 03:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:31:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":55059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:31:52] local.INFO: GPS data processed {"connection_id":55059,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:31:52] local.INFO: Acknowledgment sent {"connection_id":55059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:32:15] local.INFO: TCP Data received {"connection_id":54332,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:32:15] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:32:15] local.INFO: IMEI packet received {"connection_id":54332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":54332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:32:20] local.INFO: TCP Data received {"connection_id":54332,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:32:20] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:32:20] local.INFO: IMEI packet received {"connection_id":54332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":54332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:32:21] local.INFO: TCP Data received {"connection_id":54332,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:32:21] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:32:21] local.INFO: Packet analysis {"connection_id":54332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:32:21] local.INFO: Extracted packet for processing {"connection_id":54332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:32:21] 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-04-26 03: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-04-26 03:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:32: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-04-26 03:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":54332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:32:21] local.INFO: GPS data processed {"connection_id":54332,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:32:21] local.INFO: Acknowledgment sent {"connection_id":54332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:32:52] local.INFO: TCP Data received {"connection_id":54332,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:32:52] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:32:52] local.INFO: Packet analysis {"connection_id":54332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:32:52] local.INFO: Extracted packet for processing {"connection_id":54332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 03:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:32: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-04-26 03: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-04-26 03:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:32: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-04-26 03:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":54332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:32:53] local.INFO: GPS data processed {"connection_id":54332,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:32:53] local.INFO: Acknowledgment sent {"connection_id":54332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:33:15] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:33:15] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:33:15] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:33:20] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:33:20] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:33:20] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:33:21] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:33:21] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6a67150012cb299c007822ce0004900122f..."} 
[2026-04-26 03:33:21] local.INFO: Packet analysis {"connection_id":54402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:33:21] local.INFO: Extracted packet for processing {"connection_id":54402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6a6"} 
[2026-04-26 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951421184001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154290000,"timestamp_ms":1777154290000,"timestamp_seconds":1777154290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6a67150"} 
[2026-04-26 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-04-26 03:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 03:33:21] 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-04-26 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-04-26 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-04-26 03:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:33:21] 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-04-26 03:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951421184001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951421184001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951421184001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":54402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:33:21] local.INFO: GPS data processed {"connection_id":54402,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:33:21] local.INFO: Acknowledgment sent {"connection_id":54402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:33:53] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:33:53] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:33:53] local.INFO: Packet analysis {"connection_id":54402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:33:53] local.INFO: Extracted packet for processing {"connection_id":54402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:33:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:33:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:33:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:33:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:33:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":54402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:33:53] local.INFO: GPS data processed {"connection_id":54402,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:33:53] local.INFO: Acknowledgment sent {"connection_id":54402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:34:11] local.INFO: TCP Data received {"connection_id":54403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:34:11] local.INFO: Processing buffer {"connection_id":54403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:34:11] local.INFO: IMEI packet received {"connection_id":54403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":54403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:34:20] local.INFO: TCP Data received {"connection_id":55060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:34:20] local.INFO: Processing buffer {"connection_id":55060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:34:20] local.INFO: IMEI packet received {"connection_id":55060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":55060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:34:25] local.INFO: TCP Data received {"connection_id":55060,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:34:25] local.INFO: Processing buffer {"connection_id":55060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:34:25] local.INFO: IMEI packet received {"connection_id":55060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":55060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:34:28] local.INFO: TCP Data received {"connection_id":55060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:34:28] local.INFO: Processing buffer {"connection_id":55060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:34:28] local.INFO: Packet analysis {"connection_id":55060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:34:28] local.INFO: Extracted packet for processing {"connection_id":55060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:34:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:34:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:34:28] 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-04-26 03:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:34:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:34:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":55060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:34:28] local.INFO: GPS data processed {"connection_id":55060,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:34:28] local.INFO: Acknowledgment sent {"connection_id":55060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:34:30] local.INFO: TCP Data received {"connection_id":55060,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:34:30] local.INFO: Processing buffer {"connection_id":55060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:34:30] local.INFO: Packet analysis {"connection_id":55060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:34:30] local.INFO: Extracted packet for processing {"connection_id":55060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:34:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":55060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:34:30] local.INFO: GPS data processed {"connection_id":55060,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:34:30] local.INFO: Acknowledgment sent {"connection_id":55060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:34:41] local.INFO: TCP Data received {"connection_id":54135,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:34:41] local.INFO: Processing buffer {"connection_id":54135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:34:41] local.INFO: IMEI packet received {"connection_id":54135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":54135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:35:15] local.INFO: TCP Data received {"connection_id":55061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:35:15] local.INFO: Processing buffer {"connection_id":55061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:35:15] local.INFO: IMEI packet received {"connection_id":55061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":55061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:35:20] local.INFO: TCP Data received {"connection_id":55061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:35:20] local.INFO: Processing buffer {"connection_id":55061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:35:20] local.INFO: IMEI packet received {"connection_id":55061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":55061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:35:21] local.INFO: TCP Data received {"connection_id":55061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:35:21] local.INFO: Processing buffer {"connection_id":55061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:35:21] local.INFO: Packet analysis {"connection_id":55061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:35:21] local.INFO: Extracted packet for processing {"connection_id":55061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:35:21] 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-04-26 03: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-04-26 03:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:35:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":55061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:35:21] local.INFO: GPS data processed {"connection_id":55061,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:35:21] local.INFO: Acknowledgment sent {"connection_id":55061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:35:52] local.INFO: TCP Data received {"connection_id":55061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:35:52] local.INFO: Processing buffer {"connection_id":55061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:35:52] local.INFO: Packet analysis {"connection_id":55061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:35:52] local.INFO: Extracted packet for processing {"connection_id":55061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:35:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:35: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-04-26 03: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-04-26 03:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:35:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":55061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:35:52] local.INFO: GPS data processed {"connection_id":55061,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:35:52] local.INFO: Acknowledgment sent {"connection_id":55061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:36:15] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:36:15] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:36:15] local.INFO: IMEI packet received {"connection_id":55062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":55062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:36:20] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:36:20] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:36:20] local.INFO: IMEI packet received {"connection_id":55062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":55062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:36:21] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:36:21] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:36:21] local.INFO: Packet analysis {"connection_id":55062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:36:21] local.INFO: Extracted packet for processing {"connection_id":55062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:36:21] 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-04-26 03: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-04-26 03:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:36: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-04-26 03:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":55062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:36:21] local.INFO: GPS data processed {"connection_id":55062,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:36:21] local.INFO: Acknowledgment sent {"connection_id":55062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:36:52] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:36:52] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:36:52] local.INFO: Packet analysis {"connection_id":55062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:36:52] local.INFO: Extracted packet for processing {"connection_id":55062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:36:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:36: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-04-26 03: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-04-26 03:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:36:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":55062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:36:52] local.INFO: GPS data processed {"connection_id":55062,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:36:52] local.INFO: Acknowledgment sent {"connection_id":55062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:37:15] local.INFO: TCP Data received {"connection_id":54136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:37:15] local.INFO: Processing buffer {"connection_id":54136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:37:15] local.INFO: IMEI packet received {"connection_id":54136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:37:20] local.INFO: TCP Data received {"connection_id":54136,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:37:20] local.INFO: Processing buffer {"connection_id":54136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:37:20] local.INFO: IMEI packet received {"connection_id":54136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:37:21] local.INFO: TCP Data received {"connection_id":54136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:37:21] local.INFO: Processing buffer {"connection_id":54136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:37:21] local.INFO: Packet analysis {"connection_id":54136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:37:21] local.INFO: Extracted packet for processing {"connection_id":54136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:37:21] 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-04-26 03: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-04-26 03:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:37:21] local.INFO: GPS data processed {"connection_id":54136,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:37:21] local.INFO: Acknowledgment sent {"connection_id":54136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:37:52] local.INFO: TCP Data received {"connection_id":54136,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:37:52] local.INFO: Processing buffer {"connection_id":54136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:37:52] local.INFO: Packet analysis {"connection_id":54136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:37:52] local.INFO: Extracted packet for processing {"connection_id":54136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:37:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 03:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:37: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-04-26 03: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-04-26 03:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:37:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":54136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:37:52] local.INFO: GPS data processed {"connection_id":54136,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:37:52] local.INFO: Acknowledgment sent {"connection_id":54136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:38:15] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:38:15] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:38:15] local.INFO: IMEI packet received {"connection_id":54334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":54334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:38:20] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:38:20] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:38:20] local.INFO: IMEI packet received {"connection_id":54334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:38:21] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:38:21] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6ab0918012cb299c007822ce0004500122f..."} 
[2026-04-26 03:38:21] local.INFO: Packet analysis {"connection_id":54334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:38:21] local.INFO: Extracted packet for processing {"connection_id":54334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ab"} 
[2026-04-26 03:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951498240001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154591000,"timestamp_ms":1777154591000,"timestamp_seconds":1777154591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6ab0918"} 
[2026-04-26 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-04-26 03:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:38:21] 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-04-26 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-04-26 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-04-26 03:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:38: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-04-26 03:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951498240001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951498240001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951498240001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:38:21] local.INFO: GPS data processed {"connection_id":54334,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:38:21] local.INFO: Acknowledgment sent {"connection_id":54334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:38:52] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:38:52] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:38:52] local.INFO: Packet analysis {"connection_id":54334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:38:52] local.INFO: Extracted packet for processing {"connection_id":54334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 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-04-26 03:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:38:52] 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-04-26 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-04-26 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-04-26 03:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:38: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-04-26 03:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:38:52] local.INFO: GPS data processed {"connection_id":54334,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:38:52] local.INFO: Acknowledgment sent {"connection_id":54334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:39:20] local.INFO: TCP Data received {"connection_id":54137,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:39:20] local.INFO: Processing buffer {"connection_id":54137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:39:20] local.INFO: IMEI packet received {"connection_id":54137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:39:25] local.INFO: TCP Data received {"connection_id":54137,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:39:25] local.INFO: Processing buffer {"connection_id":54137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:39:25] local.INFO: IMEI packet received {"connection_id":54137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":54137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:39:26] local.INFO: TCP Data received {"connection_id":54137,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:39:26] local.INFO: Processing buffer {"connection_id":54137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:39:26] local.INFO: Packet analysis {"connection_id":54137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:39:26] local.INFO: Extracted packet for processing {"connection_id":54137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:39:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:39:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:39:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:39:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":54137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:39:26] local.INFO: GPS data processed {"connection_id":54137,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:39:26] local.INFO: Acknowledgment sent {"connection_id":54137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:39:57] local.INFO: TCP Data received {"connection_id":54137,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:39:57] local.INFO: Processing buffer {"connection_id":54137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:39:57] local.INFO: Packet analysis {"connection_id":54137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:39:57] local.INFO: Extracted packet for processing {"connection_id":54137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:39:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:39:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:39:57] 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-04-26 03:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:39: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-04-26 03:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:39:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:39:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":54137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:39:57] local.INFO: GPS data processed {"connection_id":54137,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:39:57] local.INFO: Acknowledgment sent {"connection_id":54137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:40:11] local.INFO: TCP Data received {"connection_id":54335,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:40:11] local.INFO: Processing buffer {"connection_id":54335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:40:11] local.INFO: IMEI packet received {"connection_id":54335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":54335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:40:15] local.INFO: TCP Data received {"connection_id":55065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:40:15] local.INFO: Processing buffer {"connection_id":55065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:40:15] local.INFO: IMEI packet received {"connection_id":55065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":55065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:40:20] local.INFO: TCP Data received {"connection_id":55065,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:40:20] local.INFO: Processing buffer {"connection_id":55065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:40:20] local.INFO: IMEI packet received {"connection_id":55065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":55065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:40:21] local.INFO: TCP Data received {"connection_id":55065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:40:21] local.INFO: Processing buffer {"connection_id":55065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:40:21] local.INFO: Packet analysis {"connection_id":55065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:40:21] local.INFO: Extracted packet for processing {"connection_id":55065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:40:21] 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-04-26 03: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-04-26 03:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":55065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:40:21] local.INFO: GPS data processed {"connection_id":55065,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:40:21] local.INFO: Acknowledgment sent {"connection_id":55065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:40:46] local.INFO: TCP Data received {"connection_id":54336,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:40:46] local.INFO: Processing buffer {"connection_id":54336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:40:46] local.INFO: IMEI packet received {"connection_id":54336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":54336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:40:52] local.INFO: TCP Data received {"connection_id":55065,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:40:52] local.INFO: Processing buffer {"connection_id":55065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:40:52] local.INFO: Packet analysis {"connection_id":55065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:40:52] local.INFO: Extracted packet for processing {"connection_id":55065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:40:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:40:52] 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-04-26 03: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-04-26 03:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:40:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":55065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:40:52] local.INFO: GPS data processed {"connection_id":55065,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:40:52] local.INFO: Acknowledgment sent {"connection_id":55065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:41:15] local.INFO: TCP Data received {"connection_id":54138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:41:15] local.INFO: Processing buffer {"connection_id":54138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:41:15] local.INFO: IMEI packet received {"connection_id":54138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:41:20] local.INFO: TCP Data received {"connection_id":54138,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:41:20] local.INFO: Processing buffer {"connection_id":54138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:41:20] local.INFO: IMEI packet received {"connection_id":54138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":54138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:41:21] local.INFO: TCP Data received {"connection_id":54138,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:41:21] local.INFO: Processing buffer {"connection_id":54138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:41:21] local.INFO: Packet analysis {"connection_id":54138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:41:21] local.INFO: Extracted packet for processing {"connection_id":54138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:41:21] 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-04-26 03: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-04-26 03:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":54138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:41:21] local.INFO: GPS data processed {"connection_id":54138,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:41:21] local.INFO: Acknowledgment sent {"connection_id":54138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:41:52] local.INFO: TCP Data received {"connection_id":54138,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:41:52] local.INFO: Processing buffer {"connection_id":54138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:41:52] local.INFO: Packet analysis {"connection_id":54138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:41:52] local.INFO: Extracted packet for processing {"connection_id":54138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:41:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:41:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:41:52] 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-04-26 03: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-04-26 03:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:41:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:41:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":54138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:41:52] local.INFO: GPS data processed {"connection_id":54138,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:41:52] local.INFO: Acknowledgment sent {"connection_id":54138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:42:15] local.INFO: TCP Data received {"connection_id":54405,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:42:15] local.INFO: Processing buffer {"connection_id":54405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:42:15] local.INFO: IMEI packet received {"connection_id":54405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":54405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:42:20] local.INFO: TCP Data received {"connection_id":54405,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:42:20] local.INFO: Processing buffer {"connection_id":54405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:42:20] local.INFO: IMEI packet received {"connection_id":54405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":54405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:42:21] local.INFO: TCP Data received {"connection_id":54405,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:42:21] local.INFO: Processing buffer {"connection_id":54405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:42:21] local.INFO: Packet analysis {"connection_id":54405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:42:21] local.INFO: Extracted packet for processing {"connection_id":54405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:42:21] 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-04-26 03: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-04-26 03:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:42: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-04-26 03:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:42:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":54405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:42:21] local.INFO: GPS data processed {"connection_id":54405,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:42:21] local.INFO: Acknowledgment sent {"connection_id":54405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:42:52] local.INFO: TCP Data received {"connection_id":54405,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:42:52] local.INFO: Processing buffer {"connection_id":54405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:42:52] local.INFO: Packet analysis {"connection_id":54405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:42:52] local.INFO: Extracted packet for processing {"connection_id":54405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 03:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:42:52] 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-04-26 03: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-04-26 03:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:42: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-04-26 03:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:42:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":54405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:42:52] local.INFO: GPS data processed {"connection_id":54405,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:42:52] local.INFO: Acknowledgment sent {"connection_id":54405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:43:15] local.INFO: TCP Data received {"connection_id":54337,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:43:15] local.INFO: Processing buffer {"connection_id":54337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:43:15] local.INFO: IMEI packet received {"connection_id":54337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":54337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:43:20] local.INFO: TCP Data received {"connection_id":54337,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:43:20] local.INFO: Processing buffer {"connection_id":54337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:43:20] local.INFO: IMEI packet received {"connection_id":54337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:43:21] local.INFO: TCP Data received {"connection_id":54337,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:43:21] local.INFO: Processing buffer {"connection_id":54337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6afa0e0012cb299c007822ce0004400122d..."} 
[2026-04-26 03:43:21] local.INFO: Packet analysis {"connection_id":54337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:43:21] local.INFO: Extracted packet for processing {"connection_id":54337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6af"} 
[2026-04-26 03:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951575296001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777154892000,"timestamp_ms":1777154892000,"timestamp_seconds":1777154892,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6afa0e0"} 
[2026-04-26 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-04-26 03:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 03:43:21] 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-04-26 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-04-26 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-04-26 03:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:43: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-04-26 03:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951575296001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951575296001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951575296001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":54337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:43:21] local.INFO: GPS data processed {"connection_id":54337,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:43:21] local.INFO: Acknowledgment sent {"connection_id":54337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:43:52] local.INFO: TCP Data received {"connection_id":54337,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:43:52] local.INFO: Processing buffer {"connection_id":54337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:43:52] local.INFO: Packet analysis {"connection_id":54337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:43:52] local.INFO: Extracted packet for processing {"connection_id":54337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:43: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-04-26 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-04-26 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-04-26 03:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:43: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-04-26 03:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:43:52] local.INFO: GPS data processed {"connection_id":54337,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:43:52] local.INFO: Acknowledgment sent {"connection_id":54337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:44:20] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:44:20] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:44:20] local.INFO: IMEI packet received {"connection_id":55066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":55066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:44:25] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:44:25] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:44:25] local.INFO: IMEI packet received {"connection_id":55066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":55066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:44:26] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:44:26] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:44:26] local.INFO: Packet analysis {"connection_id":55066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:44:26] local.INFO: Extracted packet for processing {"connection_id":55066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:44:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 03:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:44: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-04-26 03:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:44: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-04-26 03:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:44:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":55066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:44:26] local.INFO: GPS data processed {"connection_id":55066,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:44:26] local.INFO: Acknowledgment sent {"connection_id":55066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:44:57] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:44:57] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:44:57] local.INFO: Packet analysis {"connection_id":55066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:44:57] local.INFO: Extracted packet for processing {"connection_id":55066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:44:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:44:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 03:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:44:57] 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-04-26 03: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-04-26 03:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:44: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-04-26 03:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:44:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:44:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":55066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:44:57] local.INFO: GPS data processed {"connection_id":55066,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:44:57] local.INFO: Acknowledgment sent {"connection_id":55066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:45:15] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:45:15] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:45:15] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:45:20] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:45:20] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:45:20] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:45:21] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:45:21] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:45:21] local.INFO: Packet analysis {"connection_id":54338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:45:21] local.INFO: Extracted packet for processing {"connection_id":54338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:45:21] 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-04-26 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-04-26 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-04-26 03:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 03:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:45:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:45:21] local.INFO: GPS data processed {"connection_id":54338,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:45:21] local.INFO: Acknowledgment sent {"connection_id":54338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:45:52] local.INFO: TCP Data received {"connection_id":54338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:45:52] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:45:52] local.INFO: Packet analysis {"connection_id":54338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:45:52] local.INFO: Extracted packet for processing {"connection_id":54338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:45: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-04-26 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-04-26 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-04-26 03:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 03:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:45:52] local.INFO: GPS data processed {"connection_id":54338,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:45:52] local.INFO: Acknowledgment sent {"connection_id":54338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:46:15] local.INFO: TCP Data received {"connection_id":55067,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:46:15] local.INFO: Processing buffer {"connection_id":55067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:46:15] local.INFO: IMEI packet received {"connection_id":55067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":55067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:46:16] local.INFO: TCP Data received {"connection_id":54406,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:46:16] local.INFO: Processing buffer {"connection_id":54406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:46:16] local.INFO: IMEI packet received {"connection_id":54406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":54406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:46:20] local.INFO: TCP Data received {"connection_id":55067,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:46:20] local.INFO: Processing buffer {"connection_id":55067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:46:20] local.INFO: IMEI packet received {"connection_id":55067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":55067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:46:21] local.INFO: TCP Data received {"connection_id":55067,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:46:21] local.INFO: Processing buffer {"connection_id":55067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:46:21] local.INFO: Packet analysis {"connection_id":55067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:46:21] local.INFO: Extracted packet for processing {"connection_id":55067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 03:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:46:21] 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-04-26 03: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-04-26 03:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:46: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-04-26 03:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":55067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:46:21] local.INFO: GPS data processed {"connection_id":55067,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:46:21] local.INFO: Acknowledgment sent {"connection_id":55067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:46:41] local.INFO: TCP Data received {"connection_id":54143,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:46:41] local.INFO: Processing buffer {"connection_id":54143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:46:41] local.INFO: IMEI packet received {"connection_id":54143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":54143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:46:52] local.INFO: TCP Data received {"connection_id":55067,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:46:52] local.INFO: Processing buffer {"connection_id":55067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:46:52] local.INFO: Packet analysis {"connection_id":55067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:46:52] local.INFO: Extracted packet for processing {"connection_id":55067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:46: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-04-26 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-04-26 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-04-26 03:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":55067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:46:52] local.INFO: GPS data processed {"connection_id":55067,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:46:52] local.INFO: Acknowledgment sent {"connection_id":55067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:47:15] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:47:15] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:47:15] local.INFO: IMEI packet received {"connection_id":54407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":54407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:47:20] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:47:20] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:47:20] local.INFO: IMEI packet received {"connection_id":54407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:47:21] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:47:21] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:47:21] local.INFO: Packet analysis {"connection_id":54407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:47:21] local.INFO: Extracted packet for processing {"connection_id":54407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 03:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:47:21] 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-04-26 03: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-04-26 03:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:47: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-04-26 03:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:47:21] local.INFO: GPS data processed {"connection_id":54407,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:47:21] local.INFO: Acknowledgment sent {"connection_id":54407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:47:52] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:47:52] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:47:52] local.INFO: Packet analysis {"connection_id":54407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:47:52] local.INFO: Extracted packet for processing {"connection_id":54407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:47: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-04-26 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-04-26 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-04-26 03:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 03:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:47:52] local.INFO: GPS data processed {"connection_id":54407,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:47:52] local.INFO: Acknowledgment sent {"connection_id":54407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:48:15] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:48:15] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:48:15] local.INFO: IMEI packet received {"connection_id":55068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":55068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:48:20] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:48:20] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:48:20] local.INFO: IMEI packet received {"connection_id":55068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":55068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:48:21] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:48:21] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:48:21] local.INFO: Packet analysis {"connection_id":55068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:48:21] local.INFO: Extracted packet for processing {"connection_id":55068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:48:21] 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-04-26 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-04-26 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-04-26 03:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:48: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-04-26 03:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":55068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:48:21] local.INFO: GPS data processed {"connection_id":55068,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:48:21] local.INFO: Acknowledgment sent {"connection_id":55068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:48:52] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:48:52] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b438a8012cb299c007822ce0004300122c..."} 
[2026-04-26 03:48:52] local.INFO: Packet analysis {"connection_id":55068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:48:52] local.INFO: Extracted packet for processing {"connection_id":55068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b4"} 
[2026-04-26 03:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951652352001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155193000,"timestamp_ms":1777155193000,"timestamp_seconds":1777155193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b438a8"} 
[2026-04-26 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-04-26 03:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:48: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-04-26 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-04-26 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-04-26 03:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:48: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-04-26 03:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951652352001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951652352001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951652352001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":55068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:48:52] local.INFO: GPS data processed {"connection_id":55068,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:48:52] local.INFO: Acknowledgment sent {"connection_id":55068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:49:20] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:49:20] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:49:20] local.INFO: IMEI packet received {"connection_id":54340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":54340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:49:25] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:49:25] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:49:25] local.INFO: IMEI packet received {"connection_id":54340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":54340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:49:26] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:49:26] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:49:26] local.INFO: Packet analysis {"connection_id":54340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:49:26] local.INFO: Extracted packet for processing {"connection_id":54340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:49:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 03:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:49:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":54340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:49:26] local.INFO: GPS data processed {"connection_id":54340,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:49:26] local.INFO: Acknowledgment sent {"connection_id":54340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:49:57] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:49:57] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:49:57] local.INFO: Packet analysis {"connection_id":54340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:49:57] local.INFO: Extracted packet for processing {"connection_id":54340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:49:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:49:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 03:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:49:57] 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-04-26 03: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-04-26 03:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:49:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:49:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":54340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:49:57] local.INFO: GPS data processed {"connection_id":54340,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:49:57] local.INFO: Acknowledgment sent {"connection_id":54340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:50:15] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:50:15] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:50:15] local.INFO: IMEI packet received {"connection_id":54408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:50:20] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:50:20] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:50:20] local.INFO: IMEI packet received {"connection_id":54408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:50:21] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:50:21] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:50:21] local.INFO: Packet analysis {"connection_id":54408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:50:21] local.INFO: Extracted packet for processing {"connection_id":54408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 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-04-26 03:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:50: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-04-26 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-04-26 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-04-26 03:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:50: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-04-26 03:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":54408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:50:21] local.INFO: GPS data processed {"connection_id":54408,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:50:21] local.INFO: Acknowledgment sent {"connection_id":54408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:50:52] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:50:52] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:50:52] local.INFO: Packet analysis {"connection_id":54408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:50:52] local.INFO: Extracted packet for processing {"connection_id":54408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:50:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 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-04-26 03:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:50:52] 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-04-26 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-04-26 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-04-26 03:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:50: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-04-26 03:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:50:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":54408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:50:52] local.INFO: GPS data processed {"connection_id":54408,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:50:52] local.INFO: Acknowledgment sent {"connection_id":54408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:51:15] local.INFO: TCP Data received {"connection_id":54146,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:51:15] local.INFO: Processing buffer {"connection_id":54146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:51:15] local.INFO: IMEI packet received {"connection_id":54146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":54146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:51:20] local.INFO: TCP Data received {"connection_id":54146,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:51:20] local.INFO: Processing buffer {"connection_id":54146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:51:20] local.INFO: IMEI packet received {"connection_id":54146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":54146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:51:21] local.INFO: TCP Data received {"connection_id":54146,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:51:21] local.INFO: Processing buffer {"connection_id":54146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:51:21] local.INFO: Packet analysis {"connection_id":54146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:51:21] local.INFO: Extracted packet for processing {"connection_id":54146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 03:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:51: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-04-26 03: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-04-26 03:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":54146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:51:21] local.INFO: GPS data processed {"connection_id":54146,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:51:21] local.INFO: Acknowledgment sent {"connection_id":54146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:51:52] local.INFO: TCP Data received {"connection_id":54146,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:51:52] local.INFO: Processing buffer {"connection_id":54146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:51:52] local.INFO: Packet analysis {"connection_id":54146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:51:52] local.INFO: Extracted packet for processing {"connection_id":54146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:51:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 03:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:51:52] 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-04-26 03: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-04-26 03:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:51:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":54146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:51:52] local.INFO: GPS data processed {"connection_id":54146,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:51:52] local.INFO: Acknowledgment sent {"connection_id":54146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:52:11] local.INFO: TCP Data received {"connection_id":54147,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:52:11] local.INFO: Processing buffer {"connection_id":54147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:52:11] local.INFO: IMEI packet received {"connection_id":54147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":54147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:52:15] local.INFO: TCP Data received {"connection_id":54341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:52:15] local.INFO: Processing buffer {"connection_id":54341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:52:15] local.INFO: IMEI packet received {"connection_id":54341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":54341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:52:20] local.INFO: TCP Data received {"connection_id":54341,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:52:20] local.INFO: Processing buffer {"connection_id":54341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:52:20] local.INFO: IMEI packet received {"connection_id":54341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:52:21] local.INFO: TCP Data received {"connection_id":54341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:52:21] local.INFO: Processing buffer {"connection_id":54341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:52:21] local.INFO: Packet analysis {"connection_id":54341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:52:21] local.INFO: Extracted packet for processing {"connection_id":54341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 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-04-26 03:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:52: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-04-26 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-04-26 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-04-26 03:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":54341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:52:21] local.INFO: GPS data processed {"connection_id":54341,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:52:21] local.INFO: Acknowledgment sent {"connection_id":54341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:52:41] local.INFO: TCP Data received {"connection_id":54409,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:52:41] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:52:41] local.INFO: IMEI packet received {"connection_id":54409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":54409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:52:52] local.INFO: TCP Data received {"connection_id":54341,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:52:52] local.INFO: Processing buffer {"connection_id":54341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:52:52] local.INFO: Packet analysis {"connection_id":54341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:52:52] local.INFO: Extracted packet for processing {"connection_id":54341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 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-04-26 03:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:52:52] 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-04-26 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-04-26 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-04-26 03:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":54341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:52:52] local.INFO: GPS data processed {"connection_id":54341,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:52:52] local.INFO: Acknowledgment sent {"connection_id":54341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:53:15] local.INFO: TCP Data received {"connection_id":54148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:53:15] local.INFO: Processing buffer {"connection_id":54148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:53:15] local.INFO: IMEI packet received {"connection_id":54148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":54148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:53:20] local.INFO: TCP Data received {"connection_id":54148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:53:20] local.INFO: Processing buffer {"connection_id":54148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:53:20] local.INFO: IMEI packet received {"connection_id":54148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:53:21] local.INFO: TCP Data received {"connection_id":54148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:53:21] local.INFO: Processing buffer {"connection_id":54148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:53:21] local.INFO: Packet analysis {"connection_id":54148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:53:21] local.INFO: Extracted packet for processing {"connection_id":54148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 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-04-26 03:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:53: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-04-26 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-04-26 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-04-26 03:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":54148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:53:21] local.INFO: GPS data processed {"connection_id":54148,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:53:21] local.INFO: Acknowledgment sent {"connection_id":54148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:53:52] local.INFO: TCP Data received {"connection_id":54148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:53:52] local.INFO: Processing buffer {"connection_id":54148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6b8d070012cb299c007822ce0004600122f..."} 
[2026-04-26 03:53:52] local.INFO: Packet analysis {"connection_id":54148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:53:52] local.INFO: Extracted packet for processing {"connection_id":54148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6b8"} 
[2026-04-26 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951729408001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155494000,"timestamp_ms":1777155494000,"timestamp_seconds":1777155494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6b8d070"} 
[2026-04-26 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-04-26 03:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 03:53:52] 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-04-26 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-04-26 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-04-26 03:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03: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-04-26 03:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951729408001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951729408001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:53:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951729408001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":54148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:53:52] local.INFO: GPS data processed {"connection_id":54148,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:53:52] local.INFO: Acknowledgment sent {"connection_id":54148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:54:20] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:54:20] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:54:20] local.INFO: IMEI packet received {"connection_id":55070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":55070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:54:27] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:54:27] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:54:27] local.INFO: IMEI packet received {"connection_id":55070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":55070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:54:28] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:54:28] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:54:28] local.INFO: Packet analysis {"connection_id":55070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:54:28] local.INFO: Extracted packet for processing {"connection_id":55070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:54:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:54:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 03:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:54:28] 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-04-26 03: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-04-26 03:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:54:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:54:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":55070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:54:28] local.INFO: GPS data processed {"connection_id":55070,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:54:28] local.INFO: Acknowledgment sent {"connection_id":55070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:54:59] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:54:59] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:54:59] local.INFO: Packet analysis {"connection_id":55070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:54:59] local.INFO: Extracted packet for processing {"connection_id":55070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:54:59] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 03:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:54:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 03:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 03:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":55070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:54:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:54:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":55070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:54:59] local.INFO: GPS data processed {"connection_id":55070,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:54:59] local.INFO: Acknowledgment sent {"connection_id":55070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:55:15] local.INFO: TCP Data received {"connection_id":54410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:55:15] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:55:15] local.INFO: IMEI packet received {"connection_id":54410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:55:20] local.INFO: TCP Data received {"connection_id":54410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:55:20] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:55:20] local.INFO: IMEI packet received {"connection_id":54410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:55:21] local.INFO: TCP Data received {"connection_id":54410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:55:21] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:55:21] local.INFO: Packet analysis {"connection_id":54410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:55:21] local.INFO: Extracted packet for processing {"connection_id":54410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 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-04-26 03:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:55:21] 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-04-26 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-04-26 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-04-26 03:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:55: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-04-26 03:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":54410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:55:21] local.INFO: GPS data processed {"connection_id":54410,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:55:21] local.INFO: Acknowledgment sent {"connection_id":54410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:55:52] local.INFO: TCP Data received {"connection_id":54410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:55:52] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:55:52] local.INFO: Packet analysis {"connection_id":54410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:55:52] local.INFO: Extracted packet for processing {"connection_id":54410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 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-04-26 03:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:55: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-04-26 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-04-26 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-04-26 03:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:55: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-04-26 03:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":54410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:55:52] local.INFO: GPS data processed {"connection_id":54410,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:55:52] local.INFO: Acknowledgment sent {"connection_id":54410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:56:15] local.INFO: TCP Data received {"connection_id":54343,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:56:15] local.INFO: Processing buffer {"connection_id":54343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:56:15] local.INFO: IMEI packet received {"connection_id":54343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":54343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:56:20] local.INFO: TCP Data received {"connection_id":54343,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:56:20] local.INFO: Processing buffer {"connection_id":54343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:56:20] local.INFO: IMEI packet received {"connection_id":54343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":54343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:56:21] local.INFO: TCP Data received {"connection_id":54343,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:56:21] local.INFO: Processing buffer {"connection_id":54343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:56:21] local.INFO: Packet analysis {"connection_id":54343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:56:21] local.INFO: Extracted packet for processing {"connection_id":54343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 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-04-26 03:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:56:21] 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-04-26 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-04-26 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-04-26 03:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:56:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":54343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:56:21] local.INFO: GPS data processed {"connection_id":54343,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:56:21] local.INFO: Acknowledgment sent {"connection_id":54343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:56:52] local.INFO: TCP Data received {"connection_id":54343,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:56:52] local.INFO: Processing buffer {"connection_id":54343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:56:52] local.INFO: Packet analysis {"connection_id":54343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:56:52] local.INFO: Extracted packet for processing {"connection_id":54343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:56:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 03:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:56: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-04-26 03: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-04-26 03:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:56:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:56:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":54343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:56:52] local.INFO: GPS data processed {"connection_id":54343,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:56:52] local.INFO: Acknowledgment sent {"connection_id":54343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:57:15] local.INFO: TCP Data received {"connection_id":54411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:57:15] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:57:15] local.INFO: IMEI packet received {"connection_id":54411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":54411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:57:20] local.INFO: TCP Data received {"connection_id":54411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:57:20] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:57:20] local.INFO: IMEI packet received {"connection_id":54411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:57:21] local.INFO: TCP Data received {"connection_id":54411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:57:21] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:57:21] local.INFO: Packet analysis {"connection_id":54411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:57:21] local.INFO: Extracted packet for processing {"connection_id":54411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 03:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:57:21] 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-04-26 03: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-04-26 03:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:57: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-04-26 03:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":54411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:57:21] local.INFO: GPS data processed {"connection_id":54411,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:57:21] local.INFO: Acknowledgment sent {"connection_id":54411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:57:52] local.INFO: TCP Data received {"connection_id":54411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:57:52] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:57:52] local.INFO: Packet analysis {"connection_id":54411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:57:52] local.INFO: Extracted packet for processing {"connection_id":54411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 03:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:57: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-04-26 03: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-04-26 03:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:57:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":54411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:57:52] local.INFO: GPS data processed {"connection_id":54411,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:57:52] local.INFO: Acknowledgment sent {"connection_id":54411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:58:11] local.INFO: TCP Data received {"connection_id":55073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:58:11] local.INFO: Processing buffer {"connection_id":55073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:58:11] local.INFO: IMEI packet received {"connection_id":55073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":55073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:58:15] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:58:15] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:58:15] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:58:20] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:58:20] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:58:20] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:58:21] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:58:21] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:58:21] local.INFO: Packet analysis {"connection_id":55074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:58:21] local.INFO: Extracted packet for processing {"connection_id":55074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:58:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 03:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 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-04-26 03:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:58:21] 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-04-26 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-04-26 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-04-26 03:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:58: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-04-26 03:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:58:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":55074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:58:21] local.INFO: GPS data processed {"connection_id":55074,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:58:21] local.INFO: Acknowledgment sent {"connection_id":55074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:58:41] local.INFO: TCP Data received {"connection_id":54150,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:58:41] local.INFO: Processing buffer {"connection_id":54150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 03:58:41] local.INFO: IMEI packet received {"connection_id":54150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 03:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":54150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:58:52] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:58:52] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6bd6838012cb299c007822ce0004500122e..."} 
[2026-04-26 03:58:52] local.INFO: Packet analysis {"connection_id":55074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:58:52] local.INFO: Extracted packet for processing {"connection_id":55074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6bd"} 
[2026-04-26 03:58:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951806464001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:58:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777155795000,"timestamp_ms":1777155795000,"timestamp_seconds":1777155795,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6bd6838"} 
[2026-04-26 03:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 03:58: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-04-26 03: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-04-26 03:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:58: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-04-26 03:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951806464001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951806464001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:58:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:58:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951806464001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":55074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:58:52] local.INFO: GPS data processed {"connection_id":55074,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:58:52] local.INFO: Acknowledgment sent {"connection_id":55074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:59:20] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:59:20] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:59:20] local.INFO: IMEI packet received {"connection_id":54412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 03:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 03:59:25] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:59:25] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 03:59:25] local.INFO: IMEI packet received {"connection_id":54412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 03:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":54412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 03:59:26] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 03:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 03:59:26] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 03:59:26] local.INFO: Packet analysis {"connection_id":54412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 03:59:26] local.INFO: Extracted packet for processing {"connection_id":54412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 03:59:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 03:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:59:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 03:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:59:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":54412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:59:26] local.INFO: GPS data processed {"connection_id":54412,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:59:26] local.INFO: Acknowledgment sent {"connection_id":54412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 03:59:57] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 03:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 03:59:57] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 03:59:57] local.INFO: Packet analysis {"connection_id":54412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 03:59:57] local.INFO: Extracted packet for processing {"connection_id":54412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 03:59:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 03: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-04-26 03:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 03:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 03:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 03:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 03:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 03:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 03:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 03: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 03:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 03: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-04-26 03:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 03:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 03:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 03:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 03:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 03:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 03:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 03:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 03:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 03:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 03:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 03:59:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 03:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 03:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 03:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 03:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 03:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":54412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 03:59:57] local.INFO: GPS data processed {"connection_id":54412,"processed":1,"errors":0,"total":1} 
[2026-04-26 03:59:57] local.INFO: Acknowledgment sent {"connection_id":54412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:00:15] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:00:15] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:00:15] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:00:20] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:00:20] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:00:20] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:00:21] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:00:21] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:00:21] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:00:21] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 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-04-26 04:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:00: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-04-26 04:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:00:21] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:00:21] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:00:52] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:00:52] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:00:52] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:00:52] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:00:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 04:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:00: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-04-26 04:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:00:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:00:52] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:00:52] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:01:15] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:01:15] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:01:15] local.INFO: IMEI packet received {"connection_id":54346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":54346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:01:20] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:01:20] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:01:20] local.INFO: IMEI packet received {"connection_id":54346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:01:21] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:01:21] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:01:21] local.INFO: Packet analysis {"connection_id":54346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:01:21] local.INFO: Extracted packet for processing {"connection_id":54346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 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-04-26 04:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:01: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-04-26 04:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":54346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:01:21] local.INFO: GPS data processed {"connection_id":54346,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:01:21] local.INFO: Acknowledgment sent {"connection_id":54346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:01:52] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:01:52] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:01:52] local.INFO: Packet analysis {"connection_id":54346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:01:52] local.INFO: Extracted packet for processing {"connection_id":54346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 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-04-26 04:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:01: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-04-26 04:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":54346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:01:52] local.INFO: GPS data processed {"connection_id":54346,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:01:52] local.INFO: Acknowledgment sent {"connection_id":54346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:02:15] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:02:15] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:02:15] local.INFO: IMEI packet received {"connection_id":55076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":55076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:02:20] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:02:20] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:02:20] local.INFO: IMEI packet received {"connection_id":55076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":55076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:02:21] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:02:21] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:02:21] local.INFO: Packet analysis {"connection_id":55076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:02:21] local.INFO: Extracted packet for processing {"connection_id":55076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 04:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:02: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-04-26 04:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":55076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:02:21] local.INFO: GPS data processed {"connection_id":55076,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:02:21] local.INFO: Acknowledgment sent {"connection_id":55076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:02:52] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:02:52] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:02:52] local.INFO: Packet analysis {"connection_id":55076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:02:52] local.INFO: Extracted packet for processing {"connection_id":55076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:02:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 04:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:02: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-04-26 04:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:02:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":55076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:02:52] local.INFO: GPS data processed {"connection_id":55076,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:02:52] local.INFO: Acknowledgment sent {"connection_id":55076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:03:15] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:03:15] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:03:15] local.INFO: IMEI packet received {"connection_id":54414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":54414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:03:20] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:03:20] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:03:20] local.INFO: IMEI packet received {"connection_id":54414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:03:21] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:03:21] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:03:21] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:03:21] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:03:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:03:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:03:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 04:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:03:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:03:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:03:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:03:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:03:21] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:03:21] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:03:52] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:03:52] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c20000012cb299c007822ce0004500122f..."} 
[2026-04-26 04:03:52] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:03:52] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c2"} 
[2026-04-26 04:03:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951883520001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156096000,"timestamp_ms":1777156096000,"timestamp_seconds":1777156096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c20000"} 
[2026-04-26 04:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:03: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-04-26 04:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951883520001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951883520001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:03:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951883520001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:03:52] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:03:52] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:03:56] local.INFO: TCP Data received {"connection_id":55078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:03:56] local.INFO: Processing buffer {"connection_id":55078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:03:56] local.INFO: IMEI packet received {"connection_id":55078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":55078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:04:20] local.INFO: TCP Data received {"connection_id":54151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:04:20] local.INFO: Processing buffer {"connection_id":54151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:04:20] local.INFO: IMEI packet received {"connection_id":54151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":54151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:04:25] local.INFO: TCP Data received {"connection_id":54151,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:04:25] local.INFO: Processing buffer {"connection_id":54151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:04:25] local.INFO: IMEI packet received {"connection_id":54151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":54151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:04:26] local.INFO: TCP Data received {"connection_id":54151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:04:26] local.INFO: Processing buffer {"connection_id":54151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:04:26] local.INFO: Packet analysis {"connection_id":54151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:04:26] local.INFO: Extracted packet for processing {"connection_id":54151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:04:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:04: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-04-26 04:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:04:26] 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-04-26 04:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:04:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":54151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:04:26] local.INFO: GPS data processed {"connection_id":54151,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:04:26] local.INFO: Acknowledgment sent {"connection_id":54151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:04:41] local.INFO: TCP Data received {"connection_id":54152,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:04:41] local.INFO: Processing buffer {"connection_id":54152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:04:41] local.INFO: IMEI packet received {"connection_id":54152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":54152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:04:57] local.INFO: TCP Data received {"connection_id":54151,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:04:57] local.INFO: Processing buffer {"connection_id":54151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:04:57] local.INFO: Packet analysis {"connection_id":54151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:04:57] local.INFO: Extracted packet for processing {"connection_id":54151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:04:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:04:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:04:57] 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-04-26 04:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:04:57] 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-04-26 04:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:04:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:04:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":54151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:04:57] local.INFO: GPS data processed {"connection_id":54151,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:04:57] local.INFO: Acknowledgment sent {"connection_id":54151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:05:15] local.INFO: TCP Data received {"connection_id":54415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:05:15] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:05:15] local.INFO: IMEI packet received {"connection_id":54415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":54415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:05:20] local.INFO: TCP Data received {"connection_id":54415,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:05:20] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:05:20] local.INFO: IMEI packet received {"connection_id":54415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:05:21] local.INFO: TCP Data received {"connection_id":54415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:05:21] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:05:21] local.INFO: Packet analysis {"connection_id":54415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:05:21] local.INFO: Extracted packet for processing {"connection_id":54415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 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-04-26 04:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:05:21] 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-04-26 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-04-26 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-04-26 04:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:05: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-04-26 04:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":54415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:05:21] local.INFO: GPS data processed {"connection_id":54415,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:05:21] local.INFO: Acknowledgment sent {"connection_id":54415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:05:52] local.INFO: TCP Data received {"connection_id":54415,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:05:52] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:05:52] local.INFO: Packet analysis {"connection_id":54415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:05:52] local.INFO: Extracted packet for processing {"connection_id":54415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:05: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-04-26 04: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-04-26 04:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:05: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-04-26 04:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":54415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:05:52] local.INFO: GPS data processed {"connection_id":54415,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:05:52] local.INFO: Acknowledgment sent {"connection_id":54415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:06:15] local.INFO: TCP Data received {"connection_id":54153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:06:15] local.INFO: Processing buffer {"connection_id":54153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:06:15] local.INFO: IMEI packet received {"connection_id":54153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:06:20] local.INFO: TCP Data received {"connection_id":54153,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:06:20] local.INFO: Processing buffer {"connection_id":54153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:06:20] local.INFO: IMEI packet received {"connection_id":54153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":54153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:06:21] local.INFO: TCP Data received {"connection_id":54153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:06:21] local.INFO: Processing buffer {"connection_id":54153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:06:21] local.INFO: Packet analysis {"connection_id":54153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:06:21] local.INFO: Extracted packet for processing {"connection_id":54153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:06:21] 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-04-26 04: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-04-26 04:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":54153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:06:21] local.INFO: GPS data processed {"connection_id":54153,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:06:21] local.INFO: Acknowledgment sent {"connection_id":54153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:06:52] local.INFO: TCP Data received {"connection_id":54153,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:06:52] local.INFO: Processing buffer {"connection_id":54153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:06:52] local.INFO: Packet analysis {"connection_id":54153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:06:52] local.INFO: Extracted packet for processing {"connection_id":54153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:06: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-04-26 04:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:06:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":54153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:06:52] local.INFO: GPS data processed {"connection_id":54153,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:06:52] local.INFO: Acknowledgment sent {"connection_id":54153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:07:15] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:07:15] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:07:15] local.INFO: IMEI packet received {"connection_id":54416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":54416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:07:20] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:07:20] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:07:20] local.INFO: IMEI packet received {"connection_id":54416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":54416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:07:21] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:07:21] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:07:21] local.INFO: Packet analysis {"connection_id":54416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:07:21] local.INFO: Extracted packet for processing {"connection_id":54416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:07:21] 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-04-26 04: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-04-26 04:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:07: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-04-26 04:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":54416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:07:21] local.INFO: GPS data processed {"connection_id":54416,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:07:21] local.INFO: Acknowledgment sent {"connection_id":54416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:07:52] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:07:52] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:07:52] local.INFO: Packet analysis {"connection_id":54416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:07:52] local.INFO: Extracted packet for processing {"connection_id":54416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:07: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-04-26 04: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-04-26 04:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:07: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-04-26 04:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":54416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:07:52] local.INFO: GPS data processed {"connection_id":54416,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:07:52] local.INFO: Acknowledgment sent {"connection_id":54416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:08:15] local.INFO: TCP Data received {"connection_id":54154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:08:15] local.INFO: Processing buffer {"connection_id":54154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:08:15] local.INFO: IMEI packet received {"connection_id":54154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":54154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:08:20] local.INFO: TCP Data received {"connection_id":54154,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:08:20] local.INFO: Processing buffer {"connection_id":54154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:08:20] local.INFO: IMEI packet received {"connection_id":54154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:08:21] local.INFO: TCP Data received {"connection_id":54154,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:08:21] local.INFO: Processing buffer {"connection_id":54154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:08:21] local.INFO: Packet analysis {"connection_id":54154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:08:21] local.INFO: Extracted packet for processing {"connection_id":54154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:08:21] 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-04-26 04: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-04-26 04:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:08: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-04-26 04:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":54154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:08:21] local.INFO: GPS data processed {"connection_id":54154,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:08:21] local.INFO: Acknowledgment sent {"connection_id":54154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:08:52] local.INFO: TCP Data received {"connection_id":54154,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:08:52] local.INFO: Processing buffer {"connection_id":54154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6c697c8012cb299c007822ce0004200122f..."} 
[2026-04-26 04:08:52] local.INFO: Packet analysis {"connection_id":54154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:08:52] local.INFO: Extracted packet for processing {"connection_id":54154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6c6"} 
[2026-04-26 04:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":66,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454951960576001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156397000,"timestamp_ms":1777156397000,"timestamp_seconds":1777156397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6c697c8"} 
[2026-04-26 04:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:08: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-04-26 04: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-04-26 04:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:08: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-04-26 04:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454951960576001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454951960576001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:08:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454951960576001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":54154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:08:52] local.INFO: GPS data processed {"connection_id":54154,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:08:52] local.INFO: Acknowledgment sent {"connection_id":54154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:09:15] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:09:15] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:09:15] local.INFO: IMEI packet received {"connection_id":55081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":55081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:09:20] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:09:20] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:09:20] local.INFO: IMEI packet received {"connection_id":55081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":55081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:09:21] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:09:21] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:09:21] local.INFO: Packet analysis {"connection_id":55081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:09:21] local.INFO: Extracted packet for processing {"connection_id":55081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:09:21] 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-04-26 04: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-04-26 04:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:09: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-04-26 04:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":55081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:09:21] local.INFO: GPS data processed {"connection_id":55081,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:09:21] local.INFO: Acknowledgment sent {"connection_id":55081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:09:52] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:09:52] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:09:52] local.INFO: Packet analysis {"connection_id":55081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:09:52] local.INFO: Extracted packet for processing {"connection_id":55081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:09:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:09: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-04-26 04: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-04-26 04:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:09: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-04-26 04:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:09:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":55081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:09:52] local.INFO: GPS data processed {"connection_id":55081,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:09:52] local.INFO: Acknowledgment sent {"connection_id":55081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:10:01] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:10:01] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:10:01] local.INFO: IMEI packet received {"connection_id":54417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":54417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:10:15] local.INFO: TCP Data received {"connection_id":54156,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:10:15] local.INFO: Processing buffer {"connection_id":54156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:10:15] local.INFO: IMEI packet received {"connection_id":54156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:10:20] local.INFO: TCP Data received {"connection_id":54156,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:10:20] local.INFO: Processing buffer {"connection_id":54156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:10:20] local.INFO: IMEI packet received {"connection_id":54156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:10:21] local.INFO: TCP Data received {"connection_id":54156,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:10:21] local.INFO: Processing buffer {"connection_id":54156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:10:21] local.INFO: Packet analysis {"connection_id":54156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:10:21] local.INFO: Extracted packet for processing {"connection_id":54156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:10:21] 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-04-26 04: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-04-26 04:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:10: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-04-26 04:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":54156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:10:21] local.INFO: GPS data processed {"connection_id":54156,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:10:21] local.INFO: Acknowledgment sent {"connection_id":54156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:10:42] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:10:42] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:10:42] local.INFO: IMEI packet received {"connection_id":55082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":55082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:10:52] local.INFO: TCP Data received {"connection_id":54156,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:10:52] local.INFO: Processing buffer {"connection_id":54156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:10:52] local.INFO: Packet analysis {"connection_id":54156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:10:52] local.INFO: Extracted packet for processing {"connection_id":54156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:10: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-04-26 04: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-04-26 04:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:10: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-04-26 04:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":54156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:10:52] local.INFO: GPS data processed {"connection_id":54156,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:10:52] local.INFO: Acknowledgment sent {"connection_id":54156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:11:15] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:11:15] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:11:15] local.INFO: IMEI packet received {"connection_id":54350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:11:20] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:11:20] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:11:20] local.INFO: IMEI packet received {"connection_id":54350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:11:21] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:21] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:21] local.INFO: Packet analysis {"connection_id":54350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:11:21] local.INFO: Extracted packet for processing {"connection_id":54350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:11:21] 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-04-26 04: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-04-26 04:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:11: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-04-26 04:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:11:21] local.INFO: GPS data processed {"connection_id":54350,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:11:21] local.INFO: Acknowledgment sent {"connection_id":54350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:11:25] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:25] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:25] local.INFO: Packet analysis {"connection_id":54350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:11:25] local.INFO: Extracted packet for processing {"connection_id":54350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:11:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:11: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-04-26 04: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-04-26 04:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:11:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":54350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:11:25] local.INFO: GPS data processed {"connection_id":54350,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:11:25] local.INFO: Acknowledgment sent {"connection_id":54350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:11:56] local.INFO: TCP Data received {"connection_id":54350,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:56] local.INFO: Processing buffer {"connection_id":54350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:11:56] local.INFO: Packet analysis {"connection_id":54350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:11:56] local.INFO: Extracted packet for processing {"connection_id":54350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:11:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:11:56] 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-04-26 04: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-04-26 04:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:11:56] 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-04-26 04:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:11:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":54350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:11:56] local.INFO: GPS data processed {"connection_id":54350,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:11:56] local.INFO: Acknowledgment sent {"connection_id":54350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:12:15] local.INFO: TCP Data received {"connection_id":54157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:12:15] local.INFO: Processing buffer {"connection_id":54157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:12:15] local.INFO: IMEI packet received {"connection_id":54157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:12:20] local.INFO: TCP Data received {"connection_id":54157,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:12:20] local.INFO: Processing buffer {"connection_id":54157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:12:20] local.INFO: IMEI packet received {"connection_id":54157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:12:21] local.INFO: TCP Data received {"connection_id":54157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:12:21] local.INFO: Processing buffer {"connection_id":54157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:12:21] local.INFO: Packet analysis {"connection_id":54157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:12:21] local.INFO: Extracted packet for processing {"connection_id":54157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:12:21] 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-04-26 04: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-04-26 04:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:12: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-04-26 04:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":54157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:12:21] local.INFO: GPS data processed {"connection_id":54157,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:12:21] local.INFO: Acknowledgment sent {"connection_id":54157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:12:52] local.INFO: TCP Data received {"connection_id":54157,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:12:52] local.INFO: Processing buffer {"connection_id":54157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:12:52] local.INFO: Packet analysis {"connection_id":54157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:12:52] local.INFO: Extracted packet for processing {"connection_id":54157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:12: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-04-26 04: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-04-26 04:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:12:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":54157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:12:52] local.INFO: GPS data processed {"connection_id":54157,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:12:52] local.INFO: Acknowledgment sent {"connection_id":54157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:13:15] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:13:15] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:13:15] local.INFO: IMEI packet received {"connection_id":54351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":54351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:13:20] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:13:20] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:13:20] local.INFO: IMEI packet received {"connection_id":54351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":54351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:13:21] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:13:21] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:13:21] local.INFO: Packet analysis {"connection_id":54351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:13:21] local.INFO: Extracted packet for processing {"connection_id":54351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:13:21] 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-04-26 04: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-04-26 04:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:13:21] local.INFO: GPS data processed {"connection_id":54351,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:13:21] local.INFO: Acknowledgment sent {"connection_id":54351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:13:52] local.INFO: TCP Data received {"connection_id":54351,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:13:52] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cb2f90012cb299c007822ce0004100122e..."} 
[2026-04-26 04:13:52] local.INFO: Packet analysis {"connection_id":54351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:13:52] local.INFO: Extracted packet for processing {"connection_id":54351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cb"} 
[2026-04-26 04:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952037632001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156698000,"timestamp_ms":1777156698000,"timestamp_seconds":1777156698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cb2f90"} 
[2026-04-26 04:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:13: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-04-26 04: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-04-26 04:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952037632001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952037632001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952037632001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":54351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:13:52] local.INFO: GPS data processed {"connection_id":54351,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:13:52] local.INFO: Acknowledgment sent {"connection_id":54351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:14:20] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:14:20] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:14:20] local.INFO: IMEI packet received {"connection_id":55083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":55083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:14:25] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:14:25] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:14:25] local.INFO: IMEI packet received {"connection_id":55083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":55083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:14:26] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:14:26] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:14:26] local.INFO: Packet analysis {"connection_id":55083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:14:26] local.INFO: Extracted packet for processing {"connection_id":55083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:14:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:14:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 04:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:14:26] 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-04-26 04:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:14: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-04-26 04:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:14:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:14:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:14:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":55083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:14:26] local.INFO: GPS data processed {"connection_id":55083,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:14:26] local.INFO: Acknowledgment sent {"connection_id":55083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:14:30] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:14:30] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:14:30] local.INFO: Packet analysis {"connection_id":55083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:14:30] local.INFO: Extracted packet for processing {"connection_id":55083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 04:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:14:30] 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-04-26 04:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:14: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-04-26 04:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:14:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":55083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:14:30] local.INFO: GPS data processed {"connection_id":55083,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:14:30] local.INFO: Acknowledgment sent {"connection_id":55083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:15:15] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:15:15] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:15:15] local.INFO: IMEI packet received {"connection_id":55084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":55084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:15:20] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:15:20] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:15:20] local.INFO: IMEI packet received {"connection_id":55084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":55084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:15:21] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:15:21] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:15:21] local.INFO: Packet analysis {"connection_id":55084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:15:21] local.INFO: Extracted packet for processing {"connection_id":55084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:15:21] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:15: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-04-26 04:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":55084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:15:21] local.INFO: GPS data processed {"connection_id":55084,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:15:21] local.INFO: Acknowledgment sent {"connection_id":55084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:15:52] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:15:52] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:15:52] local.INFO: Packet analysis {"connection_id":55084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:15:52] local.INFO: Extracted packet for processing {"connection_id":55084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:15:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:15:52] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:15: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-04-26 04:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:15:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":55084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:15:52] local.INFO: GPS data processed {"connection_id":55084,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:15:52] local.INFO: Acknowledgment sent {"connection_id":55084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:16:01] local.INFO: TCP Data received {"connection_id":55085,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:16:01] local.INFO: Processing buffer {"connection_id":55085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:16:01] local.INFO: IMEI packet received {"connection_id":55085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":55085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:16:15] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:16:15] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:16:15] local.INFO: IMEI packet received {"connection_id":54352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:16:20] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:16:20] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:16:20] local.INFO: IMEI packet received {"connection_id":54352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:16:21] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:16:21] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:16:21] local.INFO: Packet analysis {"connection_id":54352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:16:21] local.INFO: Extracted packet for processing {"connection_id":54352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:16:21] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:16: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-04-26 04:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":54352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:16:21] local.INFO: GPS data processed {"connection_id":54352,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:16:21] local.INFO: Acknowledgment sent {"connection_id":54352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:16:41] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:16:41] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:16:41] local.INFO: IMEI packet received {"connection_id":54422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":54422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:16:52] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:16:52] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:16:52] local.INFO: Packet analysis {"connection_id":54352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:16:52] local.INFO: Extracted packet for processing {"connection_id":54352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:16:52] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:16: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-04-26 04:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:16:52] local.INFO: GPS data processed {"connection_id":54352,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:16:52] local.INFO: Acknowledgment sent {"connection_id":54352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:17:15] local.INFO: TCP Data received {"connection_id":55086,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:17:15] local.INFO: Processing buffer {"connection_id":55086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:17:15] local.INFO: IMEI packet received {"connection_id":55086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":55086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:17:20] local.INFO: TCP Data received {"connection_id":55086,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:17:20] local.INFO: Processing buffer {"connection_id":55086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:17:20] local.INFO: IMEI packet received {"connection_id":55086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":55086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:17:21] local.INFO: TCP Data received {"connection_id":55086,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:17:21] local.INFO: Processing buffer {"connection_id":55086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:17:21] local.INFO: Packet analysis {"connection_id":55086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:17:21] local.INFO: Extracted packet for processing {"connection_id":55086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:17:21] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:17: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-04-26 04:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":55086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:17:21] local.INFO: GPS data processed {"connection_id":55086,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:17:21] local.INFO: Acknowledgment sent {"connection_id":55086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:17:52] local.INFO: TCP Data received {"connection_id":55086,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:17:52] local.INFO: Processing buffer {"connection_id":55086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:17:52] local.INFO: Packet analysis {"connection_id":55086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:17:52] local.INFO: Extracted packet for processing {"connection_id":55086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:17:52] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:17: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-04-26 04:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":55086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:17:52] local.INFO: GPS data processed {"connection_id":55086,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:17:52] local.INFO: Acknowledgment sent {"connection_id":55086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:18:15] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:18:15] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:18:15] local.INFO: IMEI packet received {"connection_id":55087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":55087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:18:20] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:18:20] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:18:20] local.INFO: IMEI packet received {"connection_id":55087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":55087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:18:21] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:18:21] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:18:21] local.INFO: Packet analysis {"connection_id":55087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:18:21] local.INFO: Extracted packet for processing {"connection_id":55087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:18:21] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":55087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:18:21] local.INFO: GPS data processed {"connection_id":55087,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:18:21] local.INFO: Acknowledgment sent {"connection_id":55087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:18:52] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:18:52] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6cfc758012cb299c007822ce0004500122d..."} 
[2026-04-26 04:18:52] local.INFO: Packet analysis {"connection_id":55087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:18:52] local.INFO: Extracted packet for processing {"connection_id":55087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6cf"} 
[2026-04-26 04:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952114688001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777156999000,"timestamp_ms":1777156999000,"timestamp_seconds":1777156999,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6cfc758"} 
[2026-04-26 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-04-26 04:18:52] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952114688001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952114688001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952114688001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":55087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:18:52] local.INFO: GPS data processed {"connection_id":55087,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:18:52] local.INFO: Acknowledgment sent {"connection_id":55087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:19:20] local.INFO: TCP Data received {"connection_id":54423,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:19:20] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:19:20] local.INFO: IMEI packet received {"connection_id":54423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":54423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:19:25] local.INFO: TCP Data received {"connection_id":54423,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:19:25] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:19:25] local.INFO: IMEI packet received {"connection_id":54423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":54423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:19:26] local.INFO: TCP Data received {"connection_id":54423,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:19:26] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:19:26] local.INFO: Packet analysis {"connection_id":54423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:19:26] local.INFO: Extracted packet for processing {"connection_id":54423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:19:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 04:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:19:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":54423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:19:26] local.INFO: GPS data processed {"connection_id":54423,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:19:26] local.INFO: Acknowledgment sent {"connection_id":54423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:19:31] local.INFO: TCP Data received {"connection_id":54423,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:19:31] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:19:31] local.INFO: Packet analysis {"connection_id":54423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:19:31] local.INFO: Extracted packet for processing {"connection_id":54423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:19:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 04:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:19:31] 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-04-26 04: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-04-26 04:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:19:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:19:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":54423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:19:31] local.INFO: GPS data processed {"connection_id":54423,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:19:31] local.INFO: Acknowledgment sent {"connection_id":54423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:20:15] local.INFO: TCP Data received {"connection_id":54160,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:20:15] local.INFO: Processing buffer {"connection_id":54160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:20:15] local.INFO: IMEI packet received {"connection_id":54160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":54160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:20:20] local.INFO: TCP Data received {"connection_id":54160,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:20:20] local.INFO: Processing buffer {"connection_id":54160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:20:20] local.INFO: IMEI packet received {"connection_id":54160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":54160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:20:21] local.INFO: TCP Data received {"connection_id":54160,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:20:21] local.INFO: Processing buffer {"connection_id":54160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:20:21] local.INFO: Packet analysis {"connection_id":54160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:20:21] local.INFO: Extracted packet for processing {"connection_id":54160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:20: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-04-26 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-04-26 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-04-26 04:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":54160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:20:21] local.INFO: GPS data processed {"connection_id":54160,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:20:21] local.INFO: Acknowledgment sent {"connection_id":54160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:20:52] local.INFO: TCP Data received {"connection_id":54160,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:20:52] local.INFO: Processing buffer {"connection_id":54160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:20:52] local.INFO: Packet analysis {"connection_id":54160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:20:52] local.INFO: Extracted packet for processing {"connection_id":54160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:20:52] 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-04-26 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-04-26 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-04-26 04:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:20:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":54160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:20:52] local.INFO: GPS data processed {"connection_id":54160,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:20:52] local.INFO: Acknowledgment sent {"connection_id":54160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:21:15] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:21:15] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:21:15] local.INFO: IMEI packet received {"connection_id":55089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":55089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:21:20] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:21:20] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:21:20] local.INFO: IMEI packet received {"connection_id":55089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":55089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:21:21] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:21:21] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:21:21] local.INFO: Packet analysis {"connection_id":55089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:21:21] local.INFO: Extracted packet for processing {"connection_id":55089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:21: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-04-26 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-04-26 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-04-26 04:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":55089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:21:21] local.INFO: GPS data processed {"connection_id":55089,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:21:21] local.INFO: Acknowledgment sent {"connection_id":55089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:21:52] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:21:52] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:21:52] local.INFO: Packet analysis {"connection_id":55089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:21:52] local.INFO: Extracted packet for processing {"connection_id":55089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:21:52] 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-04-26 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-04-26 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-04-26 04:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:21:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":55089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:21:52] local.INFO: GPS data processed {"connection_id":55089,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:21:52] local.INFO: Acknowledgment sent {"connection_id":55089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:21:56] local.INFO: TCP Data received {"connection_id":54353,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:21:56] local.INFO: Processing buffer {"connection_id":54353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:21:56] local.INFO: IMEI packet received {"connection_id":54353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":54353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:22:15] local.INFO: TCP Data received {"connection_id":54162,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:22:15] local.INFO: Processing buffer {"connection_id":54162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:22:15] local.INFO: IMEI packet received {"connection_id":54162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":54162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:22:20] local.INFO: TCP Data received {"connection_id":54162,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:22:20] local.INFO: Processing buffer {"connection_id":54162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:22:20] local.INFO: IMEI packet received {"connection_id":54162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":54162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:22:21] local.INFO: TCP Data received {"connection_id":54162,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:22:21] local.INFO: Processing buffer {"connection_id":54162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:22:21] local.INFO: Packet analysis {"connection_id":54162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:22:21] local.INFO: Extracted packet for processing {"connection_id":54162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:22: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-04-26 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-04-26 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-04-26 04:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":54162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:22:21] local.INFO: GPS data processed {"connection_id":54162,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:22:21] local.INFO: Acknowledgment sent {"connection_id":54162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:22:41] local.INFO: TCP Data received {"connection_id":54354,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:22:41] local.INFO: Processing buffer {"connection_id":54354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:22:41] local.INFO: IMEI packet received {"connection_id":54354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":54354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:22:52] local.INFO: TCP Data received {"connection_id":54162,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:22:52] local.INFO: Processing buffer {"connection_id":54162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:22:52] local.INFO: Packet analysis {"connection_id":54162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:22:52] local.INFO: Extracted packet for processing {"connection_id":54162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:22:52] 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-04-26 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-04-26 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-04-26 04:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":54162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:22:52] local.INFO: GPS data processed {"connection_id":54162,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:22:52] local.INFO: Acknowledgment sent {"connection_id":54162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:23:15] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:23:15] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:23:15] local.INFO: IMEI packet received {"connection_id":55090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":55090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:23:20] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:23:20] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:23:20] local.INFO: IMEI packet received {"connection_id":55090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":55090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:23:21] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:23:21] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:23:21] local.INFO: Packet analysis {"connection_id":55090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:23:21] local.INFO: Extracted packet for processing {"connection_id":55090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:23: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-04-26 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-04-26 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-04-26 04:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":55090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:23:21] local.INFO: GPS data processed {"connection_id":55090,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:23:21] local.INFO: Acknowledgment sent {"connection_id":55090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:23:52] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:23:52] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d45f20012cb299c007822ce00047001231..."} 
[2026-04-26 04:23:52] local.INFO: Packet analysis {"connection_id":55090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:23:52] local.INFO: Extracted packet for processing {"connection_id":55090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d4"} 
[2026-04-26 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952191744001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157300000,"timestamp_ms":1777157300000,"timestamp_seconds":1777157300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d45f20"} 
[2026-04-26 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-04-26 04:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:23:52] 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-04-26 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-04-26 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-04-26 04:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952191744001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952191744001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:23:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:23:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952191744001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":55090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:23:52] local.INFO: GPS data processed {"connection_id":55090,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:23:52] local.INFO: Acknowledgment sent {"connection_id":55090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:24:20] local.INFO: TCP Data received {"connection_id":54355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:24:20] local.INFO: Processing buffer {"connection_id":54355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:24:20] local.INFO: IMEI packet received {"connection_id":54355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":54355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:24:25] local.INFO: TCP Data received {"connection_id":54355,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:24:25] local.INFO: Processing buffer {"connection_id":54355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:24:25] local.INFO: IMEI packet received {"connection_id":54355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":54355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:24:26] local.INFO: TCP Data received {"connection_id":54355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:24:26] local.INFO: Processing buffer {"connection_id":54355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:24:26] local.INFO: Packet analysis {"connection_id":54355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:24:26] local.INFO: Extracted packet for processing {"connection_id":54355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:24:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 04:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04:24:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:24:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":54355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:24:26] local.INFO: GPS data processed {"connection_id":54355,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:24:26] local.INFO: Acknowledgment sent {"connection_id":54355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:24:31] local.INFO: TCP Data received {"connection_id":54355,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:24:31] local.INFO: Processing buffer {"connection_id":54355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:24:31] local.INFO: Packet analysis {"connection_id":54355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:24:31] local.INFO: Extracted packet for processing {"connection_id":54355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 04:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:24:31] 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-04-26 04: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-04-26 04:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:24: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-04-26 04:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:24:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":54355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:24:31] local.INFO: GPS data processed {"connection_id":54355,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:24:31] local.INFO: Acknowledgment sent {"connection_id":54355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:25:15] local.INFO: TCP Data received {"connection_id":54165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:25:15] local.INFO: Processing buffer {"connection_id":54165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:25:15] local.INFO: IMEI packet received {"connection_id":54165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":54165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:25:20] local.INFO: TCP Data received {"connection_id":54165,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:25:20] local.INFO: Processing buffer {"connection_id":54165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:25:20] local.INFO: IMEI packet received {"connection_id":54165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":54165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:25:21] local.INFO: TCP Data received {"connection_id":54165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:25:21] local.INFO: Processing buffer {"connection_id":54165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:25:21] local.INFO: Packet analysis {"connection_id":54165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:25:21] local.INFO: Extracted packet for processing {"connection_id":54165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 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-04-26 04:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:25: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-04-26 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-04-26 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-04-26 04:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":54165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:25:21] local.INFO: GPS data processed {"connection_id":54165,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:25:21] local.INFO: Acknowledgment sent {"connection_id":54165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:25:51] local.INFO: TCP Data received {"connection_id":54165,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:25:51] local.INFO: Processing buffer {"connection_id":54165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:25:51] local.INFO: Packet analysis {"connection_id":54165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:25:51] local.INFO: Extracted packet for processing {"connection_id":54165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 04:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:25: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-04-26 04: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-04-26 04:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:25:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:25:51] local.INFO: GPS data processed {"connection_id":54165,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:25:51] local.INFO: Acknowledgment sent {"connection_id":54165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:26:15] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:26:15] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:26:15] local.INFO: IMEI packet received {"connection_id":54424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":54424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:26:20] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:26:20] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:26:20] local.INFO: IMEI packet received {"connection_id":54424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":54424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:26:21] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:26:21] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:26:21] local.INFO: Packet analysis {"connection_id":54424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:26:21] local.INFO: Extracted packet for processing {"connection_id":54424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 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-04-26 04:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:26: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-04-26 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-04-26 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-04-26 04:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":54424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:26:21] local.INFO: GPS data processed {"connection_id":54424,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:26:21] local.INFO: Acknowledgment sent {"connection_id":54424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:26:52] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:26:52] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:26:52] local.INFO: Packet analysis {"connection_id":54424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:26:52] local.INFO: Extracted packet for processing {"connection_id":54424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 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-04-26 04:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:26:52] 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-04-26 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-04-26 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-04-26 04:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:26:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":54424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:26:52] local.INFO: GPS data processed {"connection_id":54424,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:26:52] local.INFO: Acknowledgment sent {"connection_id":54424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:27:15] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:27:15] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:27:15] local.INFO: IMEI packet received {"connection_id":54358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":54358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:27:20] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:27:20] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:27:20] local.INFO: IMEI packet received {"connection_id":54358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:27:21] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:27:21] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:27:21] local.INFO: Packet analysis {"connection_id":54358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:27:21] local.INFO: Extracted packet for processing {"connection_id":54358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 04:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:27: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-04-26 04: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-04-26 04:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:27: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-04-26 04:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:27:21] local.INFO: GPS data processed {"connection_id":54358,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:27:21] local.INFO: Acknowledgment sent {"connection_id":54358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:27:51] local.INFO: TCP Data received {"connection_id":54358,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:27:51] local.INFO: Processing buffer {"connection_id":54358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:27:51] local.INFO: Packet analysis {"connection_id":54358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:27:51] local.INFO: Extracted packet for processing {"connection_id":54358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 04:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:27: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-04-26 04: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-04-26 04:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:27:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:27:51] local.INFO: GPS data processed {"connection_id":54358,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:27:51] local.INFO: Acknowledgment sent {"connection_id":54358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:28:01] local.INFO: TCP Data received {"connection_id":54166,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54166,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:28:01] local.INFO: Processing buffer {"connection_id":54166,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:28:01] local.INFO: IMEI packet received {"connection_id":54166,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":54166,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:28:15] local.INFO: TCP Data received {"connection_id":54167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:28:15] local.INFO: Processing buffer {"connection_id":54167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:28:15] local.INFO: IMEI packet received {"connection_id":54167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:28:20] local.INFO: TCP Data received {"connection_id":54167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:28:20] local.INFO: Processing buffer {"connection_id":54167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:28:20] local.INFO: IMEI packet received {"connection_id":54167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":54167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:28:21] local.INFO: TCP Data received {"connection_id":54167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:28:21] local.INFO: Processing buffer {"connection_id":54167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:28:21] local.INFO: Packet analysis {"connection_id":54167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:28:21] local.INFO: Extracted packet for processing {"connection_id":54167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 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-04-26 04:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:28: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-04-26 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-04-26 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-04-26 04:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:28:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":54167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:28:21] local.INFO: GPS data processed {"connection_id":54167,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:28:21] local.INFO: Acknowledgment sent {"connection_id":54167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:28:46] local.INFO: TCP Data received {"connection_id":54168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:28:46] local.INFO: Processing buffer {"connection_id":54168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:28:46] local.INFO: IMEI packet received {"connection_id":54168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":54168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:28:52] local.INFO: TCP Data received {"connection_id":54167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:28:52] local.INFO: Processing buffer {"connection_id":54167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6d8f6e8012cb299c007822ce00044001233..."} 
[2026-04-26 04:28:52] local.INFO: Packet analysis {"connection_id":54167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:28:52] local.INFO: Extracted packet for processing {"connection_id":54167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6d8"} 
[2026-04-26 04:28:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952268800001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157601000,"timestamp_ms":1777157601000,"timestamp_seconds":1777157601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6d8f6e8"} 
[2026-04-26 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-04-26 04:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:28:52] 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-04-26 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-04-26 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-04-26 04:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952268800001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952268800001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:28:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952268800001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":54167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:28:52] local.INFO: GPS data processed {"connection_id":54167,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:28:52] local.INFO: Acknowledgment sent {"connection_id":54167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:29:15] local.INFO: TCP Data received {"connection_id":54169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:29:15] local.INFO: Processing buffer {"connection_id":54169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:29:15] local.INFO: IMEI packet received {"connection_id":54169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":54169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:29:20] local.INFO: TCP Data received {"connection_id":54169,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:29:20] local.INFO: Processing buffer {"connection_id":54169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:29:20] local.INFO: IMEI packet received {"connection_id":54169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":54169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:29:21] local.INFO: TCP Data received {"connection_id":54169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:29:21] local.INFO: Processing buffer {"connection_id":54169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:29:21] local.INFO: Packet analysis {"connection_id":54169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:29:21] local.INFO: Extracted packet for processing {"connection_id":54169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 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-04-26 04:29:21] 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-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:29:21] 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-04-26 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-04-26 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-04-26 04:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":54169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:29:21] local.INFO: GPS data processed {"connection_id":54169,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:29:21] local.INFO: Acknowledgment sent {"connection_id":54169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:29:51] local.INFO: TCP Data received {"connection_id":54169,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:29:51] local.INFO: Processing buffer {"connection_id":54169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:29:51] local.INFO: Packet analysis {"connection_id":54169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:29:51] local.INFO: Extracted packet for processing {"connection_id":54169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 04:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:29:51] 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-04-26 04:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:29: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-04-26 04: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-04-26 04:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:29:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":54169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:29:51] local.INFO: GPS data processed {"connection_id":54169,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:29:51] local.INFO: Acknowledgment sent {"connection_id":54169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:30:15] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:30:15] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:30:15] local.INFO: IMEI packet received {"connection_id":54426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":54426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:30:20] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:30:20] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:30:20] local.INFO: IMEI packet received {"connection_id":54426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:30:21] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:30:21] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:30:21] local.INFO: Packet analysis {"connection_id":54426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:30:21] local.INFO: Extracted packet for processing {"connection_id":54426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 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-04-26 04:30:21] 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-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:30:21] 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-04-26 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-04-26 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-04-26 04:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:30:21] local.INFO: GPS data processed {"connection_id":54426,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:30:21] local.INFO: Acknowledgment sent {"connection_id":54426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:30:52] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:30:52] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:30:52] local.INFO: Packet analysis {"connection_id":54426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:30:52] local.INFO: Extracted packet for processing {"connection_id":54426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:30:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 04:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:30:52] 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-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:30: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-04-26 04: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-04-26 04:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:30:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":54426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:30:52] local.INFO: GPS data processed {"connection_id":54426,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:30:52] local.INFO: Acknowledgment sent {"connection_id":54426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:31:15] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:31:15] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:31:15] local.INFO: IMEI packet received {"connection_id":54360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":54360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:31:20] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:31:20] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:31:20] local.INFO: IMEI packet received {"connection_id":54360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":54360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:31:21] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:31:21] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:31:21] local.INFO: Packet analysis {"connection_id":54360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:31:21] local.INFO: Extracted packet for processing {"connection_id":54360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 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-04-26 04:31:21] 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-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:31:21] 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-04-26 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-04-26 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-04-26 04:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:31:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":54360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:31:21] local.INFO: GPS data processed {"connection_id":54360,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:31:21] local.INFO: Acknowledgment sent {"connection_id":54360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:31:51] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:31:51] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:31:51] local.INFO: Packet analysis {"connection_id":54360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:31:51] local.INFO: Extracted packet for processing {"connection_id":54360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:31:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 04:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:31:51] 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-04-26 04: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:31: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-04-26 04: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-04-26 04:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:31:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":54360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:31:51] local.INFO: GPS data processed {"connection_id":54360,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:31:51] local.INFO: Acknowledgment sent {"connection_id":54360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:32:15] local.INFO: TCP Data received {"connection_id":54171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:32:15] local.INFO: Processing buffer {"connection_id":54171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:32:15] local.INFO: IMEI packet received {"connection_id":54171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":54171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:32:20] local.INFO: TCP Data received {"connection_id":54171,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:32:20] local.INFO: Processing buffer {"connection_id":54171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:32:20] local.INFO: IMEI packet received {"connection_id":54171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":54171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:32:21] local.INFO: TCP Data received {"connection_id":54171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:32:21] local.INFO: Processing buffer {"connection_id":54171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:32:21] local.INFO: Packet analysis {"connection_id":54171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:32:21] local.INFO: Extracted packet for processing {"connection_id":54171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 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-04-26 04:32:21] 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-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:32:21] 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-04-26 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-04-26 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-04-26 04:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":54171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:32:21] local.INFO: GPS data processed {"connection_id":54171,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:32:21] local.INFO: Acknowledgment sent {"connection_id":54171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:32:52] local.INFO: TCP Data received {"connection_id":54171,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:32:52] local.INFO: Processing buffer {"connection_id":54171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:32:52] local.INFO: Packet analysis {"connection_id":54171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:32:52] local.INFO: Extracted packet for processing {"connection_id":54171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 04:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:32:52] 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-04-26 04:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:32: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-04-26 04: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-04-26 04:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":54171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:32:52] local.INFO: GPS data processed {"connection_id":54171,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:32:52] local.INFO: Acknowledgment sent {"connection_id":54171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:33:15] local.INFO: TCP Data received {"connection_id":54361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:33:15] local.INFO: Processing buffer {"connection_id":54361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:33:15] local.INFO: IMEI packet received {"connection_id":54361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:33:20] local.INFO: TCP Data received {"connection_id":54361,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:33:20] local.INFO: Processing buffer {"connection_id":54361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:33:20] local.INFO: IMEI packet received {"connection_id":54361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":54361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:33:21] local.INFO: TCP Data received {"connection_id":54361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:33:21] local.INFO: Processing buffer {"connection_id":54361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:33:21] local.INFO: Packet analysis {"connection_id":54361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:33:21] local.INFO: Extracted packet for processing {"connection_id":54361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 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-04-26 04:33:21] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:33:21] 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-04-26 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-04-26 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-04-26 04:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":54361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:33:21] local.INFO: GPS data processed {"connection_id":54361,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:33:21] local.INFO: Acknowledgment sent {"connection_id":54361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:33:52] local.INFO: TCP Data received {"connection_id":54361,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:33:52] local.INFO: Processing buffer {"connection_id":54361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6dd8eb0012cb299c007822ce00046001233..."} 
[2026-04-26 04:33:52] local.INFO: Packet analysis {"connection_id":54361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:33:52] local.INFO: Extracted packet for processing {"connection_id":54361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6dd"} 
[2026-04-26 04:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952345856001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777157902000,"timestamp_ms":1777157902000,"timestamp_seconds":1777157902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6dd8eb0"} 
[2026-04-26 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-04-26 04:33:52] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:33: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-04-26 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-04-26 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-04-26 04:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952345856001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952345856001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952345856001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":54361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:33:52] local.INFO: GPS data processed {"connection_id":54361,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:33:52] local.INFO: Acknowledgment sent {"connection_id":54361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:34:15] local.INFO: TCP Data received {"connection_id":54362,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:34:15] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:34:15] local.INFO: IMEI packet received {"connection_id":54362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":54362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:34:16] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:34:16] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:34:16] local.INFO: IMEI packet received {"connection_id":55092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":55092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:34:20] local.INFO: TCP Data received {"connection_id":54362,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:34:20] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:34:20] local.INFO: IMEI packet received {"connection_id":54362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":54362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:34:21] local.INFO: TCP Data received {"connection_id":54362,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:34:21] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:34:21] local.INFO: Packet analysis {"connection_id":54362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:34:21] local.INFO: Extracted packet for processing {"connection_id":54362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 04:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:34: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-04-26 04:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":54362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:34:21] local.INFO: GPS data processed {"connection_id":54362,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:34:21] local.INFO: Acknowledgment sent {"connection_id":54362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:34:41] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:34:41] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:34:41] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:34:52] local.INFO: TCP Data received {"connection_id":54362,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:34:52] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:34:52] local.INFO: Packet analysis {"connection_id":54362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:34:52] local.INFO: Extracted packet for processing {"connection_id":54362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 04:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:34:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:34: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-04-26 04:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":54362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:34:52] local.INFO: GPS data processed {"connection_id":54362,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:34:52] local.INFO: Acknowledgment sent {"connection_id":54362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:35:15] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:35:15] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:35:15] local.INFO: IMEI packet received {"connection_id":55094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":55094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:35:20] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:35:20] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:35:20] local.INFO: IMEI packet received {"connection_id":55094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":55094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:35:21] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:35:21] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:35:21] local.INFO: Packet analysis {"connection_id":55094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:35:21] local.INFO: Extracted packet for processing {"connection_id":55094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 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-04-26 04:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:35: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-04-26 04:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:35:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":55094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:35:21] local.INFO: GPS data processed {"connection_id":55094,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:35:21] local.INFO: Acknowledgment sent {"connection_id":55094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:35:52] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:35:52] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:35:52] local.INFO: Packet analysis {"connection_id":55094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:35:52] local.INFO: Extracted packet for processing {"connection_id":55094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 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-04-26 04:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:35: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-04-26 04:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:35:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":55094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:35:52] local.INFO: GPS data processed {"connection_id":55094,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:35:52] local.INFO: Acknowledgment sent {"connection_id":55094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:36:15] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:36:15] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:36:15] local.INFO: IMEI packet received {"connection_id":54428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":54428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:36:20] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:36:20] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:36:20] local.INFO: IMEI packet received {"connection_id":54428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":54428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:36:21] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:36:21] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:36:21] local.INFO: Packet analysis {"connection_id":54428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:36:21] local.INFO: Extracted packet for processing {"connection_id":54428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 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-04-26 04:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:36: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-04-26 04:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":54428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:36:21] local.INFO: GPS data processed {"connection_id":54428,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:36:21] local.INFO: Acknowledgment sent {"connection_id":54428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:36:52] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:36:52] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:36:52] local.INFO: Packet analysis {"connection_id":54428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:36:52] local.INFO: Extracted packet for processing {"connection_id":54428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:36:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 04:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:36:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:36: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-04-26 04:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:36:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":54428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:36:52] local.INFO: GPS data processed {"connection_id":54428,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:36:52] local.INFO: Acknowledgment sent {"connection_id":54428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:37:15] local.INFO: TCP Data received {"connection_id":54173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:37:15] local.INFO: Processing buffer {"connection_id":54173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:37:15] local.INFO: IMEI packet received {"connection_id":54173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:37:20] local.INFO: TCP Data received {"connection_id":54173,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:37:20] local.INFO: Processing buffer {"connection_id":54173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:37:20] local.INFO: IMEI packet received {"connection_id":54173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:37:21] local.INFO: TCP Data received {"connection_id":54173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:37:21] local.INFO: Processing buffer {"connection_id":54173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:37:21] local.INFO: Packet analysis {"connection_id":54173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:37:21] local.INFO: Extracted packet for processing {"connection_id":54173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 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-04-26 04:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:37:21] local.INFO: GPS data processed {"connection_id":54173,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:37:21] local.INFO: Acknowledgment sent {"connection_id":54173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:37:52] local.INFO: TCP Data received {"connection_id":54173,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:37:52] local.INFO: Processing buffer {"connection_id":54173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:37:52] local.INFO: Packet analysis {"connection_id":54173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:37:52] local.INFO: Extracted packet for processing {"connection_id":54173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:37:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 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-04-26 04:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 04:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:37:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":54173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:37:52] local.INFO: GPS data processed {"connection_id":54173,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:37:52] local.INFO: Acknowledgment sent {"connection_id":54173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:38:15] local.INFO: TCP Data received {"connection_id":54364,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:38:15] local.INFO: Processing buffer {"connection_id":54364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:38:15] local.INFO: IMEI packet received {"connection_id":54364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":54364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:38:20] local.INFO: TCP Data received {"connection_id":54364,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:38:20] local.INFO: Processing buffer {"connection_id":54364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:38:20] local.INFO: IMEI packet received {"connection_id":54364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:38:21] local.INFO: TCP Data received {"connection_id":54364,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:38:21] local.INFO: Processing buffer {"connection_id":54364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:38:21] local.INFO: Packet analysis {"connection_id":54364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:38:21] local.INFO: Extracted packet for processing {"connection_id":54364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 04:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 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-04-26 04:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 04:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:38:21] local.INFO: GPS data processed {"connection_id":54364,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:38:21] local.INFO: Acknowledgment sent {"connection_id":54364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:38:52] local.INFO: TCP Data received {"connection_id":54364,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:38:52] local.INFO: Processing buffer {"connection_id":54364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e22678012cb299c007822ce00041001230..."} 
[2026-04-26 04:38:52] local.INFO: Packet analysis {"connection_id":54364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:38:52] local.INFO: Extracted packet for processing {"connection_id":54364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e2"} 
[2026-04-26 04:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":65,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952422912001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158203000,"timestamp_ms":1777158203000,"timestamp_seconds":1777158203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e22678"} 
[2026-04-26 04:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952422912001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952422912001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952422912001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:38:52] local.INFO: GPS data processed {"connection_id":54364,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:38:52] local.INFO: Acknowledgment sent {"connection_id":54364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:39:15] local.INFO: TCP Data received {"connection_id":55095,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:39:15] local.INFO: Processing buffer {"connection_id":55095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:39:15] local.INFO: IMEI packet received {"connection_id":55095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":55095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:39:20] local.INFO: TCP Data received {"connection_id":55095,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:39:20] local.INFO: Processing buffer {"connection_id":55095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:39:20] local.INFO: IMEI packet received {"connection_id":55095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":55095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:39:21] local.INFO: TCP Data received {"connection_id":55095,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:39:21] local.INFO: Processing buffer {"connection_id":55095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:39:21] local.INFO: Packet analysis {"connection_id":55095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:39:21] local.INFO: Extracted packet for processing {"connection_id":55095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:39: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-04-26 04: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-04-26 04:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":55095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:39:21] local.INFO: GPS data processed {"connection_id":55095,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:39:21] local.INFO: Acknowledgment sent {"connection_id":55095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:39:52] local.INFO: TCP Data received {"connection_id":55095,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:39:52] local.INFO: Processing buffer {"connection_id":55095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:39:52] local.INFO: Packet analysis {"connection_id":55095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:39:52] local.INFO: Extracted packet for processing {"connection_id":55095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:39:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:39:52] 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-04-26 04: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-04-26 04:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:39:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":55095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:39:52] local.INFO: GPS data processed {"connection_id":55095,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:39:52] local.INFO: Acknowledgment sent {"connection_id":55095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:39:56] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:39:56] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:39:56] local.INFO: IMEI packet received {"connection_id":55096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":55096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:40:15] local.INFO: TCP Data received {"connection_id":54174,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:40:15] local.INFO: Processing buffer {"connection_id":54174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:40:15] local.INFO: IMEI packet received {"connection_id":54174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:40:20] local.INFO: TCP Data received {"connection_id":54174,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:40:20] local.INFO: Processing buffer {"connection_id":54174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:40:20] local.INFO: IMEI packet received {"connection_id":54174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:40:21] local.INFO: TCP Data received {"connection_id":54174,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:40:21] local.INFO: Processing buffer {"connection_id":54174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:40:21] local.INFO: Packet analysis {"connection_id":54174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:40:21] local.INFO: Extracted packet for processing {"connection_id":54174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:40: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-04-26 04: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-04-26 04:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:40: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-04-26 04:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":54174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:40:21] local.INFO: GPS data processed {"connection_id":54174,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:40:21] local.INFO: Acknowledgment sent {"connection_id":54174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:40:41] local.INFO: TCP Data received {"connection_id":54366,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:40:41] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:40:41] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:40:52] local.INFO: TCP Data received {"connection_id":54174,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:40:52] local.INFO: Processing buffer {"connection_id":54174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:40:52] local.INFO: Packet analysis {"connection_id":54174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:40:52] local.INFO: Extracted packet for processing {"connection_id":54174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:40:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:40:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:40:52] 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-04-26 04: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-04-26 04:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:40: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-04-26 04:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:40:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":54174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:40:52] local.INFO: GPS data processed {"connection_id":54174,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:40:52] local.INFO: Acknowledgment sent {"connection_id":54174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:41:15] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:41:15] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:41:15] local.INFO: IMEI packet received {"connection_id":55097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":55097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:41:20] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:41:20] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:41:20] local.INFO: IMEI packet received {"connection_id":55097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":55097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:41:21] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:41:21] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:41:21] local.INFO: Packet analysis {"connection_id":55097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:41:21] local.INFO: Extracted packet for processing {"connection_id":55097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:41: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-04-26 04: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-04-26 04:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:41: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-04-26 04:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":55097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:41:21] local.INFO: GPS data processed {"connection_id":55097,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:41:21] local.INFO: Acknowledgment sent {"connection_id":55097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:41:52] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:41:52] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:41:52] local.INFO: Packet analysis {"connection_id":55097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:41:52] local.INFO: Extracted packet for processing {"connection_id":55097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:41:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:41:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:41:52] 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-04-26 04: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-04-26 04:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:41: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-04-26 04:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:41:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:41:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":55097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:41:52] local.INFO: GPS data processed {"connection_id":55097,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:41:52] local.INFO: Acknowledgment sent {"connection_id":55097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:42:15] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:42:15] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:42:15] local.INFO: IMEI packet received {"connection_id":54431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":54431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:42:20] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:42:20] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:42:20] local.INFO: IMEI packet received {"connection_id":54431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":54431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:42:21] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:42:21] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:42:21] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:42:21] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04: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-04-26 04: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-04-26 04:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:42: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-04-26 04:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:42:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:42:21] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:42:21] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:42:52] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:42:52] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:42:52] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:42:52] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:42:52] 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-04-26 04: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-04-26 04:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:42: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-04-26 04:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:42:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:42:52] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:42:52] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:43:15] local.INFO: TCP Data received {"connection_id":54176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:43:15] local.INFO: Processing buffer {"connection_id":54176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:43:15] local.INFO: IMEI packet received {"connection_id":54176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":54176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:43:20] local.INFO: TCP Data received {"connection_id":54176,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:43:20] local.INFO: Processing buffer {"connection_id":54176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:43:20] local.INFO: IMEI packet received {"connection_id":54176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:43:21] local.INFO: TCP Data received {"connection_id":54176,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:43:21] local.INFO: Processing buffer {"connection_id":54176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:43:21] local.INFO: Packet analysis {"connection_id":54176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:43:21] local.INFO: Extracted packet for processing {"connection_id":54176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:43: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-04-26 04: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-04-26 04:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:43: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-04-26 04:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":54176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:43:21] local.INFO: GPS data processed {"connection_id":54176,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:43:21] local.INFO: Acknowledgment sent {"connection_id":54176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:43:52] local.INFO: TCP Data received {"connection_id":54176,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:43:52] local.INFO: Processing buffer {"connection_id":54176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6e6be40012cb299c007822ce00046001230..."} 
[2026-04-26 04:43:52] local.INFO: Packet analysis {"connection_id":54176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:43:52] local.INFO: Extracted packet for processing {"connection_id":54176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6e6"} 
[2026-04-26 04:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952499968001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158504000,"timestamp_ms":1777158504000,"timestamp_seconds":1777158504,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6e6be40"} 
[2026-04-26 04:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:43:52] 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-04-26 04: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-04-26 04:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:43: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-04-26 04:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952499968001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952499968001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952499968001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:43:52] local.INFO: GPS data processed {"connection_id":54176,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:43:52] local.INFO: Acknowledgment sent {"connection_id":54176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:44:20] local.INFO: TCP Data received {"connection_id":54177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:44:20] local.INFO: Processing buffer {"connection_id":54177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:44:20] local.INFO: IMEI packet received {"connection_id":54177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:44:25] local.INFO: TCP Data received {"connection_id":54177,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:44:25] local.INFO: Processing buffer {"connection_id":54177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:44:25] local.INFO: IMEI packet received {"connection_id":54177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":54177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:44:26] local.INFO: TCP Data received {"connection_id":54177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:44:26] local.INFO: Processing buffer {"connection_id":54177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:44:26] local.INFO: Packet analysis {"connection_id":54177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:44:26] local.INFO: Extracted packet for processing {"connection_id":54177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:44:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:44:26] 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-04-26 04:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:44: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-04-26 04:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:44:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":54177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:44:26] local.INFO: GPS data processed {"connection_id":54177,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:44:26] local.INFO: Acknowledgment sent {"connection_id":54177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:44:30] local.INFO: TCP Data received {"connection_id":54177,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:44:30] local.INFO: Processing buffer {"connection_id":54177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:44:30] local.INFO: Packet analysis {"connection_id":54177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:44:30] local.INFO: Extracted packet for processing {"connection_id":54177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:44: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-04-26 04:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:44:30] 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-04-26 04:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:44:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":54177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:44:30] local.INFO: GPS data processed {"connection_id":54177,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:44:30] local.INFO: Acknowledgment sent {"connection_id":54177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:45:15] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:45:15] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:45:15] local.INFO: IMEI packet received {"connection_id":54367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:45:20] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:45:20] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:45:20] local.INFO: IMEI packet received {"connection_id":54367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:45:21] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:45:21] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:45:21] local.INFO: Packet analysis {"connection_id":54367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:45:21] local.INFO: Extracted packet for processing {"connection_id":54367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:45:21] 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-04-26 04: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-04-26 04:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:45: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-04-26 04:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:45:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:45:21] local.INFO: GPS data processed {"connection_id":54367,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:45:21] local.INFO: Acknowledgment sent {"connection_id":54367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:45:52] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:45:52] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:45:52] local.INFO: Packet analysis {"connection_id":54367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:45:52] local.INFO: Extracted packet for processing {"connection_id":54367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:45: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-04-26 04: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-04-26 04:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:45: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-04-26 04:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:45:52] local.INFO: GPS data processed {"connection_id":54367,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:45:52] local.INFO: Acknowledgment sent {"connection_id":54367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:46:06] local.INFO: TCP Data received {"connection_id":55099,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:46:06] local.INFO: Processing buffer {"connection_id":55099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:46:06] local.INFO: IMEI packet received {"connection_id":55099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":55099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:46:15] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:46:15] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:46:15] local.INFO: IMEI packet received {"connection_id":54368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":54368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:46:20] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:46:20] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:46:20] local.INFO: IMEI packet received {"connection_id":54368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:46:21] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:46:21] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:46:21] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:46:21] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:46:21] 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-04-26 04: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-04-26 04:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:46: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-04-26 04:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:46:21] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:46:21] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:46:41] local.INFO: TCP Data received {"connection_id":54179,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:46:41] local.INFO: Processing buffer {"connection_id":54179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:46:41] local.INFO: IMEI packet received {"connection_id":54179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":54179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:46:52] local.INFO: TCP Data received {"connection_id":54368,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:46:52] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:46:52] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:46:52] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:46: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-04-26 04: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-04-26 04:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:46: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-04-26 04:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:46:52] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:46:52] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:47:15] local.INFO: TCP Data received {"connection_id":54180,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:47:15] local.INFO: Processing buffer {"connection_id":54180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:47:15] local.INFO: IMEI packet received {"connection_id":54180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":54180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:47:20] local.INFO: TCP Data received {"connection_id":54180,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:47:20] local.INFO: Processing buffer {"connection_id":54180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:47:20] local.INFO: IMEI packet received {"connection_id":54180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:47:21] local.INFO: TCP Data received {"connection_id":54180,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:47:21] local.INFO: Processing buffer {"connection_id":54180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:47:21] local.INFO: Packet analysis {"connection_id":54180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:47:21] local.INFO: Extracted packet for processing {"connection_id":54180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:47:21] 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-04-26 04: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-04-26 04:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:47: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-04-26 04:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:47:21] local.INFO: GPS data processed {"connection_id":54180,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:47:21] local.INFO: Acknowledgment sent {"connection_id":54180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:47:52] local.INFO: TCP Data received {"connection_id":54180,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:47:52] local.INFO: Processing buffer {"connection_id":54180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:47:52] local.INFO: Packet analysis {"connection_id":54180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:47:52] local.INFO: Extracted packet for processing {"connection_id":54180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:47: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-04-26 04:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:47: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-04-26 04:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:47:52] local.INFO: GPS data processed {"connection_id":54180,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:47:52] local.INFO: Acknowledgment sent {"connection_id":54180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:48:20] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:48:20] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:48:20] local.INFO: IMEI packet received {"connection_id":55100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":55100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:48:25] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:48:25] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:48:25] local.INFO: IMEI packet received {"connection_id":55100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":55100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:48:26] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:26] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:26] local.INFO: Packet analysis {"connection_id":55100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:48:26] local.INFO: Extracted packet for processing {"connection_id":55100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:48:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:48:26] 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-04-26 04:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:48: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-04-26 04:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:48:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:48:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:48:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":55100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:48:26] local.INFO: GPS data processed {"connection_id":55100,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:48:26] local.INFO: Acknowledgment sent {"connection_id":55100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:48:30] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:30] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:30] local.INFO: Packet analysis {"connection_id":55100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:48:30] local.INFO: Extracted packet for processing {"connection_id":55100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:48:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:48: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-04-26 04:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:48:30] 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-04-26 04:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:48:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":55100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:48:30] local.INFO: GPS data processed {"connection_id":55100,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:48:30] local.INFO: Acknowledgment sent {"connection_id":55100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:48:35] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:35] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6eb5608012cb299c007822ce00049001232..."} 
[2026-04-26 04:48:35] local.INFO: Packet analysis {"connection_id":55100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:48:35] local.INFO: Extracted packet for processing {"connection_id":55100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6eb"} 
[2026-04-26 04:48:35] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952577024001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777158805000,"timestamp_ms":1777158805000,"timestamp_seconds":1777158805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6eb5608"} 
[2026-04-26 04:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 04:48:35] 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-04-26 04:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:48:35] 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-04-26 04:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952577024001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952577024001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:48:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952577024001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":55100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:48:35] local.INFO: GPS data processed {"connection_id":55100,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:48:35] local.INFO: Acknowledgment sent {"connection_id":55100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:49:15] local.INFO: TCP Data received {"connection_id":54183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:49:15] local.INFO: Processing buffer {"connection_id":54183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:49:15] local.INFO: IMEI packet received {"connection_id":54183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":54183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:49:20] local.INFO: TCP Data received {"connection_id":54183,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:49:20] local.INFO: Processing buffer {"connection_id":54183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:49:20] local.INFO: IMEI packet received {"connection_id":54183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":54183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:49:21] local.INFO: TCP Data received {"connection_id":54183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:49:21] local.INFO: Processing buffer {"connection_id":54183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:49:21] local.INFO: Packet analysis {"connection_id":54183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:49:21] local.INFO: Extracted packet for processing {"connection_id":54183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:49:21] 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-04-26 04: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-04-26 04:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:49: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-04-26 04:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":54183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:49:21] local.INFO: GPS data processed {"connection_id":54183,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:49:21] local.INFO: Acknowledgment sent {"connection_id":54183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:49:52] local.INFO: TCP Data received {"connection_id":54183,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:49:52] local.INFO: Processing buffer {"connection_id":54183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:49:52] local.INFO: Packet analysis {"connection_id":54183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:49:52] local.INFO: Extracted packet for processing {"connection_id":54183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:49: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-04-26 04: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-04-26 04:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:49: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-04-26 04:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:49:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":54183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:49:52] local.INFO: GPS data processed {"connection_id":54183,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:49:52] local.INFO: Acknowledgment sent {"connection_id":54183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:50:15] local.INFO: TCP Data received {"connection_id":54434,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:50:15] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:50:15] local.INFO: IMEI packet received {"connection_id":54434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:50:20] local.INFO: TCP Data received {"connection_id":54434,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:50:20] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:50:20] local.INFO: IMEI packet received {"connection_id":54434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:50:21] local.INFO: TCP Data received {"connection_id":54434,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:50:21] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:50:21] local.INFO: Packet analysis {"connection_id":54434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:50:21] local.INFO: Extracted packet for processing {"connection_id":54434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:50:21] 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-04-26 04: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-04-26 04:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:50: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-04-26 04:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":54434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:50:21] local.INFO: GPS data processed {"connection_id":54434,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:50:21] local.INFO: Acknowledgment sent {"connection_id":54434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:50:52] local.INFO: TCP Data received {"connection_id":54434,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:50:52] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:50:52] local.INFO: Packet analysis {"connection_id":54434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:50:52] local.INFO: Extracted packet for processing {"connection_id":54434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:50:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04: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-04-26 04: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-04-26 04:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:50: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-04-26 04:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:50:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":54434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:50:52] local.INFO: GPS data processed {"connection_id":54434,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:50:52] local.INFO: Acknowledgment sent {"connection_id":54434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:51:15] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:51:15] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:51:15] local.INFO: IMEI packet received {"connection_id":54369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":54369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:51:20] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:51:20] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:51:20] local.INFO: IMEI packet received {"connection_id":54369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":54369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:51:21] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:51:21] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:51:21] local.INFO: Packet analysis {"connection_id":54369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:51:21] local.INFO: Extracted packet for processing {"connection_id":54369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:51:21] 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-04-26 04: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-04-26 04:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":54369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:51:21] local.INFO: GPS data processed {"connection_id":54369,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:51:21] local.INFO: Acknowledgment sent {"connection_id":54369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:51:52] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:51:52] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:51:52] local.INFO: Packet analysis {"connection_id":54369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:51:52] local.INFO: Extracted packet for processing {"connection_id":54369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:51: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-04-26 04:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:51:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":54369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:51:52] local.INFO: GPS data processed {"connection_id":54369,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:51:52] local.INFO: Acknowledgment sent {"connection_id":54369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:52:01] local.INFO: TCP Data received {"connection_id":54184,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:52:01] local.INFO: Processing buffer {"connection_id":54184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:52:01] local.INFO: IMEI packet received {"connection_id":54184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":54184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:52:15] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:52:15] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:52:15] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:52:20] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:52:20] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:52:20] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:52:21] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:52:21] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:52:21] local.INFO: Packet analysis {"connection_id":55101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:52:21] local.INFO: Extracted packet for processing {"connection_id":55101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:52:21] 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-04-26 04: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-04-26 04:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:52: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-04-26 04:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":55101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:52:21] local.INFO: GPS data processed {"connection_id":55101,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:52:21] local.INFO: Acknowledgment sent {"connection_id":55101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:52:41] local.INFO: TCP Data received {"connection_id":54436,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:52:41] local.INFO: Processing buffer {"connection_id":54436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:52:41] local.INFO: IMEI packet received {"connection_id":54436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":54436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:52:52] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:52:52] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:52:52] local.INFO: Packet analysis {"connection_id":55101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:52:52] local.INFO: Extracted packet for processing {"connection_id":55101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:52: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-04-26 04: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-04-26 04:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:52: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-04-26 04:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":55101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:52:52] local.INFO: GPS data processed {"connection_id":55101,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:52:52] local.INFO: Acknowledgment sent {"connection_id":55101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:53:20] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:53:20] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:53:20] local.INFO: IMEI packet received {"connection_id":54370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:53:25] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:53:25] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:53:25] local.INFO: IMEI packet received {"connection_id":54370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":54370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:53:26] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:53:26] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:53:26] local.INFO: Packet analysis {"connection_id":54370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:53:26] local.INFO: Extracted packet for processing {"connection_id":54370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:53:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:53: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-04-26 04: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-04-26 04:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:53:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":54370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:53:26] local.INFO: GPS data processed {"connection_id":54370,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:53:26] local.INFO: Acknowledgment sent {"connection_id":54370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:53:30] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:53:30] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6efedd0012cb299c007822ce0004a001230..."} 
[2026-04-26 04:53:30] local.INFO: Packet analysis {"connection_id":54370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:53:30] local.INFO: Extracted packet for processing {"connection_id":54370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6ef"} 
[2026-04-26 04:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952654080001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777159106000,"timestamp_ms":1777159106000,"timestamp_seconds":1777159106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6efedd0"} 
[2026-04-26 04:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 04:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952654080001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952654080001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:53:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952654080001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":54370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:53:30] local.INFO: GPS data processed {"connection_id":54370,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:53:30] local.INFO: Acknowledgment sent {"connection_id":54370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:54:15] local.INFO: TCP Data received {"connection_id":55102,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:54:15] local.INFO: Processing buffer {"connection_id":55102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:54:15] local.INFO: IMEI packet received {"connection_id":55102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":55102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:54:20] local.INFO: TCP Data received {"connection_id":55102,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:54:20] local.INFO: Processing buffer {"connection_id":55102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:54:20] local.INFO: IMEI packet received {"connection_id":55102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":55102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:54:20] local.INFO: TCP Data received {"connection_id":55102,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:20] local.INFO: Processing buffer {"connection_id":55102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:20] local.INFO: Packet analysis {"connection_id":55102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:54:20] local.INFO: Extracted packet for processing {"connection_id":55102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:54:20] 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-04-26 04:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:54:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":55102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:54:21] local.INFO: GPS data processed {"connection_id":55102,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:54:21] local.INFO: Acknowledgment sent {"connection_id":55102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:54:25] local.INFO: TCP Data received {"connection_id":55102,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:25] local.INFO: Processing buffer {"connection_id":55102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:25] local.INFO: Packet analysis {"connection_id":55102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:54:25] local.INFO: Extracted packet for processing {"connection_id":55102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:54:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:54:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":55102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:54:25] local.INFO: GPS data processed {"connection_id":55102,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:54:25] local.INFO: Acknowledgment sent {"connection_id":55102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:54:56] local.INFO: TCP Data received {"connection_id":55102,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:56] local.INFO: Processing buffer {"connection_id":55102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:54:56] local.INFO: Packet analysis {"connection_id":55102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:54:56] local.INFO: Extracted packet for processing {"connection_id":55102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:54:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:54:56] 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-04-26 04:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:54:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:54:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":55102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:54:56] local.INFO: GPS data processed {"connection_id":55102,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:54:56] local.INFO: Acknowledgment sent {"connection_id":55102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:55:15] local.INFO: TCP Data received {"connection_id":54371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:55:15] local.INFO: Processing buffer {"connection_id":54371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:55:15] local.INFO: IMEI packet received {"connection_id":54371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:55:20] local.INFO: TCP Data received {"connection_id":54371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:55:20] local.INFO: Processing buffer {"connection_id":54371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:55:20] local.INFO: IMEI packet received {"connection_id":54371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:55:21] local.INFO: TCP Data received {"connection_id":54371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:55:21] local.INFO: Processing buffer {"connection_id":54371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:55:21] local.INFO: Packet analysis {"connection_id":54371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:55:21] local.INFO: Extracted packet for processing {"connection_id":54371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":54371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:55:21] local.INFO: GPS data processed {"connection_id":54371,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:55:21] local.INFO: Acknowledgment sent {"connection_id":54371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:55:52] local.INFO: TCP Data received {"connection_id":54371,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:55:52] local.INFO: Processing buffer {"connection_id":54371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:55:52] local.INFO: Packet analysis {"connection_id":54371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:55:52] local.INFO: Extracted packet for processing {"connection_id":54371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04: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-04-26 04:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":54371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:55:52] local.INFO: GPS data processed {"connection_id":54371,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:55:52] local.INFO: Acknowledgment sent {"connection_id":54371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:56:15] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:56:15] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:56:15] local.INFO: IMEI packet received {"connection_id":54440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":54440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:56:20] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:56:20] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:56:20] local.INFO: IMEI packet received {"connection_id":54440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":54440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:56:21] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:56:21] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:56:21] local.INFO: Packet analysis {"connection_id":54440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:56:21] local.INFO: Extracted packet for processing {"connection_id":54440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:56:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:56:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:56:21] 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-04-26 04:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":54440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:56:21] local.INFO: GPS data processed {"connection_id":54440,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:56:21] local.INFO: Acknowledgment sent {"connection_id":54440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:56:52] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:56:52] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:56:52] local.INFO: Packet analysis {"connection_id":54440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:56:52] local.INFO: Extracted packet for processing {"connection_id":54440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:56:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:56:52] 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-04-26 04:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:56:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":54440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:56:52] local.INFO: GPS data processed {"connection_id":54440,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:56:52] local.INFO: Acknowledgment sent {"connection_id":54440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:57:15] local.INFO: TCP Data received {"connection_id":54185,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:57:15] local.INFO: Processing buffer {"connection_id":54185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:57:15] local.INFO: IMEI packet received {"connection_id":54185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":54185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:57:20] local.INFO: TCP Data received {"connection_id":54185,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:57:20] local.INFO: Processing buffer {"connection_id":54185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:57:20] local.INFO: IMEI packet received {"connection_id":54185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:57:21] local.INFO: TCP Data received {"connection_id":54185,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:57:21] local.INFO: Processing buffer {"connection_id":54185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:57:21] local.INFO: Packet analysis {"connection_id":54185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:57:21] local.INFO: Extracted packet for processing {"connection_id":54185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:57: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-04-26 04:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":54185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:57:21] local.INFO: GPS data processed {"connection_id":54185,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:57:21] local.INFO: Acknowledgment sent {"connection_id":54185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:57:52] local.INFO: TCP Data received {"connection_id":54185,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:57:52] local.INFO: Processing buffer {"connection_id":54185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:57:52] local.INFO: Packet analysis {"connection_id":54185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:57:52] local.INFO: Extracted packet for processing {"connection_id":54185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:57: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-04-26 04:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:57:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":54185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:57:53] local.INFO: GPS data processed {"connection_id":54185,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:57:53] local.INFO: Acknowledgment sent {"connection_id":54185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:58:06] local.INFO: TCP Data received {"connection_id":54372,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:58:06] local.INFO: Processing buffer {"connection_id":54372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:58:06] local.INFO: IMEI packet received {"connection_id":54372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":54372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:58:20] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:58:20] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:58:20] local.INFO: IMEI packet received {"connection_id":54373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":54373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:58:25] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:58:25] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:58:25] local.INFO: IMEI packet received {"connection_id":54373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":54373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:58:26] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:58:26] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:58:26] local.INFO: Packet analysis {"connection_id":54373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:58:26] local.INFO: Extracted packet for processing {"connection_id":54373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:58:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 04:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 04:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:58:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":54373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:58:26] local.INFO: GPS data processed {"connection_id":54373,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:58:26] local.INFO: Acknowledgment sent {"connection_id":54373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:58:30] local.INFO: TCP Data received {"connection_id":54373,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:58:30] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f48598012cb299c007822ce00047001230..."} 
[2026-04-26 04:58:30] local.INFO: Packet analysis {"connection_id":54373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:58:30] local.INFO: Extracted packet for processing {"connection_id":54373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f4"} 
[2026-04-26 04:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952731136001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777159407000,"timestamp_ms":1777159407000,"timestamp_seconds":1777159407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f48598"} 
[2026-04-26 04:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 04:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 04: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-04-26 04:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 04:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952731136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952731136001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:58:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952731136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":54373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:58:30] local.INFO: GPS data processed {"connection_id":54373,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:58:30] local.INFO: Acknowledgment sent {"connection_id":54373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:58:46] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:58:46] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 04:58:46] local.INFO: IMEI packet received {"connection_id":55103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 04:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":55103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:59:15] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:59:15] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:59:15] local.INFO: IMEI packet received {"connection_id":54374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 04:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":54374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 04:59:20] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:59:20] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 04:59:20] local.INFO: IMEI packet received {"connection_id":54374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 04:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 04:59:21] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 04:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 04:59:21] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 04:59:21] local.INFO: Packet analysis {"connection_id":54374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 04:59:21] local.INFO: Extracted packet for processing {"connection_id":54374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 04:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 04:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:59: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-04-26 04: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-04-26 04:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:59: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-04-26 04:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":54374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:59:21] local.INFO: GPS data processed {"connection_id":54374,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:59:21] local.INFO: Acknowledgment sent {"connection_id":54374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 04:59:52] local.INFO: TCP Data received {"connection_id":54374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 04:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 04:59:52] local.INFO: Processing buffer {"connection_id":54374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 04:59:52] local.INFO: Packet analysis {"connection_id":54374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 04:59:52] local.INFO: Extracted packet for processing {"connection_id":54374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 04:59:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 04: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-04-26 04:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 04:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 04:59:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 04:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 04:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 04:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 04:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 04: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 04:59:52] 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-04-26 04: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-04-26 04:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 04:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 04:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 04:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 04:59: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-04-26 04:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 04:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 04:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 04:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 04:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 04:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 04:59:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 04:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 04:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 04:59:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 04:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 04:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":54374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 04:59:52] local.INFO: GPS data processed {"connection_id":54374,"processed":1,"errors":0,"total":1} 
[2026-04-26 04:59:52] local.INFO: Acknowledgment sent {"connection_id":54374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:00:15] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:00:15] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:00:15] local.INFO: IMEI packet received {"connection_id":54442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":54442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:00:20] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:00:20] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:00:20] local.INFO: IMEI packet received {"connection_id":54442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":54442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:00:21] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:00:21] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:00:21] local.INFO: Packet analysis {"connection_id":54442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:00:21] local.INFO: Extracted packet for processing {"connection_id":54442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 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-04-26 05:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:00: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-04-26 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-04-26 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-04-26 05:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:00: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-04-26 05:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":54442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:00:21] local.INFO: GPS data processed {"connection_id":54442,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:00:21] local.INFO: Acknowledgment sent {"connection_id":54442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:00:52] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:00:52] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:00:52] local.INFO: Packet analysis {"connection_id":54442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:00:52] local.INFO: Extracted packet for processing {"connection_id":54442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:00:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 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-04-26 05:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:00:52] 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-04-26 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-04-26 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-04-26 05:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:00: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-04-26 05:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:00:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":54442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:00:52] local.INFO: GPS data processed {"connection_id":54442,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:00:52] local.INFO: Acknowledgment sent {"connection_id":54442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:01:15] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:01:15] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:01:15] local.INFO: IMEI packet received {"connection_id":54375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":54375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:01:20] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:01:20] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:01:20] local.INFO: IMEI packet received {"connection_id":54375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:01:21] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:01:21] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:01:21] local.INFO: Packet analysis {"connection_id":54375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:01:21] local.INFO: Extracted packet for processing {"connection_id":54375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 05:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:01: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-04-26 05: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-04-26 05:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":54375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:01:21] local.INFO: GPS data processed {"connection_id":54375,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:01:21] local.INFO: Acknowledgment sent {"connection_id":54375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:01:52] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:01:52] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:01:52] local.INFO: Packet analysis {"connection_id":54375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:01:52] local.INFO: Extracted packet for processing {"connection_id":54375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 05:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:01:52] 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-04-26 05: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-04-26 05:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":54375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:01:52] local.INFO: GPS data processed {"connection_id":54375,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:01:52] local.INFO: Acknowledgment sent {"connection_id":54375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:02:15] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:02:15] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:02:15] local.INFO: IMEI packet received {"connection_id":55104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":55104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:02:20] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:02:20] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:02:20] local.INFO: IMEI packet received {"connection_id":55104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":55104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:02:21] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:02:21] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:02:21] local.INFO: Packet analysis {"connection_id":55104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:02:21] local.INFO: Extracted packet for processing {"connection_id":55104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 05:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:02: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-04-26 05: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-04-26 05:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":55104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:02:21] local.INFO: GPS data processed {"connection_id":55104,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:02:21] local.INFO: Acknowledgment sent {"connection_id":55104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:02:52] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:02:52] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:02:52] local.INFO: Packet analysis {"connection_id":55104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:02:52] local.INFO: Extracted packet for processing {"connection_id":55104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:02:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 05:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:02:52] 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-04-26 05: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-04-26 05:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:02:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":55104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:02:52] local.INFO: GPS data processed {"connection_id":55104,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:02:52] local.INFO: Acknowledgment sent {"connection_id":55104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:03:15] local.INFO: TCP Data received {"connection_id":54443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:03:15] local.INFO: Processing buffer {"connection_id":54443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:03:15] local.INFO: IMEI packet received {"connection_id":54443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":54443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:03:20] local.INFO: TCP Data received {"connection_id":54443,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:03:20] local.INFO: Processing buffer {"connection_id":54443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:03:20] local.INFO: IMEI packet received {"connection_id":54443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:03:20] local.INFO: TCP Data received {"connection_id":54443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:03:20] local.INFO: Processing buffer {"connection_id":54443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:03:20] local.INFO: Packet analysis {"connection_id":54443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:03:20] local.INFO: Extracted packet for processing {"connection_id":54443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 05:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:03: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-04-26 05: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-04-26 05:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":54443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:03:21] local.INFO: GPS data processed {"connection_id":54443,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:03:21] local.INFO: Acknowledgment sent {"connection_id":54443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:03:51] local.INFO: TCP Data received {"connection_id":54443,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:03:51] local.INFO: Processing buffer {"connection_id":54443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6f91d60012cb299c007822ce00043001231..."} 
[2026-04-26 05:03:51] local.INFO: Packet analysis {"connection_id":54443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:03:51] local.INFO: Extracted packet for processing {"connection_id":54443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6f9"} 
[2026-04-26 05:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952808192001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777159708000,"timestamp_ms":1777159708000,"timestamp_seconds":1777159708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6f91d60"} 
[2026-04-26 05:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:03: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-04-26 05: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-04-26 05:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:03: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-04-26 05:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952808192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952808192001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:03:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952808192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:03:51] local.INFO: GPS data processed {"connection_id":54443,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:03:51] local.INFO: Acknowledgment sent {"connection_id":54443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:04:01] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:04:01] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:04:01] local.INFO: IMEI packet received {"connection_id":55105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":55105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:04:20] local.INFO: TCP Data received {"connection_id":54376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:04:20] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:04:20] local.INFO: IMEI packet received {"connection_id":54376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":54376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:04:25] local.INFO: TCP Data received {"connection_id":54376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:04:25] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:04:25] local.INFO: IMEI packet received {"connection_id":54376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":54376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:04:39] local.INFO: TCP Data received {"connection_id":54376,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:04:39] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:04:39] local.INFO: Packet analysis {"connection_id":54376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:04:39] local.INFO: Extracted packet for processing {"connection_id":54376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:04:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:04:39] 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-04-26 05:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:04:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:04:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:04:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":54376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:04:39] local.INFO: GPS data processed {"connection_id":54376,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:04:39] local.INFO: Acknowledgment sent {"connection_id":54376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:04:41] local.INFO: TCP Data received {"connection_id":54190,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:04:41] local.INFO: Processing buffer {"connection_id":54190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:04:41] local.INFO: IMEI packet received {"connection_id":54190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":54190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:04:53] local.INFO: TCP Data received {"connection_id":54376,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:04:53] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:04:53] local.INFO: Packet analysis {"connection_id":54376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:04:53] local.INFO: Extracted packet for processing {"connection_id":54376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:04:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:04:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 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-04-26 05:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:04: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-04-26 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-04-26 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-04-26 05:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:04:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:04:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:04:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":54376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:04:53] local.INFO: GPS data processed {"connection_id":54376,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:04:53] local.INFO: Acknowledgment sent {"connection_id":54376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:05:15] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:05:15] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:05:15] local.INFO: IMEI packet received {"connection_id":54377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":54377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:05:20] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:05:20] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:05:20] local.INFO: IMEI packet received {"connection_id":54377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:05:21] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:05:21] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:05:21] local.INFO: Packet analysis {"connection_id":54377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:05:21] local.INFO: Extracted packet for processing {"connection_id":54377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:05: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-04-26 05: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-04-26 05:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:05: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-04-26 05:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":54377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:05:21] local.INFO: GPS data processed {"connection_id":54377,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:05:21] local.INFO: Acknowledgment sent {"connection_id":54377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:05:52] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:05:52] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:05:52] local.INFO: Packet analysis {"connection_id":54377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:05:52] local.INFO: Extracted packet for processing {"connection_id":54377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:05:52] 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-04-26 05: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-04-26 05:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:05: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-04-26 05:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":54377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:05:52] local.INFO: GPS data processed {"connection_id":54377,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:05:52] local.INFO: Acknowledgment sent {"connection_id":54377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:06:15] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:06:15] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:06:15] local.INFO: IMEI packet received {"connection_id":54379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:06:20] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:06:20] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:06:20] local.INFO: IMEI packet received {"connection_id":54379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":54379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:06:21] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:06:21] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:06:21] local.INFO: Packet analysis {"connection_id":54379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:06:21] local.INFO: Extracted packet for processing {"connection_id":54379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:06: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-04-26 05: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-04-26 05:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:06: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-04-26 05:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":54379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:06:21] local.INFO: GPS data processed {"connection_id":54379,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:06:21] local.INFO: Acknowledgment sent {"connection_id":54379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:06:52] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:06:52] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:06:52] local.INFO: Packet analysis {"connection_id":54379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:06:52] local.INFO: Extracted packet for processing {"connection_id":54379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:06:52] 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-04-26 05: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-04-26 05:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:06: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-04-26 05:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:06:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":54379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:06:52] local.INFO: GPS data processed {"connection_id":54379,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:06:52] local.INFO: Acknowledgment sent {"connection_id":54379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:07:15] local.INFO: TCP Data received {"connection_id":54192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:07:15] local.INFO: Processing buffer {"connection_id":54192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:07:15] local.INFO: IMEI packet received {"connection_id":54192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":54192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:07:20] local.INFO: TCP Data received {"connection_id":54192,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:07:20] local.INFO: Processing buffer {"connection_id":54192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:07:20] local.INFO: IMEI packet received {"connection_id":54192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":54192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:07:21] local.INFO: TCP Data received {"connection_id":54192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:07:21] local.INFO: Processing buffer {"connection_id":54192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:07:21] local.INFO: Packet analysis {"connection_id":54192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:07:21] local.INFO: Extracted packet for processing {"connection_id":54192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:07:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:07: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-04-26 05: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-04-26 05:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:07: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-04-26 05:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":54192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:07:21] local.INFO: GPS data processed {"connection_id":54192,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:07:21] local.INFO: Acknowledgment sent {"connection_id":54192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:07:52] local.INFO: TCP Data received {"connection_id":54192,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:07:52] local.INFO: Processing buffer {"connection_id":54192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:07:52] local.INFO: Packet analysis {"connection_id":54192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:07:52] local.INFO: Extracted packet for processing {"connection_id":54192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:07:52] 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-04-26 05: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-04-26 05:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:07: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-04-26 05:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":54192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:07:52] local.INFO: GPS data processed {"connection_id":54192,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:07:52] local.INFO: Acknowledgment sent {"connection_id":54192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:08:20] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:08:20] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:08:20] local.INFO: IMEI packet received {"connection_id":54380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:08:25] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:08:25] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:08:25] local.INFO: IMEI packet received {"connection_id":54380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:08:25] local.INFO: IMEI acknowledgment sent {"connection_id":54380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:08:26] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:08:26] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:08:26] local.INFO: Packet analysis {"connection_id":54380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:08:26] local.INFO: Extracted packet for processing {"connection_id":54380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:08:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:08:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:08:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:08:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:08:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:08:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 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-04-26 05:08:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:08:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:08:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:08:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:08:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:08:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:08: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-04-26 05:08:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:08:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:08:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:08:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:08:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:08:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:08:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:08:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:08:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:08:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:08:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:08:26] local.INFO: DEBUG: GPS processor result {"connection_id":54380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:08:26] local.INFO: GPS data processed {"connection_id":54380,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:08:26] local.INFO: Acknowledgment sent {"connection_id":54380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:08:30] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:08:30] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc6fdb528012cb299c007822ce00043001230..."} 
[2026-04-26 05:08:30] local.INFO: Packet analysis {"connection_id":54380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:08:30] local.INFO: Extracted packet for processing {"connection_id":54380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc6fd"} 
[2026-04-26 05:08:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952885248001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777160009000,"timestamp_ms":1777160009000,"timestamp_seconds":1777160009,"priority":1,"record_length":96,"hex_timestamp":"0000019dc6fdb528"} 
[2026-04-26 05:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:08: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-04-26 05:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952885248001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952885248001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:08:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952885248001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":54380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:08:30] local.INFO: GPS data processed {"connection_id":54380,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:08:30] local.INFO: Acknowledgment sent {"connection_id":54380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:09:15] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:09:15] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:09:15] local.INFO: IMEI packet received {"connection_id":54445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":54445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:09:20] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:09:20] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:09:20] local.INFO: IMEI packet received {"connection_id":54445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":54445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:09:21] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:09:21] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:09:21] local.INFO: Packet analysis {"connection_id":54445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:09:21] local.INFO: Extracted packet for processing {"connection_id":54445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:09: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-04-26 05: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-04-26 05:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:09: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-04-26 05:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":54445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:09:21] local.INFO: GPS data processed {"connection_id":54445,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:09:21] local.INFO: Acknowledgment sent {"connection_id":54445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:09:52] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:09:52] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:09:52] local.INFO: Packet analysis {"connection_id":54445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:09:52] local.INFO: Extracted packet for processing {"connection_id":54445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:09:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:09:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:09:52] 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-04-26 05: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-04-26 05:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:09:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:09:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":54445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:09:52] local.INFO: GPS data processed {"connection_id":54445,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:09:52] local.INFO: Acknowledgment sent {"connection_id":54445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:10:06] local.INFO: TCP Data received {"connection_id":55106,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:10:06] local.INFO: Processing buffer {"connection_id":55106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:10:06] local.INFO: IMEI packet received {"connection_id":55106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":55106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:10:15] local.INFO: TCP Data received {"connection_id":54194,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:10:15] local.INFO: Processing buffer {"connection_id":54194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:10:15] local.INFO: IMEI packet received {"connection_id":54194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:10:20] local.INFO: TCP Data received {"connection_id":54194,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:10:20] local.INFO: Processing buffer {"connection_id":54194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:10:20] local.INFO: IMEI packet received {"connection_id":54194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:10:21] local.INFO: TCP Data received {"connection_id":54194,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:10:21] local.INFO: Processing buffer {"connection_id":54194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:10:21] local.INFO: Packet analysis {"connection_id":54194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:10:21] local.INFO: Extracted packet for processing {"connection_id":54194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:10: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-04-26 05: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-04-26 05:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:10: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-04-26 05:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":54194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:10:21] local.INFO: GPS data processed {"connection_id":54194,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:10:21] local.INFO: Acknowledgment sent {"connection_id":54194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:10:41] local.INFO: TCP Data received {"connection_id":54381,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:10:41] local.INFO: Processing buffer {"connection_id":54381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:10:41] local.INFO: IMEI packet received {"connection_id":54381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":54381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:10:52] local.INFO: TCP Data received {"connection_id":54194,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:10:52] local.INFO: Processing buffer {"connection_id":54194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:10:52] local.INFO: Packet analysis {"connection_id":54194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:10:52] local.INFO: Extracted packet for processing {"connection_id":54194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:10:52] 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-04-26 05: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-04-26 05:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:10: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-04-26 05:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":54194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:10:52] local.INFO: GPS data processed {"connection_id":54194,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:10:52] local.INFO: Acknowledgment sent {"connection_id":54194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:11:15] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:11:15] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:11:15] local.INFO: IMEI packet received {"connection_id":54446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:11:20] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:11:20] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:11:20] local.INFO: IMEI packet received {"connection_id":54446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:11:21] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:11:21] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:11:21] local.INFO: Packet analysis {"connection_id":54446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:11:21] local.INFO: Extracted packet for processing {"connection_id":54446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:11: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-04-26 05: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-04-26 05:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:11: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-04-26 05:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:11:21] local.INFO: GPS data processed {"connection_id":54446,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:11:21] local.INFO: Acknowledgment sent {"connection_id":54446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:11:52] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:11:52] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:11:52] local.INFO: Packet analysis {"connection_id":54446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:11:52] local.INFO: Extracted packet for processing {"connection_id":54446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:11:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:11:52] 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-04-26 05: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-04-26 05:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:11: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-04-26 05:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:11:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":54446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:11:52] local.INFO: GPS data processed {"connection_id":54446,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:11:52] local.INFO: Acknowledgment sent {"connection_id":54446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:12:20] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:12:20] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:12:20] local.INFO: IMEI packet received {"connection_id":54382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:12:25] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:12:25] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:12:25] local.INFO: IMEI packet received {"connection_id":54382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":54382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:12:26] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:26] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:26] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:12:26] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:12:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:12: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-04-26 05:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:12:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:12:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:12:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:12:26] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:12:26] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:12:30] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:30] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:30] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:12:30] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:12:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:12: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-04-26 05:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:12:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:12:30] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:12:30] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:12:35] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:35] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:12:35] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:12:35] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:12:35] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:12:35] 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-04-26 05:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:12:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:12:35] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:12:35] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:13:15] local.INFO: TCP Data received {"connection_id":54448,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:13:15] local.INFO: Processing buffer {"connection_id":54448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:13:15] local.INFO: IMEI packet received {"connection_id":54448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":54448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:13:20] local.INFO: TCP Data received {"connection_id":54448,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:13:20] local.INFO: Processing buffer {"connection_id":54448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:13:20] local.INFO: IMEI packet received {"connection_id":54448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":54448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:13:21] local.INFO: TCP Data received {"connection_id":54448,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:13:21] local.INFO: Processing buffer {"connection_id":54448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:13:21] local.INFO: Packet analysis {"connection_id":54448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:13:21] local.INFO: Extracted packet for processing {"connection_id":54448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:13: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-04-26 05: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-04-26 05:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:13: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-04-26 05:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:13:21] local.INFO: GPS data processed {"connection_id":54448,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:13:21] local.INFO: Acknowledgment sent {"connection_id":54448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:13:52] local.INFO: TCP Data received {"connection_id":54448,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:13:52] local.INFO: Processing buffer {"connection_id":54448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7024cf0012cb299c007822ce0004800122f..."} 
[2026-04-26 05:13:52] local.INFO: Packet analysis {"connection_id":54448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:13:52] local.INFO: Extracted packet for processing {"connection_id":54448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc702"} 
[2026-04-26 05:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454952962304001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160310000,"timestamp_ms":1777160310000,"timestamp_seconds":1777160310,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7024cf0"} 
[2026-04-26 05:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:13:52] 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-04-26 05: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-04-26 05:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:13: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-04-26 05:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454952962304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454952962304001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454952962304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":54448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:13:52] local.INFO: GPS data processed {"connection_id":54448,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:13:52] local.INFO: Acknowledgment sent {"connection_id":54448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:14:15] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:14:15] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:14:15] local.INFO: IMEI packet received {"connection_id":55109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":55109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:14:20] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:14:20] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:14:20] local.INFO: IMEI packet received {"connection_id":55109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":55109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:14:21] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:14:21] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:14:21] local.INFO: Packet analysis {"connection_id":55109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:14:21] local.INFO: Extracted packet for processing {"connection_id":55109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:14:21] 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-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:14:21] 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-04-26 05: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-04-26 05:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:14: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-04-26 05:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":55109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:14:21] local.INFO: GPS data processed {"connection_id":55109,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:14:21] local.INFO: Acknowledgment sent {"connection_id":55109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:14:53] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:14:53] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:14:53] local.INFO: Packet analysis {"connection_id":55109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:14:53] local.INFO: Extracted packet for processing {"connection_id":55109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:14:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:14:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:14:53] 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-04-26 05:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:14:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:14:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:14:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":55109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:14:53] local.INFO: GPS data processed {"connection_id":55109,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:14:53] local.INFO: Acknowledgment sent {"connection_id":55109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:15:15] local.INFO: TCP Data received {"connection_id":54384,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:15:15] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:15:15] local.INFO: IMEI packet received {"connection_id":54384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:15:20] local.INFO: TCP Data received {"connection_id":54384,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:15:20] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:15:20] local.INFO: IMEI packet received {"connection_id":54384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:15:21] local.INFO: TCP Data received {"connection_id":54384,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:15:21] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:15:21] local.INFO: Packet analysis {"connection_id":54384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:15:21] local.INFO: Extracted packet for processing {"connection_id":54384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:15:21] 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-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:15:21] 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-04-26 05: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-04-26 05:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:15: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-04-26 05:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:15:21] local.INFO: GPS data processed {"connection_id":54384,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:15:21] local.INFO: Acknowledgment sent {"connection_id":54384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:15:52] local.INFO: TCP Data received {"connection_id":54384,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:15:52] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:15:52] local.INFO: Packet analysis {"connection_id":54384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:15:52] local.INFO: Extracted packet for processing {"connection_id":54384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:15:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:15:52] 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-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:15: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-04-26 05: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-04-26 05:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:15: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-04-26 05:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:15:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":54384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:15:52] local.INFO: GPS data processed {"connection_id":54384,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:15:52] local.INFO: Acknowledgment sent {"connection_id":54384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:16:06] local.INFO: TCP Data received {"connection_id":54449,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:16:06] local.INFO: Processing buffer {"connection_id":54449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:16:06] local.INFO: IMEI packet received {"connection_id":54449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":54449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:16:15] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:16:15] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:16:15] local.INFO: IMEI packet received {"connection_id":55110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":55110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:16:20] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:16:20] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:16:20] local.INFO: IMEI packet received {"connection_id":55110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":55110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:16:21] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:16:21] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:16:21] local.INFO: Packet analysis {"connection_id":55110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:16:21] local.INFO: Extracted packet for processing {"connection_id":55110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:16:21] 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-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:16:21] 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-04-26 05: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-04-26 05:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:16: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-04-26 05:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":55110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:16:21] local.INFO: GPS data processed {"connection_id":55110,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:16:21] local.INFO: Acknowledgment sent {"connection_id":55110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:16:41] local.INFO: TCP Data received {"connection_id":55111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:16:41] local.INFO: Processing buffer {"connection_id":55111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:16:41] local.INFO: IMEI packet received {"connection_id":55111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":55111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:16:52] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:16:52] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:16:52] local.INFO: Packet analysis {"connection_id":55110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:16:52] local.INFO: Extracted packet for processing {"connection_id":55110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:16:52] 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-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:16: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-04-26 05: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-04-26 05:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":55110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:16:52] local.INFO: GPS data processed {"connection_id":55110,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:16:52] local.INFO: Acknowledgment sent {"connection_id":55110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:17:20] local.INFO: TCP Data received {"connection_id":54195,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:17:20] local.INFO: Processing buffer {"connection_id":54195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:17:20] local.INFO: IMEI packet received {"connection_id":54195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":54195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:17:25] local.INFO: TCP Data received {"connection_id":54195,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:17:25] local.INFO: Processing buffer {"connection_id":54195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:17:25] local.INFO: IMEI packet received {"connection_id":54195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":54195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:17:26] local.INFO: TCP Data received {"connection_id":54195,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:17:26] local.INFO: Processing buffer {"connection_id":54195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:17:26] local.INFO: Packet analysis {"connection_id":54195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:17:26] local.INFO: Extracted packet for processing {"connection_id":54195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:17:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:17:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:17:26] 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-04-26 05:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:17: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-04-26 05:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:17:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:17:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:17:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":54195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:17:26] local.INFO: GPS data processed {"connection_id":54195,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:17:26] local.INFO: Acknowledgment sent {"connection_id":54195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:17:30] local.INFO: TCP Data received {"connection_id":54195,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:17:30] local.INFO: Processing buffer {"connection_id":54195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:17:30] local.INFO: Packet analysis {"connection_id":54195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:17:30] local.INFO: Extracted packet for processing {"connection_id":54195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:17:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:17:30] 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-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:17:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":54195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:17:30] local.INFO: GPS data processed {"connection_id":54195,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:17:30] local.INFO: Acknowledgment sent {"connection_id":54195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:18:15] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:18:15] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:18:15] local.INFO: IMEI packet received {"connection_id":54385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:18:20] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:18:20] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:18:20] local.INFO: IMEI packet received {"connection_id":54385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:18:21] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:18:21] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:18:21] local.INFO: Packet analysis {"connection_id":54385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:18:21] local.INFO: Extracted packet for processing {"connection_id":54385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 05:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:18:21] 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-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:18:21] 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-04-26 05: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-04-26 05:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:18: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-04-26 05:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:18:21] local.INFO: GPS data processed {"connection_id":54385,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:18:21] local.INFO: Acknowledgment sent {"connection_id":54385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:18:52] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:18:52] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc706e4b8012cb299c007822ce00047001231..."} 
[2026-04-26 05:18:52] local.INFO: Packet analysis {"connection_id":54385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:18:52] local.INFO: Extracted packet for processing {"connection_id":54385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc706"} 
[2026-04-26 05:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953039360001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160611000,"timestamp_ms":1777160611000,"timestamp_seconds":1777160611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc706e4b8"} 
[2026-04-26 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-04-26 05:18:52] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:18: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-04-26 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-04-26 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-04-26 05:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:18: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-04-26 05:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953039360001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953039360001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953039360001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:18:52] local.INFO: GPS data processed {"connection_id":54385,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:18:52] local.INFO: Acknowledgment sent {"connection_id":54385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:19:15] local.INFO: TCP Data received {"connection_id":54196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:19:15] local.INFO: Processing buffer {"connection_id":54196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:19:15] local.INFO: IMEI packet received {"connection_id":54196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:19:20] local.INFO: TCP Data received {"connection_id":54196,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:19:20] local.INFO: Processing buffer {"connection_id":54196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:19:20] local.INFO: IMEI packet received {"connection_id":54196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":54196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:19:21] local.INFO: TCP Data received {"connection_id":54196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:19:21] local.INFO: Processing buffer {"connection_id":54196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:19:21] local.INFO: Packet analysis {"connection_id":54196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:19:21] local.INFO: Extracted packet for processing {"connection_id":54196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 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-04-26 05:19:21] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 05:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":54196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:19:21] local.INFO: GPS data processed {"connection_id":54196,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:19:21] local.INFO: Acknowledgment sent {"connection_id":54196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:19:52] local.INFO: TCP Data received {"connection_id":54196,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:19:52] local.INFO: Processing buffer {"connection_id":54196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:19:52] local.INFO: Packet analysis {"connection_id":54196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:19:52] local.INFO: Extracted packet for processing {"connection_id":54196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:19:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 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-04-26 05:19:52] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 05:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:19:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":54196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:19:52] local.INFO: GPS data processed {"connection_id":54196,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:19:52] local.INFO: Acknowledgment sent {"connection_id":54196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:20:15] local.INFO: TCP Data received {"connection_id":55114,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:20:15] local.INFO: Processing buffer {"connection_id":55114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:20:15] local.INFO: IMEI packet received {"connection_id":55114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":55114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:20:20] local.INFO: TCP Data received {"connection_id":55114,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:20:20] local.INFO: Processing buffer {"connection_id":55114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:20:20] local.INFO: IMEI packet received {"connection_id":55114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":55114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:20:21] local.INFO: TCP Data received {"connection_id":55114,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:20:21] local.INFO: Processing buffer {"connection_id":55114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:20:21] local.INFO: Packet analysis {"connection_id":55114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:20:21] local.INFO: Extracted packet for processing {"connection_id":55114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 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-04-26 05:20:21] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:20: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-04-26 05:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":55114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:20:21] local.INFO: GPS data processed {"connection_id":55114,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:20:21] local.INFO: Acknowledgment sent {"connection_id":55114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:20:52] local.INFO: TCP Data received {"connection_id":55114,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:20:52] local.INFO: Processing buffer {"connection_id":55114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:20:52] local.INFO: Packet analysis {"connection_id":55114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:20:52] local.INFO: Extracted packet for processing {"connection_id":55114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 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-04-26 05:20:52] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:20: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-04-26 05:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:20:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":55114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:20:52] local.INFO: GPS data processed {"connection_id":55114,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:20:52] local.INFO: Acknowledgment sent {"connection_id":55114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:21:20] local.INFO: TCP Data received {"connection_id":54197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:21:20] local.INFO: Processing buffer {"connection_id":54197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:21:20] local.INFO: IMEI packet received {"connection_id":54197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":54197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:21:25] local.INFO: TCP Data received {"connection_id":54197,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:21:25] local.INFO: Processing buffer {"connection_id":54197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:21:25] local.INFO: IMEI packet received {"connection_id":54197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":54197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:21:26] local.INFO: TCP Data received {"connection_id":54197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:21:26] local.INFO: Processing buffer {"connection_id":54197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:21:26] local.INFO: Packet analysis {"connection_id":54197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:21:26] local.INFO: Extracted packet for processing {"connection_id":54197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:21:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 05:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:21:26] 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-04-26 05:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:21: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-04-26 05:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:21:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":54197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:21:26] local.INFO: GPS data processed {"connection_id":54197,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:21:26] local.INFO: Acknowledgment sent {"connection_id":54197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:21:30] local.INFO: TCP Data received {"connection_id":54197,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:21:30] local.INFO: Processing buffer {"connection_id":54197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:21:30] local.INFO: Packet analysis {"connection_id":54197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:21:30] local.INFO: Extracted packet for processing {"connection_id":54197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:21:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 05:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:21:30] 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-04-26 05: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:21:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":54197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:21:30] local.INFO: GPS data processed {"connection_id":54197,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:21:30] local.INFO: Acknowledgment sent {"connection_id":54197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:21:56] local.INFO: TCP Data received {"connection_id":54198,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:21:56] local.INFO: Processing buffer {"connection_id":54198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:21:56] local.INFO: IMEI packet received {"connection_id":54198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":54198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:22:15] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:22:15] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:22:15] local.INFO: IMEI packet received {"connection_id":54386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":54386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:22:20] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:22:20] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:22:20] local.INFO: IMEI packet received {"connection_id":54386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":54386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:22:21] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:22:21] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:22:21] local.INFO: Packet analysis {"connection_id":54386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:22:21] local.INFO: Extracted packet for processing {"connection_id":54386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 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-04-26 05:22:21] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 05:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":54386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:22:21] local.INFO: GPS data processed {"connection_id":54386,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:22:21] local.INFO: Acknowledgment sent {"connection_id":54386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:22:46] local.INFO: TCP Data received {"connection_id":54199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:22:46] local.INFO: Processing buffer {"connection_id":54199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:22:46] local.INFO: IMEI packet received {"connection_id":54199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":54199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:22:52] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:22:52] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:22:52] local.INFO: Packet analysis {"connection_id":54386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:22:52] local.INFO: Extracted packet for processing {"connection_id":54386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 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-04-26 05:22:52] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 05:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":54386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:22:52] local.INFO: GPS data processed {"connection_id":54386,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:22:52] local.INFO: Acknowledgment sent {"connection_id":54386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:23:15] local.INFO: TCP Data received {"connection_id":54200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:23:15] local.INFO: Processing buffer {"connection_id":54200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:23:15] local.INFO: IMEI packet received {"connection_id":54200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":54200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:23:20] local.INFO: TCP Data received {"connection_id":54200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:23:20] local.INFO: Processing buffer {"connection_id":54200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:23:20] local.INFO: IMEI packet received {"connection_id":54200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:23:20] local.INFO: TCP Data received {"connection_id":54200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:23:20] local.INFO: Processing buffer {"connection_id":54200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:23:20] local.INFO: Packet analysis {"connection_id":54200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:23:20] local.INFO: Extracted packet for processing {"connection_id":54200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 05:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:23:20] 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-04-26 05: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:23: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-04-26 05:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:23:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:23:20] local.INFO: GPS data processed {"connection_id":54200,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:23:20] local.INFO: Acknowledgment sent {"connection_id":54200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:23:51] local.INFO: TCP Data received {"connection_id":54200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:23:51] local.INFO: Processing buffer {"connection_id":54200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc70b7c80012cb299c007822ce0004b001230..."} 
[2026-04-26 05:23:51] local.INFO: Packet analysis {"connection_id":54200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:23:51] local.INFO: Extracted packet for processing {"connection_id":54200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc70b"} 
[2026-04-26 05:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953116416001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777160912000,"timestamp_ms":1777160912000,"timestamp_seconds":1777160912,"priority":1,"record_length":96,"hex_timestamp":"0000019dc70b7c80"} 
[2026-04-26 05:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:23:51] 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-04-26 05:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 05:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953116416001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953116416001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:23:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953116416001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:23:51] local.INFO: GPS data processed {"connection_id":54200,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:23:51] local.INFO: Acknowledgment sent {"connection_id":54200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:24:15] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:24:15] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:24:15] local.INFO: IMEI packet received {"connection_id":54388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":54388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:24:20] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:24:20] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:24:20] local.INFO: IMEI packet received {"connection_id":54388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":54388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:24:21] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:24:21] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:24:21] local.INFO: Packet analysis {"connection_id":54388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:24:21] local.INFO: Extracted packet for processing {"connection_id":54388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:24:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 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-04-26 05:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:24:21] 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-04-26 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-04-26 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-04-26 05:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 05:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:24:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":54388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:24:21] local.INFO: GPS data processed {"connection_id":54388,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:24:21] local.INFO: Acknowledgment sent {"connection_id":54388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:24:52] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:24:52] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:24:52] local.INFO: Packet analysis {"connection_id":54388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:24:52] local.INFO: Extracted packet for processing {"connection_id":54388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:24:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 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-04-26 05:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:24: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-04-26 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-04-26 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-04-26 05:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 05:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:24:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":54388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:24:52] local.INFO: GPS data processed {"connection_id":54388,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:24:52] local.INFO: Acknowledgment sent {"connection_id":54388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:25:15] local.INFO: TCP Data received {"connection_id":54201,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:25:15] local.INFO: Processing buffer {"connection_id":54201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:25:15] local.INFO: IMEI packet received {"connection_id":54201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":54201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:25:20] local.INFO: TCP Data received {"connection_id":54201,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:25:20] local.INFO: Processing buffer {"connection_id":54201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:25:20] local.INFO: IMEI packet received {"connection_id":54201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":54201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:25:21] local.INFO: TCP Data received {"connection_id":54201,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:25:21] local.INFO: Processing buffer {"connection_id":54201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:25:21] local.INFO: Packet analysis {"connection_id":54201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:25:21] local.INFO: Extracted packet for processing {"connection_id":54201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:25:21] 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-04-26 05: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-04-26 05:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:25: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-04-26 05:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":54201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:25:21] local.INFO: GPS data processed {"connection_id":54201,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:25:21] local.INFO: Acknowledgment sent {"connection_id":54201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:25:52] local.INFO: TCP Data received {"connection_id":54201,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:25:52] local.INFO: Processing buffer {"connection_id":54201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:25:52] local.INFO: Packet analysis {"connection_id":54201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:25:52] local.INFO: Extracted packet for processing {"connection_id":54201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:25:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:25: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-04-26 05: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-04-26 05:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:25: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-04-26 05:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:25:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":54201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:25:52] local.INFO: GPS data processed {"connection_id":54201,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:25:52] local.INFO: Acknowledgment sent {"connection_id":54201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:26:20] local.INFO: TCP Data received {"connection_id":54389,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:26:20] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:26:20] local.INFO: IMEI packet received {"connection_id":54389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":54389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:26:25] local.INFO: TCP Data received {"connection_id":54389,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:26:25] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:26:25] local.INFO: IMEI packet received {"connection_id":54389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":54389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:26:26] local.INFO: TCP Data received {"connection_id":54389,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:26:26] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:26:26] local.INFO: Packet analysis {"connection_id":54389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:26:26] local.INFO: Extracted packet for processing {"connection_id":54389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:26:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:26:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:26: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-04-26 05:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:26: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-04-26 05:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:26:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:26:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:26:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":54389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:26:26] local.INFO: GPS data processed {"connection_id":54389,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:26:26] local.INFO: Acknowledgment sent {"connection_id":54389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:26:30] local.INFO: TCP Data received {"connection_id":54389,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:26:30] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:26:30] local.INFO: Packet analysis {"connection_id":54389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:26:30] local.INFO: Extracted packet for processing {"connection_id":54389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:26:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:26:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:26: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-04-26 05:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:26:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:26:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":54389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:26:30] local.INFO: GPS data processed {"connection_id":54389,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:26:30] local.INFO: Acknowledgment sent {"connection_id":54389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:27:15] local.INFO: TCP Data received {"connection_id":54454,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:27:15] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:27:15] local.INFO: IMEI packet received {"connection_id":54454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":54454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:27:20] local.INFO: TCP Data received {"connection_id":54454,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:27:20] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:27:20] local.INFO: IMEI packet received {"connection_id":54454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:27:21] local.INFO: TCP Data received {"connection_id":54454,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:27:21] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:27:21] local.INFO: Packet analysis {"connection_id":54454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:27:21] local.INFO: Extracted packet for processing {"connection_id":54454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:27:21] 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-04-26 05: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-04-26 05:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:27: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-04-26 05:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:27:21] local.INFO: GPS data processed {"connection_id":54454,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:27:21] local.INFO: Acknowledgment sent {"connection_id":54454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:27:52] local.INFO: TCP Data received {"connection_id":54454,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:27:52] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:27:52] local.INFO: Packet analysis {"connection_id":54454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:27:52] local.INFO: Extracted packet for processing {"connection_id":54454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:27: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-04-26 05: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-04-26 05:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:27: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-04-26 05:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:27:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":54454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:27:52] local.INFO: GPS data processed {"connection_id":54454,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:27:52] local.INFO: Acknowledgment sent {"connection_id":54454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:28:15] local.INFO: TCP Data received {"connection_id":54203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:28:15] local.INFO: Processing buffer {"connection_id":54203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:28:15] local.INFO: IMEI packet received {"connection_id":54203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:28:16] local.INFO: TCP Data received {"connection_id":54202,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54202,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:28:16] local.INFO: Processing buffer {"connection_id":54202,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:28:16] local.INFO: IMEI packet received {"connection_id":54202,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":54202,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:28:20] local.INFO: TCP Data received {"connection_id":54203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:28:20] local.INFO: Processing buffer {"connection_id":54203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:28:20] local.INFO: IMEI packet received {"connection_id":54203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":54203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:28:21] local.INFO: TCP Data received {"connection_id":54203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:28:21] local.INFO: Processing buffer {"connection_id":54203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:28:21] local.INFO: Packet analysis {"connection_id":54203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:28:21] local.INFO: Extracted packet for processing {"connection_id":54203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:28:21] 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-04-26 05: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-04-26 05:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:28: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-04-26 05:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:28:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":54203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:28:21] local.INFO: GPS data processed {"connection_id":54203,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:28:21] local.INFO: Acknowledgment sent {"connection_id":54203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:28:41] local.INFO: TCP Data received {"connection_id":54391,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:28:41] local.INFO: Processing buffer {"connection_id":54391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:28:41] local.INFO: IMEI packet received {"connection_id":54391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":54391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:28:52] local.INFO: TCP Data received {"connection_id":54203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:28:52] local.INFO: Processing buffer {"connection_id":54203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7101448012cb299c007822ce00046001230..."} 
[2026-04-26 05:28:52] local.INFO: Packet analysis {"connection_id":54203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:28:52] local.INFO: Extracted packet for processing {"connection_id":54203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc710"} 
[2026-04-26 05:28:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953193472001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161213000,"timestamp_ms":1777161213000,"timestamp_seconds":1777161213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7101448"} 
[2026-04-26 05:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:28: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-04-26 05: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-04-26 05:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:28: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-04-26 05:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953193472001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953193472001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:28:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953193472001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":54203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:28:52] local.INFO: GPS data processed {"connection_id":54203,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:28:52] local.INFO: Acknowledgment sent {"connection_id":54203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:29:15] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:29:15] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:29:15] local.INFO: IMEI packet received {"connection_id":54455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":54455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:29:20] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:29:20] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:29:20] local.INFO: IMEI packet received {"connection_id":54455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":54455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:29:21] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:29:21] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:29:21] local.INFO: Packet analysis {"connection_id":54455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:29:21] local.INFO: Extracted packet for processing {"connection_id":54455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:29:21] 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-04-26 05: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-04-26 05:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:29: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-04-26 05:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":54455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:29:21] local.INFO: GPS data processed {"connection_id":54455,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:29:21] local.INFO: Acknowledgment sent {"connection_id":54455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:29:52] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:29:52] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:29:52] local.INFO: Packet analysis {"connection_id":54455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:29:52] local.INFO: Extracted packet for processing {"connection_id":54455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:29:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:29:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:29: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-04-26 05: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-04-26 05:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:29:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:29:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":54455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:29:52] local.INFO: GPS data processed {"connection_id":54455,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:29:52] local.INFO: Acknowledgment sent {"connection_id":54455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:30:20] local.INFO: TCP Data received {"connection_id":54204,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:30:20] local.INFO: Processing buffer {"connection_id":54204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:30:20] local.INFO: IMEI packet received {"connection_id":54204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:30:25] local.INFO: TCP Data received {"connection_id":54204,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:30:25] local.INFO: Processing buffer {"connection_id":54204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:30:25] local.INFO: IMEI packet received {"connection_id":54204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":54204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:30:26] local.INFO: TCP Data received {"connection_id":54204,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:30:26] local.INFO: Processing buffer {"connection_id":54204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:30:26] local.INFO: Packet analysis {"connection_id":54204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:30:26] local.INFO: Extracted packet for processing {"connection_id":54204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:30:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:30:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:30:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:30:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:30: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-04-26 05: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-04-26 05:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:30:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:30:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:30:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":54204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:30:26] local.INFO: GPS data processed {"connection_id":54204,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:30:26] local.INFO: Acknowledgment sent {"connection_id":54204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:30:30] local.INFO: TCP Data received {"connection_id":54204,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:30:30] local.INFO: Processing buffer {"connection_id":54204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:30:30] local.INFO: Packet analysis {"connection_id":54204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:30:30] local.INFO: Extracted packet for processing {"connection_id":54204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:30:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":54204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:30:30] local.INFO: GPS data processed {"connection_id":54204,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:30:30] local.INFO: Acknowledgment sent {"connection_id":54204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:31:15] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:31:15] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:31:15] local.INFO: IMEI packet received {"connection_id":55117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":55117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:31:20] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:31:20] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:31:20] local.INFO: IMEI packet received {"connection_id":55117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":55117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:31:21] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:31:21] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:31:21] local.INFO: Packet analysis {"connection_id":55117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:31:21] local.INFO: Extracted packet for processing {"connection_id":55117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:31:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:31:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:31:21] 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-04-26 05: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-04-26 05:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:31:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:31:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:31:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":55117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:31:21] local.INFO: GPS data processed {"connection_id":55117,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:31:21] local.INFO: Acknowledgment sent {"connection_id":55117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:31:52] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:31:52] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:31:52] local.INFO: Packet analysis {"connection_id":55117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:31:52] local.INFO: Extracted packet for processing {"connection_id":55117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:31:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:31: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-04-26 05: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-04-26 05:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:31: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-04-26 05:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:31:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":55117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:31:52] local.INFO: GPS data processed {"connection_id":55117,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:31:52] local.INFO: Acknowledgment sent {"connection_id":55117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:32:15] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:32:15] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:32:15] local.INFO: IMEI packet received {"connection_id":55118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":55118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:32:20] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:32:20] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:32:20] local.INFO: IMEI packet received {"connection_id":55118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":55118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:32:21] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:32:21] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:32:21] local.INFO: Packet analysis {"connection_id":55118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:32:21] local.INFO: Extracted packet for processing {"connection_id":55118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:32:21] 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-04-26 05: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-04-26 05:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:32: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-04-26 05:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":55118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:32:21] local.INFO: GPS data processed {"connection_id":55118,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:32:21] local.INFO: Acknowledgment sent {"connection_id":55118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:32:52] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:32:52] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:32:52] local.INFO: Packet analysis {"connection_id":55118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:32:52] local.INFO: Extracted packet for processing {"connection_id":55118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:32: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-04-26 05: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-04-26 05:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:32: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-04-26 05:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":55118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:32:52] local.INFO: GPS data processed {"connection_id":55118,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:32:52] local.INFO: Acknowledgment sent {"connection_id":55118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:33:15] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:33:15] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:33:15] local.INFO: IMEI packet received {"connection_id":55119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":55119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:33:20] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:33:20] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:33:20] local.INFO: IMEI packet received {"connection_id":55119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":55119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:33:21] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:33:21] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:33:21] local.INFO: Packet analysis {"connection_id":55119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:33:21] local.INFO: Extracted packet for processing {"connection_id":55119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:33:21] 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-04-26 05: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-04-26 05:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":55119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:33:21] local.INFO: GPS data processed {"connection_id":55119,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:33:21] local.INFO: Acknowledgment sent {"connection_id":55119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:33:52] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:33:52] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc714ac10012cb299c007822ce0004700122e..."} 
[2026-04-26 05:33:52] local.INFO: Packet analysis {"connection_id":55119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:33:52] local.INFO: Extracted packet for processing {"connection_id":55119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc714"} 
[2026-04-26 05:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953270528001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161514000,"timestamp_ms":1777161514000,"timestamp_seconds":1777161514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc714ac10"} 
[2026-04-26 05:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:33: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-04-26 05: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-04-26 05:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953270528001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953270528001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953270528001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":55119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:33:52] local.INFO: GPS data processed {"connection_id":55119,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:33:52] local.INFO: Acknowledgment sent {"connection_id":55119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:33:56] local.INFO: TCP Data received {"connection_id":54457,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:33:56] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:33:56] local.INFO: IMEI packet received {"connection_id":54457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":54457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:34:15] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:34:15] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:34:15] local.INFO: IMEI packet received {"connection_id":54392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":54392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:34:20] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:34:20] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:34:20] local.INFO: IMEI packet received {"connection_id":54392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":54392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:34:21] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:34:21] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:34:21] local.INFO: Packet analysis {"connection_id":54392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:34:21] local.INFO: Extracted packet for processing {"connection_id":54392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:34:21] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:34: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-04-26 05: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-04-26 05:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:34: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-04-26 05:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":54392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:34:21] local.INFO: GPS data processed {"connection_id":54392,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:34:21] local.INFO: Acknowledgment sent {"connection_id":54392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:34:41] local.INFO: TCP Data received {"connection_id":54458,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:34:41] local.INFO: Processing buffer {"connection_id":54458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:34:41] local.INFO: IMEI packet received {"connection_id":54458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":54458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:34:52] local.INFO: TCP Data received {"connection_id":54392,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:34:52] local.INFO: Processing buffer {"connection_id":54392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:34:52] local.INFO: Packet analysis {"connection_id":54392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:34:52] local.INFO: Extracted packet for processing {"connection_id":54392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:34:52] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:34:52] 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-04-26 05: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-04-26 05:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":54392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:34:52] local.INFO: GPS data processed {"connection_id":54392,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:34:52] local.INFO: Acknowledgment sent {"connection_id":54392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:35:15] local.INFO: TCP Data received {"connection_id":54207,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:35:15] local.INFO: Processing buffer {"connection_id":54207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:35:15] local.INFO: IMEI packet received {"connection_id":54207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":54207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:35:20] local.INFO: TCP Data received {"connection_id":54207,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:35:20] local.INFO: Processing buffer {"connection_id":54207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:35:20] local.INFO: IMEI packet received {"connection_id":54207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":54207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:35:21] local.INFO: TCP Data received {"connection_id":54207,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:35:21] local.INFO: Processing buffer {"connection_id":54207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:35:21] local.INFO: Packet analysis {"connection_id":54207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:35:21] local.INFO: Extracted packet for processing {"connection_id":54207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:35:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:35:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:35:21] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:35: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-04-26 05: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-04-26 05:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:35:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:35:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":54207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:35:21] local.INFO: GPS data processed {"connection_id":54207,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:35:21] local.INFO: Acknowledgment sent {"connection_id":54207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:35:52] local.INFO: TCP Data received {"connection_id":54207,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:35:52] local.INFO: Processing buffer {"connection_id":54207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:35:52] local.INFO: Packet analysis {"connection_id":54207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:35:52] local.INFO: Extracted packet for processing {"connection_id":54207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:35:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:35:52] 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-04-26 05: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:35:52] 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-04-26 05: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-04-26 05:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:35:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":54207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:35:52] local.INFO: GPS data processed {"connection_id":54207,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:35:52] local.INFO: Acknowledgment sent {"connection_id":54207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:36:15] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:36:15] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:36:15] local.INFO: IMEI packet received {"connection_id":54393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":54393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:36:20] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:36:20] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:36:20] local.INFO: IMEI packet received {"connection_id":54393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":54393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:36:21] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:36:21] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:36:21] local.INFO: Packet analysis {"connection_id":54393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:36:21] local.INFO: Extracted packet for processing {"connection_id":54393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:36:21] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:36: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-04-26 05: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-04-26 05:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:36: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-04-26 05:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":54393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:36:21] local.INFO: GPS data processed {"connection_id":54393,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:36:21] local.INFO: Acknowledgment sent {"connection_id":54393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:36:52] local.INFO: TCP Data received {"connection_id":54393,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:36:52] local.INFO: Processing buffer {"connection_id":54393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:36:52] local.INFO: Packet analysis {"connection_id":54393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:36:52] local.INFO: Extracted packet for processing {"connection_id":54393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:36:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:36:52] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:36:52] 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-04-26 05: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-04-26 05:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:36:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:36:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":54393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:36:52] local.INFO: GPS data processed {"connection_id":54393,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:36:52] local.INFO: Acknowledgment sent {"connection_id":54393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:37:15] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:37:15] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:37:15] local.INFO: IMEI packet received {"connection_id":55121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":55121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:37:20] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:37:20] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:37:20] local.INFO: IMEI packet received {"connection_id":55121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":55121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:37:21] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:37:21] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:37:21] local.INFO: Packet analysis {"connection_id":55121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:37:21] local.INFO: Extracted packet for processing {"connection_id":55121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:37:21] 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-04-26 05:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:37: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-04-26 05: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-04-26 05:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":55121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:37:21] local.INFO: GPS data processed {"connection_id":55121,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:37:21] local.INFO: Acknowledgment sent {"connection_id":55121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:37:52] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:37:52] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:37:52] local.INFO: Packet analysis {"connection_id":55121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:37:52] local.INFO: Extracted packet for processing {"connection_id":55121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:37:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:37:52] 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-04-26 05:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:37:52] 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-04-26 05: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-04-26 05:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:37:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":55121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:37:52] local.INFO: GPS data processed {"connection_id":55121,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:37:52] local.INFO: Acknowledgment sent {"connection_id":55121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:38:15] local.INFO: TCP Data received {"connection_id":54208,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:38:15] local.INFO: Processing buffer {"connection_id":54208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:38:15] local.INFO: IMEI packet received {"connection_id":54208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":54208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:38:20] local.INFO: TCP Data received {"connection_id":54208,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:38:20] local.INFO: Processing buffer {"connection_id":54208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:38:20] local.INFO: IMEI packet received {"connection_id":54208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:38:21] local.INFO: TCP Data received {"connection_id":54208,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:38:21] local.INFO: Processing buffer {"connection_id":54208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:38:21] local.INFO: Packet analysis {"connection_id":54208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:38:21] local.INFO: Extracted packet for processing {"connection_id":54208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 05:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:38:21] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:38: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-04-26 05: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-04-26 05:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:38: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-04-26 05:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:38:21] local.INFO: GPS data processed {"connection_id":54208,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:38:21] local.INFO: Acknowledgment sent {"connection_id":54208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:38:52] local.INFO: TCP Data received {"connection_id":54208,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:38:52] local.INFO: Processing buffer {"connection_id":54208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71943d8012cb299c007822ce0004800122f..."} 
[2026-04-26 05:38:52] local.INFO: Packet analysis {"connection_id":54208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:38:52] local.INFO: Extracted packet for processing {"connection_id":54208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc719"} 
[2026-04-26 05:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953347584001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777161815000,"timestamp_ms":1777161815000,"timestamp_seconds":1777161815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71943d8"} 
[2026-04-26 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-04-26 05:38:52] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:38:52] 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-04-26 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-04-26 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-04-26 05:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:38: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-04-26 05:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953347584001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953347584001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953347584001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:38:52] local.INFO: GPS data processed {"connection_id":54208,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:38:52] local.INFO: Acknowledgment sent {"connection_id":54208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:39:15] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:39:15] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:39:15] local.INFO: IMEI packet received {"connection_id":54396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":54396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:39:20] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:39:20] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:39:20] local.INFO: IMEI packet received {"connection_id":54396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:39:21] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:39:21] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:39:21] local.INFO: Packet analysis {"connection_id":54396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:39:21] local.INFO: Extracted packet for processing {"connection_id":54396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:39:21] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:39: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-04-26 05: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-04-26 05:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:39: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-04-26 05:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":54396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:39:21] local.INFO: GPS data processed {"connection_id":54396,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:39:21] local.INFO: Acknowledgment sent {"connection_id":54396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:39:52] local.INFO: TCP Data received {"connection_id":54396,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:39:52] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:39:52] local.INFO: Packet analysis {"connection_id":54396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:39:52] local.INFO: Extracted packet for processing {"connection_id":54396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:39:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:39:52] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:39:52] 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-04-26 05: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-04-26 05:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:39: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-04-26 05:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:39:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":54396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:39:52] local.INFO: GPS data processed {"connection_id":54396,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:39:52] local.INFO: Acknowledgment sent {"connection_id":54396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:40:06] local.INFO: TCP Data received {"connection_id":54209,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:40:06] local.INFO: Processing buffer {"connection_id":54209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:40:06] local.INFO: IMEI packet received {"connection_id":54209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":54209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:40:15] local.INFO: TCP Data received {"connection_id":54461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:40:15] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:40:15] local.INFO: IMEI packet received {"connection_id":54461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:40:20] local.INFO: TCP Data received {"connection_id":54461,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:40:20] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:40:20] local.INFO: IMEI packet received {"connection_id":54461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:40:21] local.INFO: TCP Data received {"connection_id":54461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:40:21] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:40:21] local.INFO: Packet analysis {"connection_id":54461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:40:21] local.INFO: Extracted packet for processing {"connection_id":54461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:40:21] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:40: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-04-26 05: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-04-26 05:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:40: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-04-26 05:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":54461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:40:21] local.INFO: GPS data processed {"connection_id":54461,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:40:21] local.INFO: Acknowledgment sent {"connection_id":54461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:40:46] local.INFO: TCP Data received {"connection_id":54397,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:40:46] local.INFO: Processing buffer {"connection_id":54397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:40:46] local.INFO: IMEI packet received {"connection_id":54397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":54397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:40:52] local.INFO: TCP Data received {"connection_id":54461,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:40:52] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:40:52] local.INFO: Packet analysis {"connection_id":54461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:40:52] local.INFO: Extracted packet for processing {"connection_id":54461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:40:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:40:52] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:40:52] 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-04-26 05: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-04-26 05:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:40:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":54461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:40:52] local.INFO: GPS data processed {"connection_id":54461,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:40:52] local.INFO: Acknowledgment sent {"connection_id":54461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:41:15] local.INFO: TCP Data received {"connection_id":54210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:41:15] local.INFO: Processing buffer {"connection_id":54210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:41:15] local.INFO: IMEI packet received {"connection_id":54210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:41:20] local.INFO: TCP Data received {"connection_id":54210,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:41:20] local.INFO: Processing buffer {"connection_id":54210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:41:20] local.INFO: IMEI packet received {"connection_id":54210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":54210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:41:20] local.INFO: TCP Data received {"connection_id":54210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:41:20] local.INFO: Processing buffer {"connection_id":54210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:41:20] local.INFO: Packet analysis {"connection_id":54210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:41:20] local.INFO: Extracted packet for processing {"connection_id":54210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:41:20] 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-04-26 05: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-04-26 05: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-04-26 05: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-04-26 05:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:41: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-04-26 05:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:41:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":54210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:41:20] local.INFO: GPS data processed {"connection_id":54210,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:41:20] local.INFO: Acknowledgment sent {"connection_id":54210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:41:51] local.INFO: TCP Data received {"connection_id":54210,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:41:51] local.INFO: Processing buffer {"connection_id":54210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:41:51] local.INFO: Packet analysis {"connection_id":54210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:41:51] local.INFO: Extracted packet for processing {"connection_id":54210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:41:51] 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-04-26 05: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:41: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-04-26 05: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-04-26 05:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:41:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:41:51] local.INFO: GPS data processed {"connection_id":54210,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:41:51] local.INFO: Acknowledgment sent {"connection_id":54210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:42:15] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:42:15] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:42:15] local.INFO: IMEI packet received {"connection_id":55123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":55123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:42:20] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:42:20] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:42:20] local.INFO: IMEI packet received {"connection_id":55123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":55123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:42:21] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:42:21] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:42:21] local.INFO: Packet analysis {"connection_id":55123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:42:21] local.INFO: Extracted packet for processing {"connection_id":55123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:42:21] 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-04-26 05: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-04-26 05: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-04-26 05: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-04-26 05:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:42: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-04-26 05:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:42:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":55123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:42:21] local.INFO: GPS data processed {"connection_id":55123,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:42:21] local.INFO: Acknowledgment sent {"connection_id":55123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:42:52] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:42:52] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:42:52] local.INFO: Packet analysis {"connection_id":55123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:42:52] local.INFO: Extracted packet for processing {"connection_id":55123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:42:52] 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-04-26 05: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 05:42:52] 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-04-26 05: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-04-26 05:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:42:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":55123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:42:52] local.INFO: GPS data processed {"connection_id":55123,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:42:52] local.INFO: Acknowledgment sent {"connection_id":55123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:43:15] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:43:15] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:43:15] local.INFO: IMEI packet received {"connection_id":54462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":54462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:43:20] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:43:20] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:43:20] local.INFO: IMEI packet received {"connection_id":54462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:43:20] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:43:20] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:43:20] local.INFO: Packet analysis {"connection_id":54462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:43:20] local.INFO: Extracted packet for processing {"connection_id":54462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:43:20] 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-04-26 05: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-04-26 05: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-04-26 05: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-04-26 05:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:43: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-04-26 05:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:43:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:43:20] local.INFO: GPS data processed {"connection_id":54462,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:43:20] local.INFO: Acknowledgment sent {"connection_id":54462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:43:51] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:43:51] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc71ddba0012cb299c007822ce0004a001230..."} 
[2026-04-26 05:43:51] local.INFO: Packet analysis {"connection_id":54462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:43:51] local.INFO: Extracted packet for processing {"connection_id":54462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc71d"} 
[2026-04-26 05:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953424640001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777162116000,"timestamp_ms":1777162116000,"timestamp_seconds":1777162116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc71ddba0"} 
[2026-04-26 05:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:43:51] 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-04-26 05: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-04-26 05: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-04-26 05: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-04-26 05:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953424640001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953424640001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:43:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953424640001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:43:51] local.INFO: GPS data processed {"connection_id":54462,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:43:51] local.INFO: Acknowledgment sent {"connection_id":54462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:44:15] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:15] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:15] local.INFO: IMEI packet received {"connection_id":55124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":55124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:44:15] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:15] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:15] local.INFO: IMEI packet received {"connection_id":55124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":55124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:44:20] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:20] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:44:20] local.INFO: IMEI packet received {"connection_id":55124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":55124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:44:21] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:44:21] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:44:21] local.INFO: Packet analysis {"connection_id":55124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:44:21] local.INFO: Extracted packet for processing {"connection_id":55124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:44:21] 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-04-26 05: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-04-26 05:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:44: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-04-26 05:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":55124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:44:21] local.INFO: GPS data processed {"connection_id":55124,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:44:21] local.INFO: Acknowledgment sent {"connection_id":55124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:44:52] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:44:52] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:44:52] local.INFO: Packet analysis {"connection_id":55124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:44:52] local.INFO: Extracted packet for processing {"connection_id":55124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:44:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:44: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-04-26 05:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:44: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-04-26 05:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:44:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":55124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:44:52] local.INFO: GPS data processed {"connection_id":55124,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:44:52] local.INFO: Acknowledgment sent {"connection_id":55124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:45:15] local.INFO: TCP Data received {"connection_id":54213,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:45:15] local.INFO: Processing buffer {"connection_id":54213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:45:15] local.INFO: IMEI packet received {"connection_id":54213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:45:20] local.INFO: TCP Data received {"connection_id":54213,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:45:20] local.INFO: Processing buffer {"connection_id":54213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:45:20] local.INFO: IMEI packet received {"connection_id":54213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:45:21] local.INFO: TCP Data received {"connection_id":54213,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:45:21] local.INFO: Processing buffer {"connection_id":54213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:45:21] local.INFO: Packet analysis {"connection_id":54213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:45:21] local.INFO: Extracted packet for processing {"connection_id":54213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:45:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:45:21] 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-04-26 05: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-04-26 05:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:45: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-04-26 05:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:45:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:45:21] local.INFO: GPS data processed {"connection_id":54213,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:45:21] local.INFO: Acknowledgment sent {"connection_id":54213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:45:52] local.INFO: TCP Data received {"connection_id":54213,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:45:52] local.INFO: Processing buffer {"connection_id":54213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:45:52] local.INFO: Packet analysis {"connection_id":54213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:45:52] local.INFO: Extracted packet for processing {"connection_id":54213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:45: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-04-26 05: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-04-26 05:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:45:52] local.INFO: GPS data processed {"connection_id":54213,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:45:52] local.INFO: Acknowledgment sent {"connection_id":54213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:46:15] local.INFO: TCP Data received {"connection_id":54398,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:46:15] local.INFO: Processing buffer {"connection_id":54398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:46:15] local.INFO: IMEI packet received {"connection_id":54398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":54398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:46:16] local.INFO: TCP Data received {"connection_id":55125,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:46:16] local.INFO: Processing buffer {"connection_id":55125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:46:16] local.INFO: IMEI packet received {"connection_id":55125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":55125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:46:20] local.INFO: TCP Data received {"connection_id":54398,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:46:20] local.INFO: Processing buffer {"connection_id":54398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:46:20] local.INFO: IMEI packet received {"connection_id":54398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:46:21] local.INFO: TCP Data received {"connection_id":54398,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:46:21] local.INFO: Processing buffer {"connection_id":54398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:46:21] local.INFO: Packet analysis {"connection_id":54398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:46:21] local.INFO: Extracted packet for processing {"connection_id":54398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 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-04-26 05:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:46:21] 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-04-26 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-04-26 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-04-26 05:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:46: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-04-26 05:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":54398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:46:21] local.INFO: GPS data processed {"connection_id":54398,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:46:21] local.INFO: Acknowledgment sent {"connection_id":54398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:46:41] local.INFO: TCP Data received {"connection_id":54214,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:46:41] local.INFO: Processing buffer {"connection_id":54214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:46:41] local.INFO: IMEI packet received {"connection_id":54214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":54214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:46:52] local.INFO: TCP Data received {"connection_id":54398,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:46:52] local.INFO: Processing buffer {"connection_id":54398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:46:52] local.INFO: Packet analysis {"connection_id":54398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:46:52] local.INFO: Extracted packet for processing {"connection_id":54398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 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-04-26 05:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:46: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-04-26 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-04-26 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-04-26 05:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":54398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:46:52] local.INFO: GPS data processed {"connection_id":54398,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:46:52] local.INFO: Acknowledgment sent {"connection_id":54398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:47:15] local.INFO: TCP Data received {"connection_id":54215,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:47:15] local.INFO: Processing buffer {"connection_id":54215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:47:15] local.INFO: IMEI packet received {"connection_id":54215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":54215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:47:20] local.INFO: TCP Data received {"connection_id":54215,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:47:20] local.INFO: Processing buffer {"connection_id":54215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:47:20] local.INFO: IMEI packet received {"connection_id":54215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:47:21] local.INFO: TCP Data received {"connection_id":54215,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:47:21] local.INFO: Processing buffer {"connection_id":54215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:47:21] local.INFO: Packet analysis {"connection_id":54215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:47:21] local.INFO: Extracted packet for processing {"connection_id":54215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:47:21] 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-04-26 05: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-04-26 05:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:47: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-04-26 05:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:47:21] local.INFO: GPS data processed {"connection_id":54215,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:47:21] local.INFO: Acknowledgment sent {"connection_id":54215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:47:52] local.INFO: TCP Data received {"connection_id":54215,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:47:52] local.INFO: Processing buffer {"connection_id":54215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:47:52] local.INFO: Packet analysis {"connection_id":54215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:47:52] local.INFO: Extracted packet for processing {"connection_id":54215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 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-04-26 05:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:47: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-04-26 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-04-26 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-04-26 05:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:47: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-04-26 05:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:47:52] local.INFO: GPS data processed {"connection_id":54215,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:47:52] local.INFO: Acknowledgment sent {"connection_id":54215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:48:15] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:48:15] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:48:15] local.INFO: IMEI packet received {"connection_id":55126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":55126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:48:20] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:48:20] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:48:20] local.INFO: IMEI packet received {"connection_id":55126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":55126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:48:21] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:48:21] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:48:21] local.INFO: Packet analysis {"connection_id":55126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:48:21] local.INFO: Extracted packet for processing {"connection_id":55126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:48:21] 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-04-26 05: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-04-26 05:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":55126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:48:21] local.INFO: GPS data processed {"connection_id":55126,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:48:21] local.INFO: Acknowledgment sent {"connection_id":55126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:48:52] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:48:52] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7227368012cb299c007822ce00049001230..."} 
[2026-04-26 05:48:52] local.INFO: Packet analysis {"connection_id":55126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:48:52] local.INFO: Extracted packet for processing {"connection_id":55126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc722"} 
[2026-04-26 05:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953501696001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162417000,"timestamp_ms":1777162417000,"timestamp_seconds":1777162417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7227368"} 
[2026-04-26 05:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 05:48: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-04-26 05: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-04-26 05:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953501696001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953501696001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953501696001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":55126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:48:52] local.INFO: GPS data processed {"connection_id":55126,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:48:52] local.INFO: Acknowledgment sent {"connection_id":55126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:49:15] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:15] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:15] local.INFO: IMEI packet received {"connection_id":54465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":54465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:49:16] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:16] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:16] local.INFO: IMEI packet received {"connection_id":54465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":54465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:49:20] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:20] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:49:20] local.INFO: IMEI packet received {"connection_id":54465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":54465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:49:21] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:49:21] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:49:21] local.INFO: Packet analysis {"connection_id":54465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:49:21] local.INFO: Extracted packet for processing {"connection_id":54465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:49:21] 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-04-26 05:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:49: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-04-26 05:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":54465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:49:21] local.INFO: GPS data processed {"connection_id":54465,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:49:21] local.INFO: Acknowledgment sent {"connection_id":54465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:49:52] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:49:52] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:49:52] local.INFO: Packet analysis {"connection_id":54465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:49:52] local.INFO: Extracted packet for processing {"connection_id":54465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:49: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-04-26 05: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-04-26 05:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:49: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-04-26 05:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:49:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":54465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:49:52] local.INFO: GPS data processed {"connection_id":54465,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:49:52] local.INFO: Acknowledgment sent {"connection_id":54465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:50:15] local.INFO: TCP Data received {"connection_id":54400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:50:15] local.INFO: Processing buffer {"connection_id":54400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:50:15] local.INFO: IMEI packet received {"connection_id":54400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:50:20] local.INFO: TCP Data received {"connection_id":54400,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:50:20] local.INFO: Processing buffer {"connection_id":54400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:50:20] local.INFO: IMEI packet received {"connection_id":54400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:50:21] local.INFO: TCP Data received {"connection_id":54400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:50:21] local.INFO: Processing buffer {"connection_id":54400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:50:21] local.INFO: Packet analysis {"connection_id":54400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:50:21] local.INFO: Extracted packet for processing {"connection_id":54400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:50:21] 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-04-26 05: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-04-26 05:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":54400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:50:21] local.INFO: GPS data processed {"connection_id":54400,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:50:21] local.INFO: Acknowledgment sent {"connection_id":54400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:50:52] local.INFO: TCP Data received {"connection_id":54400,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:50:52] local.INFO: Processing buffer {"connection_id":54400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:50:52] local.INFO: Packet analysis {"connection_id":54400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:50:52] local.INFO: Extracted packet for processing {"connection_id":54400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:50:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:50: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-04-26 05: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-04-26 05:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:50:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":54400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:50:52] local.INFO: GPS data processed {"connection_id":54400,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:50:52] local.INFO: Acknowledgment sent {"connection_id":54400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:51:15] local.INFO: TCP Data received {"connection_id":54216,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:51:15] local.INFO: Processing buffer {"connection_id":54216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:51:15] local.INFO: IMEI packet received {"connection_id":54216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":54216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:51:20] local.INFO: TCP Data received {"connection_id":54216,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:51:20] local.INFO: Processing buffer {"connection_id":54216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:51:20] local.INFO: IMEI packet received {"connection_id":54216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":54216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:51:21] local.INFO: TCP Data received {"connection_id":54216,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:51:21] local.INFO: Processing buffer {"connection_id":54216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:51:21] local.INFO: Packet analysis {"connection_id":54216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:51:21] local.INFO: Extracted packet for processing {"connection_id":54216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 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-04-26 05:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:51:21] 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-04-26 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-04-26 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-04-26 05:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":54216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:51:21] local.INFO: GPS data processed {"connection_id":54216,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:51:21] local.INFO: Acknowledgment sent {"connection_id":54216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:51:52] local.INFO: TCP Data received {"connection_id":54216,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:51:52] local.INFO: Processing buffer {"connection_id":54216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:51:52] local.INFO: Packet analysis {"connection_id":54216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:51:52] local.INFO: Extracted packet for processing {"connection_id":54216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 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-04-26 05:51:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:51: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-04-26 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-04-26 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-04-26 05:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:51:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":54216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:51:52] local.INFO: GPS data processed {"connection_id":54216,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:51:52] local.INFO: Acknowledgment sent {"connection_id":54216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:52:11] local.INFO: TCP Data received {"connection_id":54217,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:52:11] local.INFO: Processing buffer {"connection_id":54217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:52:11] local.INFO: IMEI packet received {"connection_id":54217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":54217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:52:15] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:52:15] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:52:15] local.INFO: IMEI packet received {"connection_id":54466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":54466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:52:20] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:52:20] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:52:20] local.INFO: IMEI packet received {"connection_id":54466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:52:21] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:52:21] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:52:21] local.INFO: Packet analysis {"connection_id":54466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:52:21] local.INFO: Extracted packet for processing {"connection_id":54466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:52:21] 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-04-26 05: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-04-26 05:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:52: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-04-26 05:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":54466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:52:21] local.INFO: GPS data processed {"connection_id":54466,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:52:21] local.INFO: Acknowledgment sent {"connection_id":54466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:52:40] local.INFO: TCP Data received {"connection_id":54218,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:52:40] local.INFO: Processing buffer {"connection_id":54218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:52:40] local.INFO: IMEI packet received {"connection_id":54218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":54218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:52:52] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:52:52] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:52:52] local.INFO: Packet analysis {"connection_id":54466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:52:52] local.INFO: Extracted packet for processing {"connection_id":54466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:52: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-04-26 05: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-04-26 05:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:52: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-04-26 05:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":54466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:52:52] local.INFO: GPS data processed {"connection_id":54466,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:52:52] local.INFO: Acknowledgment sent {"connection_id":54466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:53:15] local.INFO: TCP Data received {"connection_id":54401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:53:15] local.INFO: Processing buffer {"connection_id":54401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:53:15] local.INFO: IMEI packet received {"connection_id":54401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":54401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:53:20] local.INFO: TCP Data received {"connection_id":54401,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:53:20] local.INFO: Processing buffer {"connection_id":54401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:53:20] local.INFO: IMEI packet received {"connection_id":54401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:53:21] local.INFO: TCP Data received {"connection_id":54401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:53:21] local.INFO: Processing buffer {"connection_id":54401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:53:21] local.INFO: Packet analysis {"connection_id":54401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:53:21] local.INFO: Extracted packet for processing {"connection_id":54401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:53:21] 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-04-26 05: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-04-26 05:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:53: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-04-26 05:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":54401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:53:21] local.INFO: GPS data processed {"connection_id":54401,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:53:21] local.INFO: Acknowledgment sent {"connection_id":54401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:53:52] local.INFO: TCP Data received {"connection_id":54401,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:53:52] local.INFO: Processing buffer {"connection_id":54401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7270b30012cb299c007822ce00049001231..."} 
[2026-04-26 05:53:52] local.INFO: Packet analysis {"connection_id":54401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:53:52] local.INFO: Extracted packet for processing {"connection_id":54401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc727"} 
[2026-04-26 05:53:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953578752001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777162718000,"timestamp_ms":1777162718000,"timestamp_seconds":1777162718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7270b30"} 
[2026-04-26 05:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:53: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-04-26 05: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-04-26 05:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:53: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-04-26 05:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953578752001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953578752001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:53:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953578752001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":54401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:53:52] local.INFO: GPS data processed {"connection_id":54401,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:53:52] local.INFO: Acknowledgment sent {"connection_id":54401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:54:17] local.INFO: TCP Data received {"connection_id":54220,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:17] local.INFO: Processing buffer {"connection_id":54220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:17] local.INFO: IMEI packet received {"connection_id":54220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":54220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:54:20] local.INFO: TCP Data received {"connection_id":54220,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:20] local.INFO: Processing buffer {"connection_id":54220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:20] local.INFO: IMEI packet received {"connection_id":54220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":54220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:54:25] local.INFO: TCP Data received {"connection_id":54220,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:25] local.INFO: Processing buffer {"connection_id":54220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:54:25] local.INFO: IMEI packet received {"connection_id":54220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":54220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:54:26] local.INFO: TCP Data received {"connection_id":54220,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:54:26] local.INFO: Processing buffer {"connection_id":54220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:54:26] local.INFO: Packet analysis {"connection_id":54220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:54:26] local.INFO: Extracted packet for processing {"connection_id":54220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:54:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:54: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-04-26 05:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:54:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":54220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:54:26] local.INFO: GPS data processed {"connection_id":54220,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:54:26] local.INFO: Acknowledgment sent {"connection_id":54220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:54:30] local.INFO: TCP Data received {"connection_id":54220,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:54:30] local.INFO: Processing buffer {"connection_id":54220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:54:30] local.INFO: Packet analysis {"connection_id":54220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:54:30] local.INFO: Extracted packet for processing {"connection_id":54220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 05:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:54:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":54220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:54:30] local.INFO: GPS data processed {"connection_id":54220,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:54:30] local.INFO: Acknowledgment sent {"connection_id":54220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:55:15] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:55:15] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:55:15] local.INFO: IMEI packet received {"connection_id":55129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":55129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:55:20] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:55:20] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:55:20] local.INFO: IMEI packet received {"connection_id":55129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":55129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:55:21] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:55:21] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:55:21] local.INFO: Packet analysis {"connection_id":55129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:55:21] local.INFO: Extracted packet for processing {"connection_id":55129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:55: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-04-26 05:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":55129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:55:21] local.INFO: GPS data processed {"connection_id":55129,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:55:21] local.INFO: Acknowledgment sent {"connection_id":55129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:55:52] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:55:52] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:55:52] local.INFO: Packet analysis {"connection_id":55129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:55:52] local.INFO: Extracted packet for processing {"connection_id":55129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:55:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:55: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-04-26 05:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":55129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:55:52] local.INFO: GPS data processed {"connection_id":55129,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:55:52] local.INFO: Acknowledgment sent {"connection_id":55129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:56:15] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:56:15] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:56:15] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:56:20] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:56:20] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:56:20] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:56:21] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:56:21] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:56:21] local.INFO: Packet analysis {"connection_id":54402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:56:21] local.INFO: Extracted packet for processing {"connection_id":54402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 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-04-26 05:56:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:56: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-04-26 05:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":54402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:56:21] local.INFO: GPS data processed {"connection_id":54402,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:56:21] local.INFO: Acknowledgment sent {"connection_id":54402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:56:52] local.INFO: TCP Data received {"connection_id":54402,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:56:52] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:56:52] local.INFO: Packet analysis {"connection_id":54402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:56:52] local.INFO: Extracted packet for processing {"connection_id":54402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:56:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 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-04-26 05:56:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:56: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-04-26 05:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:56:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":54402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:56:52] local.INFO: GPS data processed {"connection_id":54402,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:56:52] local.INFO: Acknowledgment sent {"connection_id":54402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:57:15] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:57:15] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:57:15] local.INFO: IMEI packet received {"connection_id":55130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":55130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:57:20] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:57:20] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:57:20] local.INFO: IMEI packet received {"connection_id":55130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":55130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:57:21] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:57:21] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:57:21] local.INFO: Packet analysis {"connection_id":55130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:57:21] local.INFO: Extracted packet for processing {"connection_id":55130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05: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-04-26 05:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":55130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:57:21] local.INFO: GPS data processed {"connection_id":55130,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:57:21] local.INFO: Acknowledgment sent {"connection_id":55130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:57:52] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:57:52] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:57:52] local.INFO: Packet analysis {"connection_id":55130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:57:52] local.INFO: Extracted packet for processing {"connection_id":55130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 05:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 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-04-26 05:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 05:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:57: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-04-26 05:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:57:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":55130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:57:52] local.INFO: GPS data processed {"connection_id":55130,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:57:52] local.INFO: Acknowledgment sent {"connection_id":55130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:58:06] local.INFO: TCP Data received {"connection_id":54403,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:58:06] local.INFO: Processing buffer {"connection_id":54403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:58:06] local.INFO: IMEI packet received {"connection_id":54403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":54403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:58:15] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:58:15] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:58:15] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:58:21] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:58:21] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:58:21] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:58:22] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:58:22] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:58:22] local.INFO: Packet analysis {"connection_id":54469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:58:22] local.INFO: Extracted packet for processing {"connection_id":54469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:58:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05: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-04-26 05:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:58: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-04-26 05:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":54469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:58:22] local.INFO: GPS data processed {"connection_id":54469,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:58:22] local.INFO: Acknowledgment sent {"connection_id":54469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:58:46] local.INFO: TCP Data received {"connection_id":55131,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:58:46] local.INFO: Processing buffer {"connection_id":55131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 05:58:46] local.INFO: IMEI packet received {"connection_id":55131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 05:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":55131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:58:53] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:58:53] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc72ba2f8012cb299c007822ce00049001230..."} 
[2026-04-26 05:58:53] local.INFO: Packet analysis {"connection_id":54469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:58:53] local.INFO: Extracted packet for processing {"connection_id":54469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc72b"} 
[2026-04-26 05:58:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953655808001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:58:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777163019000,"timestamp_ms":1777163019000,"timestamp_seconds":1777163019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc72ba2f8"} 
[2026-04-26 05:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 05:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 05:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 05:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:58: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-04-26 05:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953655808001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953655808001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:58:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953655808001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":54469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:58:53] local.INFO: GPS data processed {"connection_id":54469,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:58:53] local.INFO: Acknowledgment sent {"connection_id":54469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:59:18] local.INFO: TCP Data received {"connection_id":54404,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:18] local.INFO: Processing buffer {"connection_id":54404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:18] local.INFO: IMEI packet received {"connection_id":54404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 05:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":54404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 05:59:20] local.INFO: TCP Data received {"connection_id":54404,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:20] local.INFO: Processing buffer {"connection_id":54404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:20] local.INFO: IMEI packet received {"connection_id":54404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:59:25] local.INFO: TCP Data received {"connection_id":54404,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:25] local.INFO: Processing buffer {"connection_id":54404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 05:59:25] local.INFO: IMEI packet received {"connection_id":54404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 05:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":54404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 05:59:26] local.INFO: TCP Data received {"connection_id":54404,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 05:59:26] local.INFO: Processing buffer {"connection_id":54404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 05:59:26] local.INFO: Packet analysis {"connection_id":54404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 05:59:26] local.INFO: Extracted packet for processing {"connection_id":54404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 05:59:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 05:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:59:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 05:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:59:26] 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-04-26 05:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:59:26] 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-04-26 05:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 05:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:59: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-04-26 05:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:59:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:59:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":54404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:59:26] local.INFO: GPS data processed {"connection_id":54404,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:59:26] local.INFO: Acknowledgment sent {"connection_id":54404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 05:59:57] local.INFO: TCP Data received {"connection_id":54404,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 05:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 05:59:57] local.INFO: Processing buffer {"connection_id":54404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 05:59:57] local.INFO: Packet analysis {"connection_id":54404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 05:59:57] local.INFO: Extracted packet for processing {"connection_id":54404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 05:59:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 05: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-04-26 05:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 05:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 05:59:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 05:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 05:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 05:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 05:59:57] 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-04-26 05: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 05:59:57] 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-04-26 05: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-04-26 05:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 05:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 05:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 05:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 05:59: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-04-26 05:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 05:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 05:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 05:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 05:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 05:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 05:59:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 05:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 05:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 05:59:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 05:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 05:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":54404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 05:59:57] local.INFO: GPS data processed {"connection_id":54404,"processed":1,"errors":0,"total":1} 
[2026-04-26 05:59:57] local.INFO: Acknowledgment sent {"connection_id":54404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:00:15] local.INFO: TCP Data received {"connection_id":54222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:00:15] local.INFO: Processing buffer {"connection_id":54222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:00:15] local.INFO: IMEI packet received {"connection_id":54222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":54222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:00:20] local.INFO: TCP Data received {"connection_id":54222,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:00:20] local.INFO: Processing buffer {"connection_id":54222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:00:20] local.INFO: IMEI packet received {"connection_id":54222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":54222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:00:21] local.INFO: TCP Data received {"connection_id":54222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:00:21] local.INFO: Processing buffer {"connection_id":54222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:00:21] local.INFO: Packet analysis {"connection_id":54222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:00:21] local.INFO: Extracted packet for processing {"connection_id":54222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:00:21] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:00:21] 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-04-26 06: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-04-26 06:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":54222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:00:21] local.INFO: GPS data processed {"connection_id":54222,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:00:21] local.INFO: Acknowledgment sent {"connection_id":54222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:00:52] local.INFO: TCP Data received {"connection_id":54222,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:00:52] local.INFO: Processing buffer {"connection_id":54222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:00:52] local.INFO: Packet analysis {"connection_id":54222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:00:52] local.INFO: Extracted packet for processing {"connection_id":54222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:00:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:00:52] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:00: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-04-26 06: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-04-26 06:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:00: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-04-26 06:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:00:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":54222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:00:52] local.INFO: GPS data processed {"connection_id":54222,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:00:52] local.INFO: Acknowledgment sent {"connection_id":54222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:01:15] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:01:15] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:01:15] local.INFO: IMEI packet received {"connection_id":54470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":54470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:01:20] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:01:20] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:01:20] local.INFO: IMEI packet received {"connection_id":54470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:01:20] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:01:20] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:01:20] local.INFO: Packet analysis {"connection_id":54470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:01:20] local.INFO: Extracted packet for processing {"connection_id":54470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:01:20] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:01: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-04-26 06: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-04-26 06:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:01: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-04-26 06:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:01:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":54470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:01:20] local.INFO: GPS data processed {"connection_id":54470,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:01:20] local.INFO: Acknowledgment sent {"connection_id":54470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:01:51] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:01:51] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:01:51] local.INFO: Packet analysis {"connection_id":54470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:01:51] local.INFO: Extracted packet for processing {"connection_id":54470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:01:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:01:51] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:01: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-04-26 06: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-04-26 06:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:01:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:01:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":54470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:01:51] local.INFO: GPS data processed {"connection_id":54470,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:01:51] local.INFO: Acknowledgment sent {"connection_id":54470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:02:15] local.INFO: TCP Data received {"connection_id":55133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:02:15] local.INFO: Processing buffer {"connection_id":55133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:02:15] local.INFO: IMEI packet received {"connection_id":55133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":55133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:02:20] local.INFO: TCP Data received {"connection_id":55133,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:02:20] local.INFO: Processing buffer {"connection_id":55133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:02:20] local.INFO: IMEI packet received {"connection_id":55133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":55133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:02:21] local.INFO: TCP Data received {"connection_id":55133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:02:21] local.INFO: Processing buffer {"connection_id":55133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:02:21] local.INFO: Packet analysis {"connection_id":55133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:02:21] local.INFO: Extracted packet for processing {"connection_id":55133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:02:21] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:02:21] 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-04-26 06: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-04-26 06:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":55133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:02:21] local.INFO: GPS data processed {"connection_id":55133,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:02:21] local.INFO: Acknowledgment sent {"connection_id":55133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:02:52] local.INFO: TCP Data received {"connection_id":55133,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:02:52] local.INFO: Processing buffer {"connection_id":55133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:02:52] local.INFO: Packet analysis {"connection_id":55133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:02:52] local.INFO: Extracted packet for processing {"connection_id":55133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:02:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:02:52] 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-04-26 06:02:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:02: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-04-26 06:02:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:02:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":55133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:02:52] local.INFO: GPS data processed {"connection_id":55133,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:02:52] local.INFO: Acknowledgment sent {"connection_id":55133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:03:15] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:03:15] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:03:15] local.INFO: IMEI packet received {"connection_id":54407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":54407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:03:20] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:03:20] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:03:20] local.INFO: IMEI packet received {"connection_id":54407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:03:20] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:03:20] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:03:20] local.INFO: Packet analysis {"connection_id":54407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:03:20] local.INFO: Extracted packet for processing {"connection_id":54407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 06:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:03:20] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:03: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-04-26 06: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-04-26 06:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:03:20] local.INFO: GPS data processed {"connection_id":54407,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:03:20] local.INFO: Acknowledgment sent {"connection_id":54407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:03:51] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:03:51] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7303ac0012cb299c007822ce0004b001230..."} 
[2026-04-26 06:03:51] local.INFO: Packet analysis {"connection_id":54407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:03:51] local.INFO: Extracted packet for processing {"connection_id":54407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc730"} 
[2026-04-26 06:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953732864001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777163320000,"timestamp_ms":1777163320000,"timestamp_seconds":1777163320,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7303ac0"} 
[2026-04-26 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-04-26 06:03:51] 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-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:03: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-04-26 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-04-26 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-04-26 06:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:03: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-04-26 06:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953732864001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953732864001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:03:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953732864001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:03:51] local.INFO: GPS data processed {"connection_id":54407,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:03:51] local.INFO: Acknowledgment sent {"connection_id":54407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:04:01] local.INFO: TCP Data received {"connection_id":54223,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:04:01] local.INFO: Processing buffer {"connection_id":54223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:04:01] local.INFO: IMEI packet received {"connection_id":54223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":54223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:04:19] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:19] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:19] local.INFO: IMEI packet received {"connection_id":55135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":55135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:04:20] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:20] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:20] local.INFO: IMEI packet received {"connection_id":55135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":55135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:04:25] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:25] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:04:25] local.INFO: IMEI packet received {"connection_id":55135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":55135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:04:26] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:04:26] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:04:26] local.INFO: Packet analysis {"connection_id":55135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:04:26] local.INFO: Extracted packet for processing {"connection_id":55135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:04:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:04:26] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:04:26] 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-04-26 06: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-04-26 06:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:04: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-04-26 06:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:04:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":55135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:04:26] local.INFO: GPS data processed {"connection_id":55135,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:04:26] local.INFO: Acknowledgment sent {"connection_id":55135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:04:41] local.INFO: TCP Data received {"connection_id":55136,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:04:41] local.INFO: Processing buffer {"connection_id":55136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:04:41] local.INFO: IMEI packet received {"connection_id":55136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":55136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:04:57] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:04:57] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:04:57] local.INFO: Packet analysis {"connection_id":55135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:04:57] local.INFO: Extracted packet for processing {"connection_id":55135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:04:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:04:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:04:57] 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-04-26 06:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:04:57] 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-04-26 06:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:04: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-04-26 06:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:04:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:04:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":55135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:04:57] local.INFO: GPS data processed {"connection_id":55135,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:04:57] local.INFO: Acknowledgment sent {"connection_id":55135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:05:15] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:05:15] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:05:15] local.INFO: IMEI packet received {"connection_id":54408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":54408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:05:20] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:05:20] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:05:20] local.INFO: IMEI packet received {"connection_id":54408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:05:21] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:05:21] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:05:21] local.INFO: Packet analysis {"connection_id":54408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:05:21] local.INFO: Extracted packet for processing {"connection_id":54408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:05:21] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:05:21] 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-04-26 06: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-04-26 06:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:05: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-04-26 06:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":54408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:05:21] local.INFO: GPS data processed {"connection_id":54408,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:05:21] local.INFO: Acknowledgment sent {"connection_id":54408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:05:52] local.INFO: TCP Data received {"connection_id":54408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:05:52] local.INFO: Processing buffer {"connection_id":54408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:05:52] local.INFO: Packet analysis {"connection_id":54408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:05:52] local.INFO: Extracted packet for processing {"connection_id":54408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:05:52] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:05: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-04-26 06: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-04-26 06:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:05: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-04-26 06:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":54408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:05:52] local.INFO: GPS data processed {"connection_id":54408,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:05:52] local.INFO: Acknowledgment sent {"connection_id":54408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:06:15] local.INFO: TCP Data received {"connection_id":54471,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:06:15] local.INFO: Processing buffer {"connection_id":54471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:06:15] local.INFO: IMEI packet received {"connection_id":54471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:06:20] local.INFO: TCP Data received {"connection_id":54471,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:06:20] local.INFO: Processing buffer {"connection_id":54471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:06:20] local.INFO: IMEI packet received {"connection_id":54471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":54471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:06:25] local.INFO: TCP Data received {"connection_id":54471,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:06:25] local.INFO: Processing buffer {"connection_id":54471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:06:25] local.INFO: Packet analysis {"connection_id":54471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:06:25] local.INFO: Extracted packet for processing {"connection_id":54471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:06:25] 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-04-26 06:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:06: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-04-26 06:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:06:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":54471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:06:25] local.INFO: GPS data processed {"connection_id":54471,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:06:25] local.INFO: Acknowledgment sent {"connection_id":54471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:06:56] local.INFO: TCP Data received {"connection_id":54471,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:06:56] local.INFO: Processing buffer {"connection_id":54471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:06:56] local.INFO: Packet analysis {"connection_id":54471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:06:56] local.INFO: Extracted packet for processing {"connection_id":54471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:06:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:06:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:06:56] 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-04-26 06:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:06:56] 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-04-26 06:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:06: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-04-26 06:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:06:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:06:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":54471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:06:56] local.INFO: GPS data processed {"connection_id":54471,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:06:56] local.INFO: Acknowledgment sent {"connection_id":54471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:07:15] local.INFO: TCP Data received {"connection_id":54226,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:07:15] local.INFO: Processing buffer {"connection_id":54226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:07:15] local.INFO: IMEI packet received {"connection_id":54226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":54226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:07:20] local.INFO: TCP Data received {"connection_id":54226,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:07:20] local.INFO: Processing buffer {"connection_id":54226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:07:20] local.INFO: IMEI packet received {"connection_id":54226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":54226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:07:21] local.INFO: TCP Data received {"connection_id":54226,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:07:21] local.INFO: Processing buffer {"connection_id":54226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:07:21] local.INFO: Packet analysis {"connection_id":54226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:07:21] local.INFO: Extracted packet for processing {"connection_id":54226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:07:21] 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-04-26 06:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:07:21] 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-04-26 06:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:07:21] 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-04-26 06:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":54226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:07:21] local.INFO: GPS data processed {"connection_id":54226,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:07:21] local.INFO: Acknowledgment sent {"connection_id":54226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:07:52] local.INFO: TCP Data received {"connection_id":54226,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:07:52] local.INFO: Processing buffer {"connection_id":54226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:07:52] local.INFO: Packet analysis {"connection_id":54226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:07:52] local.INFO: Extracted packet for processing {"connection_id":54226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 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-04-26 06:07:52] 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-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:07: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-04-26 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-04-26 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-04-26 06:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:07:52] 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-04-26 06:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":54226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:07:52] local.INFO: GPS data processed {"connection_id":54226,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:07:52] local.INFO: Acknowledgment sent {"connection_id":54226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:08:15] local.INFO: TCP Data received {"connection_id":54409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:08:15] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:08:15] local.INFO: IMEI packet received {"connection_id":54409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":54409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:08:20] local.INFO: TCP Data received {"connection_id":54409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:08:20] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:08:20] local.INFO: IMEI packet received {"connection_id":54409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:08:21] local.INFO: TCP Data received {"connection_id":54409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:08:21] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:08:21] local.INFO: Packet analysis {"connection_id":54409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:08:21] local.INFO: Extracted packet for processing {"connection_id":54409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:08:21] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:08:21] 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-04-26 06: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-04-26 06:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:08: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-04-26 06:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":54409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:08:21] local.INFO: GPS data processed {"connection_id":54409,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:08:21] local.INFO: Acknowledgment sent {"connection_id":54409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:08:52] local.INFO: TCP Data received {"connection_id":54409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:08:52] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc734d288012cb299c007822ce0004700122e..."} 
[2026-04-26 06:08:52] local.INFO: Packet analysis {"connection_id":54409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:08:52] local.INFO: Extracted packet for processing {"connection_id":54409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc734"} 
[2026-04-26 06:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953809920001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163621000,"timestamp_ms":1777163621000,"timestamp_seconds":1777163621,"priority":1,"record_length":96,"hex_timestamp":"0000019dc734d288"} 
[2026-04-26 06:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:08:52] 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-04-26 06: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 06:08: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-04-26 06: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-04-26 06:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:08: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-04-26 06:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953809920001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953809920001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:08:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953809920001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":54409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:08:52] local.INFO: GPS data processed {"connection_id":54409,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:08:52] local.INFO: Acknowledgment sent {"connection_id":54409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:09:20] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:20] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:20] local.INFO: IMEI packet received {"connection_id":54227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":54227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:09:20] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:20] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:20] local.INFO: IMEI packet received {"connection_id":54227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":54227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:09:25] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:25] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:09:25] local.INFO: IMEI packet received {"connection_id":54227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":54227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:09:26] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:09:26] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:09:26] local.INFO: Packet analysis {"connection_id":54227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:09:26] local.INFO: Extracted packet for processing {"connection_id":54227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:09:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:09:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:09:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:09:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:09:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:09:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:09:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:09: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-04-26 06:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:09:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:09:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:09:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":54227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:09:26] local.INFO: GPS data processed {"connection_id":54227,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:09:26] local.INFO: Acknowledgment sent {"connection_id":54227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:09:30] local.INFO: TCP Data received {"connection_id":54227,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:09:30] local.INFO: Processing buffer {"connection_id":54227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:09:30] local.INFO: Packet analysis {"connection_id":54227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:09:30] local.INFO: Extracted packet for processing {"connection_id":54227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:09:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:09: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-04-26 06:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:09:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":54227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:09:30] local.INFO: GPS data processed {"connection_id":54227,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:09:30] local.INFO: Acknowledgment sent {"connection_id":54227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:10:10] local.INFO: TCP Data received {"connection_id":54473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:10:10] local.INFO: Processing buffer {"connection_id":54473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:10:10] local.INFO: IMEI packet received {"connection_id":54473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":54473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:10:15] local.INFO: TCP Data received {"connection_id":54228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:10:15] local.INFO: Processing buffer {"connection_id":54228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:10:15] local.INFO: IMEI packet received {"connection_id":54228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:10:20] local.INFO: TCP Data received {"connection_id":54228,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:10:20] local.INFO: Processing buffer {"connection_id":54228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:10:20] local.INFO: IMEI packet received {"connection_id":54228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:10:21] local.INFO: TCP Data received {"connection_id":54228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:10:21] local.INFO: Processing buffer {"connection_id":54228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:10:21] local.INFO: Packet analysis {"connection_id":54228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:10:21] local.INFO: Extracted packet for processing {"connection_id":54228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:10:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:10: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-04-26 06: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-04-26 06:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:10: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-04-26 06:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":54228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:10:21] local.INFO: GPS data processed {"connection_id":54228,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:10:21] local.INFO: Acknowledgment sent {"connection_id":54228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:10:40] local.INFO: TCP Data received {"connection_id":54410,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:10:40] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:10:40] local.INFO: IMEI packet received {"connection_id":54410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":54410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:10:52] local.INFO: TCP Data received {"connection_id":54228,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:10:52] local.INFO: Processing buffer {"connection_id":54228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:10:52] local.INFO: Packet analysis {"connection_id":54228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:10:52] local.INFO: Extracted packet for processing {"connection_id":54228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:10:52] 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-04-26 06: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-04-26 06:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":54228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:10:52] local.INFO: GPS data processed {"connection_id":54228,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:10:52] local.INFO: Acknowledgment sent {"connection_id":54228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:11:15] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:11:15] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:11:15] local.INFO: IMEI packet received {"connection_id":54229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:11:20] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:11:20] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:11:20] local.INFO: IMEI packet received {"connection_id":54229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:11:20] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:11:20] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:11:20] local.INFO: Packet analysis {"connection_id":54229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:11:20] local.INFO: Extracted packet for processing {"connection_id":54229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 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-04-26 06:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:11: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-04-26 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-04-26 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-04-26 06:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:11: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-04-26 06:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:11:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":54229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:11:20] local.INFO: GPS data processed {"connection_id":54229,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:11:20] local.INFO: Acknowledgment sent {"connection_id":54229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:11:51] local.INFO: TCP Data received {"connection_id":54229,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:11:51] local.INFO: Processing buffer {"connection_id":54229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:11:51] local.INFO: Packet analysis {"connection_id":54229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:11:51] local.INFO: Extracted packet for processing {"connection_id":54229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:11:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 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-04-26 06:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:11: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-04-26 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-04-26 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-04-26 06:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:11:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":54229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:11:51] local.INFO: GPS data processed {"connection_id":54229,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:11:51] local.INFO: Acknowledgment sent {"connection_id":54229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:12:15] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:12:15] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:12:15] local.INFO: IMEI packet received {"connection_id":54475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:12:20] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:12:20] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:12:20] local.INFO: IMEI packet received {"connection_id":54475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:12:21] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:12:21] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:12:21] local.INFO: Packet analysis {"connection_id":54475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:12:21] local.INFO: Extracted packet for processing {"connection_id":54475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:12:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:12: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-04-26 06: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-04-26 06:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:12: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-04-26 06:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":54475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:12:21] local.INFO: GPS data processed {"connection_id":54475,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:12:21] local.INFO: Acknowledgment sent {"connection_id":54475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:12:52] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:12:52] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:12:52] local.INFO: Packet analysis {"connection_id":54475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:12:52] local.INFO: Extracted packet for processing {"connection_id":54475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:12:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:12:52] 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-04-26 06: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-04-26 06:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:12: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-04-26 06:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:12:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":54475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:12:52] local.INFO: GPS data processed {"connection_id":54475,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:12:52] local.INFO: Acknowledgment sent {"connection_id":54475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:13:15] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:13:15] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:13:15] local.INFO: IMEI packet received {"connection_id":55139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":55139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:13:20] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:13:20] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:13:20] local.INFO: IMEI packet received {"connection_id":55139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":55139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:13:21] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:13:21] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:13:21] local.INFO: Packet analysis {"connection_id":55139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:13:21] local.INFO: Extracted packet for processing {"connection_id":55139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:13: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-04-26 06: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-04-26 06:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:13: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-04-26 06:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":55139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:13:21] local.INFO: GPS data processed {"connection_id":55139,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:13:21] local.INFO: Acknowledgment sent {"connection_id":55139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:13:52] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:13:52] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7396a50012cb299c007822ce00048001230..."} 
[2026-04-26 06:13:52] local.INFO: Packet analysis {"connection_id":55139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:13:52] local.INFO: Extracted packet for processing {"connection_id":55139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc739"} 
[2026-04-26 06:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953886976001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777163922000,"timestamp_ms":1777163922000,"timestamp_seconds":1777163922,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7396a50"} 
[2026-04-26 06:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:13:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:13:52] 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-04-26 06: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-04-26 06:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:13: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-04-26 06:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953886976001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953886976001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953886976001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":55139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:13:52] local.INFO: GPS data processed {"connection_id":55139,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:13:52] local.INFO: Acknowledgment sent {"connection_id":55139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:14:20] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:14:20] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:14:20] local.INFO: IMEI packet received {"connection_id":54230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":54230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:14:21] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:14:21] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:14:21] local.INFO: IMEI packet received {"connection_id":54230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":54230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:14:21] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:21] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:21] local.INFO: Packet analysis {"connection_id":54230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:14:21] local.INFO: Extracted packet for processing {"connection_id":54230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":54230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:14:21] local.INFO: GPS data processed {"connection_id":54230,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:14:21] local.INFO: Acknowledgment sent {"connection_id":54230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:14:25] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:25] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:25] local.INFO: Packet analysis {"connection_id":54230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:14:25] local.INFO: Extracted packet for processing {"connection_id":54230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:14:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:14:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":54230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:14:25] local.INFO: GPS data processed {"connection_id":54230,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:14:25] local.INFO: Acknowledgment sent {"connection_id":54230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:14:56] local.INFO: TCP Data received {"connection_id":54230,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:56] local.INFO: Processing buffer {"connection_id":54230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:14:56] local.INFO: Packet analysis {"connection_id":54230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:14:56] local.INFO: Extracted packet for processing {"connection_id":54230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:14:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:14:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":54230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:14:56] local.INFO: GPS data processed {"connection_id":54230,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:14:56] local.INFO: Acknowledgment sent {"connection_id":54230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:15:15] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:15:15] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:15:15] local.INFO: IMEI packet received {"connection_id":54412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:15:20] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:15:20] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:15:20] local.INFO: IMEI packet received {"connection_id":54412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:15:21] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:15:21] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:15:21] local.INFO: Packet analysis {"connection_id":54412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:15:21] local.INFO: Extracted packet for processing {"connection_id":54412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:15: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-04-26 06:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:15:21] local.INFO: GPS data processed {"connection_id":54412,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:15:21] local.INFO: Acknowledgment sent {"connection_id":54412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:15:52] local.INFO: TCP Data received {"connection_id":54412,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:15:52] local.INFO: Processing buffer {"connection_id":54412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:15:52] local.INFO: Packet analysis {"connection_id":54412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:15:52] local.INFO: Extracted packet for processing {"connection_id":54412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:15:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 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-04-26 06:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 06:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:15: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-04-26 06:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:15:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":54412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:15:52] local.INFO: GPS data processed {"connection_id":54412,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:15:52] local.INFO: Acknowledgment sent {"connection_id":54412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:16:06] local.INFO: TCP Data received {"connection_id":55140,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:16:06] local.INFO: Processing buffer {"connection_id":55140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:16:06] local.INFO: IMEI packet received {"connection_id":55140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":55140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:16:15] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:16:15] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:16:15] local.INFO: IMEI packet received {"connection_id":54477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:16:20] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:16:20] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:16:20] local.INFO: IMEI packet received {"connection_id":54477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:16:21] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:16:21] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:16:21] local.INFO: Packet analysis {"connection_id":54477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:16:21] local.INFO: Extracted packet for processing {"connection_id":54477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:16:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:16: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-04-26 06:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":54477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:16:21] local.INFO: GPS data processed {"connection_id":54477,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:16:21] local.INFO: Acknowledgment sent {"connection_id":54477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:16:40] local.INFO: TCP Data received {"connection_id":54413,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:16:40] local.INFO: Processing buffer {"connection_id":54413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:16:40] local.INFO: IMEI packet received {"connection_id":54413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":54413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:16:52] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:16:52] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:16:52] local.INFO: Packet analysis {"connection_id":54477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:16:52] local.INFO: Extracted packet for processing {"connection_id":54477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:16:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:16: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-04-26 06:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:16:52] local.INFO: GPS data processed {"connection_id":54477,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:16:52] local.INFO: Acknowledgment sent {"connection_id":54477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:17:15] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:17:15] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:17:15] local.INFO: IMEI packet received {"connection_id":54414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":54414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:17:20] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:17:20] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:17:20] local.INFO: IMEI packet received {"connection_id":54414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":54414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:17:21] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:17:21] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:17:21] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:17:21] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:17:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:17:21] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:17:21] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:17:52] local.INFO: TCP Data received {"connection_id":54414,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:17:52] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:17:52] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:17:52] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:17:52] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:17:52] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:18:20] local.INFO: TCP Data received {"connection_id":54479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:18:20] local.INFO: Processing buffer {"connection_id":54479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:18:20] local.INFO: IMEI packet received {"connection_id":54479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:18:25] local.INFO: TCP Data received {"connection_id":54479,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:18:25] local.INFO: Processing buffer {"connection_id":54479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:18:25] local.INFO: IMEI packet received {"connection_id":54479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":54479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:18:26] local.INFO: TCP Data received {"connection_id":54479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:18:26] local.INFO: Processing buffer {"connection_id":54479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:18:26] local.INFO: Packet analysis {"connection_id":54479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:18:26] local.INFO: Extracted packet for processing {"connection_id":54479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:18:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:18: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-04-26 06:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:18:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":54479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:18:26] local.INFO: GPS data processed {"connection_id":54479,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:18:26] local.INFO: Acknowledgment sent {"connection_id":54479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:18:30] local.INFO: TCP Data received {"connection_id":54479,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:18:30] local.INFO: Processing buffer {"connection_id":54479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:18:30] local.INFO: Packet analysis {"connection_id":54479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:18:30] local.INFO: Extracted packet for processing {"connection_id":54479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:18:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:18: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-04-26 06:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:18:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":54479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:18:30] local.INFO: GPS data processed {"connection_id":54479,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:18:30] local.INFO: Acknowledgment sent {"connection_id":54479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:19:15] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:19:15] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:19:15] local.INFO: IMEI packet received {"connection_id":54416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:19:20] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:19:20] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:19:20] local.INFO: IMEI packet received {"connection_id":54416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":54416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:19:21] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:19:21] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc73e0218012cb299c007822ce0004900122f..."} 
[2026-04-26 06:19:21] local.INFO: Packet analysis {"connection_id":54416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:19:21] local.INFO: Extracted packet for processing {"connection_id":54416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc73e"} 
[2026-04-26 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454953964032001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:19:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164223000,"timestamp_ms":1777164223000,"timestamp_seconds":1777164223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc73e0218"} 
[2026-04-26 06:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:19:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:19: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-04-26 06:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454953964032001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454953964032001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:19:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:19:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:19:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454953964032001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":54416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:19:21] local.INFO: GPS data processed {"connection_id":54416,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:19:21] local.INFO: Acknowledgment sent {"connection_id":54416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:19:52] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:19:52] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:19:52] local.INFO: Packet analysis {"connection_id":54416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:19:52] local.INFO: Extracted packet for processing {"connection_id":54416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:19:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:19:52] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:19: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-04-26 06:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:19:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":54416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:19:52] local.INFO: GPS data processed {"connection_id":54416,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:19:52] local.INFO: Acknowledgment sent {"connection_id":54416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:20:15] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:20:15] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:20:15] local.INFO: IMEI packet received {"connection_id":54232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":54232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:20:20] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:20:20] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:20:20] local.INFO: IMEI packet received {"connection_id":54232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":54232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:20:21] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:20:21] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:20:21] local.INFO: Packet analysis {"connection_id":54232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:20:21] local.INFO: Extracted packet for processing {"connection_id":54232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:20:21] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:20: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-04-26 06:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":54232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:20:21] local.INFO: GPS data processed {"connection_id":54232,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:20:21] local.INFO: Acknowledgment sent {"connection_id":54232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:20:52] local.INFO: TCP Data received {"connection_id":54232,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:20:52] local.INFO: Processing buffer {"connection_id":54232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:20:52] local.INFO: Packet analysis {"connection_id":54232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:20:52] local.INFO: Extracted packet for processing {"connection_id":54232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:20:52] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:20: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-04-26 06:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:20:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":54232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:20:52] local.INFO: GPS data processed {"connection_id":54232,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:20:52] local.INFO: Acknowledgment sent {"connection_id":54232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:21:20] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:21:20] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:21:20] local.INFO: IMEI packet received {"connection_id":55142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":55142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:21:25] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:21:25] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:21:25] local.INFO: IMEI packet received {"connection_id":55142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":55142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:21:26] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:21:26] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:21:26] local.INFO: Packet analysis {"connection_id":55142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:21:26] local.INFO: Extracted packet for processing {"connection_id":55142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:21:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:21:26] 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-04-26 06:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:21:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:21:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":55142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:21:26] local.INFO: GPS data processed {"connection_id":55142,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:21:26] local.INFO: Acknowledgment sent {"connection_id":55142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:21:30] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:21:30] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:21:30] local.INFO: Packet analysis {"connection_id":55142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:21:30] local.INFO: Extracted packet for processing {"connection_id":55142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:21:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:21:30] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:21:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":55142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:21:30] local.INFO: GPS data processed {"connection_id":55142,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:21:30] local.INFO: Acknowledgment sent {"connection_id":55142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:22:11] local.INFO: TCP Data received {"connection_id":54233,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:22:11] local.INFO: Processing buffer {"connection_id":54233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:22:11] local.INFO: IMEI packet received {"connection_id":54233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":54233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:22:15] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:22:15] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:22:15] local.INFO: IMEI packet received {"connection_id":54417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":54417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:22:20] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:22:20] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:22:20] local.INFO: IMEI packet received {"connection_id":54417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":54417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:22:21] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:22:21] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:22:21] local.INFO: Packet analysis {"connection_id":54417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:22:21] local.INFO: Extracted packet for processing {"connection_id":54417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:22:21] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":54417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:22:21] local.INFO: GPS data processed {"connection_id":54417,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:22:21] local.INFO: Acknowledgment sent {"connection_id":54417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:22:46] local.INFO: TCP Data received {"connection_id":55143,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:22:46] local.INFO: Processing buffer {"connection_id":55143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:22:46] local.INFO: IMEI packet received {"connection_id":55143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":55143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:22:52] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:22:52] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:22:52] local.INFO: Packet analysis {"connection_id":54417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:22:52] local.INFO: Extracted packet for processing {"connection_id":54417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:22:52] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":54417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:22:52] local.INFO: GPS data processed {"connection_id":54417,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:22:52] local.INFO: Acknowledgment sent {"connection_id":54417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:23:15] local.INFO: TCP Data received {"connection_id":54418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:23:15] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:23:15] local.INFO: IMEI packet received {"connection_id":54418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":54418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:23:20] local.INFO: TCP Data received {"connection_id":54418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:23:20] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:23:20] local.INFO: IMEI packet received {"connection_id":54418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:23:20] local.INFO: TCP Data received {"connection_id":54418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:23:20] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:23:20] local.INFO: Packet analysis {"connection_id":54418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:23:20] local.INFO: Extracted packet for processing {"connection_id":54418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:23:20] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:23:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:23: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-04-26 06:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:23:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:23:20] local.INFO: GPS data processed {"connection_id":54418,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:23:20] local.INFO: Acknowledgment sent {"connection_id":54418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:23:51] local.INFO: TCP Data received {"connection_id":54418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:23:51] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:23:51] local.INFO: Packet analysis {"connection_id":54418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:23:51] local.INFO: Extracted packet for processing {"connection_id":54418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:23:51] 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-04-26 06:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:23:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:23:51] local.INFO: GPS data processed {"connection_id":54418,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:23:51] local.INFO: Acknowledgment sent {"connection_id":54418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:24:15] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:24:15] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:24:15] local.INFO: IMEI packet received {"connection_id":54235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":54235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:24:20] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:24:20] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:24:20] local.INFO: IMEI packet received {"connection_id":54235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":54235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:24:21] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:24:21] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74299e0012cb299c007822ce0004600122e..."} 
[2026-04-26 06:24:21] local.INFO: Packet analysis {"connection_id":54235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:24:21] local.INFO: Extracted packet for processing {"connection_id":54235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc742"} 
[2026-04-26 06:24:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954041088001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164524000,"timestamp_ms":1777164524000,"timestamp_seconds":1777164524,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74299e0"} 
[2026-04-26 06:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:24:21] 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-04-26 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 06:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954041088001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954041088001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:24:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954041088001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":54235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:24:21] local.INFO: GPS data processed {"connection_id":54235,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:24:21] local.INFO: Acknowledgment sent {"connection_id":54235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:24:51] local.INFO: TCP Data received {"connection_id":54235,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:24:51] local.INFO: Processing buffer {"connection_id":54235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:24:51] local.INFO: Packet analysis {"connection_id":54235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:24:51] local.INFO: Extracted packet for processing {"connection_id":54235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:24:51] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:24:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:24:51] local.INFO: GPS data processed {"connection_id":54235,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:24:51] local.INFO: Acknowledgment sent {"connection_id":54235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:25:20] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:25:20] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:25:20] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:25:25] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:25:25] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:25:25] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:25:25] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:25:25] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:25:25] local.INFO: Packet analysis {"connection_id":55144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:25:25] local.INFO: Extracted packet for processing {"connection_id":55144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:25:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:25:25] 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-04-26 06:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:25:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":55144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:25:25] local.INFO: GPS data processed {"connection_id":55144,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:25:25] local.INFO: Acknowledgment sent {"connection_id":55144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:25:56] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:25:56] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:25:56] local.INFO: Packet analysis {"connection_id":55144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:25:56] local.INFO: Extracted packet for processing {"connection_id":55144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:25:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:25:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:25:56] 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-04-26 06:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:25: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-04-26 06:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:25:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:25:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":55144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:25:56] local.INFO: GPS data processed {"connection_id":55144,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:25:56] local.INFO: Acknowledgment sent {"connection_id":55144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:26:15] local.INFO: TCP Data received {"connection_id":54237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:26:15] local.INFO: Processing buffer {"connection_id":54237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:26:15] local.INFO: IMEI packet received {"connection_id":54237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":54237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:26:20] local.INFO: TCP Data received {"connection_id":54237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:26:20] local.INFO: Processing buffer {"connection_id":54237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:26:20] local.INFO: IMEI packet received {"connection_id":54237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":54237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:26:21] local.INFO: TCP Data received {"connection_id":54237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:26:21] local.INFO: Processing buffer {"connection_id":54237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:26:21] local.INFO: Packet analysis {"connection_id":54237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:26:21] local.INFO: Extracted packet for processing {"connection_id":54237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 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-04-26 06:26:21] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 06:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:26: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-04-26 06:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":54237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:26:21] local.INFO: GPS data processed {"connection_id":54237,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:26:21] local.INFO: Acknowledgment sent {"connection_id":54237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:26:52] local.INFO: TCP Data received {"connection_id":54237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:26:52] local.INFO: Processing buffer {"connection_id":54237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:26:52] local.INFO: Packet analysis {"connection_id":54237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:26:52] local.INFO: Extracted packet for processing {"connection_id":54237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:26:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 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-04-26 06:26:52] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 06:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:26: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-04-26 06:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:26:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":54237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:26:52] local.INFO: GPS data processed {"connection_id":54237,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:26:52] local.INFO: Acknowledgment sent {"connection_id":54237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:27:15] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:27:15] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:27:15] local.INFO: IMEI packet received {"connection_id":54481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":54481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:27:20] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:27:20] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:27:20] local.INFO: IMEI packet received {"connection_id":54481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:27:21] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:27:21] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:27:21] local.INFO: Packet analysis {"connection_id":54481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:27:21] local.INFO: Extracted packet for processing {"connection_id":54481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:27:21] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:27: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-04-26 06:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:27:21] local.INFO: GPS data processed {"connection_id":54481,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:27:21] local.INFO: Acknowledgment sent {"connection_id":54481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:27:52] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:27:52] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:27:52] local.INFO: Packet analysis {"connection_id":54481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:27:52] local.INFO: Extracted packet for processing {"connection_id":54481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:27:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:27:52] 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-04-26 06:27:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:27:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:27: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-04-26 06:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:27:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":54481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:27:52] local.INFO: GPS data processed {"connection_id":54481,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:27:52] local.INFO: Acknowledgment sent {"connection_id":54481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:28:00] local.INFO: TCP Data received {"connection_id":54419,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54419,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:28:00] local.INFO: Processing buffer {"connection_id":54419,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:28:00] local.INFO: IMEI packet received {"connection_id":54419,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":54419,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:28:20] local.INFO: TCP Data received {"connection_id":54420,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:28:20] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:28:20] local.INFO: IMEI packet received {"connection_id":54420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":54420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:28:25] local.INFO: TCP Data received {"connection_id":54420,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:28:25] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:28:25] local.INFO: IMEI packet received {"connection_id":54420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":54420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:28:26] local.INFO: TCP Data received {"connection_id":54420,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:28:26] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:28:26] local.INFO: Packet analysis {"connection_id":54420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:28:26] local.INFO: Extracted packet for processing {"connection_id":54420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:28:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:28:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 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-04-26 06:28:26] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 06:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:28: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-04-26 06:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:28:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:28:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":54420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:28:26] local.INFO: GPS data processed {"connection_id":54420,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:28:26] local.INFO: Acknowledgment sent {"connection_id":54420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:28:30] local.INFO: TCP Data received {"connection_id":54420,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:28:30] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:28:30] local.INFO: Packet analysis {"connection_id":54420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:28:30] local.INFO: Extracted packet for processing {"connection_id":54420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:28:30] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:28: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-04-26 06:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:28:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":54420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:28:30] local.INFO: GPS data processed {"connection_id":54420,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:28:30] local.INFO: Acknowledgment sent {"connection_id":54420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:28:40] local.INFO: TCP Data received {"connection_id":54482,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:28:40] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:28:40] local.INFO: IMEI packet received {"connection_id":54482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":54482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:29:15] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:29:15] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:29:15] local.INFO: IMEI packet received {"connection_id":54239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":54239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:29:20] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:29:20] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:29:20] local.INFO: IMEI packet received {"connection_id":54239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":54239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:29:21] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:29:21] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74731a8012cb299c007822ce0004500122d..."} 
[2026-04-26 06:29:21] local.INFO: Packet analysis {"connection_id":54239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:29:21] local.INFO: Extracted packet for processing {"connection_id":54239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc747"} 
[2026-04-26 06:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954118144001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777164825000,"timestamp_ms":1777164825000,"timestamp_seconds":1777164825,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74731a8"} 
[2026-04-26 06:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:29:21] 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-04-26 06: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:29: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-04-26 06:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954118144001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954118144001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954118144001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":54239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:29:21] local.INFO: GPS data processed {"connection_id":54239,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:29:21] local.INFO: Acknowledgment sent {"connection_id":54239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:29:52] local.INFO: TCP Data received {"connection_id":54239,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:29:52] local.INFO: Processing buffer {"connection_id":54239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:29:52] local.INFO: Packet analysis {"connection_id":54239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:29:52] local.INFO: Extracted packet for processing {"connection_id":54239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:29:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:29:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:29:52] 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-04-26 06: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:29:52] 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-04-26 06: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-04-26 06:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:29: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-04-26 06:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:29:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:29:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":54239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:29:52] local.INFO: GPS data processed {"connection_id":54239,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:29:52] local.INFO: Acknowledgment sent {"connection_id":54239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:30:15] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:30:15] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:30:15] local.INFO: IMEI packet received {"connection_id":54240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":54240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:30:20] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:30:20] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:30:20] local.INFO: IMEI packet received {"connection_id":54240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:30:21] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:30:21] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:30:21] local.INFO: Packet analysis {"connection_id":54240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:30:21] local.INFO: Extracted packet for processing {"connection_id":54240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:30:21] 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-04-26 06: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:30: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-04-26 06: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-04-26 06:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:30: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-04-26 06:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:30:21] local.INFO: GPS data processed {"connection_id":54240,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:30:21] local.INFO: Acknowledgment sent {"connection_id":54240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:30:52] local.INFO: TCP Data received {"connection_id":54240,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:30:52] local.INFO: Processing buffer {"connection_id":54240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:30:52] local.INFO: Packet analysis {"connection_id":54240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:30:52] local.INFO: Extracted packet for processing {"connection_id":54240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:30:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:30:52] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:30:52] 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-04-26 06: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-04-26 06:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:30: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-04-26 06:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:30:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":54240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:30:52] local.INFO: GPS data processed {"connection_id":54240,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:30:52] local.INFO: Acknowledgment sent {"connection_id":54240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:31:20] local.INFO: TCP Data received {"connection_id":54241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:31:20] local.INFO: Processing buffer {"connection_id":54241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:31:20] local.INFO: IMEI packet received {"connection_id":54241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":54241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:31:25] local.INFO: TCP Data received {"connection_id":54241,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:31:25] local.INFO: Processing buffer {"connection_id":54241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:31:25] local.INFO: IMEI packet received {"connection_id":54241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":54241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:31:26] local.INFO: TCP Data received {"connection_id":54241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:31:26] local.INFO: Processing buffer {"connection_id":54241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:31:26] local.INFO: Packet analysis {"connection_id":54241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:31:26] local.INFO: Extracted packet for processing {"connection_id":54241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:31:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:31:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:31:26] 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-04-26 06:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:31: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-04-26 06:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:31:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:31:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":54241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:31:26] local.INFO: GPS data processed {"connection_id":54241,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:31:26] local.INFO: Acknowledgment sent {"connection_id":54241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:31:30] local.INFO: TCP Data received {"connection_id":54241,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:31:30] local.INFO: Processing buffer {"connection_id":54241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:31:30] local.INFO: Packet analysis {"connection_id":54241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:31:30] local.INFO: Extracted packet for processing {"connection_id":54241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:31:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:31:30] 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-04-26 06:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:31: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-04-26 06:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:31:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":54241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:31:30] local.INFO: GPS data processed {"connection_id":54241,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:31:30] local.INFO: Acknowledgment sent {"connection_id":54241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:32:15] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:32:15] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:32:15] local.INFO: IMEI packet received {"connection_id":55146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":55146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:32:20] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:32:20] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:32:20] local.INFO: IMEI packet received {"connection_id":55146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":55146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:32:21] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:32:21] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:32:21] local.INFO: Packet analysis {"connection_id":55146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:32:21] local.INFO: Extracted packet for processing {"connection_id":55146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:32:21] 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-04-26 06: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:32: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-04-26 06: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-04-26 06:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:32: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-04-26 06:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":55146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:32:21] local.INFO: GPS data processed {"connection_id":55146,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:32:21] local.INFO: Acknowledgment sent {"connection_id":55146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:32:52] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:32:52] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:32:52] local.INFO: Packet analysis {"connection_id":55146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:32:52] local.INFO: Extracted packet for processing {"connection_id":55146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:32:52] 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-04-26 06:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:32:52] 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-04-26 06: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-04-26 06:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":55146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:32:52] local.INFO: GPS data processed {"connection_id":55146,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:32:52] local.INFO: Acknowledgment sent {"connection_id":55146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:33:15] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:33:15] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:33:15] local.INFO: IMEI packet received {"connection_id":54422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:33:20] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:33:20] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:33:20] local.INFO: IMEI packet received {"connection_id":54422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":54422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:33:21] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:33:21] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:33:21] local.INFO: Packet analysis {"connection_id":54422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:33:21] local.INFO: Extracted packet for processing {"connection_id":54422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:33:21] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:33: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-04-26 06: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-04-26 06:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:33: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-04-26 06:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":54422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:33:21] local.INFO: GPS data processed {"connection_id":54422,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:33:21] local.INFO: Acknowledgment sent {"connection_id":54422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:33:52] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:33:52] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:33:52] local.INFO: Packet analysis {"connection_id":54422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:33:52] local.INFO: Extracted packet for processing {"connection_id":54422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 06:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:33:52] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:33:52] 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-04-26 06: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-04-26 06:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:33: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-04-26 06:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":54422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:33:52] local.INFO: GPS data processed {"connection_id":54422,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:33:52] local.INFO: Acknowledgment sent {"connection_id":54422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:34:06] local.INFO: TCP Data received {"connection_id":54243,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:34:06] local.INFO: Processing buffer {"connection_id":54243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:34:06] local.INFO: IMEI packet received {"connection_id":54243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":54243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:34:15] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:34:15] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:34:15] local.INFO: IMEI packet received {"connection_id":55147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":55147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:34:20] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:34:20] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:34:20] local.INFO: IMEI packet received {"connection_id":55147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":55147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:34:21] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:34:21] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc74bc970012cb299c007822ce0004500122d..."} 
[2026-04-26 06:34:21] local.INFO: Packet analysis {"connection_id":55147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:34:21] local.INFO: Extracted packet for processing {"connection_id":55147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc74b"} 
[2026-04-26 06:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954195200001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165126000,"timestamp_ms":1777165126000,"timestamp_seconds":1777165126,"priority":1,"record_length":96,"hex_timestamp":"0000019dc74bc970"} 
[2026-04-26 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-04-26 06:34:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:34: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-04-26 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-04-26 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-04-26 06:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954195200001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954195200001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954195200001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":55147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:34:21] local.INFO: GPS data processed {"connection_id":55147,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:34:21] local.INFO: Acknowledgment sent {"connection_id":55147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:34:40] local.INFO: TCP Data received {"connection_id":54244,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:34:40] local.INFO: Processing buffer {"connection_id":54244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:34:40] local.INFO: IMEI packet received {"connection_id":54244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":54244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:34:52] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:34:52] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:34:52] local.INFO: Packet analysis {"connection_id":55147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:34:52] local.INFO: Extracted packet for processing {"connection_id":55147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 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-04-26 06:34:52] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:34: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-04-26 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-04-26 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-04-26 06:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":55147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:34:52] local.INFO: GPS data processed {"connection_id":55147,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:34:52] local.INFO: Acknowledgment sent {"connection_id":55147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:35:20] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:35:20] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:35:20] local.INFO: IMEI packet received {"connection_id":54484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":54484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:35:25] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:35:25] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:35:25] local.INFO: IMEI packet received {"connection_id":54484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":54484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:35:26] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:35:26] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:35:26] local.INFO: Packet analysis {"connection_id":54484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:35:26] local.INFO: Extracted packet for processing {"connection_id":54484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:35:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:35:26] 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-04-26 06:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:35:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":54484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:35:26] local.INFO: GPS data processed {"connection_id":54484,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:35:26] local.INFO: Acknowledgment sent {"connection_id":54484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:35:30] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:35:30] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:35:30] local.INFO: Packet analysis {"connection_id":54484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:35:30] local.INFO: Extracted packet for processing {"connection_id":54484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:35:30] 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-04-26 06:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:35: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-04-26 06:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:35:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":54484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:35:30] local.INFO: GPS data processed {"connection_id":54484,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:35:30] local.INFO: Acknowledgment sent {"connection_id":54484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:36:15] local.INFO: TCP Data received {"connection_id":55149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:36:15] local.INFO: Processing buffer {"connection_id":55149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:36:15] local.INFO: IMEI packet received {"connection_id":55149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":55149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:36:20] local.INFO: TCP Data received {"connection_id":55149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:36:20] local.INFO: Processing buffer {"connection_id":55149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:36:20] local.INFO: IMEI packet received {"connection_id":55149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":55149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:36:21] local.INFO: TCP Data received {"connection_id":55149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:36:21] local.INFO: Processing buffer {"connection_id":55149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:36:21] local.INFO: Packet analysis {"connection_id":55149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:36:21] local.INFO: Extracted packet for processing {"connection_id":55149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:36:21] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:36:21] 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-04-26 06: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-04-26 06:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:36: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-04-26 06:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":55149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:36:21] local.INFO: GPS data processed {"connection_id":55149,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:36:21] local.INFO: Acknowledgment sent {"connection_id":55149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:36:52] local.INFO: TCP Data received {"connection_id":55149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:36:52] local.INFO: Processing buffer {"connection_id":55149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:36:52] local.INFO: Packet analysis {"connection_id":55149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:36:52] local.INFO: Extracted packet for processing {"connection_id":55149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:36:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:36:52] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:36: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-04-26 06: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-04-26 06:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:36: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-04-26 06:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:36:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":55149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:36:52] local.INFO: GPS data processed {"connection_id":55149,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:36:52] local.INFO: Acknowledgment sent {"connection_id":55149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:37:15] local.INFO: TCP Data received {"connection_id":54245,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:37:15] local.INFO: Processing buffer {"connection_id":54245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:37:15] local.INFO: IMEI packet received {"connection_id":54245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:37:20] local.INFO: TCP Data received {"connection_id":54245,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:37:20] local.INFO: Processing buffer {"connection_id":54245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:37:20] local.INFO: IMEI packet received {"connection_id":54245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:37:21] local.INFO: TCP Data received {"connection_id":54245,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:37:21] local.INFO: Processing buffer {"connection_id":54245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:37:21] local.INFO: Packet analysis {"connection_id":54245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:37:21] local.INFO: Extracted packet for processing {"connection_id":54245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:37:21] 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-04-26 06:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:37:21] 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-04-26 06: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-04-26 06:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:37: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-04-26 06:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:37:21] local.INFO: GPS data processed {"connection_id":54245,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:37:21] local.INFO: Acknowledgment sent {"connection_id":54245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:37:52] local.INFO: TCP Data received {"connection_id":54245,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:37:52] local.INFO: Processing buffer {"connection_id":54245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:37:52] local.INFO: Packet analysis {"connection_id":54245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:37:52] local.INFO: Extracted packet for processing {"connection_id":54245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:37:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:37:52] 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-04-26 06:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:37: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-04-26 06: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-04-26 06:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:37: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-04-26 06:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:37:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":54245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:37:52] local.INFO: GPS data processed {"connection_id":54245,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:37:52] local.INFO: Acknowledgment sent {"connection_id":54245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:38:15] local.INFO: TCP Data received {"connection_id":54486,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:38:15] local.INFO: Processing buffer {"connection_id":54486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:38:15] local.INFO: IMEI packet received {"connection_id":54486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":54486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:38:20] local.INFO: TCP Data received {"connection_id":54486,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:38:20] local.INFO: Processing buffer {"connection_id":54486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:38:20] local.INFO: IMEI packet received {"connection_id":54486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:38:21] local.INFO: TCP Data received {"connection_id":54486,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:38:21] local.INFO: Processing buffer {"connection_id":54486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:38:21] local.INFO: Packet analysis {"connection_id":54486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:38:21] local.INFO: Extracted packet for processing {"connection_id":54486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:38:21] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:38:21] 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-04-26 06: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-04-26 06:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:38: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-04-26 06:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:38:21] local.INFO: GPS data processed {"connection_id":54486,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:38:21] local.INFO: Acknowledgment sent {"connection_id":54486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:38:52] local.INFO: TCP Data received {"connection_id":54486,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:38:52] local.INFO: Processing buffer {"connection_id":54486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:38:52] local.INFO: Packet analysis {"connection_id":54486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:38:52] local.INFO: Extracted packet for processing {"connection_id":54486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:38:52] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:38: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-04-26 06: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-04-26 06:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:38: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-04-26 06:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:38:52] local.INFO: GPS data processed {"connection_id":54486,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:38:52] local.INFO: Acknowledgment sent {"connection_id":54486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:39:15] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:39:15] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:39:15] local.INFO: IMEI packet received {"connection_id":54424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":54424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:39:20] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:39:20] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:39:20] local.INFO: IMEI packet received {"connection_id":54424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:39:21] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:39:21] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7506138012cb299c007822ce0004600122d..."} 
[2026-04-26 06:39:21] local.INFO: Packet analysis {"connection_id":54424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:39:21] local.INFO: Extracted packet for processing {"connection_id":54424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc750"} 
[2026-04-26 06:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954272256001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165427000,"timestamp_ms":1777165427000,"timestamp_seconds":1777165427,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7506138"} 
[2026-04-26 06:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:39:21] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:39:21] 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-04-26 06: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-04-26 06:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:39: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-04-26 06:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954272256001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954272256001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954272256001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":54424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:39:21] local.INFO: GPS data processed {"connection_id":54424,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:39:21] local.INFO: Acknowledgment sent {"connection_id":54424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:39:51] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:39:51] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:39:51] local.INFO: Packet analysis {"connection_id":54424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:39:51] local.INFO: Extracted packet for processing {"connection_id":54424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:39:51] 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-04-26 06: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:39:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":54424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:39:51] local.INFO: GPS data processed {"connection_id":54424,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:39:51] local.INFO: Acknowledgment sent {"connection_id":54424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:40:06] local.INFO: TCP Data received {"connection_id":54246,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54246,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:40:06] local.INFO: Processing buffer {"connection_id":54246,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:40:06] local.INFO: IMEI packet received {"connection_id":54246,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":54246,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:40:15] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:40:15] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:40:15] local.INFO: IMEI packet received {"connection_id":54247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:40:20] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:40:20] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:40:20] local.INFO: IMEI packet received {"connection_id":54247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:40:21] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:40:21] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:40:21] local.INFO: Packet analysis {"connection_id":54247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:40:21] local.INFO: Extracted packet for processing {"connection_id":54247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:40:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:40:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:40:21] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:40:21] 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-04-26 06:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:40:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:40:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:40:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":54247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:40:21] local.INFO: GPS data processed {"connection_id":54247,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:40:21] local.INFO: Acknowledgment sent {"connection_id":54247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:40:46] local.INFO: TCP Data received {"connection_id":54248,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:40:46] local.INFO: Processing buffer {"connection_id":54248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:40:46] local.INFO: IMEI packet received {"connection_id":54248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":54248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:40:52] local.INFO: TCP Data received {"connection_id":54247,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:40:52] local.INFO: Processing buffer {"connection_id":54247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:40:52] local.INFO: Packet analysis {"connection_id":54247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:40:52] local.INFO: Extracted packet for processing {"connection_id":54247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:40:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:40:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:40:52] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:40:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:40:52] 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-04-26 06:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:40:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:40:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:40:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":54247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:40:52] local.INFO: GPS data processed {"connection_id":54247,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:40:52] local.INFO: Acknowledgment sent {"connection_id":54247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:41:15] local.INFO: TCP Data received {"connection_id":55151,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:41:15] local.INFO: Processing buffer {"connection_id":55151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:41:15] local.INFO: IMEI packet received {"connection_id":55151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":55151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:41:20] local.INFO: TCP Data received {"connection_id":55151,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:41:20] local.INFO: Processing buffer {"connection_id":55151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:41:20] local.INFO: IMEI packet received {"connection_id":55151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":55151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:41:21] local.INFO: TCP Data received {"connection_id":55151,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:41:21] local.INFO: Processing buffer {"connection_id":55151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:41:21] local.INFO: Packet analysis {"connection_id":55151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:41:21] local.INFO: Extracted packet for processing {"connection_id":55151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:41:21] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":55151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:41:21] local.INFO: GPS data processed {"connection_id":55151,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:41:21] local.INFO: Acknowledgment sent {"connection_id":55151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:41:52] local.INFO: TCP Data received {"connection_id":55151,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:41:52] local.INFO: Processing buffer {"connection_id":55151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:41:52] local.INFO: Packet analysis {"connection_id":55151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:41:52] local.INFO: Extracted packet for processing {"connection_id":55151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:41:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:41:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:41:52] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:41:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:41:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:41:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:41:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":55151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:41:52] local.INFO: GPS data processed {"connection_id":55151,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:41:52] local.INFO: Acknowledgment sent {"connection_id":55151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:42:15] local.INFO: TCP Data received {"connection_id":54425,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:42:15] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:42:15] local.INFO: IMEI packet received {"connection_id":54425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":54425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:42:20] local.INFO: TCP Data received {"connection_id":54425,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:42:20] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:42:20] local.INFO: IMEI packet received {"connection_id":54425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":54425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:42:21] local.INFO: TCP Data received {"connection_id":54425,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:42:21] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:42:21] local.INFO: Packet analysis {"connection_id":54425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:42:21] local.INFO: Extracted packet for processing {"connection_id":54425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:42:21] 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-04-26 06: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:42:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:42: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-04-26 06:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:42:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":54425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:42:21] local.INFO: GPS data processed {"connection_id":54425,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:42:21] local.INFO: Acknowledgment sent {"connection_id":54425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:42:52] local.INFO: TCP Data received {"connection_id":54425,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:42:52] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:42:52] local.INFO: Packet analysis {"connection_id":54425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:42:52] local.INFO: Extracted packet for processing {"connection_id":54425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 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-04-26 06:42:52] 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-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 06:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:42: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-04-26 06:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:42:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":54425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:42:52] local.INFO: GPS data processed {"connection_id":54425,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:42:52] local.INFO: Acknowledgment sent {"connection_id":54425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:43:15] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:43:15] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:43:15] local.INFO: IMEI packet received {"connection_id":54426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":54426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:43:20] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:43:20] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:43:20] local.INFO: IMEI packet received {"connection_id":54426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:43:21] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:43:21] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:43:21] local.INFO: Packet analysis {"connection_id":54426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:43:21] local.INFO: Extracted packet for processing {"connection_id":54426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:43:21] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:43: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-04-26 06:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":54426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:43:21] local.INFO: GPS data processed {"connection_id":54426,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:43:21] local.INFO: Acknowledgment sent {"connection_id":54426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:43:52] local.INFO: TCP Data received {"connection_id":54426,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:43:52] local.INFO: Processing buffer {"connection_id":54426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:43:52] local.INFO: Packet analysis {"connection_id":54426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:43:52] local.INFO: Extracted packet for processing {"connection_id":54426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:43:52] 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-04-26 06: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:43:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:43: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-04-26 06:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:43:52] local.INFO: GPS data processed {"connection_id":54426,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:43:52] local.INFO: Acknowledgment sent {"connection_id":54426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:44:15] local.INFO: TCP Data received {"connection_id":54251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:44:15] local.INFO: Processing buffer {"connection_id":54251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:44:15] local.INFO: IMEI packet received {"connection_id":54251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":54251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:44:20] local.INFO: TCP Data received {"connection_id":54251,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:44:20] local.INFO: Processing buffer {"connection_id":54251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:44:20] local.INFO: IMEI packet received {"connection_id":54251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:44:21] local.INFO: TCP Data received {"connection_id":54251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:44:21] local.INFO: Processing buffer {"connection_id":54251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc754f900012cb299c007822ce0004600122c..."} 
[2026-04-26 06:44:21] local.INFO: Packet analysis {"connection_id":54251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:44:21] local.INFO: Extracted packet for processing {"connection_id":54251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc754"} 
[2026-04-26 06:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954349312001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777165728000,"timestamp_ms":1777165728000,"timestamp_seconds":1777165728,"priority":1,"record_length":96,"hex_timestamp":"0000019dc754f900"} 
[2026-04-26 06:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:44:21] 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-04-26 06: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 06:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:44: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-04-26 06:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954349312001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954349312001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954349312001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":54251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:44:21] local.INFO: GPS data processed {"connection_id":54251,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:44:21] local.INFO: Acknowledgment sent {"connection_id":54251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:44:51] local.INFO: TCP Data received {"connection_id":54251,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:44:51] local.INFO: Processing buffer {"connection_id":54251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:44:51] local.INFO: Packet analysis {"connection_id":54251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:44:51] local.INFO: Extracted packet for processing {"connection_id":54251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:44:51] 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-04-26 06: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-04-26 06: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-04-26 06: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-04-26 06:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:44: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-04-26 06:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:44:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:44:51] local.INFO: GPS data processed {"connection_id":54251,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:44:51] local.INFO: Acknowledgment sent {"connection_id":54251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:45:15] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:45:15] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:45:15] local.INFO: IMEI packet received {"connection_id":54488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:45:20] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:45:20] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:45:20] local.INFO: IMEI packet received {"connection_id":54488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:45:21] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:45:21] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:45:21] local.INFO: Packet analysis {"connection_id":54488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:45:21] local.INFO: Extracted packet for processing {"connection_id":54488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:45:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:45:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:45:21] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:45: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-04-26 06: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-04-26 06:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:45:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:45:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:45:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:45:21] local.INFO: GPS data processed {"connection_id":54488,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:45:21] local.INFO: Acknowledgment sent {"connection_id":54488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:45:52] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:45:52] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:45:52] local.INFO: Packet analysis {"connection_id":54488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:45:52] local.INFO: Extracted packet for processing {"connection_id":54488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:45:52] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:45:52] 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-04-26 06: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-04-26 06:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:45:52] local.INFO: GPS data processed {"connection_id":54488,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:45:52] local.INFO: Acknowledgment sent {"connection_id":54488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:46:01] local.INFO: TCP Data received {"connection_id":54427,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:46:01] local.INFO: Processing buffer {"connection_id":54427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:46:01] local.INFO: IMEI packet received {"connection_id":54427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":54427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:46:15] local.INFO: TCP Data received {"connection_id":54489,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:46:15] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:46:15] local.INFO: IMEI packet received {"connection_id":54489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":54489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:46:20] local.INFO: TCP Data received {"connection_id":54489,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:46:20] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:46:20] local.INFO: IMEI packet received {"connection_id":54489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:46:21] local.INFO: TCP Data received {"connection_id":54489,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:46:21] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:46:21] local.INFO: Packet analysis {"connection_id":54489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:46:21] local.INFO: Extracted packet for processing {"connection_id":54489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:46:21] 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-04-26 06: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:46: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-04-26 06: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-04-26 06:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:46:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":54489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:46:21] local.INFO: GPS data processed {"connection_id":54489,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:46:21] local.INFO: Acknowledgment sent {"connection_id":54489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:46:40] local.INFO: TCP Data received {"connection_id":55153,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:46:40] local.INFO: Processing buffer {"connection_id":55153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:46:40] local.INFO: IMEI packet received {"connection_id":55153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":55153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:46:52] local.INFO: TCP Data received {"connection_id":54489,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:46:52] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:46:52] local.INFO: Packet analysis {"connection_id":54489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:46:52] local.INFO: Extracted packet for processing {"connection_id":54489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:46:52] 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-04-26 06: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:46:52] 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-04-26 06: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-04-26 06:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":54489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:46:52] local.INFO: GPS data processed {"connection_id":54489,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:46:52] local.INFO: Acknowledgment sent {"connection_id":54489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:47:15] local.INFO: TCP Data received {"connection_id":54252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:47:15] local.INFO: Processing buffer {"connection_id":54252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:47:15] local.INFO: IMEI packet received {"connection_id":54252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":54252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:47:20] local.INFO: TCP Data received {"connection_id":54252,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:47:20] local.INFO: Processing buffer {"connection_id":54252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:47:20] local.INFO: IMEI packet received {"connection_id":54252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:47:21] local.INFO: TCP Data received {"connection_id":54252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:47:21] local.INFO: Processing buffer {"connection_id":54252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:47:21] local.INFO: Packet analysis {"connection_id":54252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:47:21] local.INFO: Extracted packet for processing {"connection_id":54252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:47:21] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:47: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-04-26 06: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-04-26 06:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:47: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-04-26 06:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:47:21] local.INFO: GPS data processed {"connection_id":54252,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:47:21] local.INFO: Acknowledgment sent {"connection_id":54252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:47:52] local.INFO: TCP Data received {"connection_id":54252,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:47:52] local.INFO: Processing buffer {"connection_id":54252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:47:52] local.INFO: Packet analysis {"connection_id":54252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:47:52] local.INFO: Extracted packet for processing {"connection_id":54252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:47:52] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:47:52] 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-04-26 06: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-04-26 06:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:47: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-04-26 06:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:47:52] local.INFO: GPS data processed {"connection_id":54252,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:47:52] local.INFO: Acknowledgment sent {"connection_id":54252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:48:15] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:48:15] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:48:15] local.INFO: IMEI packet received {"connection_id":54428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":54428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:48:20] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:48:20] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:48:20] local.INFO: IMEI packet received {"connection_id":54428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":54428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:48:21] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:48:21] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:48:21] local.INFO: Packet analysis {"connection_id":54428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:48:21] local.INFO: Extracted packet for processing {"connection_id":54428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 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-04-26 06:48:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:48: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-04-26 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-04-26 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-04-26 06:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 06:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":54428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:48:21] local.INFO: GPS data processed {"connection_id":54428,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:48:21] local.INFO: Acknowledgment sent {"connection_id":54428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:48:52] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:48:52] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:48:52] local.INFO: Packet analysis {"connection_id":54428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:48:52] local.INFO: Extracted packet for processing {"connection_id":54428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:48:52] 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-04-26 06:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:48:52] 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-04-26 06: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-04-26 06:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:48: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-04-26 06:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":54428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:48:52] local.INFO: GPS data processed {"connection_id":54428,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:48:52] local.INFO: Acknowledgment sent {"connection_id":54428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:49:20] local.INFO: TCP Data received {"connection_id":55154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:49:20] local.INFO: Processing buffer {"connection_id":55154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:49:20] local.INFO: IMEI packet received {"connection_id":55154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":55154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:49:25] local.INFO: TCP Data received {"connection_id":55154,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:49:25] local.INFO: Processing buffer {"connection_id":55154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:49:25] local.INFO: IMEI packet received {"connection_id":55154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":55154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:49:26] local.INFO: TCP Data received {"connection_id":55154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:49:26] local.INFO: Processing buffer {"connection_id":55154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75990c8012cb299c007822ce0004c00122d..."} 
[2026-04-26 06:49:26] local.INFO: Packet analysis {"connection_id":55154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:49:26] local.INFO: Extracted packet for processing {"connection_id":55154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc759"} 
[2026-04-26 06:49:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954426368001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777166029000,"timestamp_ms":1777166029000,"timestamp_seconds":1777166029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75990c8"} 
[2026-04-26 06:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:49:26] 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-04-26 06:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:49:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:49: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-04-26 06:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954426368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954426368001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:49:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954426368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":55154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:49:26] local.INFO: GPS data processed {"connection_id":55154,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:49:26] local.INFO: Acknowledgment sent {"connection_id":55154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:49:28] local.INFO: TCP Data received {"connection_id":55154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:49:28] local.INFO: Processing buffer {"connection_id":55154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:49:28] local.INFO: Packet analysis {"connection_id":55154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:49:28] local.INFO: Extracted packet for processing {"connection_id":55154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:49:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:49:28] 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-04-26 06:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:49:28] 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-04-26 06: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-04-26 06:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:49:28] 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-04-26 06:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:49:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:49:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":55154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:49:28] local.INFO: GPS data processed {"connection_id":55154,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:49:28] local.INFO: Acknowledgment sent {"connection_id":55154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:49:59] local.INFO: TCP Data received {"connection_id":55154,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:49:59] local.INFO: Processing buffer {"connection_id":55154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:49:59] local.INFO: Packet analysis {"connection_id":55154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:49:59] local.INFO: Extracted packet for processing {"connection_id":55154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:49:59] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":55154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":55154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":55154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:49:59] 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-04-26 06:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:49:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:49:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":55154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:49:59] local.INFO: GPS data processed {"connection_id":55154,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:49:59] local.INFO: Acknowledgment sent {"connection_id":55154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:50:15] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:50:15] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:50:15] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:50:20] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:50:20] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:50:20] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:50:20] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:20] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:20] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:50:20] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:50:20] 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-04-26 06: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:50: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-04-26 06: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-04-26 06:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:50:20] 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-04-26 06:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:50:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:50:20] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:50:20] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:50:25] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:25] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:25] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:50:25] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:50:25] 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-04-26 06:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:50:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:50:25] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:50:25] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:50:56] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:56] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:50:56] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:50:56] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:50:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:50:56] 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-04-26 06:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:50:56] 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-04-26 06:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:50: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-04-26 06:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:50:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:50:56] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:50:56] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:51:15] local.INFO: TCP Data received {"connection_id":54430,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:51:15] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:51:15] local.INFO: IMEI packet received {"connection_id":54430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":54430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:51:20] local.INFO: TCP Data received {"connection_id":54430,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:51:20] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:51:20] local.INFO: IMEI packet received {"connection_id":54430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":54430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:51:21] local.INFO: TCP Data received {"connection_id":54430,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:51:21] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:51:21] local.INFO: Packet analysis {"connection_id":54430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:51:21] local.INFO: Extracted packet for processing {"connection_id":54430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:51:21] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:51: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-04-26 06: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-04-26 06:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:51: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-04-26 06:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":54430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:51:21] local.INFO: GPS data processed {"connection_id":54430,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:51:21] local.INFO: Acknowledgment sent {"connection_id":54430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:51:52] local.INFO: TCP Data received {"connection_id":54430,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:51:52] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:51:52] local.INFO: Packet analysis {"connection_id":54430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:51:52] local.INFO: Extracted packet for processing {"connection_id":54430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:51:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:51:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:51:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:51:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:51:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:51:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:51:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:51:52] 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-04-26 06:51:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:51:52] 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-04-26 06:51:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:51:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:51:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:51:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:51:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:51:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:51: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-04-26 06:51:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:51:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:51:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:51:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:51:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:51:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:51:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:51:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:51:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:51:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:51:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:51:52] local.INFO: DEBUG: GPS processor result {"connection_id":54430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:51:52] local.INFO: GPS data processed {"connection_id":54430,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:51:52] local.INFO: Acknowledgment sent {"connection_id":54430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:52:01] local.INFO: TCP Data received {"connection_id":54491,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:01] local.INFO: Processing buffer {"connection_id":54491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:01] local.INFO: IMEI packet received {"connection_id":54491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":54491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:52:15] local.INFO: TCP Data received {"connection_id":55155,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:52:15] local.INFO: Processing buffer {"connection_id":55155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:52:15] local.INFO: IMEI packet received {"connection_id":55155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":55155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:52:20] local.INFO: TCP Data received {"connection_id":55155,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:52:20] local.INFO: Processing buffer {"connection_id":55155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:52:20] local.INFO: IMEI packet received {"connection_id":55155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":55155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:52:21] local.INFO: TCP Data received {"connection_id":55155,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:52:21] local.INFO: Processing buffer {"connection_id":55155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:52:21] local.INFO: Packet analysis {"connection_id":55155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:52:21] local.INFO: Extracted packet for processing {"connection_id":55155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:52:21] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:52: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-04-26 06: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-04-26 06:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:52: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-04-26 06:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":55155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:52:21] local.INFO: GPS data processed {"connection_id":55155,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:52:21] local.INFO: Acknowledgment sent {"connection_id":55155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:52:40] local.INFO: TCP Data received {"connection_id":54492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:40] local.INFO: Processing buffer {"connection_id":54492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:40] local.INFO: IMEI packet received {"connection_id":54492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":54492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:52:46] local.INFO: TCP Data received {"connection_id":54492,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:46] local.INFO: Processing buffer {"connection_id":54492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:52:46] local.INFO: IMEI packet received {"connection_id":54492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 06:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":54492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:52:47] local.INFO: TCP Data received {"connection_id":54492,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc751a958012cb29ac007822f68004d009627..."} 
[2026-04-26 06:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc751a958012cb29ac007822f68004d009627..."} 
[2026-04-26 06:52:47] local.INFO: Processing buffer {"connection_id":54492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc751a958012cb29ac007822f68004d009627..."} 
[2026-04-26 06:52:47] local.INFO: Packet analysis {"connection_id":54492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc751"} 
[2026-04-26 06:52:47] local.INFO: Extracted packet for processing {"connection_id":54492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc751"} 
[2026-04-26 06:52:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972328,"longitude_deg":74.9902528,"latitude_deg":12.5972328,"altitude":77,"angle":150,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822f68","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954293760001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063489024,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777165511000,"timestamp_ms":1777165511000,"timestamp_seconds":1777165511,"priority":1,"record_length":96,"hex_timestamp":"0000019dc751a958"} 
[2026-04-26 06:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:52:47] 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-04-26 06: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-04-26 06:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 06:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 06:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 06:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 06:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954293760001,"66":25147,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063489024},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 06:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 06:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 06:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954293760001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:52:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 06:52:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 06:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:52:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063489024,"description":"Unknown IO ID 44"} 
[2026-04-26 06:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954293760001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063489024}} 
[2026-04-26 06:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":54492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:52:47] local.INFO: GPS data processed {"connection_id":54492,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:52:47] local.INFO: Acknowledgment sent {"connection_id":54492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:52:52] local.INFO: TCP Data received {"connection_id":55155,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:52:52] local.INFO: Processing buffer {"connection_id":55155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:52:52] local.INFO: Packet analysis {"connection_id":55155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:52:52] local.INFO: Extracted packet for processing {"connection_id":55155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:52:52] 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-04-26 06:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:52:52] 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-04-26 06: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-04-26 06:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:52: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-04-26 06:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":55155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:52:52] local.INFO: GPS data processed {"connection_id":55155,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:52:52] local.INFO: Acknowledgment sent {"connection_id":55155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:53:15] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:53:15] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:53:15] local.INFO: IMEI packet received {"connection_id":54493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":54493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:53:20] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:53:20] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:53:20] local.INFO: IMEI packet received {"connection_id":54493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:53:21] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:53:21] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:53:21] local.INFO: Packet analysis {"connection_id":54493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:53:21] local.INFO: Extracted packet for processing {"connection_id":54493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 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-04-26 06:53:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:53: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-04-26 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-04-26 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-04-26 06:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:53: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-04-26 06:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":54493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:53:21] local.INFO: GPS data processed {"connection_id":54493,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:53:21] local.INFO: Acknowledgment sent {"connection_id":54493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:53:31] local.INFO: TCP Data received {"connection_id":55156,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:53:31] local.INFO: Processing buffer {"connection_id":55156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:53:31] local.INFO: IMEI packet received {"connection_id":55156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":55156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:53:52] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:53:52] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:53:52] local.INFO: Packet analysis {"connection_id":54493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:53:52] local.INFO: Extracted packet for processing {"connection_id":54493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:53:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:53:52] 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-04-26 06: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:53:52] 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-04-26 06: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-04-26 06:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:53: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-04-26 06:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:53:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":54493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:53:52] local.INFO: GPS data processed {"connection_id":54493,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:53:52] local.INFO: Acknowledgment sent {"connection_id":54493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:54:20] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:54:20] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:54:20] local.INFO: IMEI packet received {"connection_id":55157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":55157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:54:25] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:54:25] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:54:25] local.INFO: IMEI packet received {"connection_id":55157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":55157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:54:26] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:54:26] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc75e2890012cb299c007822ce0004800122b..."} 
[2026-04-26 06:54:26] local.INFO: Packet analysis {"connection_id":55157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:54:26] local.INFO: Extracted packet for processing {"connection_id":55157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc75e"} 
[2026-04-26 06:54:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954503424001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777166330000,"timestamp_ms":1777166330000,"timestamp_seconds":1777166330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc75e2890"} 
[2026-04-26 06:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:54:26] 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-04-26 06:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 06:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:54: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-04-26 06:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954503424001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954503424001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:54:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954503424001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":55157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:54:26] local.INFO: GPS data processed {"connection_id":55157,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:54:26] local.INFO: Acknowledgment sent {"connection_id":55157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:54:57] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:54:57] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:54:57] local.INFO: Packet analysis {"connection_id":55157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:54:57] local.INFO: Extracted packet for processing {"connection_id":55157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:54:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:54:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:54:57] 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-04-26 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:54:57] 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-04-26 06:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:54:57] 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-04-26 06:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:54:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:54:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":55157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:54:57] local.INFO: GPS data processed {"connection_id":55157,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:54:57] local.INFO: Acknowledgment sent {"connection_id":55157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:55:15] local.INFO: TCP Data received {"connection_id":54257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:55:15] local.INFO: Processing buffer {"connection_id":54257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:55:15] local.INFO: IMEI packet received {"connection_id":54257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:55:20] local.INFO: TCP Data received {"connection_id":54257,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:55:20] local.INFO: Processing buffer {"connection_id":54257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:55:20] local.INFO: IMEI packet received {"connection_id":54257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:55:21] local.INFO: TCP Data received {"connection_id":54257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:55:21] local.INFO: Processing buffer {"connection_id":54257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:55:21] local.INFO: Packet analysis {"connection_id":54257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:55:21] local.INFO: Extracted packet for processing {"connection_id":54257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:55:21] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:55:21] 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-04-26 06: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-04-26 06:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":54257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:55:21] local.INFO: GPS data processed {"connection_id":54257,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:55:21] local.INFO: Acknowledgment sent {"connection_id":54257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:55:52] local.INFO: TCP Data received {"connection_id":54257,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:55:52] local.INFO: Processing buffer {"connection_id":54257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:55:52] local.INFO: Packet analysis {"connection_id":54257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:55:52] local.INFO: Extracted packet for processing {"connection_id":54257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:55:52] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:55: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-04-26 06: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-04-26 06:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":54257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:55:52] local.INFO: GPS data processed {"connection_id":54257,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:55:52] local.INFO: Acknowledgment sent {"connection_id":54257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:56:15] local.INFO: TCP Data received {"connection_id":55159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:56:15] local.INFO: Processing buffer {"connection_id":55159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:56:15] local.INFO: IMEI packet received {"connection_id":55159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":55159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:56:20] local.INFO: TCP Data received {"connection_id":55159,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:56:20] local.INFO: Processing buffer {"connection_id":55159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:56:20] local.INFO: IMEI packet received {"connection_id":55159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":55159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:56:21] local.INFO: TCP Data received {"connection_id":55159,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:56:21] local.INFO: Processing buffer {"connection_id":55159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:56:21] local.INFO: Packet analysis {"connection_id":55159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:56:21] local.INFO: Extracted packet for processing {"connection_id":55159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 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-04-26 06:56:21] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:56:21] 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-04-26 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-04-26 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-04-26 06:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:56: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-04-26 06:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":55159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:56:21] local.INFO: GPS data processed {"connection_id":55159,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:56:21] local.INFO: Acknowledgment sent {"connection_id":55159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:56:52] local.INFO: TCP Data received {"connection_id":55159,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:56:52] local.INFO: Processing buffer {"connection_id":55159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:56:52] local.INFO: Packet analysis {"connection_id":55159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:56:52] local.INFO: Extracted packet for processing {"connection_id":55159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:56:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:56:52] 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-04-26 06:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:56: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-04-26 06: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-04-26 06:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:56: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-04-26 06:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:56:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":55159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:56:52] local.INFO: GPS data processed {"connection_id":55159,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:56:52] local.INFO: Acknowledgment sent {"connection_id":55159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:57:15] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:57:15] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:57:15] local.INFO: IMEI packet received {"connection_id":54258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":54258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:57:20] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:57:20] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:57:20] local.INFO: IMEI packet received {"connection_id":54258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:57:21] local.INFO: TCP Data received {"connection_id":54258,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:57:21] local.INFO: Processing buffer {"connection_id":54258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:57:21] local.INFO: Packet analysis {"connection_id":54258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:57:21] local.INFO: Extracted packet for processing {"connection_id":54258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 06:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 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-04-26 06:57:21] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:57:21] 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-04-26 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-04-26 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-04-26 06:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":54258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:57:21] local.INFO: GPS data processed {"connection_id":54258,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:57:21] local.INFO: Acknowledgment sent {"connection_id":54258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:58:05] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:58:05] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:58:05] local.INFO: IMEI packet received {"connection_id":54495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":54495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:58:10] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:58:10] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:58:10] local.INFO: IMEI packet received {"connection_id":54495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":54495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:58:11] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:11] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:11] local.INFO: Packet analysis {"connection_id":54495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:58:11] local.INFO: Extracted packet for processing {"connection_id":54495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:58:11] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 06:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 06:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:58:11] 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-04-26 06:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 06:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:58:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:58:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:58:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":54495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:58:11] local.INFO: GPS data processed {"connection_id":54495,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:58:11] local.INFO: Acknowledgment sent {"connection_id":54495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:58:15] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:15] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:15] local.INFO: Packet analysis {"connection_id":54495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:58:15] local.INFO: Extracted packet for processing {"connection_id":54495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:58:15] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:58: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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:58:15] 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-04-26 06: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-04-26 06:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":54495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:58:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":54495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:58:15] local.INFO: GPS data processed {"connection_id":54495,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:58:15] local.INFO: Acknowledgment sent {"connection_id":54495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:58:46] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:46] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:58:46] local.INFO: Packet analysis {"connection_id":54495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:58:46] local.INFO: Extracted packet for processing {"connection_id":54495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:58:46] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:58: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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:58:46] 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-04-26 06: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-04-26 06:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 06:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:58:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:58:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:58:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:58:46] local.INFO: DEBUG: GPS processor result {"connection_id":54495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:58:46] local.INFO: GPS data processed {"connection_id":54495,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:58:46] local.INFO: Acknowledgment sent {"connection_id":54495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:58:51] local.INFO: TCP Data received {"connection_id":55161,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:58:51] local.INFO: Processing buffer {"connection_id":55161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 06:58:51] local.INFO: IMEI packet received {"connection_id":55161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 06:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":55161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:59:15] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:59:15] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:59:15] local.INFO: IMEI packet received {"connection_id":54431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 06:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":54431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 06:59:20] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:59:20] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 06:59:20] local.INFO: IMEI packet received {"connection_id":54431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 06:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 06:59:20] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:59:20] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc762c058012cb299c007822ce0004500122e..."} 
[2026-04-26 06:59:20] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:59:20] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc762"} 
[2026-04-26 06:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954580480001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777166631000,"timestamp_ms":1777166631000,"timestamp_seconds":1777166631,"priority":1,"record_length":96,"hex_timestamp":"0000019dc762c058"} 
[2026-04-26 06:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:59:20] 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-04-26 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 06:59: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-04-26 06: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-04-26 06:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954580480001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954580480001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:59:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954580480001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:59:20] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:59:20] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 06:59:51] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 06:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 06:59:51] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 06:59:51] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 06:59:51] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 06:59:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 06: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-04-26 06:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 06:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 06:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 06:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 06:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 06:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 06:59:51] 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-04-26 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 06:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 06: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-04-26 06:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 06:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 06:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 06:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 06: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-04-26 06:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 06:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 06:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 06:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 06:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 06:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 06:59:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 06:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 06:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 06:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 06:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 06:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 06:59:51] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 06:59:51] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:00:15] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:00:15] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:00:15] local.INFO: IMEI packet received {"connection_id":54496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":54496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:00:20] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:00:20] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:00:20] local.INFO: IMEI packet received {"connection_id":54496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":54496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:00:21] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:00:21] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:00:21] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:00:21] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:00:21] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:00: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-04-26 07:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:00:21] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:00:21] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:00:52] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:00:52] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:00:52] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:00:52] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:00:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:00:52] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:00:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:00:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:00:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:00:52] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:00:52] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:01:20] local.INFO: TCP Data received {"connection_id":54433,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:01:20] local.INFO: Processing buffer {"connection_id":54433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:01:20] local.INFO: IMEI packet received {"connection_id":54433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:01:25] local.INFO: TCP Data received {"connection_id":54433,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:01:25] local.INFO: Processing buffer {"connection_id":54433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:01:25] local.INFO: IMEI packet received {"connection_id":54433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":54433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:01:26] local.INFO: TCP Data received {"connection_id":54433,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:01:26] local.INFO: Processing buffer {"connection_id":54433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:01:26] local.INFO: Packet analysis {"connection_id":54433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:01:26] local.INFO: Extracted packet for processing {"connection_id":54433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:01:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:01:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:01:26] 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-04-26 07:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:01: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-04-26 07:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:01:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:01:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":54433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:01:26] local.INFO: GPS data processed {"connection_id":54433,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:01:26] local.INFO: Acknowledgment sent {"connection_id":54433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:01:30] local.INFO: TCP Data received {"connection_id":54433,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:01:30] local.INFO: Processing buffer {"connection_id":54433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:01:30] local.INFO: Packet analysis {"connection_id":54433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:01:30] local.INFO: Extracted packet for processing {"connection_id":54433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:01:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:01:30] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:01:30] 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-04-26 07:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:01:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":54433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:01:30] local.INFO: GPS data processed {"connection_id":54433,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:01:30] local.INFO: Acknowledgment sent {"connection_id":54433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:02:15] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:02:15] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:02:15] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:02:20] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:02:20] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:02:20] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:02:21] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:02:21] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:02:21] local.INFO: Packet analysis {"connection_id":54497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:02:21] local.INFO: Extracted packet for processing {"connection_id":54497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:02:21] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:02: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-04-26 07:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":54497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:02:21] local.INFO: GPS data processed {"connection_id":54497,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:02:21] local.INFO: Acknowledgment sent {"connection_id":54497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:02:52] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:02:52] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:02:52] local.INFO: Packet analysis {"connection_id":54497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:02:52] local.INFO: Extracted packet for processing {"connection_id":54497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:02:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:02:52] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:02: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-04-26 07:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:02:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":54497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:02:52] local.INFO: GPS data processed {"connection_id":54497,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:02:52] local.INFO: Acknowledgment sent {"connection_id":54497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:03:15] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:03:15] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:03:15] local.INFO: IMEI packet received {"connection_id":54259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":54259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:03:20] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:03:20] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:03:20] local.INFO: IMEI packet received {"connection_id":54259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:03:20] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:03:20] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:03:20] local.INFO: Packet analysis {"connection_id":54259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:03:20] local.INFO: Extracted packet for processing {"connection_id":54259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:03:20] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:03:20] 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-04-26 07:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:03:20] local.INFO: GPS data processed {"connection_id":54259,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:03:20] local.INFO: Acknowledgment sent {"connection_id":54259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:03:52] local.INFO: TCP Data received {"connection_id":54259,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:03:52] local.INFO: Processing buffer {"connection_id":54259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:03:52] local.INFO: Packet analysis {"connection_id":54259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:03:52] local.INFO: Extracted packet for processing {"connection_id":54259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:03:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 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-04-26 07:03:52] 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-04-26 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 07:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:03: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-04-26 07:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:03:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":54259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:03:52] local.INFO: GPS data processed {"connection_id":54259,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:03:52] local.INFO: Acknowledgment sent {"connection_id":54259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:04:15] local.INFO: TCP Data received {"connection_id":55165,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:04:15] local.INFO: Processing buffer {"connection_id":55165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:04:15] local.INFO: IMEI packet received {"connection_id":55165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":55165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:04:20] local.INFO: TCP Data received {"connection_id":55165,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:04:20] local.INFO: Processing buffer {"connection_id":55165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:04:20] local.INFO: IMEI packet received {"connection_id":55165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":55165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:04:21] local.INFO: TCP Data received {"connection_id":55165,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:04:21] local.INFO: Processing buffer {"connection_id":55165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7675820012cb299c007822ce0004c00122e..."} 
[2026-04-26 07:04:21] local.INFO: Packet analysis {"connection_id":55165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:04:21] local.INFO: Extracted packet for processing {"connection_id":55165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc767"} 
[2026-04-26 07:04:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954657536001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777166932000,"timestamp_ms":1777166932000,"timestamp_seconds":1777166932,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7675820"} 
[2026-04-26 07:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:04:21] 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-04-26 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 07:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:04: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-04-26 07:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954657536001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954657536001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:04:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954657536001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":55165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:04:21] local.INFO: GPS data processed {"connection_id":55165,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:04:21] local.INFO: Acknowledgment sent {"connection_id":55165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:04:41] local.INFO: TCP Data received {"connection_id":54260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:04:41] local.INFO: Processing buffer {"connection_id":54260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:04:41] local.INFO: IMEI packet received {"connection_id":54260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":54260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:04:51] local.INFO: TCP Data received {"connection_id":55165,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:04:51] local.INFO: Processing buffer {"connection_id":55165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:04:51] local.INFO: Packet analysis {"connection_id":55165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:04:51] local.INFO: Extracted packet for processing {"connection_id":55165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:04:51] 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-04-26 07:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:04: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-04-26 07: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-04-26 07:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:04:51] 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-04-26 07:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:04:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":55165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:04:51] local.INFO: GPS data processed {"connection_id":55165,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:04:51] local.INFO: Acknowledgment sent {"connection_id":55165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:05:20] local.INFO: TCP Data received {"connection_id":54498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:05:20] local.INFO: Processing buffer {"connection_id":54498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:05:20] local.INFO: IMEI packet received {"connection_id":54498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:05:25] local.INFO: TCP Data received {"connection_id":54498,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:05:25] local.INFO: Processing buffer {"connection_id":54498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:05:25] local.INFO: IMEI packet received {"connection_id":54498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":54498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:05:26] local.INFO: TCP Data received {"connection_id":54498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:05:26] local.INFO: Processing buffer {"connection_id":54498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:05:26] local.INFO: Packet analysis {"connection_id":54498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:05:26] local.INFO: Extracted packet for processing {"connection_id":54498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:05:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:05:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:05:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:05:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:05:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:05:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:05:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:05:26] 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-04-26 07:05:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:05: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-04-26 07:05:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:05:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:05:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:05:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:05:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:05:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:05: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-04-26 07:05:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:05:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:05:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:05:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:05:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:05:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:05:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:05:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:05:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:05:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:05:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:05:26] local.INFO: DEBUG: GPS processor result {"connection_id":54498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:05:26] local.INFO: GPS data processed {"connection_id":54498,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:05:26] local.INFO: Acknowledgment sent {"connection_id":54498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:05:30] local.INFO: TCP Data received {"connection_id":54498,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:05:30] local.INFO: Processing buffer {"connection_id":54498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:05:30] local.INFO: Packet analysis {"connection_id":54498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:05:30] local.INFO: Extracted packet for processing {"connection_id":54498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:05:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:05:30] 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-04-26 07:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:05:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":54498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:05:30] local.INFO: GPS data processed {"connection_id":54498,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:05:30] local.INFO: Acknowledgment sent {"connection_id":54498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:06:15] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:06:15] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:06:15] local.INFO: IMEI packet received {"connection_id":54261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:06:20] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:06:20] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:06:20] local.INFO: IMEI packet received {"connection_id":54261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":54261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:06:21] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:06:21] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:06:21] local.INFO: Packet analysis {"connection_id":54261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:06:21] local.INFO: Extracted packet for processing {"connection_id":54261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:06:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:06:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 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-04-26 07:06:21] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:06:21] 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-04-26 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-04-26 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-04-26 07:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:06:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:06:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":54261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:06:21] local.INFO: GPS data processed {"connection_id":54261,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:06:21] local.INFO: Acknowledgment sent {"connection_id":54261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:06:52] local.INFO: TCP Data received {"connection_id":54261,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:06:52] local.INFO: Processing buffer {"connection_id":54261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:06:52] local.INFO: Packet analysis {"connection_id":54261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:06:52] local.INFO: Extracted packet for processing {"connection_id":54261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:06:52] 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-04-26 07:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:06: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-04-26 07: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-04-26 07:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:06:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":54261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:06:52] local.INFO: GPS data processed {"connection_id":54261,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:06:52] local.INFO: Acknowledgment sent {"connection_id":54261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:07:16] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:07:16] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:07:16] local.INFO: IMEI packet received {"connection_id":55167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":55167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:07:20] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:07:20] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:07:20] local.INFO: IMEI packet received {"connection_id":55167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":55167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:07:21] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:21] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:21] local.INFO: Packet analysis {"connection_id":55167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:07:21] local.INFO: Extracted packet for processing {"connection_id":55167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:07:21] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:07:21] 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-04-26 07: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-04-26 07:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:07: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-04-26 07:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":55167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:07:21] local.INFO: GPS data processed {"connection_id":55167,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:07:21] local.INFO: Acknowledgment sent {"connection_id":55167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:07:25] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:25] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:25] local.INFO: Packet analysis {"connection_id":55167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:07:25] local.INFO: Extracted packet for processing {"connection_id":55167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:07:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:07:25] 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-04-26 07:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:07:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":55167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:07:25] local.INFO: GPS data processed {"connection_id":55167,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:07:25] local.INFO: Acknowledgment sent {"connection_id":55167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:07:56] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:56] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:07:56] local.INFO: Packet analysis {"connection_id":55167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:07:56] local.INFO: Extracted packet for processing {"connection_id":55167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:07:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:07:56] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:07:56] 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-04-26 07: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-04-26 07:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:07:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":55167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:07:56] local.INFO: GPS data processed {"connection_id":55167,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:07:56] local.INFO: Acknowledgment sent {"connection_id":55167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:08:15] local.INFO: TCP Data received {"connection_id":54436,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:08:15] local.INFO: Processing buffer {"connection_id":54436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:08:15] local.INFO: IMEI packet received {"connection_id":54436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":54436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:08:20] local.INFO: TCP Data received {"connection_id":54436,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:08:20] local.INFO: Processing buffer {"connection_id":54436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:08:20] local.INFO: IMEI packet received {"connection_id":54436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:08:21] local.INFO: TCP Data received {"connection_id":54436,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:21] local.INFO: Processing buffer {"connection_id":54436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:21] local.INFO: Packet analysis {"connection_id":54436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:08:21] local.INFO: Extracted packet for processing {"connection_id":54436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:08:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:08:21] 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-04-26 07:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:08:21] 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-04-26 07: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-04-26 07:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:08: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-04-26 07:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:08:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:08:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":54436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:08:21] local.INFO: GPS data processed {"connection_id":54436,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:08:21] local.INFO: Acknowledgment sent {"connection_id":54436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:08:25] local.INFO: TCP Data received {"connection_id":54436,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:25] local.INFO: Processing buffer {"connection_id":54436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:25] local.INFO: Packet analysis {"connection_id":54436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:08:25] local.INFO: Extracted packet for processing {"connection_id":54436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:08:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:08:25] 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-04-26 07:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:08: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-04-26 07:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:08:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":54436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:08:25] local.INFO: GPS data processed {"connection_id":54436,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:08:25] local.INFO: Acknowledgment sent {"connection_id":54436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:08:56] local.INFO: TCP Data received {"connection_id":54436,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:56] local.INFO: Processing buffer {"connection_id":54436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:08:56] local.INFO: Packet analysis {"connection_id":54436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:08:56] local.INFO: Extracted packet for processing {"connection_id":54436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:08:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:08:56] 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-04-26 07:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:08:56] 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-04-26 07:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:08: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-04-26 07:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:08:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":54436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:08:56] local.INFO: GPS data processed {"connection_id":54436,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:08:56] local.INFO: Acknowledgment sent {"connection_id":54436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:09:15] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:09:15] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:09:15] local.INFO: IMEI packet received {"connection_id":54437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":54437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:09:19] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:09:19] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:09:19] local.INFO: IMEI packet received {"connection_id":54437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:09:21] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:09:21] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc76befe8012cb299c007822ce0004b00122e..."} 
[2026-04-26 07:09:21] local.INFO: Packet analysis {"connection_id":54437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:09:21] local.INFO: Extracted packet for processing {"connection_id":54437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc76b"} 
[2026-04-26 07:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954734592001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167233000,"timestamp_ms":1777167233000,"timestamp_seconds":1777167233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc76befe8"} 
[2026-04-26 07:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:09:21] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:09:21] 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-04-26 07: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-04-26 07:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:09: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-04-26 07:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954734592001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954734592001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954734592001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":54437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:09:21] local.INFO: GPS data processed {"connection_id":54437,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:09:21] local.INFO: Acknowledgment sent {"connection_id":54437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:09:52] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:09:52] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:09:52] local.INFO: Packet analysis {"connection_id":54437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:09:52] local.INFO: Extracted packet for processing {"connection_id":54437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:09:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:09:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:09:52] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:09:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:09:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:09: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-04-26 07:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:09:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":54437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:09:52] local.INFO: GPS data processed {"connection_id":54437,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:09:52] local.INFO: Acknowledgment sent {"connection_id":54437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:10:06] local.INFO: TCP Data received {"connection_id":55169,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:10:06] local.INFO: Processing buffer {"connection_id":55169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:10:06] local.INFO: IMEI packet received {"connection_id":55169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":55169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:10:15] local.INFO: TCP Data received {"connection_id":55170,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:10:15] local.INFO: Processing buffer {"connection_id":55170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:10:15] local.INFO: IMEI packet received {"connection_id":55170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":55170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:10:20] local.INFO: TCP Data received {"connection_id":55170,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:10:20] local.INFO: Processing buffer {"connection_id":55170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:10:20] local.INFO: IMEI packet received {"connection_id":55170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":55170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:10:21] local.INFO: TCP Data received {"connection_id":55170,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:10:21] local.INFO: Processing buffer {"connection_id":55170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:10:21] local.INFO: Packet analysis {"connection_id":55170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:10:21] local.INFO: Extracted packet for processing {"connection_id":55170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:10:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:10:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:10:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:10:21] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:10:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:10: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-04-26 07:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:10:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:10:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:10:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":55170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:10:21] local.INFO: GPS data processed {"connection_id":55170,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:10:21] local.INFO: Acknowledgment sent {"connection_id":55170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:10:40] local.INFO: TCP Data received {"connection_id":54499,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:10:40] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:10:40] local.INFO: IMEI packet received {"connection_id":54499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":54499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:10:52] local.INFO: TCP Data received {"connection_id":55170,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:10:52] local.INFO: Processing buffer {"connection_id":55170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:10:52] local.INFO: Packet analysis {"connection_id":55170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:10:52] local.INFO: Extracted packet for processing {"connection_id":55170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:10:52] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:10:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:10: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-04-26 07:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":55170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:10:52] local.INFO: GPS data processed {"connection_id":55170,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:10:52] local.INFO: Acknowledgment sent {"connection_id":55170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:11:15] local.INFO: TCP Data received {"connection_id":54500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:11:15] local.INFO: Processing buffer {"connection_id":54500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:11:15] local.INFO: IMEI packet received {"connection_id":54500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:11:20] local.INFO: TCP Data received {"connection_id":54500,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:11:20] local.INFO: Processing buffer {"connection_id":54500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:11:20] local.INFO: IMEI packet received {"connection_id":54500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:11:21] local.INFO: TCP Data received {"connection_id":54500,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:11:21] local.INFO: Processing buffer {"connection_id":54500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:11:21] local.INFO: Packet analysis {"connection_id":54500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:11:21] local.INFO: Extracted packet for processing {"connection_id":54500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:11:21] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:11:21] local.INFO: GPS data processed {"connection_id":54500,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:11:21] local.INFO: Acknowledgment sent {"connection_id":54500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:11:52] local.INFO: TCP Data received {"connection_id":54500,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:11:52] local.INFO: Processing buffer {"connection_id":54500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:11:52] local.INFO: Packet analysis {"connection_id":54500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:11:52] local.INFO: Extracted packet for processing {"connection_id":54500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:11:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:11:52] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:11:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":54500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:11:52] local.INFO: GPS data processed {"connection_id":54500,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:11:52] local.INFO: Acknowledgment sent {"connection_id":54500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:12:15] local.INFO: TCP Data received {"connection_id":55171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:12:15] local.INFO: Processing buffer {"connection_id":55171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:12:15] local.INFO: IMEI packet received {"connection_id":55171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":55171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:12:20] local.INFO: TCP Data received {"connection_id":55171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:12:20] local.INFO: Processing buffer {"connection_id":55171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:12:20] local.INFO: IMEI packet received {"connection_id":55171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":55171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:12:21] local.INFO: TCP Data received {"connection_id":55171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:12:21] local.INFO: Processing buffer {"connection_id":55171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:12:21] local.INFO: Packet analysis {"connection_id":55171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:12:21] local.INFO: Extracted packet for processing {"connection_id":55171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:12:21] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:12:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:12: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-04-26 07:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":55171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:12:21] local.INFO: GPS data processed {"connection_id":55171,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:12:21] local.INFO: Acknowledgment sent {"connection_id":55171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:12:52] local.INFO: TCP Data received {"connection_id":55171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:12:52] local.INFO: Processing buffer {"connection_id":55171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:12:52] local.INFO: Packet analysis {"connection_id":55171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:12:52] local.INFO: Extracted packet for processing {"connection_id":55171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:12:52] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:12:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:12:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:12:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":55171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:12:52] local.INFO: GPS data processed {"connection_id":55171,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:12:52] local.INFO: Acknowledgment sent {"connection_id":55171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:13:14] local.INFO: TCP Data received {"connection_id":54502,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:13:14] local.INFO: Processing buffer {"connection_id":54502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:13:14] local.INFO: IMEI packet received {"connection_id":54502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:13:20] local.INFO: TCP Data received {"connection_id":54502,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:13:20] local.INFO: Processing buffer {"connection_id":54502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:13:20] local.INFO: IMEI packet received {"connection_id":54502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":54502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:13:21] local.INFO: TCP Data received {"connection_id":54502,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:13:21] local.INFO: Processing buffer {"connection_id":54502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:13:21] local.INFO: Packet analysis {"connection_id":54502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:13:21] local.INFO: Extracted packet for processing {"connection_id":54502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:13:21] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:13: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-04-26 07:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:13:21] local.INFO: GPS data processed {"connection_id":54502,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:13:21] local.INFO: Acknowledgment sent {"connection_id":54502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:13:52] local.INFO: TCP Data received {"connection_id":54502,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:13:52] local.INFO: Processing buffer {"connection_id":54502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:13:52] local.INFO: Packet analysis {"connection_id":54502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:13:52] local.INFO: Extracted packet for processing {"connection_id":54502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:13:52] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":54502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:13:52] local.INFO: GPS data processed {"connection_id":54502,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:13:52] local.INFO: Acknowledgment sent {"connection_id":54502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:14:15] local.INFO: TCP Data received {"connection_id":54439,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:14:15] local.INFO: Processing buffer {"connection_id":54439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:14:15] local.INFO: IMEI packet received {"connection_id":54439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":54439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:14:20] local.INFO: TCP Data received {"connection_id":54439,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:14:20] local.INFO: Processing buffer {"connection_id":54439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:14:20] local.INFO: IMEI packet received {"connection_id":54439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":54439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:14:21] local.INFO: TCP Data received {"connection_id":54439,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:14:21] local.INFO: Processing buffer {"connection_id":54439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77087b0012cb299c007822ce0004e001230..."} 
[2026-04-26 07:14:21] local.INFO: Packet analysis {"connection_id":54439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:14:21] local.INFO: Extracted packet for processing {"connection_id":54439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc770"} 
[2026-04-26 07:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954811648001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167534000,"timestamp_ms":1777167534000,"timestamp_seconds":1777167534,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77087b0"} 
[2026-04-26 07:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:14:21] 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-04-26 07: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 07:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:14: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-04-26 07:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954811648001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954811648001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954811648001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":54439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:14:21] local.INFO: GPS data processed {"connection_id":54439,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:14:21] local.INFO: Acknowledgment sent {"connection_id":54439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:14:51] local.INFO: TCP Data received {"connection_id":54439,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:14:51] local.INFO: Processing buffer {"connection_id":54439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:14:51] local.INFO: Packet analysis {"connection_id":54439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:14:51] local.INFO: Extracted packet for processing {"connection_id":54439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:14:51] 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-04-26 07:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:14: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-04-26 07: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-04-26 07:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:14:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":54439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:14:51] local.INFO: GPS data processed {"connection_id":54439,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:14:51] local.INFO: Acknowledgment sent {"connection_id":54439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:15:15] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:15:15] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:15:15] local.INFO: IMEI packet received {"connection_id":54440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":54440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:15:20] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:15:20] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:15:20] local.INFO: IMEI packet received {"connection_id":54440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:15:21] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:15:21] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:15:21] local.INFO: Packet analysis {"connection_id":54440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:15:21] local.INFO: Extracted packet for processing {"connection_id":54440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:15:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:15:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:15:21] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:15:21] 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-04-26 07: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-04-26 07:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:15:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:15:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:15:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":54440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:15:21] local.INFO: GPS data processed {"connection_id":54440,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:15:21] local.INFO: Acknowledgment sent {"connection_id":54440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:15:52] local.INFO: TCP Data received {"connection_id":54440,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:15:52] local.INFO: Processing buffer {"connection_id":54440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:15:52] local.INFO: Packet analysis {"connection_id":54440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:15:52] local.INFO: Extracted packet for processing {"connection_id":54440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:15:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:15:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:15:52] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:15: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-04-26 07: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-04-26 07:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:15:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:15:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:15:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":54440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:15:52] local.INFO: GPS data processed {"connection_id":54440,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:15:52] local.INFO: Acknowledgment sent {"connection_id":54440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:16:06] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:16:06] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:16:06] local.INFO: IMEI packet received {"connection_id":54504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":54504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:16:15] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:16:15] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:16:15] local.INFO: IMEI packet received {"connection_id":54263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":54263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:16:20] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:16:20] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:16:20] local.INFO: IMEI packet received {"connection_id":54263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:16:21] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:16:21] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:16:21] local.INFO: Packet analysis {"connection_id":54263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:16:21] local.INFO: Extracted packet for processing {"connection_id":54263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:16:21] 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-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:16:21] 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-04-26 07: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-04-26 07:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:16: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-04-26 07:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":54263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:16:21] local.INFO: GPS data processed {"connection_id":54263,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:16:21] local.INFO: Acknowledgment sent {"connection_id":54263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:16:43] local.INFO: TCP Data received {"connection_id":54505,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:16:43] local.INFO: Processing buffer {"connection_id":54505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:16:43] local.INFO: IMEI packet received {"connection_id":54505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":54505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:16:52] local.INFO: TCP Data received {"connection_id":54263,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:16:52] local.INFO: Processing buffer {"connection_id":54263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:16:52] local.INFO: Packet analysis {"connection_id":54263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:16:52] local.INFO: Extracted packet for processing {"connection_id":54263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:16:52] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:16: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-04-26 07: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-04-26 07:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:16: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-04-26 07:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:16:52] local.INFO: GPS data processed {"connection_id":54263,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:16:52] local.INFO: Acknowledgment sent {"connection_id":54263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:17:14] local.INFO: TCP Data received {"connection_id":54441,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:17:14] local.INFO: Processing buffer {"connection_id":54441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:17:14] local.INFO: IMEI packet received {"connection_id":54441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":54441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:17:20] local.INFO: TCP Data received {"connection_id":54441,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:17:20] local.INFO: Processing buffer {"connection_id":54441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:17:20] local.INFO: IMEI packet received {"connection_id":54441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":54441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:17:21] local.INFO: TCP Data received {"connection_id":54441,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:17:21] local.INFO: Processing buffer {"connection_id":54441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:17:21] local.INFO: Packet analysis {"connection_id":54441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:17:21] local.INFO: Extracted packet for processing {"connection_id":54441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:17:21] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:17:21] 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-04-26 07: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-04-26 07:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:17: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-04-26 07:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:17:21] local.INFO: GPS data processed {"connection_id":54441,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:17:21] local.INFO: Acknowledgment sent {"connection_id":54441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:17:52] local.INFO: TCP Data received {"connection_id":54441,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:17:52] local.INFO: Processing buffer {"connection_id":54441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:17:52] local.INFO: Packet analysis {"connection_id":54441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:17:52] local.INFO: Extracted packet for processing {"connection_id":54441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:17:52] 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-04-26 07:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:17: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-04-26 07: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-04-26 07:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:17: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-04-26 07:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:17:52] local.INFO: GPS data processed {"connection_id":54441,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:17:52] local.INFO: Acknowledgment sent {"connection_id":54441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:18:15] local.INFO: TCP Data received {"connection_id":54506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:18:15] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:18:15] local.INFO: IMEI packet received {"connection_id":54506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:18:20] local.INFO: TCP Data received {"connection_id":54506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:18:20] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:18:20] local.INFO: IMEI packet received {"connection_id":54506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:18:21] local.INFO: TCP Data received {"connection_id":54506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:18:21] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:18:21] local.INFO: Packet analysis {"connection_id":54506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:18:21] local.INFO: Extracted packet for processing {"connection_id":54506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:18:21] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:18:21] 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-04-26 07: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-04-26 07:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:18: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-04-26 07:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:18:21] local.INFO: GPS data processed {"connection_id":54506,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:18:21] local.INFO: Acknowledgment sent {"connection_id":54506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:18:52] local.INFO: TCP Data received {"connection_id":54506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:18:52] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:18:52] local.INFO: Packet analysis {"connection_id":54506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:18:52] local.INFO: Extracted packet for processing {"connection_id":54506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:18:52] 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-04-26 07:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:18: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-04-26 07:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:18: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-04-26 07:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:18:52] local.INFO: GPS data processed {"connection_id":54506,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:18:52] local.INFO: Acknowledgment sent {"connection_id":54506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:19:20] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:19:20] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:19:20] local.INFO: IMEI packet received {"connection_id":55173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":55173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:19:25] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:19:25] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:19:25] local.INFO: IMEI packet received {"connection_id":55173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":55173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:19:26] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:19:26] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:19:26] local.INFO: Packet analysis {"connection_id":55173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:19:26] local.INFO: Extracted packet for processing {"connection_id":55173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:19:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:19:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:19:26] 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-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:19: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-04-26 07: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-04-26 07:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:19:26] 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-04-26 07:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:19:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:19:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":55173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:19:26] local.INFO: GPS data processed {"connection_id":55173,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:19:26] local.INFO: Acknowledgment sent {"connection_id":55173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:19:30] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:19:30] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7751f78012cb299c007822ce0004d00122d..."} 
[2026-04-26 07:19:30] local.INFO: Packet analysis {"connection_id":55173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:19:30] local.INFO: Extracted packet for processing {"connection_id":55173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc775"} 
[2026-04-26 07:19:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954888704001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777167835000,"timestamp_ms":1777167835000,"timestamp_seconds":1777167835,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7751f78"} 
[2026-04-26 07:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:19:30] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:19: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-04-26 07:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954888704001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954888704001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:19:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954888704001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":55173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:19:30] local.INFO: GPS data processed {"connection_id":55173,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:19:30] local.INFO: Acknowledgment sent {"connection_id":55173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:20:14] local.INFO: TCP Data received {"connection_id":54266,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:20:14] local.INFO: Processing buffer {"connection_id":54266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:20:14] local.INFO: IMEI packet received {"connection_id":54266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":54266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:20:20] local.INFO: TCP Data received {"connection_id":54266,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:20:20] local.INFO: Processing buffer {"connection_id":54266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:20:20] local.INFO: IMEI packet received {"connection_id":54266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":54266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:20:21] local.INFO: TCP Data received {"connection_id":54266,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:20:21] local.INFO: Processing buffer {"connection_id":54266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:20:21] local.INFO: Packet analysis {"connection_id":54266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:20:21] local.INFO: Extracted packet for processing {"connection_id":54266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:20:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:20:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:20:21] 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-04-26 07: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-04-26 07:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:20: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-04-26 07:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:20:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:20:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":54266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:20:21] local.INFO: GPS data processed {"connection_id":54266,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:20:21] local.INFO: Acknowledgment sent {"connection_id":54266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:20:52] local.INFO: TCP Data received {"connection_id":54266,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:20:52] local.INFO: Processing buffer {"connection_id":54266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:20:52] local.INFO: Packet analysis {"connection_id":54266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:20:52] local.INFO: Extracted packet for processing {"connection_id":54266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:20: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-04-26 07: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-04-26 07:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:20: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-04-26 07:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:20:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":54266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:20:52] local.INFO: GPS data processed {"connection_id":54266,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:20:52] local.INFO: Acknowledgment sent {"connection_id":54266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:21:14] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:21:14] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:21:14] local.INFO: IMEI packet received {"connection_id":54509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:21:20] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:21:20] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:21:20] local.INFO: IMEI packet received {"connection_id":54509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":54509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:21:21] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:21:21] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:21:21] local.INFO: Packet analysis {"connection_id":54509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:21:21] local.INFO: Extracted packet for processing {"connection_id":54509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:21:21] 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-04-26 07: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-04-26 07:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":54509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:21:21] local.INFO: GPS data processed {"connection_id":54509,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:21:21] local.INFO: Acknowledgment sent {"connection_id":54509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:21:52] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:21:52] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:21:52] local.INFO: Packet analysis {"connection_id":54509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:21:52] local.INFO: Extracted packet for processing {"connection_id":54509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:21:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:21: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-04-26 07: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-04-26 07:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:21:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":54509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:21:52] local.INFO: GPS data processed {"connection_id":54509,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:21:52] local.INFO: Acknowledgment sent {"connection_id":54509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:22:06] local.INFO: TCP Data received {"connection_id":55174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:22:06] local.INFO: Processing buffer {"connection_id":55174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:22:06] local.INFO: IMEI packet received {"connection_id":55174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":55174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:22:14] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:22:14] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:22:14] local.INFO: IMEI packet received {"connection_id":55175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":55175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:22:20] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:22:20] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:22:20] local.INFO: IMEI packet received {"connection_id":55175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":55175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:22:21] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:22:21] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:22:21] local.INFO: Packet analysis {"connection_id":55175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:22:21] local.INFO: Extracted packet for processing {"connection_id":55175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:22:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:22:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:22:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:22:21] 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-04-26 07: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-04-26 07:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:22: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-04-26 07:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:22:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:22:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:22:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":55175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:22:21] local.INFO: GPS data processed {"connection_id":55175,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:22:21] local.INFO: Acknowledgment sent {"connection_id":55175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:22:40] local.INFO: TCP Data received {"connection_id":55176,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:22:40] local.INFO: Processing buffer {"connection_id":55176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:22:40] local.INFO: IMEI packet received {"connection_id":55176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":55176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:22:52] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:22:52] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:22:52] local.INFO: Packet analysis {"connection_id":55175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:22:52] local.INFO: Extracted packet for processing {"connection_id":55175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:22: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-04-26 07: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-04-26 07:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:22: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-04-26 07:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":55175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:22:52] local.INFO: GPS data processed {"connection_id":55175,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:22:52] local.INFO: Acknowledgment sent {"connection_id":55175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:23:20] local.INFO: TCP Data received {"connection_id":54510,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:23:20] local.INFO: Processing buffer {"connection_id":54510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:23:20] local.INFO: IMEI packet received {"connection_id":54510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:23:25] local.INFO: TCP Data received {"connection_id":54510,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:23:25] local.INFO: Processing buffer {"connection_id":54510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:23:25] local.INFO: IMEI packet received {"connection_id":54510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":54510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:23:26] local.INFO: TCP Data received {"connection_id":54510,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:23:26] local.INFO: Processing buffer {"connection_id":54510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:23:26] local.INFO: Packet analysis {"connection_id":54510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:23:26] local.INFO: Extracted packet for processing {"connection_id":54510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:23:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:23:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:23:26] 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-04-26 07: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-04-26 07:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:23: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-04-26 07:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:23:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:23:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":54510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:23:26] local.INFO: GPS data processed {"connection_id":54510,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:23:26] local.INFO: Acknowledgment sent {"connection_id":54510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:23:30] local.INFO: TCP Data received {"connection_id":54510,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:23:30] local.INFO: Processing buffer {"connection_id":54510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:23:30] local.INFO: Packet analysis {"connection_id":54510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:23:30] local.INFO: Extracted packet for processing {"connection_id":54510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:23:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:23: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-04-26 07: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-04-26 07:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:23: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-04-26 07:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:23:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":54510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:23:30] local.INFO: GPS data processed {"connection_id":54510,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:23:30] local.INFO: Acknowledgment sent {"connection_id":54510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:24:14] local.INFO: TCP Data received {"connection_id":55177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:24:14] local.INFO: Processing buffer {"connection_id":55177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:24:14] local.INFO: IMEI packet received {"connection_id":55177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":55177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:24:20] local.INFO: TCP Data received {"connection_id":55177,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:24:20] local.INFO: Processing buffer {"connection_id":55177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:24:20] local.INFO: IMEI packet received {"connection_id":55177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":55177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:24:21] local.INFO: TCP Data received {"connection_id":55177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:24:21] local.INFO: Processing buffer {"connection_id":55177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc779b740012cb299c007822ce0004b00122f..."} 
[2026-04-26 07:24:21] local.INFO: Packet analysis {"connection_id":55177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:24:21] local.INFO: Extracted packet for processing {"connection_id":55177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc779"} 
[2026-04-26 07:24:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454954965760001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:24:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168136000,"timestamp_ms":1777168136000,"timestamp_seconds":1777168136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc779b740"} 
[2026-04-26 07:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:24:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 07:24:21] 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-04-26 07: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-04-26 07:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454954965760001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454954965760001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:24:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:24:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:24:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454954965760001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":55177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:24:21] local.INFO: GPS data processed {"connection_id":55177,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:24:21] local.INFO: Acknowledgment sent {"connection_id":55177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:24:51] local.INFO: TCP Data received {"connection_id":55177,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:24:51] local.INFO: Processing buffer {"connection_id":55177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:24:51] local.INFO: Packet analysis {"connection_id":55177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:24:51] local.INFO: Extracted packet for processing {"connection_id":55177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:24:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":55177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:24:51] local.INFO: GPS data processed {"connection_id":55177,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:24:51] local.INFO: Acknowledgment sent {"connection_id":55177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:25:14] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:25:14] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:25:14] local.INFO: IMEI packet received {"connection_id":55179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":55179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:25:20] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:25:20] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:25:20] local.INFO: IMEI packet received {"connection_id":55179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":55179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:25:21] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:25:21] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:25:21] local.INFO: Packet analysis {"connection_id":55179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:25:21] local.INFO: Extracted packet for processing {"connection_id":55179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:25:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:25:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:25: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-04-26 07:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:25:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:25:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:25:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":55179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:25:21] local.INFO: GPS data processed {"connection_id":55179,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:25:21] local.INFO: Acknowledgment sent {"connection_id":55179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:25:52] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:25:52] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:25:52] local.INFO: Packet analysis {"connection_id":55179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:25:52] local.INFO: Extracted packet for processing {"connection_id":55179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:25:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:25:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:25:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:25: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-04-26 07:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:25:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:25:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:25:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":55179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:25:52] local.INFO: GPS data processed {"connection_id":55179,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:25:52] local.INFO: Acknowledgment sent {"connection_id":55179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:26:14] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:26:14] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:26:14] local.INFO: IMEI packet received {"connection_id":54511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":54511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:26:20] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:26:20] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:26:20] local.INFO: IMEI packet received {"connection_id":54511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":54511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:26:21] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:26:21] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:26:21] local.INFO: Packet analysis {"connection_id":54511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:26:21] local.INFO: Extracted packet for processing {"connection_id":54511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 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-04-26 07:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 07:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:26: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-04-26 07:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":54511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:26:21] local.INFO: GPS data processed {"connection_id":54511,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:26:21] local.INFO: Acknowledgment sent {"connection_id":54511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:26:52] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:26:52] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:26:52] local.INFO: Packet analysis {"connection_id":54511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:26:52] local.INFO: Extracted packet for processing {"connection_id":54511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:26:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 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-04-26 07:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 07:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:26: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-04-26 07:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:26:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":54511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:26:52] local.INFO: GPS data processed {"connection_id":54511,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:26:52] local.INFO: Acknowledgment sent {"connection_id":54511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:27:20] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:27:20] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:27:20] local.INFO: IMEI packet received {"connection_id":54267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:27:25] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:27:25] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:27:25] local.INFO: IMEI packet received {"connection_id":54267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":54267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:27:26] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:27:26] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:27:26] local.INFO: Packet analysis {"connection_id":54267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:27:26] local.INFO: Extracted packet for processing {"connection_id":54267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:27:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:27:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:27:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:27:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:27:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":54267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:27:26] local.INFO: GPS data processed {"connection_id":54267,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:27:26] local.INFO: Acknowledgment sent {"connection_id":54267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:27:30] local.INFO: TCP Data received {"connection_id":54267,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:27:30] local.INFO: Processing buffer {"connection_id":54267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:27:30] local.INFO: Packet analysis {"connection_id":54267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:27:30] local.INFO: Extracted packet for processing {"connection_id":54267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:27:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":54267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:27:30] local.INFO: GPS data processed {"connection_id":54267,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:27:30] local.INFO: Acknowledgment sent {"connection_id":54267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:28:06] local.INFO: TCP Data received {"connection_id":54268,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:28:06] local.INFO: Processing buffer {"connection_id":54268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:28:06] local.INFO: IMEI packet received {"connection_id":54268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":54268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:28:15] local.INFO: TCP Data received {"connection_id":54269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:28:15] local.INFO: Processing buffer {"connection_id":54269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:28:15] local.INFO: IMEI packet received {"connection_id":54269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:28:20] local.INFO: TCP Data received {"connection_id":54269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:28:20] local.INFO: Processing buffer {"connection_id":54269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:28:20] local.INFO: IMEI packet received {"connection_id":54269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":54269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:28:21] local.INFO: TCP Data received {"connection_id":54269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:28:21] local.INFO: Processing buffer {"connection_id":54269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:28:21] local.INFO: Packet analysis {"connection_id":54269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:28:21] local.INFO: Extracted packet for processing {"connection_id":54269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:28:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:28:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:28:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:28:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:28: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-04-26 07:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:28:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:28:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:28:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":54269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:28:21] local.INFO: GPS data processed {"connection_id":54269,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:28:21] local.INFO: Acknowledgment sent {"connection_id":54269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:28:46] local.INFO: TCP Data received {"connection_id":54443,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:28:46] local.INFO: Processing buffer {"connection_id":54443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:28:46] local.INFO: IMEI packet received {"connection_id":54443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":54443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:28:52] local.INFO: TCP Data received {"connection_id":54269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:28:52] local.INFO: Processing buffer {"connection_id":54269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:28:52] local.INFO: Packet analysis {"connection_id":54269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:28:52] local.INFO: Extracted packet for processing {"connection_id":54269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:28:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 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-04-26 07:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 07:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:28: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-04-26 07:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:28:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":54269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:28:52] local.INFO: GPS data processed {"connection_id":54269,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:28:52] local.INFO: Acknowledgment sent {"connection_id":54269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:29:15] local.INFO: TCP Data received {"connection_id":54444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:29:15] local.INFO: Processing buffer {"connection_id":54444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:29:15] local.INFO: IMEI packet received {"connection_id":54444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":54444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:29:20] local.INFO: TCP Data received {"connection_id":54444,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:29:20] local.INFO: Processing buffer {"connection_id":54444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:29:20] local.INFO: IMEI packet received {"connection_id":54444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":54444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:29:21] local.INFO: TCP Data received {"connection_id":54444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:29:21] local.INFO: Processing buffer {"connection_id":54444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc77e4f08012cb299c007822ce0004c001230..."} 
[2026-04-26 07:29:21] local.INFO: Packet analysis {"connection_id":54444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:29:21] local.INFO: Extracted packet for processing {"connection_id":54444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc77e"} 
[2026-04-26 07:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955042816001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168437000,"timestamp_ms":1777168437000,"timestamp_seconds":1777168437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc77e4f08"} 
[2026-04-26 07:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 07:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:29: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-04-26 07:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955042816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955042816001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955042816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":54444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:29:21] local.INFO: GPS data processed {"connection_id":54444,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:29:21] local.INFO: Acknowledgment sent {"connection_id":54444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:29:52] local.INFO: TCP Data received {"connection_id":54444,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:29:52] local.INFO: Processing buffer {"connection_id":54444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:29:52] local.INFO: Packet analysis {"connection_id":54444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:29:52] local.INFO: Extracted packet for processing {"connection_id":54444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:29:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:29:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 07:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:29:52] 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-04-26 07: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:29:52] 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-04-26 07: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-04-26 07:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:29: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-04-26 07:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:29:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:29:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":54444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:29:52] local.INFO: GPS data processed {"connection_id":54444,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:29:52] local.INFO: Acknowledgment sent {"connection_id":54444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:30:14] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:30:14] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:30:14] local.INFO: IMEI packet received {"connection_id":54512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":54512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:30:20] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:30:20] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:30:20] local.INFO: IMEI packet received {"connection_id":54512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":54512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:30:21] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:30:21] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:30:21] local.INFO: Packet analysis {"connection_id":54512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:30:21] local.INFO: Extracted packet for processing {"connection_id":54512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 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-04-26 07:30:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:30: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-04-26 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-04-26 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-04-26 07:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":54512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:30:21] local.INFO: GPS data processed {"connection_id":54512,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:30:21] local.INFO: Acknowledgment sent {"connection_id":54512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:30:52] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:30:52] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:30:52] local.INFO: Packet analysis {"connection_id":54512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:30:52] local.INFO: Extracted packet for processing {"connection_id":54512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:30:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:30:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 07:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:30:52] 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-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:30:52] 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-04-26 07: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-04-26 07:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:30:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:30:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":54512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:30:52] local.INFO: GPS data processed {"connection_id":54512,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:30:52] local.INFO: Acknowledgment sent {"connection_id":54512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:31:20] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:31:20] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:31:20] local.INFO: IMEI packet received {"connection_id":54270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":54270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:31:25] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:31:25] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:31:25] local.INFO: IMEI packet received {"connection_id":54270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":54270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:31:25] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:31:25] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:31:25] local.INFO: Packet analysis {"connection_id":54270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:31:25] local.INFO: Extracted packet for processing {"connection_id":54270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:31:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 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-04-26 07:31:25] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 07:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:31:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":54270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:31:26] local.INFO: GPS data processed {"connection_id":54270,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:31:26] local.INFO: Acknowledgment sent {"connection_id":54270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:31:30] local.INFO: TCP Data received {"connection_id":54270,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:31:30] local.INFO: Processing buffer {"connection_id":54270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:31:30] local.INFO: Packet analysis {"connection_id":54270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:31:30] local.INFO: Extracted packet for processing {"connection_id":54270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:31:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 07:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:31:30] 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-04-26 07:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:31:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":54270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:31:30] local.INFO: GPS data processed {"connection_id":54270,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:31:30] local.INFO: Acknowledgment sent {"connection_id":54270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:32:15] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:32:15] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:32:15] local.INFO: IMEI packet received {"connection_id":55183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":55183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:32:20] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:32:20] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:32:20] local.INFO: IMEI packet received {"connection_id":55183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":55183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:32:21] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:32:21] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:32:21] local.INFO: Packet analysis {"connection_id":55183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:32:21] local.INFO: Extracted packet for processing {"connection_id":55183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 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-04-26 07:32:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:32: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-04-26 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-04-26 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-04-26 07:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:32: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-04-26 07:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":55183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:32:21] local.INFO: GPS data processed {"connection_id":55183,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:32:21] local.INFO: Acknowledgment sent {"connection_id":55183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:32:52] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:32:52] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:32:52] local.INFO: Packet analysis {"connection_id":55183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:32:52] local.INFO: Extracted packet for processing {"connection_id":55183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 07:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:32:52] 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-04-26 07:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:32:52] 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-04-26 07: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-04-26 07:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:32: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-04-26 07:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":55183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:32:52] local.INFO: GPS data processed {"connection_id":55183,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:32:52] local.INFO: Acknowledgment sent {"connection_id":55183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:33:15] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:33:15] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:33:15] local.INFO: IMEI packet received {"connection_id":54446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:33:20] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:33:20] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:33:20] local.INFO: IMEI packet received {"connection_id":54446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":54446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:33:21] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:33:21] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:33:21] local.INFO: Packet analysis {"connection_id":54446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:33:21] local.INFO: Extracted packet for processing {"connection_id":54446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 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-04-26 07:33:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:33: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-04-26 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-04-26 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-04-26 07:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":54446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:33:21] local.INFO: GPS data processed {"connection_id":54446,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:33:21] local.INFO: Acknowledgment sent {"connection_id":54446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:33:52] local.INFO: TCP Data received {"connection_id":54446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:33:52] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:33:52] local.INFO: Packet analysis {"connection_id":54446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:33:52] local.INFO: Extracted packet for processing {"connection_id":54446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 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-04-26 07:33:52] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:33:52] 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-04-26 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-04-26 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-04-26 07:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":54446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:33:52] local.INFO: GPS data processed {"connection_id":54446,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:33:52] local.INFO: Acknowledgment sent {"connection_id":54446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:34:14] local.INFO: TCP Data received {"connection_id":54513,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:34:14] local.INFO: Processing buffer {"connection_id":54513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:34:14] local.INFO: IMEI packet received {"connection_id":54513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":54513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:34:16] local.INFO: TCP Data received {"connection_id":54273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54273,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:34:16] local.INFO: Processing buffer {"connection_id":54273,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:34:16] local.INFO: IMEI packet received {"connection_id":54273,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":54273,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:34:20] local.INFO: TCP Data received {"connection_id":54513,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:34:20] local.INFO: Processing buffer {"connection_id":54513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:34:20] local.INFO: IMEI packet received {"connection_id":54513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":54513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:34:21] local.INFO: TCP Data received {"connection_id":54513,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:34:21] local.INFO: Processing buffer {"connection_id":54513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc782e6d0012cb299c007822ce0004b001231..."} 
[2026-04-26 07:34:21] local.INFO: Packet analysis {"connection_id":54513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:34:21] local.INFO: Extracted packet for processing {"connection_id":54513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc782"} 
[2026-04-26 07:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955119872001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777168738000,"timestamp_ms":1777168738000,"timestamp_seconds":1777168738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc782e6d0"} 
[2026-04-26 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-04-26 07:34:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:34: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-04-26 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-04-26 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-04-26 07:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:34: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-04-26 07:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955119872001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955119872001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955119872001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":54513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:34:21] local.INFO: GPS data processed {"connection_id":54513,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:34:21] local.INFO: Acknowledgment sent {"connection_id":54513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:34:41] local.INFO: TCP Data received {"connection_id":54274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:34:41] local.INFO: Processing buffer {"connection_id":54274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:34:41] local.INFO: IMEI packet received {"connection_id":54274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":54274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:34:52] local.INFO: TCP Data received {"connection_id":54513,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:34:52] local.INFO: Processing buffer {"connection_id":54513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:34:52] local.INFO: Packet analysis {"connection_id":54513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:34:52] local.INFO: Extracted packet for processing {"connection_id":54513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:34:52] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:34: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-04-26 07: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-04-26 07:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:34: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-04-26 07:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":54513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:34:52] local.INFO: GPS data processed {"connection_id":54513,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:34:52] local.INFO: Acknowledgment sent {"connection_id":54513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:35:19] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:35:19] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:35:19] local.INFO: IMEI packet received {"connection_id":54447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:35:25] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:35:25] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:35:25] local.INFO: IMEI packet received {"connection_id":54447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":54447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:35:26] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:35:26] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:35:26] local.INFO: Packet analysis {"connection_id":54447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:35:26] local.INFO: Extracted packet for processing {"connection_id":54447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:35:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:35:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:35:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:35:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:35:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:35:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:35:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:35:26] 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-04-26 07:35:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:35:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:35:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:35:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:35:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:35:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:35:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:35:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:35:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:35:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:35:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:35:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:35:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:35:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:35:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:35:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:35:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:35:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:35:26] local.INFO: DEBUG: GPS processor result {"connection_id":54447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:35:26] local.INFO: GPS data processed {"connection_id":54447,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:35:26] local.INFO: Acknowledgment sent {"connection_id":54447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:35:30] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:35:30] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:35:30] local.INFO: Packet analysis {"connection_id":54447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:35:30] local.INFO: Extracted packet for processing {"connection_id":54447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:35:30] 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-04-26 07:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:35: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-04-26 07:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:35:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":54447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:35:30] local.INFO: GPS data processed {"connection_id":54447,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:35:30] local.INFO: Acknowledgment sent {"connection_id":54447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:36:16] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:36:16] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:36:16] local.INFO: IMEI packet received {"connection_id":54515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":54515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:36:20] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:36:20] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:36:20] local.INFO: IMEI packet received {"connection_id":54515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":54515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:36:21] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:21] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:21] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:36:21] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 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-04-26 07:36:21] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:36:21] 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-04-26 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-04-26 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-04-26 07:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:36:21] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:36:21] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:36:25] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:25] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:25] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:36:25] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:36:25] 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-04-26 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:36:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:36:25] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:36:25] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:36:56] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:56] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:36:56] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:36:56] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:36:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:36:56] 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-04-26 07:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:36:56] 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-04-26 07: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-04-26 07:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:36: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-04-26 07:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:36:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:36:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:36:56] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:36:56] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:37:15] local.INFO: TCP Data received {"connection_id":54275,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:37:15] local.INFO: Processing buffer {"connection_id":54275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:37:15] local.INFO: IMEI packet received {"connection_id":54275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:37:20] local.INFO: TCP Data received {"connection_id":54275,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:37:20] local.INFO: Processing buffer {"connection_id":54275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:37:20] local.INFO: IMEI packet received {"connection_id":54275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:37:21] local.INFO: TCP Data received {"connection_id":54275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:37:21] local.INFO: Processing buffer {"connection_id":54275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:37:21] local.INFO: Packet analysis {"connection_id":54275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:37:21] local.INFO: Extracted packet for processing {"connection_id":54275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:37:21] 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-04-26 07:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:37:21] 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-04-26 07:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:37: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-04-26 07:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:37:21] local.INFO: GPS data processed {"connection_id":54275,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:37:21] local.INFO: Acknowledgment sent {"connection_id":54275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:37:51] local.INFO: TCP Data received {"connection_id":54275,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:37:51] local.INFO: Processing buffer {"connection_id":54275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:37:51] local.INFO: Packet analysis {"connection_id":54275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:37:51] local.INFO: Extracted packet for processing {"connection_id":54275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:37:51] 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-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:37: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-04-26 07: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-04-26 07:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:37:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":54275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:37:52] local.INFO: GPS data processed {"connection_id":54275,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:37:52] local.INFO: Acknowledgment sent {"connection_id":54275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:38:14] local.INFO: TCP Data received {"connection_id":55185,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:38:14] local.INFO: Processing buffer {"connection_id":55185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:38:14] local.INFO: IMEI packet received {"connection_id":55185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":55185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:38:20] local.INFO: TCP Data received {"connection_id":55185,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:38:20] local.INFO: Processing buffer {"connection_id":55185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:38:20] local.INFO: IMEI packet received {"connection_id":55185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":55185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:38:21] local.INFO: TCP Data received {"connection_id":55185,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:38:21] local.INFO: Processing buffer {"connection_id":55185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:38:21] local.INFO: Packet analysis {"connection_id":55185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:38:21] local.INFO: Extracted packet for processing {"connection_id":55185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:38:21] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:38:21] 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-04-26 07: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-04-26 07:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:38: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-04-26 07:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":55185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:38:21] local.INFO: GPS data processed {"connection_id":55185,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:38:21] local.INFO: Acknowledgment sent {"connection_id":55185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:38:52] local.INFO: TCP Data received {"connection_id":55185,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:38:52] local.INFO: Processing buffer {"connection_id":55185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:38:52] local.INFO: Packet analysis {"connection_id":55185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:38:52] local.INFO: Extracted packet for processing {"connection_id":55185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 07:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:38:52] 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-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:38: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-04-26 07: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-04-26 07:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":55185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:38:52] local.INFO: GPS data processed {"connection_id":55185,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:38:52] local.INFO: Acknowledgment sent {"connection_id":55185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:39:14] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:39:14] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:39:14] local.INFO: IMEI packet received {"connection_id":55186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":55186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:39:19] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:39:19] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:39:19] local.INFO: IMEI packet received {"connection_id":55186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":55186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:39:20] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:39:20] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7877e98012cb299c007822ce0004600122f..."} 
[2026-04-26 07:39:20] local.INFO: Packet analysis {"connection_id":55186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:39:20] local.INFO: Extracted packet for processing {"connection_id":55186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc787"} 
[2026-04-26 07:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955196928001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777169039000,"timestamp_ms":1777169039000,"timestamp_seconds":1777169039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7877e98"} 
[2026-04-26 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-04-26 07:39:20] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:39: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-04-26 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-04-26 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-04-26 07:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:39:20] 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-04-26 07:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955196928001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955196928001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:39:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955196928001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":55186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:39:20] local.INFO: GPS data processed {"connection_id":55186,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:39:20] local.INFO: Acknowledgment sent {"connection_id":55186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:39:51] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:39:51] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:39:51] local.INFO: Packet analysis {"connection_id":55186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:39:51] local.INFO: Extracted packet for processing {"connection_id":55186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:39: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-04-26 07:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:39:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":55186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:39:51] local.INFO: GPS data processed {"connection_id":55186,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:39:51] local.INFO: Acknowledgment sent {"connection_id":55186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:39:56] local.INFO: TCP Data received {"connection_id":55187,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:39:56] local.INFO: Processing buffer {"connection_id":55187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:39:56] local.INFO: IMEI packet received {"connection_id":55187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":55187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:40:20] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:40:20] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:40:20] local.INFO: IMEI packet received {"connection_id":54276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:40:25] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:40:25] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:40:25] local.INFO: IMEI packet received {"connection_id":54276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":54276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:40:26] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:40:26] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:40:26] local.INFO: Packet analysis {"connection_id":54276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:40:26] local.INFO: Extracted packet for processing {"connection_id":54276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:40: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-04-26 07:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:40:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":54276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:40:26] local.INFO: GPS data processed {"connection_id":54276,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:40:26] local.INFO: Acknowledgment sent {"connection_id":54276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:40:30] local.INFO: TCP Data received {"connection_id":54276,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:40:30] local.INFO: Processing buffer {"connection_id":54276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:40:30] local.INFO: Packet analysis {"connection_id":54276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:40:30] local.INFO: Extracted packet for processing {"connection_id":54276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:40: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-04-26 07:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:40:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":54276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:40:30] local.INFO: GPS data processed {"connection_id":54276,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:40:30] local.INFO: Acknowledgment sent {"connection_id":54276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:40:40] local.INFO: TCP Data received {"connection_id":54516,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:40:40] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:40:40] local.INFO: IMEI packet received {"connection_id":54516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":54516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:41:15] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:41:15] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:41:15] local.INFO: IMEI packet received {"connection_id":54517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:41:20] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:41:20] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:41:20] local.INFO: IMEI packet received {"connection_id":54517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":54517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:41:21] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:41:21] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:41:21] local.INFO: Packet analysis {"connection_id":54517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:41:21] local.INFO: Extracted packet for processing {"connection_id":54517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 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-04-26 07:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:41:21] 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-04-26 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-04-26 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-04-26 07:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:41: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-04-26 07:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":54517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:41:21] local.INFO: GPS data processed {"connection_id":54517,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:41:21] local.INFO: Acknowledgment sent {"connection_id":54517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:41:52] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:41:52] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:41:52] local.INFO: Packet analysis {"connection_id":54517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:41:52] local.INFO: Extracted packet for processing {"connection_id":54517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:41:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:41:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:41:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:41: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-04-26 07: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-04-26 07:41:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:41: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-04-26 07:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:41:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:41:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":54517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:41:52] local.INFO: GPS data processed {"connection_id":54517,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:41:52] local.INFO: Acknowledgment sent {"connection_id":54517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:42:14] local.INFO: TCP Data received {"connection_id":55189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:42:14] local.INFO: Processing buffer {"connection_id":55189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:42:14] local.INFO: IMEI packet received {"connection_id":55189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":55189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:42:20] local.INFO: TCP Data received {"connection_id":55189,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:42:20] local.INFO: Processing buffer {"connection_id":55189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:42:20] local.INFO: IMEI packet received {"connection_id":55189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":55189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:42:21] local.INFO: TCP Data received {"connection_id":55189,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:42:21] local.INFO: Processing buffer {"connection_id":55189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:42:21] local.INFO: Packet analysis {"connection_id":55189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:42:21] local.INFO: Extracted packet for processing {"connection_id":55189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:42:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:42:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:42:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:42:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:42:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:42:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:42:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:42:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:42:21] 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-04-26 07: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-04-26 07:42:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:42:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:42:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:42:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:42:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:42: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-04-26 07:42:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:42:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:42:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:42:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:42:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:42:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:42:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:42:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:42:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:42:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:42:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:42:21] local.INFO: DEBUG: GPS processor result {"connection_id":55189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:42:21] local.INFO: GPS data processed {"connection_id":55189,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:42:21] local.INFO: Acknowledgment sent {"connection_id":55189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:42:52] local.INFO: TCP Data received {"connection_id":55189,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:42:52] local.INFO: Processing buffer {"connection_id":55189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:42:52] local.INFO: Packet analysis {"connection_id":55189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:42:52] local.INFO: Extracted packet for processing {"connection_id":55189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:42: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-04-26 07: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-04-26 07:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:42: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-04-26 07:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:42:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":55189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:42:52] local.INFO: GPS data processed {"connection_id":55189,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:42:52] local.INFO: Acknowledgment sent {"connection_id":55189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:43:14] local.INFO: TCP Data received {"connection_id":54451,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:43:14] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:43:14] local.INFO: IMEI packet received {"connection_id":54451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":54451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:43:20] local.INFO: TCP Data received {"connection_id":54451,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:43:20] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:43:20] local.INFO: IMEI packet received {"connection_id":54451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:43:21] local.INFO: TCP Data received {"connection_id":54451,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:43:21] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:43:21] local.INFO: Packet analysis {"connection_id":54451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:43:21] local.INFO: Extracted packet for processing {"connection_id":54451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:43:21] 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-04-26 07: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-04-26 07:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:43: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-04-26 07:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":54451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:43:21] local.INFO: GPS data processed {"connection_id":54451,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:43:21] local.INFO: Acknowledgment sent {"connection_id":54451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:43:52] local.INFO: TCP Data received {"connection_id":54451,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:43:52] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:43:52] local.INFO: Packet analysis {"connection_id":54451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:43:52] local.INFO: Extracted packet for processing {"connection_id":54451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 07:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:43: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-04-26 07: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-04-26 07:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:43: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-04-26 07:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:43:52] local.INFO: GPS data processed {"connection_id":54451,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:43:52] local.INFO: Acknowledgment sent {"connection_id":54451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:44:14] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:44:14] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:44:14] local.INFO: IMEI packet received {"connection_id":54452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":54452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:44:20] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:44:20] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:44:20] local.INFO: IMEI packet received {"connection_id":54452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:44:21] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:44:21] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc78c1660012cb299c007822ce0004700122f..."} 
[2026-04-26 07:44:21] local.INFO: Packet analysis {"connection_id":54452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:44:21] local.INFO: Extracted packet for processing {"connection_id":54452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc78c"} 
[2026-04-26 07:44:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955273984001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:44:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169340000,"timestamp_ms":1777169340000,"timestamp_seconds":1777169340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc78c1660"} 
[2026-04-26 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-04-26 07:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:44:21] 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-04-26 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-04-26 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-04-26 07:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:44: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-04-26 07:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955273984001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955273984001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:44:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:44:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:44:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955273984001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":54452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:44:21] local.INFO: GPS data processed {"connection_id":54452,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:44:21] local.INFO: Acknowledgment sent {"connection_id":54452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:44:52] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:44:52] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:44:52] local.INFO: Packet analysis {"connection_id":54452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:44:52] local.INFO: Extracted packet for processing {"connection_id":54452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 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-04-26 07:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:44: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-04-26 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-04-26 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-04-26 07:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:44: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-04-26 07:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:44:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":54452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:44:52] local.INFO: GPS data processed {"connection_id":54452,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:44:52] local.INFO: Acknowledgment sent {"connection_id":54452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:45:20] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:45:20] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:45:20] local.INFO: IMEI packet received {"connection_id":54279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:45:25] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:45:25] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:45:25] local.INFO: IMEI packet received {"connection_id":54279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":54279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:45:26] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:45:26] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:45:26] local.INFO: Packet analysis {"connection_id":54279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:45:26] local.INFO: Extracted packet for processing {"connection_id":54279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:45:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:45: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-04-26 07: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-04-26 07:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:45:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:45:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:45:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":54279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:45:26] local.INFO: GPS data processed {"connection_id":54279,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:45:26] local.INFO: Acknowledgment sent {"connection_id":54279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:45:30] local.INFO: TCP Data received {"connection_id":54279,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:45:30] local.INFO: Processing buffer {"connection_id":54279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:45:30] local.INFO: Packet analysis {"connection_id":54279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:45:30] local.INFO: Extracted packet for processing {"connection_id":54279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:45:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:45:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":54279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:45:30] local.INFO: GPS data processed {"connection_id":54279,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:45:30] local.INFO: Acknowledgment sent {"connection_id":54279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:46:06] local.INFO: TCP Data received {"connection_id":54453,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:46:06] local.INFO: Processing buffer {"connection_id":54453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:46:06] local.INFO: IMEI packet received {"connection_id":54453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":54453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:46:15] local.INFO: TCP Data received {"connection_id":54518,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:46:15] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:46:15] local.INFO: IMEI packet received {"connection_id":54518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":54518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:46:20] local.INFO: TCP Data received {"connection_id":54518,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:46:20] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:46:20] local.INFO: IMEI packet received {"connection_id":54518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:46:21] local.INFO: TCP Data received {"connection_id":54518,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:46:21] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:46:21] local.INFO: Packet analysis {"connection_id":54518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:46:21] local.INFO: Extracted packet for processing {"connection_id":54518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:46:21] 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-04-26 07: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-04-26 07:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":54518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:46:21] local.INFO: GPS data processed {"connection_id":54518,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:46:21] local.INFO: Acknowledgment sent {"connection_id":54518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:46:41] local.INFO: TCP Data received {"connection_id":55191,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55191,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:46:41] local.INFO: Processing buffer {"connection_id":55191,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:46:41] local.INFO: IMEI packet received {"connection_id":55191,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":55191,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:46:52] local.INFO: TCP Data received {"connection_id":54518,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:46:52] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:46:52] local.INFO: Packet analysis {"connection_id":54518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:46:52] local.INFO: Extracted packet for processing {"connection_id":54518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:46: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-04-26 07: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-04-26 07:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:46: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-04-26 07:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":54518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:46:52] local.INFO: GPS data processed {"connection_id":54518,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:46:52] local.INFO: Acknowledgment sent {"connection_id":54518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:47:14] local.INFO: TCP Data received {"connection_id":54519,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:47:14] local.INFO: Processing buffer {"connection_id":54519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:47:14] local.INFO: IMEI packet received {"connection_id":54519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":54519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:47:20] local.INFO: TCP Data received {"connection_id":54519,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:47:20] local.INFO: Processing buffer {"connection_id":54519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:47:20] local.INFO: IMEI packet received {"connection_id":54519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:47:21] local.INFO: TCP Data received {"connection_id":54519,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:47:21] local.INFO: Processing buffer {"connection_id":54519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:47:21] local.INFO: Packet analysis {"connection_id":54519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:47:21] local.INFO: Extracted packet for processing {"connection_id":54519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:47:21] 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-04-26 07: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-04-26 07:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:47: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-04-26 07:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:47:21] local.INFO: GPS data processed {"connection_id":54519,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:47:21] local.INFO: Acknowledgment sent {"connection_id":54519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:47:52] local.INFO: TCP Data received {"connection_id":54519,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:47:52] local.INFO: Processing buffer {"connection_id":54519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:47:52] local.INFO: Packet analysis {"connection_id":54519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:47:52] local.INFO: Extracted packet for processing {"connection_id":54519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:47: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-04-26 07: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-04-26 07:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:47: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-04-26 07:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:47:52] local.INFO: GPS data processed {"connection_id":54519,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:47:52] local.INFO: Acknowledgment sent {"connection_id":54519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:48:14] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:48:14] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:48:14] local.INFO: IMEI packet received {"connection_id":54455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":54455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:48:20] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:48:20] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:48:20] local.INFO: IMEI packet received {"connection_id":54455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":54455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:48:21] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:48:21] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:48:21] local.INFO: Packet analysis {"connection_id":54455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:48:21] local.INFO: Extracted packet for processing {"connection_id":54455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:48:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:48:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:48:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 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-04-26 07:48:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:48:21] 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-04-26 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-04-26 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-04-26 07:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:48: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-04-26 07:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":54455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:48:21] local.INFO: GPS data processed {"connection_id":54455,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:48:21] local.INFO: Acknowledgment sent {"connection_id":54455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:48:52] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:48:52] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:48:52] local.INFO: Packet analysis {"connection_id":54455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:48:52] local.INFO: Extracted packet for processing {"connection_id":54455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:48: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-04-26 07: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-04-26 07:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:48: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-04-26 07:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":54455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:48:52] local.INFO: GPS data processed {"connection_id":54455,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:48:52] local.INFO: Acknowledgment sent {"connection_id":54455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:49:14] local.INFO: TCP Data received {"connection_id":55192,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:49:14] local.INFO: Processing buffer {"connection_id":55192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:49:14] local.INFO: IMEI packet received {"connection_id":55192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":55192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:49:20] local.INFO: TCP Data received {"connection_id":55192,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:49:20] local.INFO: Processing buffer {"connection_id":55192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:49:20] local.INFO: IMEI packet received {"connection_id":55192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":55192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:49:21] local.INFO: TCP Data received {"connection_id":55192,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:49:21] local.INFO: Processing buffer {"connection_id":55192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc790ae28012cb299c007822ce00048001230..."} 
[2026-04-26 07:49:21] local.INFO: Packet analysis {"connection_id":55192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:49:21] local.INFO: Extracted packet for processing {"connection_id":55192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc790"} 
[2026-04-26 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955351040001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:49:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169641000,"timestamp_ms":1777169641000,"timestamp_seconds":1777169641,"priority":1,"record_length":96,"hex_timestamp":"0000019dc790ae28"} 
[2026-04-26 07:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:49:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 07:49:21] 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-04-26 07: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-04-26 07:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:49:21] 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-04-26 07:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955351040001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955351040001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:49:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:49:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:49:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955351040001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":55192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:49:21] local.INFO: GPS data processed {"connection_id":55192,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:49:21] local.INFO: Acknowledgment sent {"connection_id":55192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:49:52] local.INFO: TCP Data received {"connection_id":55192,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:49:52] local.INFO: Processing buffer {"connection_id":55192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:49:52] local.INFO: Packet analysis {"connection_id":55192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:49:52] local.INFO: Extracted packet for processing {"connection_id":55192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:49:52] 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-04-26 07: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-04-26 07:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:49:52] 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-04-26 07:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:49:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":55192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:49:52] local.INFO: GPS data processed {"connection_id":55192,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:49:52] local.INFO: Acknowledgment sent {"connection_id":55192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:50:15] local.INFO: TCP Data received {"connection_id":54280,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:50:15] local.INFO: Processing buffer {"connection_id":54280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:50:15] local.INFO: IMEI packet received {"connection_id":54280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:50:20] local.INFO: TCP Data received {"connection_id":54280,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:50:20] local.INFO: Processing buffer {"connection_id":54280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:50:20] local.INFO: IMEI packet received {"connection_id":54280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:50:21] local.INFO: TCP Data received {"connection_id":54280,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:50:21] local.INFO: Processing buffer {"connection_id":54280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:50:21] local.INFO: Packet analysis {"connection_id":54280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:50:21] local.INFO: Extracted packet for processing {"connection_id":54280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:50: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-04-26 07: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-04-26 07:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:50:21] 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-04-26 07:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":54280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:50:21] local.INFO: GPS data processed {"connection_id":54280,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:50:21] local.INFO: Acknowledgment sent {"connection_id":54280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:50:52] local.INFO: TCP Data received {"connection_id":54280,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:50:52] local.INFO: Processing buffer {"connection_id":54280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:50:52] local.INFO: Packet analysis {"connection_id":54280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:50:52] local.INFO: Extracted packet for processing {"connection_id":54280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:50:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:50:52] 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-04-26 07: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-04-26 07:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:50:52] 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-04-26 07:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:50:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":54280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:50:52] local.INFO: GPS data processed {"connection_id":54280,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:50:52] local.INFO: Acknowledgment sent {"connection_id":54280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:51:14] local.INFO: TCP Data received {"connection_id":55194,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:51:14] local.INFO: Processing buffer {"connection_id":55194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:51:14] local.INFO: IMEI packet received {"connection_id":55194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":55194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:51:21] local.INFO: TCP Data received {"connection_id":55194,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:51:21] local.INFO: Processing buffer {"connection_id":55194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:51:21] local.INFO: IMEI packet received {"connection_id":55194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":55194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:51:22] local.INFO: TCP Data received {"connection_id":55194,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:51:22] local.INFO: Processing buffer {"connection_id":55194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:51:22] local.INFO: Packet analysis {"connection_id":55194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:51:22] local.INFO: Extracted packet for processing {"connection_id":55194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:51:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:51:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:51:22] 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-04-26 07: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-04-26 07:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:51: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-04-26 07:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:51:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:51:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:51:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":55194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:51:22] local.INFO: GPS data processed {"connection_id":55194,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:51:22] local.INFO: Acknowledgment sent {"connection_id":55194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:51:53] local.INFO: TCP Data received {"connection_id":55194,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:51:53] local.INFO: Processing buffer {"connection_id":55194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:51:53] local.INFO: Packet analysis {"connection_id":55194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:51:53] local.INFO: Extracted packet for processing {"connection_id":55194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:51:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:51:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:51: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-04-26 07: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-04-26 07:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:51: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-04-26 07:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:51:53] local.INFO: DEBUG: GPS processor result {"connection_id":55194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":63999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:51:53] local.INFO: GPS data processed {"connection_id":55194,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:51:53] local.INFO: Acknowledgment sent {"connection_id":55194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:51:56] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:51:56] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:51:56] local.INFO: IMEI packet received {"connection_id":54521,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":54521,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:52:14] local.INFO: TCP Data received {"connection_id":54457,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:52:14] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:52:14] local.INFO: IMEI packet received {"connection_id":54457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:52:20] local.INFO: TCP Data received {"connection_id":54457,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:52:20] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:52:20] local.INFO: IMEI packet received {"connection_id":54457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:52:21] local.INFO: TCP Data received {"connection_id":54457,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:52:21] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:52:21] local.INFO: Packet analysis {"connection_id":54457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:52:21] local.INFO: Extracted packet for processing {"connection_id":54457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:52: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-04-26 07: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-04-26 07:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:52: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-04-26 07:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":54457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:52:21] local.INFO: GPS data processed {"connection_id":54457,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:52:21] local.INFO: Acknowledgment sent {"connection_id":54457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:52:41] local.INFO: TCP Data received {"connection_id":55195,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:52:41] local.INFO: Processing buffer {"connection_id":55195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:52:41] local.INFO: IMEI packet received {"connection_id":55195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":55195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:52:52] local.INFO: TCP Data received {"connection_id":54457,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:52:52] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:52:52] local.INFO: Packet analysis {"connection_id":54457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:52:52] local.INFO: Extracted packet for processing {"connection_id":54457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:52:52] 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-04-26 07: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-04-26 07:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:52: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-04-26 07:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":54457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:52:52] local.INFO: GPS data processed {"connection_id":54457,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:52:52] local.INFO: Acknowledgment sent {"connection_id":54457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:53:14] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:53:14] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:53:14] local.INFO: IMEI packet received {"connection_id":54523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":54523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:53:20] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:53:20] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:53:20] local.INFO: IMEI packet received {"connection_id":54523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:53:21] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:53:21] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:53:21] local.INFO: Packet analysis {"connection_id":54523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:53:21] local.INFO: Extracted packet for processing {"connection_id":54523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:53:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:53:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 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-04-26 07:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:53: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-04-26 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-04-26 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-04-26 07:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:53:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:53:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:53:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:53:21] local.INFO: DEBUG: GPS processor result {"connection_id":54523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:53:21] local.INFO: GPS data processed {"connection_id":54523,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:53:21] local.INFO: Acknowledgment sent {"connection_id":54523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:53:52] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:53:52] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:53:52] local.INFO: Packet analysis {"connection_id":54523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:53:52] local.INFO: Extracted packet for processing {"connection_id":54523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:53:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 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-04-26 07:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:53:52] 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-04-26 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-04-26 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-04-26 07:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07: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-04-26 07:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:53:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:53:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:53:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":54523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:53:52] local.INFO: GPS data processed {"connection_id":54523,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:53:52] local.INFO: Acknowledgment sent {"connection_id":54523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:54:20] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:54:20] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:54:20] local.INFO: IMEI packet received {"connection_id":54281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":54281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:54:25] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:54:25] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:54:25] local.INFO: IMEI packet received {"connection_id":54281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":54281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:54:26] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:54:26] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:54:26] local.INFO: Packet analysis {"connection_id":54281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:54:26] local.INFO: Extracted packet for processing {"connection_id":54281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:54:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:54:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:54:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:54:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:54: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-04-26 07:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:54:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:54:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":54281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:54:26] local.INFO: GPS data processed {"connection_id":54281,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:54:26] local.INFO: Acknowledgment sent {"connection_id":54281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:54:30] local.INFO: TCP Data received {"connection_id":54281,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:54:30] local.INFO: Processing buffer {"connection_id":54281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79545f0012cb299c007822ce0004700122f..."} 
[2026-04-26 07:54:30] local.INFO: Packet analysis {"connection_id":54281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:54:30] local.INFO: Extracted packet for processing {"connection_id":54281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc795"} 
[2026-04-26 07:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955428096001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777169942000,"timestamp_ms":1777169942000,"timestamp_seconds":1777169942,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79545f0"} 
[2026-04-26 07:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 07:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955428096001,"66":25104,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955428096001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:54:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955428096001,"power":25104,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":54281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:54:30] local.INFO: GPS data processed {"connection_id":54281,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:54:30] local.INFO: Acknowledgment sent {"connection_id":54281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:55:15] local.INFO: TCP Data received {"connection_id":54526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:55:15] local.INFO: Processing buffer {"connection_id":54526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:55:15] local.INFO: IMEI packet received {"connection_id":54526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:55:20] local.INFO: TCP Data received {"connection_id":54526,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:55:20] local.INFO: Processing buffer {"connection_id":54526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:55:20] local.INFO: IMEI packet received {"connection_id":54526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:55:20] local.INFO: TCP Data received {"connection_id":54526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:55:20] local.INFO: Processing buffer {"connection_id":54526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:55:20] local.INFO: Packet analysis {"connection_id":54526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:55:20] local.INFO: Extracted packet for processing {"connection_id":54526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:55:20] 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-04-26 07: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:55: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-04-26 07:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:55:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":54526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:55:20] local.INFO: GPS data processed {"connection_id":54526,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:55:20] local.INFO: Acknowledgment sent {"connection_id":54526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:55:51] local.INFO: TCP Data received {"connection_id":54526,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:55:51] local.INFO: Processing buffer {"connection_id":54526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:55:51] local.INFO: Packet analysis {"connection_id":54526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:55:51] local.INFO: Extracted packet for processing {"connection_id":54526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:55:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:55:51] 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-04-26 07:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 07:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:55:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:55:51] local.INFO: GPS data processed {"connection_id":54526,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:55:51] local.INFO: Acknowledgment sent {"connection_id":54526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:56:14] local.INFO: TCP Data received {"connection_id":54458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:56:14] local.INFO: Processing buffer {"connection_id":54458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:56:14] local.INFO: IMEI packet received {"connection_id":54458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:56:20] local.INFO: TCP Data received {"connection_id":54458,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:56:20] local.INFO: Processing buffer {"connection_id":54458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:56:20] local.INFO: IMEI packet received {"connection_id":54458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":54458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:56:21] local.INFO: TCP Data received {"connection_id":54458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:56:21] local.INFO: Processing buffer {"connection_id":54458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:56:21] local.INFO: Packet analysis {"connection_id":54458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:56:21] local.INFO: Extracted packet for processing {"connection_id":54458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:56:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 07:56:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:56:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:56:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:56:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:56:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 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-04-26 07:56:21] 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-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:56:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 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-04-26 07:56:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:56:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:56:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:56:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:56: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-04-26 07:56:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:56:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:56:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:56:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:56:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:56:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:56:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:56:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:56:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:56:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:56:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:56:21] local.INFO: DEBUG: GPS processor result {"connection_id":54458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:56:21] local.INFO: GPS data processed {"connection_id":54458,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:56:21] local.INFO: Acknowledgment sent {"connection_id":54458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:56:52] local.INFO: TCP Data received {"connection_id":54458,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:56:52] local.INFO: Processing buffer {"connection_id":54458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:56:52] local.INFO: Packet analysis {"connection_id":54458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:56:52] local.INFO: Extracted packet for processing {"connection_id":54458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:56:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:56:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:56:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:56:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:56:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:56:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:56:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:56:52] 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-04-26 07:56:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:56:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:56:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:56:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:56:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:56:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:56:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:56: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-04-26 07:56:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:56:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:56:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:56:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:56:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:56:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:56:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:56:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:56:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:56:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:56:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:56:52] local.INFO: DEBUG: GPS processor result {"connection_id":54458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:56:52] local.INFO: GPS data processed {"connection_id":54458,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:56:52] local.INFO: Acknowledgment sent {"connection_id":54458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:57:14] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:57:14] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:57:14] local.INFO: IMEI packet received {"connection_id":54528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:57:20] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:57:20] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:57:20] local.INFO: IMEI packet received {"connection_id":54528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:57:21] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:57:21] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:57:21] local.INFO: Packet analysis {"connection_id":54528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:57:21] local.INFO: Extracted packet for processing {"connection_id":54528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:57:21] 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-04-26 07:57:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:57:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:57:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:57: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-04-26 07:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":54528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:57:21] local.INFO: GPS data processed {"connection_id":54528,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:57:21] local.INFO: Acknowledgment sent {"connection_id":54528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:57:52] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:57:52] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:57:52] local.INFO: Packet analysis {"connection_id":54528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:57:52] local.INFO: Extracted packet for processing {"connection_id":54528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:57:52] 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-04-26 07: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:57:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:57: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-04-26 07:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:57:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":54528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:57:52] local.INFO: GPS data processed {"connection_id":54528,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:57:52] local.INFO: Acknowledgment sent {"connection_id":54528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:58:08] local.INFO: TCP Data received {"connection_id":54283,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:58:08] local.INFO: Processing buffer {"connection_id":54283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:58:08] local.INFO: IMEI packet received {"connection_id":54283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":54283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:58:14] local.INFO: TCP Data received {"connection_id":54284,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:58:14] local.INFO: Processing buffer {"connection_id":54284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:58:14] local.INFO: IMEI packet received {"connection_id":54284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":54284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:58:21] local.INFO: TCP Data received {"connection_id":54284,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:58:21] local.INFO: Processing buffer {"connection_id":54284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:58:21] local.INFO: IMEI packet received {"connection_id":54284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":54284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:58:22] local.INFO: TCP Data received {"connection_id":54284,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:58:22] local.INFO: Processing buffer {"connection_id":54284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:58:22] local.INFO: Packet analysis {"connection_id":54284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:58:22] local.INFO: Extracted packet for processing {"connection_id":54284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:58:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:58:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:58:22] 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-04-26 07: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":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:58: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-04-26 07:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:58:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:58:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:58:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":54284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:58:22] local.INFO: GPS data processed {"connection_id":54284,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:58:22] local.INFO: Acknowledgment sent {"connection_id":54284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:58:40] local.INFO: TCP Data received {"connection_id":55196,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:58:40] local.INFO: Processing buffer {"connection_id":55196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 07:58:40] local.INFO: IMEI packet received {"connection_id":55196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 07:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":55196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:58:53] local.INFO: TCP Data received {"connection_id":54284,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:58:53] local.INFO: Processing buffer {"connection_id":54284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:58:53] local.INFO: Packet analysis {"connection_id":54284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:58:53] local.INFO: Extracted packet for processing {"connection_id":54284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:58:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:58:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:58:53] 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-04-26 07:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:58: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-04-26 07:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:58:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:58:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:58:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":54284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:58:53] local.INFO: GPS data processed {"connection_id":54284,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:58:53] local.INFO: Acknowledgment sent {"connection_id":54284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:59:20] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:59:20] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:59:20] local.INFO: IMEI packet received {"connection_id":54285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 07:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 07:59:25] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:59:25] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 07:59:25] local.INFO: IMEI packet received {"connection_id":54285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 07:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":54285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 07:59:25] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:59:25] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:59:25] local.INFO: Packet analysis {"connection_id":54285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:59:25] local.INFO: Extracted packet for processing {"connection_id":54285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:59:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 07:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:59:25] 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-04-26 07:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 07:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:59: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-04-26 07:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:59:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":54285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:59:25] local.INFO: GPS data processed {"connection_id":54285,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:59:25] local.INFO: Acknowledgment sent {"connection_id":54285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 07:59:30] local.INFO: TCP Data received {"connection_id":54285,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:59:30] local.INFO: Processing buffer {"connection_id":54285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc799ddb8012cb299c007822ce0004500122e..."} 
[2026-04-26 07:59:30] local.INFO: Packet analysis {"connection_id":54285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:59:30] local.INFO: Extracted packet for processing {"connection_id":54285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc799"} 
[2026-04-26 07:59:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 07: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-04-26 07:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955505152001,"note":"Value kept but may cause issues"} 
[2026-04-26 07:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 07:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 07:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 07:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777170243000,"timestamp_ms":1777170243000,"timestamp_seconds":1777170243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc799ddb8"} 
[2026-04-26 07:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 07:59:30] 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-04-26 07:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 07:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 07: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-04-26 07:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 07:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 07:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 07:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 07:59: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-04-26 07:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 07:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 07:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955505152001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 07:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 07:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 07:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955505152001,"description":"Unknown IO ID 0"} 
[2026-04-26 07:59:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 07:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 07:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 07:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 07:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955505152001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 07:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":54285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 07:59:30] local.INFO: GPS data processed {"connection_id":54285,"processed":1,"errors":0,"total":1} 
[2026-04-26 07:59:30] local.INFO: Acknowledgment sent {"connection_id":54285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:00:14] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:00:14] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:00:14] local.INFO: IMEI packet received {"connection_id":54459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:00:19] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:00:19] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:00:19] local.INFO: IMEI packet received {"connection_id":54459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":54459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:00:21] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:00:21] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:00:21] local.INFO: Packet analysis {"connection_id":54459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:00:21] local.INFO: Extracted packet for processing {"connection_id":54459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:00:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 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-04-26 08:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:00:21] 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-04-26 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-04-26 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-04-26 08:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:00: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-04-26 08:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:00:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:00:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":54459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:00:21] local.INFO: GPS data processed {"connection_id":54459,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:00:21] local.INFO: Acknowledgment sent {"connection_id":54459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:00:52] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:00:52] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:00:52] local.INFO: Packet analysis {"connection_id":54459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:00:52] local.INFO: Extracted packet for processing {"connection_id":54459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:00:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:00:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:00:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 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-04-26 08:00:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:00: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-04-26 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-04-26 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-04-26 08:00:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:00: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-04-26 08:00:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:00:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:00:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:00:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:00:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:00:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:00:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:00:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:00:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:00:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:00:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":54459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:00:52] local.INFO: GPS data processed {"connection_id":54459,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:00:52] local.INFO: Acknowledgment sent {"connection_id":54459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:01:14] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:01:14] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:01:14] local.INFO: IMEI packet received {"connection_id":54287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:01:20] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:01:20] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:01:20] local.INFO: IMEI packet received {"connection_id":54287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:01:21] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:01:21] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:01:21] local.INFO: Packet analysis {"connection_id":54287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:01:21] local.INFO: Extracted packet for processing {"connection_id":54287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:01:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 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-04-26 08:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:01:21] 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-04-26 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-04-26 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-04-26 08:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:01:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:01:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":54287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:01:21] local.INFO: GPS data processed {"connection_id":54287,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:01:21] local.INFO: Acknowledgment sent {"connection_id":54287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:01:52] local.INFO: TCP Data received {"connection_id":54287,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:01:52] local.INFO: Processing buffer {"connection_id":54287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:01:52] local.INFO: Packet analysis {"connection_id":54287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:01:52] local.INFO: Extracted packet for processing {"connection_id":54287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 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-04-26 08:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:01: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-04-26 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-04-26 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-04-26 08:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:01:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":54287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:01:52] local.INFO: GPS data processed {"connection_id":54287,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:01:52] local.INFO: Acknowledgment sent {"connection_id":54287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:02:20] local.INFO: TCP Data received {"connection_id":54529,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:02:20] local.INFO: Processing buffer {"connection_id":54529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:02:20] local.INFO: IMEI packet received {"connection_id":54529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":54529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:02:25] local.INFO: TCP Data received {"connection_id":54529,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:02:25] local.INFO: Processing buffer {"connection_id":54529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:02:25] local.INFO: IMEI packet received {"connection_id":54529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":54529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:02:26] local.INFO: TCP Data received {"connection_id":54529,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:02:26] local.INFO: Processing buffer {"connection_id":54529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:02:26] local.INFO: Packet analysis {"connection_id":54529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:02:26] local.INFO: Extracted packet for processing {"connection_id":54529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:02:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 08:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:02:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:02: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-04-26 08:02:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:02: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-04-26 08:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:02:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:02:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:02:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":54529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:02:26] local.INFO: GPS data processed {"connection_id":54529,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:02:26] local.INFO: Acknowledgment sent {"connection_id":54529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:02:30] local.INFO: TCP Data received {"connection_id":54529,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:02:30] local.INFO: Processing buffer {"connection_id":54529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:02:30] local.INFO: Packet analysis {"connection_id":54529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:02:30] local.INFO: Extracted packet for processing {"connection_id":54529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:02:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 08:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:02: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-04-26 08:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:02:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":54529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:02:30] local.INFO: GPS data processed {"connection_id":54529,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:02:30] local.INFO: Acknowledgment sent {"connection_id":54529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:03:15] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:03:15] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:03:15] local.INFO: IMEI packet received {"connection_id":55199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":55199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:03:20] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:03:20] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:03:20] local.INFO: IMEI packet received {"connection_id":55199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":55199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:03:20] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:03:20] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:03:20] local.INFO: Packet analysis {"connection_id":55199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:03:20] local.INFO: Extracted packet for processing {"connection_id":55199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 08:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:03: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-04-26 08: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-04-26 08:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:03: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-04-26 08:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":55199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:03:21] local.INFO: GPS data processed {"connection_id":55199,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:03:21] local.INFO: Acknowledgment sent {"connection_id":55199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:03:51] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:03:51] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:03:51] local.INFO: Packet analysis {"connection_id":55199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:03:51] local.INFO: Extracted packet for processing {"connection_id":55199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 08:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:03: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-04-26 08: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-04-26 08:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:03:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":55199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:03:52] local.INFO: GPS data processed {"connection_id":55199,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:03:52] local.INFO: Acknowledgment sent {"connection_id":55199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:03:56] local.INFO: TCP Data received {"connection_id":54461,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:03:56] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:03:56] local.INFO: IMEI packet received {"connection_id":54461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":54461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:04:15] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:04:15] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:04:15] local.INFO: IMEI packet received {"connection_id":55200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":55200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:04:20] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:04:20] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:04:20] local.INFO: IMEI packet received {"connection_id":55200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":55200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:04:21] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:04:21] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc79e7580012cb299c007822ce0004500122d..."} 
[2026-04-26 08:04:21] local.INFO: Packet analysis {"connection_id":55200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:04:21] local.INFO: Extracted packet for processing {"connection_id":55200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc79e"} 
[2026-04-26 08:04:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955582208001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170544000,"timestamp_ms":1777170544000,"timestamp_seconds":1777170544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc79e7580"} 
[2026-04-26 08:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:04:21] 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-04-26 08: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-04-26 08:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:04: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-04-26 08:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955582208001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955582208001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:04:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955582208001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":55200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:04:21] local.INFO: GPS data processed {"connection_id":55200,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:04:21] local.INFO: Acknowledgment sent {"connection_id":55200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:04:46] local.INFO: TCP Data received {"connection_id":55201,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:04:46] local.INFO: Processing buffer {"connection_id":55201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:04:46] local.INFO: IMEI packet received {"connection_id":55201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":55201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:04:52] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:04:52] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:04:52] local.INFO: Packet analysis {"connection_id":55200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:04:52] local.INFO: Extracted packet for processing {"connection_id":55200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:04:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:04:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:04:52] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:04: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-04-26 08: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-04-26 08:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:04: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-04-26 08:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:04:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:04:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:04:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":55200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:04:52] local.INFO: GPS data processed {"connection_id":55200,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:04:52] local.INFO: Acknowledgment sent {"connection_id":55200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:05:14] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:05:14] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:05:14] local.INFO: IMEI packet received {"connection_id":54462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:05:20] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:05:20] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:05:20] local.INFO: IMEI packet received {"connection_id":54462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:05:21] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:05:21] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:05:21] local.INFO: Packet analysis {"connection_id":54462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:05:21] local.INFO: Extracted packet for processing {"connection_id":54462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:05:21] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:05:21] 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-04-26 08: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-04-26 08:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:05: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-04-26 08:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":54462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:05:21] local.INFO: GPS data processed {"connection_id":54462,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:05:21] local.INFO: Acknowledgment sent {"connection_id":54462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:05:52] local.INFO: TCP Data received {"connection_id":54462,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:05:52] local.INFO: Processing buffer {"connection_id":54462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:05:52] local.INFO: Packet analysis {"connection_id":54462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:05:52] local.INFO: Extracted packet for processing {"connection_id":54462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:05:52] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:05: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-04-26 08: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-04-26 08:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:05: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-04-26 08:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":54462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:05:52] local.INFO: GPS data processed {"connection_id":54462,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:05:52] local.INFO: Acknowledgment sent {"connection_id":54462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:06:20] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:06:20] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:06:20] local.INFO: IMEI packet received {"connection_id":55202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":55202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:06:25] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:06:25] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:06:25] local.INFO: IMEI packet received {"connection_id":55202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":55202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:06:25] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:06:25] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:06:25] local.INFO: Packet analysis {"connection_id":55202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:06:25] local.INFO: Extracted packet for processing {"connection_id":55202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:06:25] 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-04-26 08:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:06: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-04-26 08:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:06:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":55202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:06:25] local.INFO: GPS data processed {"connection_id":55202,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:06:25] local.INFO: Acknowledgment sent {"connection_id":55202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:06:30] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:06:30] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:06:30] local.INFO: Packet analysis {"connection_id":55202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:06:30] local.INFO: Extracted packet for processing {"connection_id":55202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:06:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:06:30] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:06: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-04-26 08: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-04-26 08:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:06:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":55202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:06:30] local.INFO: GPS data processed {"connection_id":55202,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:06:30] local.INFO: Acknowledgment sent {"connection_id":55202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:07:15] local.INFO: TCP Data received {"connection_id":54464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:07:15] local.INFO: Processing buffer {"connection_id":54464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:07:15] local.INFO: IMEI packet received {"connection_id":54464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":54464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:07:20] local.INFO: TCP Data received {"connection_id":54464,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:07:20] local.INFO: Processing buffer {"connection_id":54464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:07:20] local.INFO: IMEI packet received {"connection_id":54464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":54464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:07:21] local.INFO: TCP Data received {"connection_id":54464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:07:21] local.INFO: Processing buffer {"connection_id":54464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:07:21] local.INFO: Packet analysis {"connection_id":54464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:07:21] local.INFO: Extracted packet for processing {"connection_id":54464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:07:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:07:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:07:21] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:07:21] 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-04-26 08: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-04-26 08:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:07: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-04-26 08:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:07:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:07:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:07:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":54464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:07:21] local.INFO: GPS data processed {"connection_id":54464,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:07:21] local.INFO: Acknowledgment sent {"connection_id":54464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:07:52] local.INFO: TCP Data received {"connection_id":54464,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:07:52] local.INFO: Processing buffer {"connection_id":54464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:07:52] local.INFO: Packet analysis {"connection_id":54464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:07:52] local.INFO: Extracted packet for processing {"connection_id":54464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:07:52] 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-04-26 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:07: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-04-26 08: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-04-26 08:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:07: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-04-26 08:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":54464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:07:52] local.INFO: GPS data processed {"connection_id":54464,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:07:52] local.INFO: Acknowledgment sent {"connection_id":54464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:08:14] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:08:14] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:08:14] local.INFO: IMEI packet received {"connection_id":54465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":54465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:08:19] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:08:19] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:08:19] local.INFO: IMEI packet received {"connection_id":54465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:08:20] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:20] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:20] local.INFO: Packet analysis {"connection_id":54465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:08:20] local.INFO: Extracted packet for processing {"connection_id":54465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:08:20] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:08: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-04-26 08: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-04-26 08:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:08: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-04-26 08:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:08:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":54465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:08:20] local.INFO: GPS data processed {"connection_id":54465,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:08:20] local.INFO: Acknowledgment sent {"connection_id":54465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:08:25] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:25] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:25] local.INFO: Packet analysis {"connection_id":54465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:08:25] local.INFO: Extracted packet for processing {"connection_id":54465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:08:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:08:25] 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-04-26 08: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:08: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-04-26 08: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-04-26 08:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:08: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-04-26 08:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:08:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":54465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:08:25] local.INFO: GPS data processed {"connection_id":54465,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:08:25] local.INFO: Acknowledgment sent {"connection_id":54465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:08:56] local.INFO: TCP Data received {"connection_id":54465,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:56] local.INFO: Processing buffer {"connection_id":54465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:08:56] local.INFO: Packet analysis {"connection_id":54465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:08:56] local.INFO: Extracted packet for processing {"connection_id":54465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:08:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 08:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:08:56] 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-04-26 08:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:08:56] 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-04-26 08:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:08:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":54465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:08:56] local.INFO: GPS data processed {"connection_id":54465,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:08:56] local.INFO: Acknowledgment sent {"connection_id":54465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:09:14] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:09:14] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:09:14] local.INFO: IMEI packet received {"connection_id":54289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":54289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:09:20] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:09:20] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:09:20] local.INFO: IMEI packet received {"connection_id":54289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":54289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:09:21] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:09:21] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a30d48012cb299c007822ce0004700122e..."} 
[2026-04-26 08:09:21] local.INFO: Packet analysis {"connection_id":54289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:09:21] local.INFO: Extracted packet for processing {"connection_id":54289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a3"} 
[2026-04-26 08:09:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955659264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:09:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777170845000,"timestamp_ms":1777170845000,"timestamp_seconds":1777170845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a30d48"} 
[2026-04-26 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-04-26 08:09:21] 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-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 08:09:21] 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-04-26 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-04-26 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-04-26 08:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:09: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-04-26 08:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955659264001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955659264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:09:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:09:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:09:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955659264001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":54289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:09:21] local.INFO: GPS data processed {"connection_id":54289,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:09:21] local.INFO: Acknowledgment sent {"connection_id":54289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:09:52] local.INFO: TCP Data received {"connection_id":54289,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:09:52] local.INFO: Processing buffer {"connection_id":54289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:09:52] local.INFO: Packet analysis {"connection_id":54289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:09:52] local.INFO: Extracted packet for processing {"connection_id":54289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:09:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:09:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:09:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:09:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:09:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:09:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 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-04-26 08:09:52] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:09:52] 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-04-26 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-04-26 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-04-26 08:09:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:09:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:09:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:09:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:09: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-04-26 08:09:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:09:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:09:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:09:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:09:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:09:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:09:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:09:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:09:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:09:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:09:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:09:52] local.INFO: DEBUG: GPS processor result {"connection_id":54289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:09:52] local.INFO: GPS data processed {"connection_id":54289,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:09:52] local.INFO: Acknowledgment sent {"connection_id":54289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:10:16] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:10:16] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:10:16] local.INFO: IMEI packet received {"connection_id":54535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":54535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:10:20] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:10:20] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:10:20] local.INFO: IMEI packet received {"connection_id":54536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:10:25] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:10:25] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:10:25] local.INFO: IMEI packet received {"connection_id":54536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":54536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:10:26] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:10:26] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:10:26] local.INFO: Packet analysis {"connection_id":54536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:10:26] local.INFO: Extracted packet for processing {"connection_id":54536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:10:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:10:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 08:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:10:26] 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-04-26 08:10:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:10:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:10:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:10:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":54536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:10:26] local.INFO: GPS data processed {"connection_id":54536,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:10:26] local.INFO: Acknowledgment sent {"connection_id":54536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:10:30] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:10:30] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:10:30] local.INFO: Packet analysis {"connection_id":54536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:10:30] local.INFO: Extracted packet for processing {"connection_id":54536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:10:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 08:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:10:30] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:10:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":54536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:10:30] local.INFO: GPS data processed {"connection_id":54536,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:10:30] local.INFO: Acknowledgment sent {"connection_id":54536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:10:42] local.INFO: TCP Data received {"connection_id":54290,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:10:42] local.INFO: Processing buffer {"connection_id":54290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:10:42] local.INFO: IMEI packet received {"connection_id":54290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":54290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:11:15] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:11:15] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:11:15] local.INFO: IMEI packet received {"connection_id":54466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:11:20] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:11:20] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:11:20] local.INFO: IMEI packet received {"connection_id":54466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:11:21] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:11:21] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:11:21] local.INFO: Packet analysis {"connection_id":54466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:11:21] local.INFO: Extracted packet for processing {"connection_id":54466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:11:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:11:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 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-04-26 08:11:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:11: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-04-26 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-04-26 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-04-26 08:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:11: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-04-26 08:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:11:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:11:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:11:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":54466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:11:21] local.INFO: GPS data processed {"connection_id":54466,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:11:21] local.INFO: Acknowledgment sent {"connection_id":54466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:11:52] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:11:52] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:11:52] local.INFO: Packet analysis {"connection_id":54466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:11:52] local.INFO: Extracted packet for processing {"connection_id":54466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:11:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:11:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 08:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:11:52] 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-04-26 08:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:11:52] 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-04-26 08:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:11: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-04-26 08:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:11:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:11:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:11:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":54466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:11:52] local.INFO: GPS data processed {"connection_id":54466,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:11:52] local.INFO: Acknowledgment sent {"connection_id":54466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:12:15] local.INFO: TCP Data received {"connection_id":54467,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:12:15] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:12:15] local.INFO: IMEI packet received {"connection_id":54467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":54467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:12:20] local.INFO: TCP Data received {"connection_id":54467,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:12:20] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:12:20] local.INFO: IMEI packet received {"connection_id":54467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:12:21] local.INFO: TCP Data received {"connection_id":54467,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:12:21] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:12:21] local.INFO: Packet analysis {"connection_id":54467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:12:21] local.INFO: Extracted packet for processing {"connection_id":54467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:12:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:12:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 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-04-26 08:12:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:12: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-04-26 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-04-26 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-04-26 08:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:12: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-04-26 08:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:12:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:12:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:12:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":54467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:12:21] local.INFO: GPS data processed {"connection_id":54467,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:12:21] local.INFO: Acknowledgment sent {"connection_id":54467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:12:52] local.INFO: TCP Data received {"connection_id":54467,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:12:52] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:12:52] local.INFO: Packet analysis {"connection_id":54467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:12:52] local.INFO: Extracted packet for processing {"connection_id":54467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:12:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:12:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:12:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:12:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:12:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:12:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 08:12:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:12:52] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:12:52] 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-04-26 08: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-04-26 08:12:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:12:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:12:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:12:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:12:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:12: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-04-26 08:12:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:12:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:12:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:12:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:12:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:12:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:12:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:12:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:12:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:12:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:12:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:12:52] local.INFO: DEBUG: GPS processor result {"connection_id":54467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:12:52] local.INFO: GPS data processed {"connection_id":54467,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:12:52] local.INFO: Acknowledgment sent {"connection_id":54467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:13:14] local.INFO: TCP Data received {"connection_id":55203,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:13:14] local.INFO: Processing buffer {"connection_id":55203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:13:14] local.INFO: IMEI packet received {"connection_id":55203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":55203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:13:20] local.INFO: TCP Data received {"connection_id":55203,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:13:20] local.INFO: Processing buffer {"connection_id":55203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:13:20] local.INFO: IMEI packet received {"connection_id":55203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":55203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:13:21] local.INFO: TCP Data received {"connection_id":55203,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:13:21] local.INFO: Processing buffer {"connection_id":55203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:13:21] local.INFO: Packet analysis {"connection_id":55203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:13:21] local.INFO: Extracted packet for processing {"connection_id":55203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 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-04-26 08:13:21] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:13: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-04-26 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-04-26 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-04-26 08:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:13: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-04-26 08:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":55203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:13:21] local.INFO: GPS data processed {"connection_id":55203,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:13:21] local.INFO: Acknowledgment sent {"connection_id":55203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:13:52] local.INFO: TCP Data received {"connection_id":55203,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:13:52] local.INFO: Processing buffer {"connection_id":55203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:13:52] local.INFO: Packet analysis {"connection_id":55203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:13:52] local.INFO: Extracted packet for processing {"connection_id":55203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:13:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:13:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 08:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:13:52] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:13:52] 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-04-26 08: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-04-26 08:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:13: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-04-26 08:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:13:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:13:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:13:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":55203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:13:52] local.INFO: GPS data processed {"connection_id":55203,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:13:52] local.INFO: Acknowledgment sent {"connection_id":55203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:14:14] local.INFO: TCP Data received {"connection_id":54539,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:14:14] local.INFO: Processing buffer {"connection_id":54539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:14:14] local.INFO: IMEI packet received {"connection_id":54539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":54539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:14:20] local.INFO: TCP Data received {"connection_id":54539,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:14:20] local.INFO: Processing buffer {"connection_id":54539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:14:20] local.INFO: IMEI packet received {"connection_id":54539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":54539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:14:21] local.INFO: TCP Data received {"connection_id":54539,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:14:21] local.INFO: Processing buffer {"connection_id":54539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7a7a510012cb299c007822ce0004500122f..."} 
[2026-04-26 08:14:21] local.INFO: Packet analysis {"connection_id":54539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:14:21] local.INFO: Extracted packet for processing {"connection_id":54539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7a7"} 
[2026-04-26 08:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955736320001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171146000,"timestamp_ms":1777171146000,"timestamp_seconds":1777171146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7a7a510"} 
[2026-04-26 08:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:14:21] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:14: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-04-26 08: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-04-26 08:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:14: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-04-26 08:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955736320001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955736320001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955736320001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":54539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:14:21] local.INFO: GPS data processed {"connection_id":54539,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:14:21] local.INFO: Acknowledgment sent {"connection_id":54539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:14:52] local.INFO: TCP Data received {"connection_id":54539,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:14:52] local.INFO: Processing buffer {"connection_id":54539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:14:52] local.INFO: Packet analysis {"connection_id":54539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:14:52] local.INFO: Extracted packet for processing {"connection_id":54539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:14:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:14:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:14:52] 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-04-26 08:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:14:52] 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-04-26 08:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:14: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-04-26 08:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:14:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:14:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:14:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":54539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:14:52] local.INFO: GPS data processed {"connection_id":54539,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:14:52] local.INFO: Acknowledgment sent {"connection_id":54539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:15:20] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:15:20] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:15:20] local.INFO: IMEI packet received {"connection_id":54292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:15:25] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:15:25] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:15:25] local.INFO: IMEI packet received {"connection_id":54292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":54292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:15:26] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:15:26] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:15:26] local.INFO: Packet analysis {"connection_id":54292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:15:26] local.INFO: Extracted packet for processing {"connection_id":54292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:15:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:15:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:15:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:15:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:15:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:15:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:15:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:15:26] 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-04-26 08:15:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:15:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:15:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:15:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:15:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:15:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:15:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:15:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:15:26] 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-04-26 08:15:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:15:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:15:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:15:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:15:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:15:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:15:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:15:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:15:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:15:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:15:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:15:26] local.INFO: DEBUG: GPS processor result {"connection_id":54292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:15:26] local.INFO: GPS data processed {"connection_id":54292,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:15:26] local.INFO: Acknowledgment sent {"connection_id":54292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:15:57] local.INFO: TCP Data received {"connection_id":54292,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:15:57] local.INFO: Processing buffer {"connection_id":54292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:15:57] local.INFO: Packet analysis {"connection_id":54292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:15:57] local.INFO: Extracted packet for processing {"connection_id":54292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:15:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:15:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:15:57] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:15:57] 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-04-26 08: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-04-26 08:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:15: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-04-26 08:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:15:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:15:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":54292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:15:57] local.INFO: GPS data processed {"connection_id":54292,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:15:57] local.INFO: Acknowledgment sent {"connection_id":54292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:16:01] local.INFO: TCP Data received {"connection_id":55205,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:16:01] local.INFO: Processing buffer {"connection_id":55205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:16:01] local.INFO: IMEI packet received {"connection_id":55205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":55205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:16:14] local.INFO: TCP Data received {"connection_id":54468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:16:14] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:16:14] local.INFO: IMEI packet received {"connection_id":54468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":54468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:16:19] local.INFO: TCP Data received {"connection_id":54468,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:16:19] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:16:19] local.INFO: IMEI packet received {"connection_id":54468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:16:20] local.INFO: TCP Data received {"connection_id":54468,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:16:20] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:16:20] local.INFO: Packet analysis {"connection_id":54468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:16:20] local.INFO: Extracted packet for processing {"connection_id":54468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:16:20] 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-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:16: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-04-26 08: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-04-26 08:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:16: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-04-26 08:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:16:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:16:20] local.INFO: GPS data processed {"connection_id":54468,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:16:20] local.INFO: Acknowledgment sent {"connection_id":54468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:16:40] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:16:40] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:16:40] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:16:52] local.INFO: TCP Data received {"connection_id":54468,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:16:52] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:16:52] local.INFO: Packet analysis {"connection_id":54468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:16:52] local.INFO: Extracted packet for processing {"connection_id":54468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:16:52] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:16:52] 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-04-26 08: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-04-26 08:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:16: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-04-26 08:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:16:52] local.INFO: GPS data processed {"connection_id":54468,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:16:52] local.INFO: Acknowledgment sent {"connection_id":54468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:17:14] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:17:14] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:17:14] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:17:20] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:17:20] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:17:20] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:17:21] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:17:21] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:17:21] local.INFO: Packet analysis {"connection_id":54469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:17:21] local.INFO: Extracted packet for processing {"connection_id":54469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:17:21] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:17: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-04-26 08: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-04-26 08:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:17: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-04-26 08:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:17:21] local.INFO: GPS data processed {"connection_id":54469,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:17:21] local.INFO: Acknowledgment sent {"connection_id":54469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:17:52] local.INFO: TCP Data received {"connection_id":54469,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:17:52] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:17:52] local.INFO: Packet analysis {"connection_id":54469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:17:52] local.INFO: Extracted packet for processing {"connection_id":54469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:17:52] 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-04-26 08:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:17:52] 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-04-26 08: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-04-26 08:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:17: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-04-26 08:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:17:52] local.INFO: GPS data processed {"connection_id":54469,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:17:52] local.INFO: Acknowledgment sent {"connection_id":54469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:18:14] local.INFO: TCP Data received {"connection_id":54541,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:18:14] local.INFO: Processing buffer {"connection_id":54541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:18:14] local.INFO: IMEI packet received {"connection_id":54541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:18:20] local.INFO: TCP Data received {"connection_id":54541,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:18:20] local.INFO: Processing buffer {"connection_id":54541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:18:20] local.INFO: IMEI packet received {"connection_id":54541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:18:21] local.INFO: TCP Data received {"connection_id":54541,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:18:21] local.INFO: Processing buffer {"connection_id":54541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:18:21] local.INFO: Packet analysis {"connection_id":54541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:18:21] local.INFO: Extracted packet for processing {"connection_id":54541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:18:21] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:18: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-04-26 08: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-04-26 08:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:18:21] local.INFO: GPS data processed {"connection_id":54541,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:18:21] local.INFO: Acknowledgment sent {"connection_id":54541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:18:52] local.INFO: TCP Data received {"connection_id":54541,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:18:52] local.INFO: Processing buffer {"connection_id":54541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:18:52] local.INFO: Packet analysis {"connection_id":54541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:18:52] local.INFO: Extracted packet for processing {"connection_id":54541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 08:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:18:52] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:18:52] 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-04-26 08: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-04-26 08:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:18:52] local.INFO: GPS data processed {"connection_id":54541,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:18:52] local.INFO: Acknowledgment sent {"connection_id":54541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:19:14] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:19:14] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:19:14] local.INFO: IMEI packet received {"connection_id":55206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":55206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:19:20] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:19:20] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:19:20] local.INFO: IMEI packet received {"connection_id":55206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":55206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:19:20] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:19:20] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ac3cd8012cb299c007822ce0004800122e..."} 
[2026-04-26 08:19:20] local.INFO: Packet analysis {"connection_id":55206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:19:20] local.INFO: Extracted packet for processing {"connection_id":55206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ac"} 
[2026-04-26 08:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955813376001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777171447000,"timestamp_ms":1777171447000,"timestamp_seconds":1777171447,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ac3cd8"} 
[2026-04-26 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-04-26 08:19:20] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:19: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-04-26 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-04-26 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-04-26 08:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:19: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-04-26 08:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955813376001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955813376001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:19:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955813376001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":55206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:19:21] local.INFO: GPS data processed {"connection_id":55206,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:19:21] local.INFO: Acknowledgment sent {"connection_id":55206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:19:52] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:19:52] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:19:52] local.INFO: Packet analysis {"connection_id":55206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:19:52] local.INFO: Extracted packet for processing {"connection_id":55206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:19:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:19:52] 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-04-26 08: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-04-26 08:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:19:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:19:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":55206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:19:52] local.INFO: GPS data processed {"connection_id":55206,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:19:52] local.INFO: Acknowledgment sent {"connection_id":55206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:20:20] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:20:20] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:20:20] local.INFO: IMEI packet received {"connection_id":54470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":54470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:20:25] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:20:25] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:20:25] local.INFO: IMEI packet received {"connection_id":54470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":54470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:20:25] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:20:25] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:20:25] local.INFO: Packet analysis {"connection_id":54470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:20:25] local.INFO: Extracted packet for processing {"connection_id":54470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:20:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:20:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:20:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:20:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:20:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":54470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:20:26] local.INFO: GPS data processed {"connection_id":54470,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:20:26] local.INFO: Acknowledgment sent {"connection_id":54470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:20:57] local.INFO: TCP Data received {"connection_id":54470,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:20:57] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:20:57] local.INFO: Packet analysis {"connection_id":54470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:20:57] local.INFO: Extracted packet for processing {"connection_id":54470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:20:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:20:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:20:57] 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-04-26 08: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-04-26 08:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:20: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-04-26 08:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:20:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:20:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":54470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:20:57] local.INFO: GPS data processed {"connection_id":54470,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:20:57] local.INFO: Acknowledgment sent {"connection_id":54470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:21:14] local.INFO: TCP Data received {"connection_id":54295,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:21:14] local.INFO: Processing buffer {"connection_id":54295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:21:14] local.INFO: IMEI packet received {"connection_id":54295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:21:20] local.INFO: TCP Data received {"connection_id":54295,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:21:20] local.INFO: Processing buffer {"connection_id":54295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:21:20] local.INFO: IMEI packet received {"connection_id":54295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":54295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:21:21] local.INFO: TCP Data received {"connection_id":54295,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:21:21] local.INFO: Processing buffer {"connection_id":54295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:21:21] local.INFO: Packet analysis {"connection_id":54295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:21:21] local.INFO: Extracted packet for processing {"connection_id":54295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 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-04-26 08:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:21: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-04-26 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-04-26 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-04-26 08:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:21: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-04-26 08:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":54295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:21:21] local.INFO: GPS data processed {"connection_id":54295,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:21:21] local.INFO: Acknowledgment sent {"connection_id":54295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:21:52] local.INFO: TCP Data received {"connection_id":54295,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:21:52] local.INFO: Processing buffer {"connection_id":54295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:21:52] local.INFO: Packet analysis {"connection_id":54295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:21:52] local.INFO: Extracted packet for processing {"connection_id":54295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:21:52] 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-04-26 08: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-04-26 08:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:21:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":54295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:21:52] local.INFO: GPS data processed {"connection_id":54295,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:21:52] local.INFO: Acknowledgment sent {"connection_id":54295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:21:56] local.INFO: TCP Data received {"connection_id":54471,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:21:56] local.INFO: Processing buffer {"connection_id":54471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:21:56] local.INFO: IMEI packet received {"connection_id":54471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":54471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:22:14] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:22:14] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:22:14] local.INFO: IMEI packet received {"connection_id":55208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":55208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:22:20] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:22:20] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:22:20] local.INFO: IMEI packet received {"connection_id":55208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":55208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:22:20] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:22:20] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:22:20] local.INFO: Packet analysis {"connection_id":55208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:22:20] local.INFO: Extracted packet for processing {"connection_id":55208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:22:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:22: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-04-26 08: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-04-26 08:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:22:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":55208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:22:21] local.INFO: GPS data processed {"connection_id":55208,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:22:21] local.INFO: Acknowledgment sent {"connection_id":55208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:22:46] local.INFO: TCP Data received {"connection_id":54296,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:22:46] local.INFO: Processing buffer {"connection_id":54296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:22:46] local.INFO: IMEI packet received {"connection_id":54296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":54296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:22:52] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:22:52] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:22:52] local.INFO: Packet analysis {"connection_id":55208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:22:52] local.INFO: Extracted packet for processing {"connection_id":55208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:22:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:22:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:22:52] 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-04-26 08: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-04-26 08:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:22: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-04-26 08:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:22:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:22:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":55208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:22:52] local.INFO: GPS data processed {"connection_id":55208,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:22:52] local.INFO: Acknowledgment sent {"connection_id":55208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:23:14] local.INFO: TCP Data received {"connection_id":54473,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:23:14] local.INFO: Processing buffer {"connection_id":54473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:23:14] local.INFO: IMEI packet received {"connection_id":54473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":54473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:23:20] local.INFO: TCP Data received {"connection_id":54473,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:23:20] local.INFO: Processing buffer {"connection_id":54473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:23:20] local.INFO: IMEI packet received {"connection_id":54473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:23:20] local.INFO: TCP Data received {"connection_id":54473,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:23:20] local.INFO: Processing buffer {"connection_id":54473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:23:20] local.INFO: Packet analysis {"connection_id":54473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:23:20] local.INFO: Extracted packet for processing {"connection_id":54473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:23: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-04-26 08: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-04-26 08:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:23:20] 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-04-26 08:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:23:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:23:20] local.INFO: GPS data processed {"connection_id":54473,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:23:20] local.INFO: Acknowledgment sent {"connection_id":54473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:23:51] local.INFO: TCP Data received {"connection_id":54473,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:23:51] local.INFO: Processing buffer {"connection_id":54473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:23:51] local.INFO: Packet analysis {"connection_id":54473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:23:51] local.INFO: Extracted packet for processing {"connection_id":54473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:23: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-04-26 08: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-04-26 08:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:23:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:23:51] local.INFO: GPS data processed {"connection_id":54473,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:23:51] local.INFO: Acknowledgment sent {"connection_id":54473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:24:14] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:24:14] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:24:14] local.INFO: IMEI packet received {"connection_id":54543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":54543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:24:20] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:24:20] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:24:20] local.INFO: IMEI packet received {"connection_id":54543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":54543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:24:20] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:24:20] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b0d4a0012cb299c007822ce00047001230..."} 
[2026-04-26 08:24:20] local.INFO: Packet analysis {"connection_id":54543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:24:20] local.INFO: Extracted packet for processing {"connection_id":54543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b0"} 
[2026-04-26 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955890432001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777171748000,"timestamp_ms":1777171748000,"timestamp_seconds":1777171748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b0d4a0"} 
[2026-04-26 08:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:24: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-04-26 08: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-04-26 08:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:24: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-04-26 08:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955890432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955890432001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955890432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:24:20] local.INFO: GPS data processed {"connection_id":54543,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:24:20] local.INFO: Acknowledgment sent {"connection_id":54543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:24:51] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:24:51] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:24:51] local.INFO: Packet analysis {"connection_id":54543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:24:51] local.INFO: Extracted packet for processing {"connection_id":54543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:24:51] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:24: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-04-26 08: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-04-26 08:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:24:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:24:51] local.INFO: GPS data processed {"connection_id":54543,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:24:51] local.INFO: Acknowledgment sent {"connection_id":54543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:25:19] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:25:19] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:25:19] local.INFO: IMEI packet received {"connection_id":54475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":54475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:25:24] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:25:24] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:25:24] local.INFO: IMEI packet received {"connection_id":54475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":54475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:25:25] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:25:25] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:25:25] local.INFO: Packet analysis {"connection_id":54475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:25:25] local.INFO: Extracted packet for processing {"connection_id":54475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:25:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:25:25] 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-04-26 08:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:25:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":54475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:25:25] local.INFO: GPS data processed {"connection_id":54475,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:25:25] local.INFO: Acknowledgment sent {"connection_id":54475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:25:56] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:25:56] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:25:56] local.INFO: Packet analysis {"connection_id":54475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:25:56] local.INFO: Extracted packet for processing {"connection_id":54475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:25:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:25:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:25:56] 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-04-26 08:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:25:56] 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-04-26 08:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:25: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-04-26 08:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:25:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:25:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":54475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:25:56] local.INFO: GPS data processed {"connection_id":54475,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:25:56] local.INFO: Acknowledgment sent {"connection_id":54475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:26:15] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:26:15] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:26:15] local.INFO: IMEI packet received {"connection_id":55211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":55211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:26:20] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:26:20] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:26:20] local.INFO: IMEI packet received {"connection_id":55211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":55211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:26:21] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:26:21] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:26:21] local.INFO: Packet analysis {"connection_id":55211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:26:21] local.INFO: Extracted packet for processing {"connection_id":55211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:26:21] 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-04-26 08:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:26: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-04-26 08:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":55211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:26:21] local.INFO: GPS data processed {"connection_id":55211,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:26:21] local.INFO: Acknowledgment sent {"connection_id":55211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:26:51] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:26:51] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:26:51] local.INFO: Packet analysis {"connection_id":55211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:26:51] local.INFO: Extracted packet for processing {"connection_id":55211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:26:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:26:51] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:26: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-04-26 08: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-04-26 08:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:26:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":55211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:26:51] local.INFO: GPS data processed {"connection_id":55211,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:26:51] local.INFO: Acknowledgment sent {"connection_id":55211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:27:14] local.INFO: TCP Data received {"connection_id":54476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:27:14] local.INFO: Processing buffer {"connection_id":54476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:27:14] local.INFO: IMEI packet received {"connection_id":54476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:27:19] local.INFO: TCP Data received {"connection_id":54476,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:27:19] local.INFO: Processing buffer {"connection_id":54476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:27:19] local.INFO: IMEI packet received {"connection_id":54476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":54476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:27:20] local.INFO: TCP Data received {"connection_id":54476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:27:20] local.INFO: Processing buffer {"connection_id":54476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:27:20] local.INFO: Packet analysis {"connection_id":54476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:27:20] local.INFO: Extracted packet for processing {"connection_id":54476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:27:20] 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-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:27: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-04-26 08: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-04-26 08:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:27: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-04-26 08:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:27:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":54476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:27:20] local.INFO: GPS data processed {"connection_id":54476,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:27:20] local.INFO: Acknowledgment sent {"connection_id":54476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:27:51] local.INFO: TCP Data received {"connection_id":54476,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:27:51] local.INFO: Processing buffer {"connection_id":54476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:27:51] local.INFO: Packet analysis {"connection_id":54476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:27:51] local.INFO: Extracted packet for processing {"connection_id":54476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:27:51] 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-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:27: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-04-26 08: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-04-26 08:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:27:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:27:51] local.INFO: GPS data processed {"connection_id":54476,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:27:51] local.INFO: Acknowledgment sent {"connection_id":54476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:28:06] local.INFO: TCP Data received {"connection_id":54297,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54297,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:28:06] local.INFO: Processing buffer {"connection_id":54297,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:28:06] local.INFO: IMEI packet received {"connection_id":54297,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":54297,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:28:14] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:28:14] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:28:14] local.INFO: IMEI packet received {"connection_id":54298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":54298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:28:20] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:28:20] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:28:20] local.INFO: IMEI packet received {"connection_id":54298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":54298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:28:20] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:28:20] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:28:20] local.INFO: Packet analysis {"connection_id":54298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:28:20] local.INFO: Extracted packet for processing {"connection_id":54298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:28:20] 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-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:28: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-04-26 08: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-04-26 08:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:28:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":54298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:28:20] local.INFO: GPS data processed {"connection_id":54298,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:28:20] local.INFO: Acknowledgment sent {"connection_id":54298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:28:41] local.INFO: TCP Data received {"connection_id":54545,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:28:41] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:28:41] local.INFO: IMEI packet received {"connection_id":54545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":54545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:28:51] local.INFO: TCP Data received {"connection_id":54298,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:28:51] local.INFO: Processing buffer {"connection_id":54298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:28:51] local.INFO: Packet analysis {"connection_id":54298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:28:51] local.INFO: Extracted packet for processing {"connection_id":54298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:28:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:28:51] 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-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:28: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-04-26 08: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-04-26 08:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:28:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":54298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:28:51] local.INFO: GPS data processed {"connection_id":54298,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:28:51] local.INFO: Acknowledgment sent {"connection_id":54298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:29:14] local.INFO: TCP Data received {"connection_id":55212,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:29:14] local.INFO: Processing buffer {"connection_id":55212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:29:14] local.INFO: IMEI packet received {"connection_id":55212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":55212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:29:20] local.INFO: TCP Data received {"connection_id":55212,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:29:20] local.INFO: Processing buffer {"connection_id":55212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:29:20] local.INFO: IMEI packet received {"connection_id":55212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":55212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:29:21] local.INFO: TCP Data received {"connection_id":55212,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:29:21] local.INFO: Processing buffer {"connection_id":55212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7b56c68012cb299c007822ce0004c00122f..."} 
[2026-04-26 08:29:21] local.INFO: Packet analysis {"connection_id":55212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:29:21] local.INFO: Extracted packet for processing {"connection_id":55212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7b5"} 
[2026-04-26 08:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454955967488001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172049000,"timestamp_ms":1777172049000,"timestamp_seconds":1777172049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7b56c68"} 
[2026-04-26 08:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:29:21] 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-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:29: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-04-26 08: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-04-26 08:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:29: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-04-26 08:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454955967488001,"66":25038,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454955967488001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454955967488001,"power":25038,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":55212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:29:21] local.INFO: GPS data processed {"connection_id":55212,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:29:21] local.INFO: Acknowledgment sent {"connection_id":55212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:29:52] local.INFO: TCP Data received {"connection_id":55212,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:29:52] local.INFO: Processing buffer {"connection_id":55212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:29:52] local.INFO: Packet analysis {"connection_id":55212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:29:52] local.INFO: Extracted packet for processing {"connection_id":55212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:29:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:29:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:29: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-04-26 08:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:29:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:29:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":55212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:29:52] local.INFO: GPS data processed {"connection_id":55212,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:29:52] local.INFO: Acknowledgment sent {"connection_id":55212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:30:21] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:30:21] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:30:21] local.INFO: IMEI packet received {"connection_id":54547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":54547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:30:25] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:30:25] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:30:25] local.INFO: IMEI packet received {"connection_id":54547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":54547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:30:25] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:30:25] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:30:25] local.INFO: Packet analysis {"connection_id":54547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:30:25] local.INFO: Extracted packet for processing {"connection_id":54547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:30:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:30: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-04-26 08:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:30:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":54547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:30:26] local.INFO: GPS data processed {"connection_id":54547,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:30:26] local.INFO: Acknowledgment sent {"connection_id":54547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:30:30] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:30:30] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:30:30] local.INFO: Packet analysis {"connection_id":54547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:30:30] local.INFO: Extracted packet for processing {"connection_id":54547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:30: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-04-26 08:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:30:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":54547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:30:30] local.INFO: GPS data processed {"connection_id":54547,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:30:30] local.INFO: Acknowledgment sent {"connection_id":54547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:31:14] local.INFO: TCP Data received {"connection_id":55213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:31:14] local.INFO: Processing buffer {"connection_id":55213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:31:14] local.INFO: IMEI packet received {"connection_id":55213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":55213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:31:20] local.INFO: TCP Data received {"connection_id":55213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:31:20] local.INFO: Processing buffer {"connection_id":55213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:31:20] local.INFO: IMEI packet received {"connection_id":55213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":55213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:31:20] local.INFO: TCP Data received {"connection_id":55213,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:31:20] local.INFO: Processing buffer {"connection_id":55213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:31:20] local.INFO: Packet analysis {"connection_id":55213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:31:20] local.INFO: Extracted packet for processing {"connection_id":55213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:31:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:31:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":55213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:31:20] local.INFO: GPS data processed {"connection_id":55213,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:31:20] local.INFO: Acknowledgment sent {"connection_id":55213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:31:52] local.INFO: TCP Data received {"connection_id":55213,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:31:52] local.INFO: Processing buffer {"connection_id":55213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:31:52] local.INFO: Packet analysis {"connection_id":55213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:31:52] local.INFO: Extracted packet for processing {"connection_id":55213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:31: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-04-26 08:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:31:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":55213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:31:52] local.INFO: GPS data processed {"connection_id":55213,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:31:52] local.INFO: Acknowledgment sent {"connection_id":55213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:32:14] local.INFO: TCP Data received {"connection_id":54478,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:32:14] local.INFO: Processing buffer {"connection_id":54478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:32:14] local.INFO: IMEI packet received {"connection_id":54478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:32:20] local.INFO: TCP Data received {"connection_id":54478,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:32:20] local.INFO: Processing buffer {"connection_id":54478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:32:20] local.INFO: IMEI packet received {"connection_id":54478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":54478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:32:21] local.INFO: TCP Data received {"connection_id":54478,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:32:21] local.INFO: Processing buffer {"connection_id":54478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:32:21] local.INFO: Packet analysis {"connection_id":54478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:32:21] local.INFO: Extracted packet for processing {"connection_id":54478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:32:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:32:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:32:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:32: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-04-26 08:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:32:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:32:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:32:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":54478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:32:21] local.INFO: GPS data processed {"connection_id":54478,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:32:21] local.INFO: Acknowledgment sent {"connection_id":54478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:32:52] local.INFO: TCP Data received {"connection_id":54478,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:32:52] local.INFO: Processing buffer {"connection_id":54478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:32:52] local.INFO: Packet analysis {"connection_id":54478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:32:52] local.INFO: Extracted packet for processing {"connection_id":54478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:32:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:32:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:32: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-04-26 08:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:32:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:32:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:32:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":54478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:32:52] local.INFO: GPS data processed {"connection_id":54478,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:32:52] local.INFO: Acknowledgment sent {"connection_id":54478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:33:14] local.INFO: TCP Data received {"connection_id":55214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:33:14] local.INFO: Processing buffer {"connection_id":55214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:33:14] local.INFO: IMEI packet received {"connection_id":55214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":55214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:33:20] local.INFO: TCP Data received {"connection_id":55214,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:33:20] local.INFO: Processing buffer {"connection_id":55214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:33:20] local.INFO: IMEI packet received {"connection_id":55214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":55214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:33:21] local.INFO: TCP Data received {"connection_id":55214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:33:21] local.INFO: Processing buffer {"connection_id":55214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:33:21] local.INFO: Packet analysis {"connection_id":55214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:33:21] local.INFO: Extracted packet for processing {"connection_id":55214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 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-04-26 08:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 08:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":55214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:33:21] local.INFO: GPS data processed {"connection_id":55214,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:33:21] local.INFO: Acknowledgment sent {"connection_id":55214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:33:52] local.INFO: TCP Data received {"connection_id":55214,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:33:52] local.INFO: Processing buffer {"connection_id":55214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:33:52] local.INFO: Packet analysis {"connection_id":55214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:33:52] local.INFO: Extracted packet for processing {"connection_id":55214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:33:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:33:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 08:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:33:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:33:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:33:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:33:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":55214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:33:52] local.INFO: GPS data processed {"connection_id":55214,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:33:52] local.INFO: Acknowledgment sent {"connection_id":55214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:34:11] local.INFO: TCP Data received {"connection_id":54480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:34:11] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:34:11] local.INFO: IMEI packet received {"connection_id":54480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":54480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:34:14] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:34:14] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:34:14] local.INFO: IMEI packet received {"connection_id":54481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":54481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:34:20] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:34:20] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:34:20] local.INFO: IMEI packet received {"connection_id":54481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":54481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:34:21] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:34:21] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ba0430012cb299c007822ce0004800122d..."} 
[2026-04-26 08:34:21] local.INFO: Packet analysis {"connection_id":54481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:34:21] local.INFO: Extracted packet for processing {"connection_id":54481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ba"} 
[2026-04-26 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956044544001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172350000,"timestamp_ms":1777172350000,"timestamp_seconds":1777172350,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ba0430"} 
[2026-04-26 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-04-26 08:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-04-26 08:34:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 08:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:34: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-04-26 08:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956044544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956044544001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956044544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":54481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:34:21] local.INFO: GPS data processed {"connection_id":54481,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:34:21] local.INFO: Acknowledgment sent {"connection_id":54481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:34:40] local.INFO: TCP Data received {"connection_id":54300,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:34:40] local.INFO: Processing buffer {"connection_id":54300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:34:40] local.INFO: IMEI packet received {"connection_id":54300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":54300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:34:52] local.INFO: TCP Data received {"connection_id":54481,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:34:52] local.INFO: Processing buffer {"connection_id":54481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:34:52] local.INFO: Packet analysis {"connection_id":54481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:34:52] local.INFO: Extracted packet for processing {"connection_id":54481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 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-04-26 08:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:34:52] 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-04-26 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-04-26 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-04-26 08:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:34: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-04-26 08:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":54481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:34:52] local.INFO: GPS data processed {"connection_id":54481,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:34:52] local.INFO: Acknowledgment sent {"connection_id":54481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:35:21] local.INFO: TCP Data received {"connection_id":54482,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:35:21] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:35:21] local.INFO: IMEI packet received {"connection_id":54482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":54482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:35:24] local.INFO: TCP Data received {"connection_id":54482,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:35:24] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:35:24] local.INFO: IMEI packet received {"connection_id":54482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":54482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:35:25] local.INFO: TCP Data received {"connection_id":54482,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:35:25] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:35:25] local.INFO: Packet analysis {"connection_id":54482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:35:25] local.INFO: Extracted packet for processing {"connection_id":54482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:35:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:35:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:35:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:35:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":54482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:35:25] local.INFO: GPS data processed {"connection_id":54482,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:35:25] local.INFO: Acknowledgment sent {"connection_id":54482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:35:30] local.INFO: TCP Data received {"connection_id":54482,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:35:30] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:35:30] local.INFO: Packet analysis {"connection_id":54482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:35:30] local.INFO: Extracted packet for processing {"connection_id":54482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:35:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:35:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":54482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:35:30] local.INFO: GPS data processed {"connection_id":54482,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:35:30] local.INFO: Acknowledgment sent {"connection_id":54482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:36:14] local.INFO: TCP Data received {"connection_id":55215,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:36:14] local.INFO: Processing buffer {"connection_id":55215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:36:14] local.INFO: IMEI packet received {"connection_id":55215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":55215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:36:20] local.INFO: TCP Data received {"connection_id":55215,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:36:20] local.INFO: Processing buffer {"connection_id":55215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:36:20] local.INFO: IMEI packet received {"connection_id":55215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":55215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:36:21] local.INFO: TCP Data received {"connection_id":55215,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:36:21] local.INFO: Processing buffer {"connection_id":55215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:36:21] local.INFO: Packet analysis {"connection_id":55215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:36:21] local.INFO: Extracted packet for processing {"connection_id":55215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:36:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:36: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-04-26 08:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:36: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-04-26 08:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:36:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":55215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:36:21] local.INFO: GPS data processed {"connection_id":55215,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:36:21] local.INFO: Acknowledgment sent {"connection_id":55215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:36:52] local.INFO: TCP Data received {"connection_id":55215,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:36:52] local.INFO: Processing buffer {"connection_id":55215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:36:52] local.INFO: Packet analysis {"connection_id":55215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:36:52] local.INFO: Extracted packet for processing {"connection_id":55215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:36:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:36:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:36:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:36:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:36:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:36:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:36:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:36:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:36:52] 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-04-26 08: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-04-26 08:36:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:36:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:36:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:36:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:36:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:36: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-04-26 08:36:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:36:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:36:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:36:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:36:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:36:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:36:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:36:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:36:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:36:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:36:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:36:52] local.INFO: DEBUG: GPS processor result {"connection_id":55215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:36:52] local.INFO: GPS data processed {"connection_id":55215,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:36:52] local.INFO: Acknowledgment sent {"connection_id":55215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:37:14] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:37:14] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:37:14] local.INFO: IMEI packet received {"connection_id":54483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":54483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:37:20] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:37:20] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:37:20] local.INFO: IMEI packet received {"connection_id":54483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:37:21] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:37:21] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:37:21] local.INFO: Packet analysis {"connection_id":54483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:37:21] local.INFO: Extracted packet for processing {"connection_id":54483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:37:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:37:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:37: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-04-26 08: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-04-26 08:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:37: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-04-26 08:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:37:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:37:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:37:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":54483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:37:21] local.INFO: GPS data processed {"connection_id":54483,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:37:21] local.INFO: Acknowledgment sent {"connection_id":54483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:37:53] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:37:53] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:37:53] local.INFO: Packet analysis {"connection_id":54483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:37:53] local.INFO: Extracted packet for processing {"connection_id":54483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:37:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:37:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:37: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-04-26 08: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-04-26 08:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:37:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:37:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:37:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":54483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:37:53] local.INFO: GPS data processed {"connection_id":54483,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:37:53] local.INFO: Acknowledgment sent {"connection_id":54483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:38:14] local.INFO: TCP Data received {"connection_id":54549,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:38:14] local.INFO: Processing buffer {"connection_id":54549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:38:14] local.INFO: IMEI packet received {"connection_id":54549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:38:20] local.INFO: TCP Data received {"connection_id":54549,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:38:20] local.INFO: Processing buffer {"connection_id":54549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:38:20] local.INFO: IMEI packet received {"connection_id":54549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:38:21] local.INFO: TCP Data received {"connection_id":54549,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:38:21] local.INFO: Processing buffer {"connection_id":54549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:38:21] local.INFO: Packet analysis {"connection_id":54549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:38:21] local.INFO: Extracted packet for processing {"connection_id":54549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:38: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-04-26 08: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-04-26 08:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:38: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-04-26 08:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:38:21] local.INFO: GPS data processed {"connection_id":54549,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:38:21] local.INFO: Acknowledgment sent {"connection_id":54549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:38:52] local.INFO: TCP Data received {"connection_id":54549,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:38:52] local.INFO: Processing buffer {"connection_id":54549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:38:52] local.INFO: Packet analysis {"connection_id":54549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:38:52] local.INFO: Extracted packet for processing {"connection_id":54549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:38:52] 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-04-26 08:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:38:52] local.INFO: GPS data processed {"connection_id":54549,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:38:52] local.INFO: Acknowledgment sent {"connection_id":54549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:39:14] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:39:14] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:39:14] local.INFO: IMEI packet received {"connection_id":54484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":54484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:39:20] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:39:20] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:39:20] local.INFO: IMEI packet received {"connection_id":54484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:39:21] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:39:21] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7be9bf8012cb299c007822ce00047001230..."} 
[2026-04-26 08:39:21] local.INFO: Packet analysis {"connection_id":54484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:39:21] local.INFO: Extracted packet for processing {"connection_id":54484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7be"} 
[2026-04-26 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956121600001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777172651000,"timestamp_ms":1777172651000,"timestamp_seconds":1777172651,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7be9bf8"} 
[2026-04-26 08:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:39: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-04-26 08:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956121600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956121600001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:39:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956121600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":54484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:39:21] local.INFO: GPS data processed {"connection_id":54484,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:39:21] local.INFO: Acknowledgment sent {"connection_id":54484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:39:53] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:39:53] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:39:53] local.INFO: Packet analysis {"connection_id":54484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:39:53] local.INFO: Extracted packet for processing {"connection_id":54484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:39:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:39:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:39:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:39:53] 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-04-26 08: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-04-26 08:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:39: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-04-26 08:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:39:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:39:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:39:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":54484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:39:53] local.INFO: GPS data processed {"connection_id":54484,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:39:53] local.INFO: Acknowledgment sent {"connection_id":54484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:39:54] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:54] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:54] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:39:55] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:55] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:55] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:39:56] local.INFO: TCP Data received {"connection_id":54550,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:39:56] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:39:56] local.INFO: IMEI packet received {"connection_id":54550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":54550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:39:59] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:59] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:39:59] local.INFO: IMEI packet received {"connection_id":54302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":54302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:40:00] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 08:40:00] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 08:40:00] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 08:40:00] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 08:40:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76391563931942912,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 08:40:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 08:40:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 08:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 08:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 08:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 08:40:00] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 08:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 08:40:00] local.ERROR: GPS data processing failed {"connection_id":54302,"error":"No valid data to process"} 
[2026-04-26 08:40:00] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 08:40:20] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:40:20] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:40:20] local.INFO: IMEI packet received {"connection_id":54551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:40:25] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:40:25] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:40:25] local.INFO: IMEI packet received {"connection_id":54551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":54551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:40:26] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:40:26] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:40:26] local.INFO: Packet analysis {"connection_id":54551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:40:26] local.INFO: Extracted packet for processing {"connection_id":54551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:40:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:40:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:40:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:40:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:40:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:40:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:40:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:40:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:40:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:40:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:40:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:40:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:40:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:40:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:40:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:40:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:40:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:40:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:40:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:40:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:40:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:40:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:40:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:40:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:40:26] local.INFO: DEBUG: GPS processor result {"connection_id":54551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:40:26] local.INFO: GPS data processed {"connection_id":54551,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:40:26] local.INFO: Acknowledgment sent {"connection_id":54551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:40:31] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c458b8012d7e2f8005d356b8000a001908..."} 
[2026-04-26 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c458b8012d7e2f8005d356b8000a001908..."} 
[2026-04-26 08:40:31] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c458b8012d7e2f8005d356b8000a001908..."} 
[2026-04-26 08:40:31] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c4"} 
[2026-04-26 08:40:31] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c4"} 
[2026-04-26 08:40:31] local.INFO: GPS Element Parsed {"raw_longitude":763244416,"raw_latitude":97736376,"longitude_deg":76.3244416,"latitude_deg":9.7736376,"altitude":10,"angle":25,"satellites":8,"speed":8,"hex_longitude":"2d7e2f80","hex_latitude":"05d356b8","is_valid_coordinates":true} 
[2026-04-26 08:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956294656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76391765795405824,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092556566448959488,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777173027000,"timestamp_ms":1777173027000,"timestamp_seconds":1777173027,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c458b8"} 
[2026-04-26 08:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-26 08:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956294656001,"66":11721,"109":206,"85":15104,"24":8,"16":76391765795405824,"45":9092556566448959488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 08:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956294656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:40:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 08:40:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76391765795405824,"km_value":76391765795405.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092556566448959488,"description":"Unknown IO ID 45"} 
[2026-04-26 08:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956294656001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9092556566448959488}} 
[2026-04-26 08:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:40:31] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:40:31] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:40:40] local.INFO: TCP Data received {"connection_id":55218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:40:40] local.INFO: Processing buffer {"connection_id":55218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:40:40] local.INFO: IMEI packet received {"connection_id":55218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":55218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:40:46] local.INFO: TCP Data received {"connection_id":55218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:40:46] local.INFO: Processing buffer {"connection_id":55218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:40:46] local.INFO: IMEI packet received {"connection_id":55218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 08:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":55218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:40:57] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:40:57] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:40:57] local.INFO: Packet analysis {"connection_id":54551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:40:57] local.INFO: Extracted packet for processing {"connection_id":54551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:40:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:40:57] 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-04-26 08: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-04-26 08:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:40:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":54551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:40:57] local.INFO: GPS data processed {"connection_id":54551,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:40:57] local.INFO: Acknowledgment sent {"connection_id":54551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:41:02] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c45ca0012d7e300005d35768000a003108..."} 
[2026-04-26 08:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c45ca0012d7e300005d35768000a003108..."} 
[2026-04-26 08:41:02] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c45ca0012d7e300005d35768000a003108..."} 
[2026-04-26 08:41:02] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c4"} 
[2026-04-26 08:41:02] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c4"} 
[2026-04-26 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763244544,"raw_latitude":97736552,"longitude_deg":76.3244544,"latitude_deg":9.7736552,"altitude":10,"angle":49,"satellites":8,"speed":10,"hex_longitude":"2d7e3000","hex_latitude":"05d35768","is_valid_coordinates":true} 
[2026-04-26 08:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956294912001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76391774385340416,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092626935193188352,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777173028000,"timestamp_ms":1777173028000,"timestamp_seconds":1777173028,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c45ca0"} 
[2026-04-26 08:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-26 08:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956294912001,"66":11721,"109":206,"85":15104,"24":10,"16":76391774385340416,"45":9092626935193188352},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 08:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956294912001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:41:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 08:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76391774385340416,"km_value":76391774385340.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092626935193188352,"description":"Unknown IO ID 45"} 
[2026-04-26 08:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956294912001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9092626935193188352}} 
[2026-04-26 08:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:41:02] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:41:02] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:41:14] local.INFO: TCP Data received {"connection_id":54552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:41:14] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:41:14] local.INFO: IMEI packet received {"connection_id":54552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":54552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:41:20] local.INFO: TCP Data received {"connection_id":54552,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:41:20] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:41:20] local.INFO: IMEI packet received {"connection_id":54552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":54552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:41:20] local.INFO: TCP Data received {"connection_id":54552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:41:20] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:41:20] local.INFO: Packet analysis {"connection_id":54552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:41:20] local.INFO: Extracted packet for processing {"connection_id":54552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:41:20] 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-04-26 08: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-04-26 08:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:41: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-04-26 08:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:41:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":54552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:41:20] local.INFO: GPS data processed {"connection_id":54552,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:41:20] local.INFO: Acknowledgment sent {"connection_id":54552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:41:33] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c54ae8012d7e64c005d304d8000400cf08..."} 
[2026-04-26 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c54ae8012d7e64c005d304d8000400cf08..."} 
[2026-04-26 08:41:33] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c54ae8012d7e64c005d304d8000400cf08..."} 
[2026-04-26 08:41:33] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c5"} 
[2026-04-26 08:41:33] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c5"} 
[2026-04-26 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763258048,"raw_latitude":97715416,"longitude_deg":76.3258048,"latitude_deg":9.7715416,"altitude":4,"angle":207,"satellites":8,"speed":7,"hex_longitude":"2d7e64c0","hex_latitude":"05d304d8","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956310272001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76393316278599680,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107685846441910272,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777173089000,"timestamp_ms":1777173089000,"timestamp_seconds":1777173089,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c54ae8"} 
[2026-04-26 08:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 08:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956310272001,"66":13646,"109":206,"85":15104,"24":7,"16":76393316278599680,"45":9107685846441910272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956310272001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:41:33] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 08:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76393316278599680,"km_value":76393316278599.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107685846441910272,"description":"Unknown IO ID 45"} 
[2026-04-26 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956310272001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107685846441910272}} 
[2026-04-26 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:41:33] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:41:33] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:41:51] local.INFO: TCP Data received {"connection_id":54552,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:41:51] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:41:51] local.INFO: Packet analysis {"connection_id":54552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:41:51] local.INFO: Extracted packet for processing {"connection_id":54552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:41:51] 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-04-26 08: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-04-26 08:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:41: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-04-26 08:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:41:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:41:51] local.INFO: GPS data processed {"connection_id":54552,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:41:51] local.INFO: Acknowledgment sent {"connection_id":54552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:42:03] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c54ed0012d7e644005d30440000400df08..."} 
[2026-04-26 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c54ed0012d7e644005d30440000400df08..."} 
[2026-04-26 08:42:03] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c54ed0012d7e644005d30440000400df08..."} 
[2026-04-26 08:42:03] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c5"} 
[2026-04-26 08:42:03] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c5"} 
[2026-04-26 08:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763257920,"raw_latitude":97715264,"longitude_deg":76.325792,"latitude_deg":9.7715264,"altitude":4,"angle":223,"satellites":8,"speed":8,"hex_longitude":"2d7e6440","hex_latitude":"05d30440","is_valid_coordinates":true} 
[2026-04-26 08:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956310784001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76393329163501568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107615477697665024,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777173090000,"timestamp_ms":1777173090000,"timestamp_seconds":1777173090,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c54ed0"} 
[2026-04-26 08:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 08:42:03] 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-04-26 08:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956310784001,"66":13646,"109":206,"85":15104,"24":8,"16":76393329163501568,"45":9107615477697665024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 08:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956310784001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:42:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 08:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76393329163501568,"km_value":76393329163501.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107615477697665024,"description":"Unknown IO ID 45"} 
[2026-04-26 08:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956310784001,"power":13646,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9107615477697665024}} 
[2026-04-26 08:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:42:03] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:42:03] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:42:14] local.INFO: TCP Data received {"connection_id":55219,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:42:14] local.INFO: Processing buffer {"connection_id":55219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:42:14] local.INFO: IMEI packet received {"connection_id":55219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":55219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:42:20] local.INFO: TCP Data received {"connection_id":55219,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:42:20] local.INFO: Processing buffer {"connection_id":55219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:42:20] local.INFO: IMEI packet received {"connection_id":55219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":55219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:42:20] local.INFO: TCP Data received {"connection_id":55219,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:42:20] local.INFO: Processing buffer {"connection_id":55219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:42:20] local.INFO: Packet analysis {"connection_id":55219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:42:20] local.INFO: Extracted packet for processing {"connection_id":55219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:42:20] 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-04-26 08:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08: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-04-26 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":55219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:42:20] local.INFO: GPS data processed {"connection_id":55219,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:42:20] local.INFO: Acknowledgment sent {"connection_id":55219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:42:35] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c552b8012d7e634005d303c0000400ee08..."} 
[2026-04-26 08:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c552b8012d7e634005d303c0000400ee08..."} 
[2026-04-26 08:42:35] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c552b8012d7e634005d303c0000400ee08..."} 
[2026-04-26 08:42:35] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c5"} 
[2026-04-26 08:42:35] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c5"} 
[2026-04-26 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":763257664,"raw_latitude":97715136,"longitude_deg":76.3257664,"latitude_deg":9.7715136,"altitude":4,"angle":238,"satellites":8,"speed":9,"hex_longitude":"2d7e6340","hex_latitude":"05d303c0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956311040001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76393342048403456,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107474740209270784,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777173091000,"timestamp_ms":1777173091000,"timestamp_seconds":1777173091,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c552b8"} 
[2026-04-26 08:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 08:42:35] 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-04-26 08: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-04-26 08:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956311040001,"66":12461,"109":206,"85":15104,"24":9,"16":76393342048403456,"45":9107474740209270784},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 08:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956311040001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:42:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 08:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76393342048403456,"km_value":76393342048403.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107474740209270784,"description":"Unknown IO ID 45"} 
[2026-04-26 08:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956311040001,"power":12461,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9107474740209270784}} 
[2026-04-26 08:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:42:35] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:42:35] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:42:52] local.INFO: TCP Data received {"connection_id":55219,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:42:52] local.INFO: Processing buffer {"connection_id":55219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:42:52] local.INFO: Packet analysis {"connection_id":55219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:42:52] local.INFO: Extracted packet for processing {"connection_id":55219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 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-04-26 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:42:52] 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-04-26 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-04-26 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-04-26 08:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:42: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-04-26 08:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:42:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:42:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:42:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":55219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:42:52] local.INFO: GPS data processed {"connection_id":55219,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:42:52] local.INFO: Acknowledgment sent {"connection_id":55219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:43:06] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c68368012d7e0bc005d28f980000010c0b..."} 
[2026-04-26 08:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c68368012d7e0bc005d28f980000010c0b..."} 
[2026-04-26 08:43:06] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c68368012d7e0bc005d28f980000010c0b..."} 
[2026-04-26 08:43:06] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:43:06] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763235264,"raw_latitude":97685400,"longitude_deg":76.3235264,"latitude_deg":9.76854,"altitude":0,"angle":268,"satellites":11,"speed":17,"hex_longitude":"2d7e0bc0","hex_latitude":"05d28f98","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956330752001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76395309143425024,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083830842157914112,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777173169000,"timestamp_ms":1777173169000,"timestamp_seconds":1777173169,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c68368"} 
[2026-04-26 08:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-26 08:43:06] 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-04-26 08: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-04-26 08:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956330752001,"66":13656,"116":206,"85":15104,"24":17,"16":76395309143425024,"45":9083830842157914112},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 08:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956330752001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:43:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 08:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76395309143425024,"km_value":76395309143425.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083830842157914112,"description":"Unknown IO ID 45"} 
[2026-04-26 08:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956330752001,"power":13656,"unknown_116":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9083830842157914112}} 
[2026-04-26 08:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:43:06] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:43:06] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:43:14] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:43:14] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:43:14] local.INFO: IMEI packet received {"connection_id":54554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":54554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:43:20] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:43:20] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:43:20] local.INFO: IMEI packet received {"connection_id":54554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":54554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:43:20] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:43:20] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:43:20] local.INFO: Packet analysis {"connection_id":54554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:43:20] local.INFO: Extracted packet for processing {"connection_id":54554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:43:20] 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-04-26 08: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-04-26 08:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:43: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-04-26 08:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:43:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:43:20] local.INFO: GPS data processed {"connection_id":54554,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:43:20] local.INFO: Acknowledgment sent {"connection_id":54554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:43:38] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c68f20012d7e07c005d290d0000001190b..."} 
[2026-04-26 08:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c68f20012d7e07c005d290d0000001190b..."} 
[2026-04-26 08:43:38] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c68f20012d7e07c005d290d0000001190b..."} 
[2026-04-26 08:43:38] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:43:38] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763234240,"raw_latitude":97685712,"longitude_deg":76.323424,"latitude_deg":9.7685712,"altitude":0,"angle":281,"satellites":11,"speed":6,"hex_longitude":"2d7e07c0","hex_latitude":"05d290d0","is_valid_coordinates":true} 
[2026-04-26 08:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956331264001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76395356388065280,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082564204762732544,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777173172000,"timestamp_ms":1777173172000,"timestamp_seconds":1777173172,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c68f20"} 
[2026-04-26 08:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 08:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956331264001,"66":13798,"116":206,"85":15104,"24":6,"16":76395356388065280,"45":9082564204762732544},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 08:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956331264001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:43:38] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 08:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76395356388065280,"km_value":76395356388065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082564204762732544,"description":"Unknown IO ID 45"} 
[2026-04-26 08:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956331264001,"power":13798,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9082564204762732544}} 
[2026-04-26 08:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:43:38] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:43:38] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:43:52] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:43:52] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:43:52] local.INFO: Packet analysis {"connection_id":54554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:43:52] local.INFO: Extracted packet for processing {"connection_id":54554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:43:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:43:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:43:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:43:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:43:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:43:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:43:52] 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-04-26 08: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-04-26 08:43:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:43:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:43:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:43:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:43:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:43: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-04-26 08:43:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:43:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:43:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:43:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:43:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:43:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:43:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:43:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:43:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:43:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:43:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:43:52] local.INFO: DEBUG: GPS processor result {"connection_id":54554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:43:52] local.INFO: GPS data processed {"connection_id":54554,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:43:52] local.INFO: Acknowledgment sent {"connection_id":54554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:44:09] local.INFO: TCP Data received {"connection_id":54302,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c6aa78012d7dfec005d291200000010d0b..."} 
[2026-04-26 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c6aa78012d7dfec005d291200000010d0b..."} 
[2026-04-26 08:44:09] local.INFO: Processing buffer {"connection_id":54302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c6aa78012d7dfec005d291200000010d0b..."} 
[2026-04-26 08:44:09] local.INFO: Packet analysis {"connection_id":54302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:44:09] local.INFO: Extracted packet for processing {"connection_id":54302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":763231936,"raw_latitude":97685792,"longitude_deg":76.3231936,"latitude_deg":9.7685792,"altitude":0,"angle":269,"satellites":11,"speed":22,"hex_longitude":"2d7dfec0","hex_latitude":"05d29120","is_valid_coordinates":true} 
[2026-04-26 08:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956332032001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76395468057214976,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9081438304855969792,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777173179000,"timestamp_ms":1777173179000,"timestamp_seconds":1777173179,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c6aa78"} 
[2026-04-26 08:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956332032001,"66":13646,"116":206,"85":15104,"24":22,"16":76395468057214976,"45":9081438304855969792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956332032001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:44:09] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 08:44:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76395468057214976,"km_value":76395468057214.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9081438304855969792,"description":"Unknown IO ID 45"} 
[2026-04-26 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956332032001,"power":13646,"unknown_116":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9081438304855969792}} 
[2026-04-26 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":54302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:44:09] local.INFO: GPS data processed {"connection_id":54302,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:44:09] local.INFO: Acknowledgment sent {"connection_id":54302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:44:20] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:44:20] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:44:20] local.INFO: IMEI packet received {"connection_id":54303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:44:25] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:44:25] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:44:25] local.INFO: IMEI packet received {"connection_id":54303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":54303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:44:25] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:44:25] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:44:25] local.INFO: Packet analysis {"connection_id":54303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:44:25] local.INFO: Extracted packet for processing {"connection_id":54303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:44:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:44:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:44: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-04-26 08:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:44:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:44:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:44:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":54303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:44:25] local.INFO: GPS data processed {"connection_id":54303,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:44:25] local.INFO: Acknowledgment sent {"connection_id":54303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:44:30] local.INFO: TCP Data received {"connection_id":54303,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:44:30] local.INFO: Processing buffer {"connection_id":54303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c333c0012cb299c007822ce0004b00122e..."} 
[2026-04-26 08:44:30] local.INFO: Packet analysis {"connection_id":54303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:44:30] local.INFO: Extracted packet for processing {"connection_id":54303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c3"} 
[2026-04-26 08:44:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956198656001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777172952000,"timestamp_ms":1777172952000,"timestamp_seconds":1777172952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c333c0"} 
[2026-04-26 08:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 08:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:44: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-04-26 08:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956198656001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956198656001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:44:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956198656001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":54303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:44:30] local.INFO: GPS data processed {"connection_id":54303,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:44:30] local.INFO: Acknowledgment sent {"connection_id":54303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:44:34] local.INFO: TCP Data received {"connection_id":54487,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:44:34] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:44:34] local.INFO: IMEI packet received {"connection_id":54487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":54487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:44:39] local.INFO: TCP Data received {"connection_id":54487,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:44:39] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:44:39] local.INFO: IMEI packet received {"connection_id":54487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":54487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:44:40] local.INFO: TCP Data received {"connection_id":54487,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c6dd40012d7ddb8005d292180000010c0b..."} 
[2026-04-26 08:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c6dd40012d7ddb8005d292180000010c0b..."} 
[2026-04-26 08:44:40] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c6dd40012d7ddb8005d292180000010c0b..."} 
[2026-04-26 08:44:40] local.INFO: Packet analysis {"connection_id":54487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:44:40] local.INFO: Extracted packet for processing {"connection_id":54487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c6"} 
[2026-04-26 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763222912,"raw_latitude":97686040,"longitude_deg":76.3222912,"latitude_deg":9.768604,"altitude":0,"angle":268,"satellites":11,"speed":29,"hex_longitude":"2d7ddb80","hex_latitude":"05d29218","is_valid_coordinates":true} 
[2026-04-26 08:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956333824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76395901848911872,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078905030065594368,"note":"Value kept but may cause issues"} 
[2026-04-26 08:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777173192000,"timestamp_ms":1777173192000,"timestamp_seconds":1777173192,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c6dd40"} 
[2026-04-26 08:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 08:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956333824001,"66":13830,"116":206,"85":15104,"24":29,"16":76395901848911872,"45":9078905030065594368},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 08:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956333824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:44:40] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 08:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76395901848911872,"km_value":76395901848911.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078905030065594368,"description":"Unknown IO ID 45"} 
[2026-04-26 08:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956333824001,"power":13830,"unknown_116":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9078905030065594368}} 
[2026-04-26 08:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":54487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:44:40] local.INFO: GPS data processed {"connection_id":54487,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:44:40] local.INFO: Acknowledgment sent {"connection_id":54487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:45:11] local.INFO: TCP Data received {"connection_id":54487,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c71bc0012d7db74005d28fc80000010a0d..."} 
[2026-04-26 08:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c71bc0012d7db74005d28fc80000010a0d..."} 
[2026-04-26 08:45:11] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c71bc0012d7db74005d28fc80000010a0d..."} 
[2026-04-26 08:45:11] local.INFO: Packet analysis {"connection_id":54487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:45:11] local.INFO: Extracted packet for processing {"connection_id":54487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:45:11] local.INFO: GPS Element Parsed {"raw_longitude":763213632,"raw_latitude":97685448,"longitude_deg":76.3213632,"latitude_deg":9.7685448,"altitude":0,"angle":266,"satellites":13,"speed":17,"hex_longitude":"2d7db740","hex_latitude":"05d28fc8","is_valid_coordinates":true} 
[2026-04-26 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956337152001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76396344230543360,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9068983037136607232,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777173208000,"timestamp_ms":1777173208000,"timestamp_seconds":1777173208,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c71bc0"} 
[2026-04-26 08:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:45:11] 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-04-26 08:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":24,"raw_value":5629508139941888,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630360375296,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3329988609,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2404909056,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2952867198,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147865231,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911078,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3533676544,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":250,"raw_value":-5764276027748514350,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.WARNING: Large IO value detected {"io_id":183,"raw_value":576460756028555286,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,116,85,24,241,157,16,105,170,45,192,145,11,10,66,143,144,131,1,240,88,227,199,210,4,113,205,22,119,18,112,239,53,2,15,5,20,250,183],"length":528,"final_offset":658,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-04-26 08:45:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":294716362784768,"timestamp_seconds":294716362784.768,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 08:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956337152001,"66":13602,"116":206,"85":15104,"24":17,"16":76396344230543360,"45":9068983037136607232},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 08:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956337152001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:45:11] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 08:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76396344230543360,"km_value":76396344230543.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9068983037136607232,"description":"Unknown IO ID 45"} 
[2026-04-26 08:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956337152001,"power":13602,"unknown_116":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9068983037136607232}} 
[2026-04-26 08:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":54487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:45:11] local.INFO: GPS data processed {"connection_id":54487,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:45:11] local.INFO: Acknowledgment sent {"connection_id":54487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:45:15] local.INFO: TCP Data received {"connection_id":54555,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:45:15] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:45:15] local.INFO: IMEI packet received {"connection_id":54555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":54555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:45:20] local.INFO: TCP Data received {"connection_id":54555,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:45:20] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:45:20] local.INFO: IMEI packet received {"connection_id":54555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":54555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:45:22] local.INFO: TCP Data received {"connection_id":54555,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:45:22] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:45:22] local.INFO: Packet analysis {"connection_id":54555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:45:22] local.INFO: Extracted packet for processing {"connection_id":54555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:45:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 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-04-26 08:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:45:22] 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-04-26 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-04-26 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-04-26 08:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:45: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-04-26 08:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:45:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:45:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":54555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:45:22] local.INFO: GPS data processed {"connection_id":54555,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:45:22] local.INFO: Acknowledgment sent {"connection_id":54555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:45:42] local.INFO: TCP Data received {"connection_id":54487,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c90408012d7d394005d31bf80000004212..."} 
[2026-04-26 08:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c90408012d7d394005d31bf80000004212..."} 
[2026-04-26 08:45:42] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c90408012d7d394005d31bf80000004212..."} 
[2026-04-26 08:45:42] local.INFO: Packet analysis {"connection_id":54487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c9"} 
[2026-04-26 08:45:42] local.INFO: Extracted packet for processing {"connection_id":54487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c9"} 
[2026-04-26 08:45:42] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97721336,"longitude_deg":76.3181376,"latitude_deg":9.7721336,"altitude":0,"angle":66,"satellites":18,"speed":6,"hex_longitude":"2d7d3940","hex_latitude":"05d31bf8","is_valid_coordinates":true} 
[2026-04-26 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76399616995622912,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353430140928,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:42] 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-04-26 08:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777173333000,"timestamp_ms":1777173333000,"timestamp_seconds":1777173333,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c90408"} 
[2026-04-26 08:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:45:42] 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-04-26 08:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 08:45:42] 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-04-26 08:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956372992001,"66":13765,"117":206,"85":15104,"24":6,"16":76399616995622912,"45":9023243353430140928},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:45:42] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:45:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76399616995622912,"km_value":76399616995622.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353430140928,"description":"Unknown IO ID 45"} 
[2026-04-26 08:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956372992001,"power":13765,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9023243353430140928}} 
[2026-04-26 08:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":54487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:45:42] local.INFO: GPS data processed {"connection_id":54487,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:45:42] local.INFO: Acknowledgment sent {"connection_id":54487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:45:51] local.INFO: TCP Data received {"connection_id":55221,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:45:51] local.INFO: Processing buffer {"connection_id":55221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:45:51] local.INFO: IMEI packet received {"connection_id":55221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":55221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:45:55] local.INFO: TCP Data received {"connection_id":54555,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:45:55] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:45:55] local.INFO: Packet analysis {"connection_id":54555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:45:55] local.INFO: Extracted packet for processing {"connection_id":54555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 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-04-26 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:45: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-04-26 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-04-26 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-04-26 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:45:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:45:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:45:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":54555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:45:55] local.INFO: GPS data processed {"connection_id":54555,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:45:55] local.INFO: Acknowledgment sent {"connection_id":54555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:46:13] local.INFO: TCP Data received {"connection_id":54487,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c907f0012d7d3a4005d31c200000005113..."} 
[2026-04-26 08:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c907f0012d7d3a4005d31c200000005113..."} 
[2026-04-26 08:46:13] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c907f0012d7d3a4005d31c200000005113..."} 
[2026-04-26 08:46:13] local.INFO: Packet analysis {"connection_id":54487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c9"} 
[2026-04-26 08:46:13] local.INFO: Extracted packet for processing {"connection_id":54487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c9"} 
[2026-04-26 08:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":97721376,"longitude_deg":76.3181632,"latitude_deg":9.7721376,"altitude":0,"angle":81,"satellites":19,"speed":7,"hex_longitude":"2d7d3a40","hex_latitude":"05d31c20","is_valid_coordinates":true} 
[2026-04-26 08:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956373248001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76399629880524800,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722174339072,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777173334000,"timestamp_ms":1777173334000,"timestamp_seconds":1777173334,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c907f0"} 
[2026-04-26 08:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:46:13] 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-04-26 08:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-26 08:46:13] 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-04-26 08:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956373248001,"66":13765,"117":206,"85":15104,"24":7,"16":76399629880524800,"45":9023313722174339072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956373248001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:46:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:46:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76399629880524800,"km_value":76399629880524.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722174339072,"description":"Unknown IO ID 45"} 
[2026-04-26 08:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956373248001,"power":13765,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9023313722174339072}} 
[2026-04-26 08:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":54487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:46:13] local.INFO: GPS data processed {"connection_id":54487,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:46:13] local.INFO: Acknowledgment sent {"connection_id":54487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:46:14] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:46:14] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:46:14] local.INFO: IMEI packet received {"connection_id":54304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:46:20] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:46:20] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:46:20] local.INFO: IMEI packet received {"connection_id":54304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:46:20] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:46:20] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:46:20] local.INFO: Packet analysis {"connection_id":54304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:46:20] local.INFO: Extracted packet for processing {"connection_id":54304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:46: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-04-26 08: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-04-26 08:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:46: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-04-26 08:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:46:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":54304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:46:20] local.INFO: GPS data processed {"connection_id":54304,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:46:20] local.INFO: Acknowledgment sent {"connection_id":54304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:46:34] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:34] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:34] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:46:35] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:35] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:35] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:46:39] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:39] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:46:39] local.INFO: IMEI packet received {"connection_id":54305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":54305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:46:40] local.INFO: TCP Data received {"connection_id":54305,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c90bd8012d7d3b0005d31c100000006213..."} 
[2026-04-26 08:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c90bd8012d7d3b0005d31c100000006213..."} 
[2026-04-26 08:46:40] local.INFO: Processing buffer {"connection_id":54305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c90bd8012d7d3b0005d31c100000006213..."} 
[2026-04-26 08:46:40] local.INFO: Packet analysis {"connection_id":54305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c9"} 
[2026-04-26 08:46:40] local.INFO: Extracted packet for processing {"connection_id":54305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c9"} 
[2026-04-26 08:46:40] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97721360,"longitude_deg":76.3181824,"latitude_deg":9.772136,"altitude":0,"angle":98,"satellites":19,"speed":8,"hex_longitude":"2d7d3b00","hex_latitude":"05d31c10","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956373504001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76399642765426688,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023595197151059968,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46: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-04-26 08:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777173335000,"timestamp_ms":1777173335000,"timestamp_seconds":1777173335,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c90bd8"} 
[2026-04-26 08:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:46:40] 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-04-26 08:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-26 08:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956373504001,"66":13798,"117":206,"85":15104,"24":8,"16":76399642765426688,"45":9023595197151059968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956373504001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:46:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:46:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76399642765426688,"km_value":76399642765426.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023595197151059968,"description":"Unknown IO ID 45"} 
[2026-04-26 08:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956373504001,"power":13798,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9023595197151059968}} 
[2026-04-26 08:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":54305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:46:40] local.INFO: GPS data processed {"connection_id":54305,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:46:40] local.INFO: Acknowledgment sent {"connection_id":54305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:46:51] local.INFO: TCP Data received {"connection_id":54304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:46:51] local.INFO: Processing buffer {"connection_id":54304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:46:51] local.INFO: Packet analysis {"connection_id":54304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:46:51] local.INFO: Extracted packet for processing {"connection_id":54304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:46: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-04-26 08: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-04-26 08:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:46: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-04-26 08:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:46:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":54304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:46:52] local.INFO: GPS data processed {"connection_id":54304,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:46:52] local.INFO: Acknowledgment sent {"connection_id":54304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:47:14] local.INFO: TCP Data received {"connection_id":55222,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:47:14] local.INFO: Processing buffer {"connection_id":55222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:47:14] local.INFO: IMEI packet received {"connection_id":55222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":55222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:47:20] local.INFO: TCP Data received {"connection_id":55222,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:47:20] local.INFO: Processing buffer {"connection_id":55222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:47:20] local.INFO: IMEI packet received {"connection_id":55222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":55222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:47:20] local.INFO: TCP Data received {"connection_id":55222,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:47:20] local.INFO: Processing buffer {"connection_id":55222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:47:20] local.INFO: Packet analysis {"connection_id":55222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:47:20] local.INFO: Extracted packet for processing {"connection_id":55222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:47: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-04-26 08: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-04-26 08:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:47:20] 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-04-26 08:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:47:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":55222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:47:20] local.INFO: GPS data processed {"connection_id":55222,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:47:20] local.INFO: Acknowledgment sent {"connection_id":55222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:47:52] local.INFO: TCP Data received {"connection_id":55222,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:47:52] local.INFO: Processing buffer {"connection_id":55222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:47:52] local.INFO: Packet analysis {"connection_id":55222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:47:52] local.INFO: Extracted packet for processing {"connection_id":55222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:47:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:47:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:47: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-04-26 08: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-04-26 08:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:47: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-04-26 08:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:47:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:47:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:47:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":55222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:47:52] local.INFO: GPS data processed {"connection_id":55222,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:47:52] local.INFO: Acknowledgment sent {"connection_id":55222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:48:14] local.INFO: TCP Data received {"connection_id":54557,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:48:14] local.INFO: Processing buffer {"connection_id":54557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:48:14] local.INFO: IMEI packet received {"connection_id":54557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":54557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:48:20] local.INFO: TCP Data received {"connection_id":54557,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:48:20] local.INFO: Processing buffer {"connection_id":54557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:48:20] local.INFO: IMEI packet received {"connection_id":54557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":54557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:48:20] local.INFO: TCP Data received {"connection_id":54557,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:48:20] local.INFO: Processing buffer {"connection_id":54557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:48:20] local.INFO: Packet analysis {"connection_id":54557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:48:20] local.INFO: Extracted packet for processing {"connection_id":54557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:48: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-04-26 08: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-04-26 08:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:48:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:48:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:48:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":54557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:48:21] local.INFO: GPS data processed {"connection_id":54557,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:48:21] local.INFO: Acknowledgment sent {"connection_id":54557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:48:52] local.INFO: TCP Data received {"connection_id":54557,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:48:52] local.INFO: Processing buffer {"connection_id":54557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:48:52] local.INFO: Packet analysis {"connection_id":54557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:48:52] local.INFO: Extracted packet for processing {"connection_id":54557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:48: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-04-26 08: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-04-26 08:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:48: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-04-26 08:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":54557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:48:52] local.INFO: GPS data processed {"connection_id":54557,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:48:52] local.INFO: Acknowledgment sent {"connection_id":54557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:49:20] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:49:20] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:49:20] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:49:25] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:49:25] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:49:25] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:49:26] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:49:26] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:49:26] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:49:26] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:49:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:49:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:49:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:49:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:49: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-04-26 08: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-04-26 08:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:49: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-04-26 08:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:49:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:49:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:49:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:49:26] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:49:26] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:49:30] local.INFO: TCP Data received {"connection_id":54490,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:49:30] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7c7cb88012cb299c007822ce0004b00122f..."} 
[2026-04-26 08:49:30] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:49:30] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7c7"} 
[2026-04-26 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956275712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777173253000,"timestamp_ms":1777173253000,"timestamp_seconds":1777173253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7c7cb88"} 
[2026-04-26 08:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 08:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:49: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-04-26 08:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956275712001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956275712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:49:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956275712001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:49:30] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:49:30] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:50:14] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:50:14] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:50:14] local.INFO: IMEI packet received {"connection_id":54306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":54306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:50:20] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:50:20] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:50:20] local.INFO: IMEI packet received {"connection_id":54306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":54306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:50:21] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:50:21] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:50:21] local.INFO: Packet analysis {"connection_id":54306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:50:21] local.INFO: Extracted packet for processing {"connection_id":54306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:50:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:50:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:50: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-04-26 08: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-04-26 08:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:50: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-04-26 08:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:50:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:50:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:50:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":54306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:50:21] local.INFO: GPS data processed {"connection_id":54306,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:50:21] local.INFO: Acknowledgment sent {"connection_id":54306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:50:52] local.INFO: TCP Data received {"connection_id":54306,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:50:52] local.INFO: Processing buffer {"connection_id":54306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:50:52] local.INFO: Packet analysis {"connection_id":54306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:50:52] local.INFO: Extracted packet for processing {"connection_id":54306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:50:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:50:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:50:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:50:52] 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-04-26 08: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-04-26 08:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:50: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-04-26 08:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:50:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:50:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:50:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":54306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:50:52] local.INFO: GPS data processed {"connection_id":54306,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:50:52] local.INFO: Acknowledgment sent {"connection_id":54306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:51:14] local.INFO: TCP Data received {"connection_id":54491,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:51:14] local.INFO: Processing buffer {"connection_id":54491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:51:14] local.INFO: IMEI packet received {"connection_id":54491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":54491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:51:20] local.INFO: TCP Data received {"connection_id":54491,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:51:20] local.INFO: Processing buffer {"connection_id":54491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:51:20] local.INFO: IMEI packet received {"connection_id":54491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":54491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:51:20] local.INFO: TCP Data received {"connection_id":54491,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:51:20] local.INFO: Processing buffer {"connection_id":54491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:51:20] local.INFO: Packet analysis {"connection_id":54491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:51:20] local.INFO: Extracted packet for processing {"connection_id":54491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:51: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-04-26 08: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-04-26 08:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:51: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-04-26 08:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:51:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":54491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:51:20] local.INFO: GPS data processed {"connection_id":54491,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:51:20] local.INFO: Acknowledgment sent {"connection_id":54491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:51:39] local.INFO: TCP Data received {"connection_id":54558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:51:39] local.INFO: Processing buffer {"connection_id":54558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:51:39] local.INFO: IMEI packet received {"connection_id":54558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":54558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:51:44] local.INFO: TCP Data received {"connection_id":54558,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54558,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:51:44] local.INFO: Processing buffer {"connection_id":54558,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:51:44] local.INFO: IMEI packet received {"connection_id":54558,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":54558,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:51:45] local.INFO: TCP Data received {"connection_id":54558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ce14e8012d7d370005d28d800000010a22..."} 
[2026-04-26 08:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ce14e8012d7d370005d28d800000010a22..."} 
[2026-04-26 08:51:45] local.INFO: Processing buffer {"connection_id":54558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ce14e8012d7d370005d28d800000010a22..."} 
[2026-04-26 08:51:45] local.INFO: Packet analysis {"connection_id":54558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:51:45] local.INFO: Extracted packet for processing {"connection_id":54558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97684864,"longitude_deg":76.31808,"latitude_deg":9.7684864,"altitude":0,"angle":266,"satellites":34,"speed":2,"hex_longitude":"2d7d3700","hex_latitude":"05d28d80","is_valid_coordinates":true} 
[2026-04-26 08:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956453120001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76401463831560192,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303374204928,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:45] 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-04-26 08:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777173665000,"timestamp_ms":1777173665000,"timestamp_seconds":1777173665,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ce14e8"} 
[2026-04-26 08:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 08:51:45] 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-04-26 08:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":54558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":54558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":54558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956453120001,"66":13624,"24":2,"16":76401463831560192,"45":9023806303374204928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-04-26 08:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956453120001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76401463831560192,"km_value":76401463831560.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303374204928,"description":"Unknown IO ID 45"} 
[2026-04-26 08:51:45] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":454956453120001,"power":13624,"ignition":2,"odometer":null,"unknown_45":9023806303374204928}} 
[2026-04-26 08:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":54558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:51:45] local.INFO: GPS data processed {"connection_id":54558,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:51:45] local.INFO: Acknowledgment sent {"connection_id":54558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:51:46] local.INFO: TCP Data received {"connection_id":54492,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:51:46] local.INFO: Processing buffer {"connection_id":54492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:51:46] local.INFO: IMEI packet received {"connection_id":54492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":54492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:51:51] local.INFO: TCP Data received {"connection_id":54491,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:51:51] local.INFO: Processing buffer {"connection_id":54491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:51:51] local.INFO: Packet analysis {"connection_id":54491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:51:51] local.INFO: Extracted packet for processing {"connection_id":54491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:51: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-04-26 08: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-04-26 08:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:51:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":54491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:51:51] local.INFO: GPS data processed {"connection_id":54491,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:51:51] local.INFO: Acknowledgment sent {"connection_id":54491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:52:14] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:52:14] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:52:14] local.INFO: IMEI packet received {"connection_id":54307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:52:16] local.INFO: TCP Data received {"connection_id":54558,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ce20a0012d7d364005d28da80000013023..."} 
[2026-04-26 08:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ce20a0012d7d364005d28da80000013023..."} 
[2026-04-26 08:52:16] local.INFO: Processing buffer {"connection_id":54558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ce20a0012d7d364005d28da80000013023..."} 
[2026-04-26 08:52:16] local.INFO: Packet analysis {"connection_id":54558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:52:16] local.INFO: Extracted packet for processing {"connection_id":54558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:52:16] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":97684904,"longitude_deg":76.3180608,"latitude_deg":9.7684904,"altitude":0,"angle":304,"satellites":35,"speed":6,"hex_longitude":"2d7d3640","hex_latitude":"05d28da8","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956458240001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76401472421494784,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403467403264,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:16] 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-04-26 08:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777173668000,"timestamp_ms":1777173668000,"timestamp_seconds":1777173668,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ce20a0"} 
[2026-04-26 08:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 08:52:16] 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-04-26 08: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-04-26 08:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54558,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956458240001,"66":13613,"117":206,"85":15104,"24":6,"16":76401472421494784,"45":9022680403467403264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956458240001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:52:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:52:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76401472421494784,"km_value":76401472421494.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403467403264,"description":"Unknown IO ID 45"} 
[2026-04-26 08:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956458240001,"power":13613,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9022680403467403264}} 
[2026-04-26 08:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":54558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:52:16] local.INFO: GPS data processed {"connection_id":54558,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:52:16] local.INFO: Acknowledgment sent {"connection_id":54558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:52:20] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:52:20] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:52:20] local.INFO: IMEI packet received {"connection_id":54307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:52:21] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:52:21] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:52:21] local.INFO: Packet analysis {"connection_id":54307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:52:21] local.INFO: Extracted packet for processing {"connection_id":54307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:52: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-04-26 08: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-04-26 08:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:52: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-04-26 08:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:52:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:52:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":54307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:52:21] local.INFO: GPS data processed {"connection_id":54307,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:52:21] local.INFO: Acknowledgment sent {"connection_id":54307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:52:33] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:33] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:33] local.INFO: IMEI packet received {"connection_id":54493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":54493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:52:34] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:34] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:34] local.INFO: IMEI packet received {"connection_id":54493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":54493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:52:39] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:39] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:52:39] local.INFO: IMEI packet received {"connection_id":54493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":54493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:52:39] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ce3428012d7d318005d290480000011c23..."} 
[2026-04-26 08:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ce3428012d7d318005d290480000011c23..."} 
[2026-04-26 08:52:39] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ce3428012d7d318005d290480000011c23..."} 
[2026-04-26 08:52:39] local.INFO: Packet analysis {"connection_id":54493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:52:39] local.INFO: Extracted packet for processing {"connection_id":54493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:52:39] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":97685576,"longitude_deg":76.3179392,"latitude_deg":9.7685576,"altitude":0,"angle":284,"satellites":35,"speed":12,"hex_longitude":"2d7d3180","hex_latitude":"05d29048","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956459008001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76401541140971520,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297234880512,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777173673000,"timestamp_ms":1777173673000,"timestamp_seconds":1777173673,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ce3428"} 
[2026-04-26 08:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:52:39] 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-04-26 08: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-26 08:52:39] 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-04-26 08: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-04-26 08:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956459008001,"66":13493,"117":206,"85":15104,"24":12,"16":76401541140971520,"45":9022469297234880512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956459008001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:52:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76401541140971520,"km_value":76401541140971.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297234880512,"description":"Unknown IO ID 45"} 
[2026-04-26 08:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956459008001,"power":13493,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9022469297234880512}} 
[2026-04-26 08:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":54493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:52:39] local.INFO: GPS data processed {"connection_id":54493,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:52:39] local.INFO: Acknowledgment sent {"connection_id":54493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:52:52] local.INFO: TCP Data received {"connection_id":54307,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:52:52] local.INFO: Processing buffer {"connection_id":54307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:52:52] local.INFO: Packet analysis {"connection_id":54307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:52:52] local.INFO: Extracted packet for processing {"connection_id":54307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:52:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:52:52] 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-04-26 08: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-04-26 08:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:52: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-04-26 08:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:52:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:52:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":54307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:52:52] local.INFO: GPS data processed {"connection_id":54307,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:52:52] local.INFO: Acknowledgment sent {"connection_id":54307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:53:10] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ce3bf8012d7d2fc005d290800000010f23..."} 
[2026-04-26 08:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ce3bf8012d7d2fc005d290800000010f23..."} 
[2026-04-26 08:53:10] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ce3bf8012d7d2fc005d290800000010f23..."} 
[2026-04-26 08:53:10] local.INFO: Packet analysis {"connection_id":54493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:53:10] local.INFO: Extracted packet for processing {"connection_id":54493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:53:10] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97685632,"longitude_deg":76.3178944,"latitude_deg":9.7685632,"altitude":0,"angle":271,"satellites":35,"speed":3,"hex_longitude":"2d7d2fc0","hex_latitude":"05d29080","is_valid_coordinates":true} 
[2026-04-26 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956460288001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76401562615808000,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291095676928,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:10] 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-04-26 08:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777173675000,"timestamp_ms":1777173675000,"timestamp_seconds":1777173675,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ce3bf8"} 
[2026-04-26 08:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:53:10] 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-04-26 08:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 08:53:10] 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-04-26 08:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956460288001,"66":13580,"117":206,"85":15104,"24":3,"16":76401562615808000,"45":9021132291095676928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956460288001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:53:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:53:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76401562615808000,"km_value":76401562615808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291095676928,"description":"Unknown IO ID 45"} 
[2026-04-26 08:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956460288001,"power":13580,"unknown_117":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9021132291095676928}} 
[2026-04-26 08:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":54493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:53:10] local.INFO: GPS data processed {"connection_id":54493,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:53:10] local.INFO: Acknowledgment sent {"connection_id":54493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:53:20] local.INFO: TCP Data received {"connection_id":55225,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:53:20] local.INFO: Processing buffer {"connection_id":55225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:53:20] local.INFO: IMEI packet received {"connection_id":55225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":55225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:53:25] local.INFO: TCP Data received {"connection_id":55225,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:53:25] local.INFO: Processing buffer {"connection_id":55225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:53:25] local.INFO: IMEI packet received {"connection_id":55225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":55225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:53:26] local.INFO: TCP Data received {"connection_id":55225,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:53:26] local.INFO: Processing buffer {"connection_id":55225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:53:26] local.INFO: Packet analysis {"connection_id":55225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:53:26] local.INFO: Extracted packet for processing {"connection_id":55225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:53: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-04-26 08:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:53:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:53:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:53:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":55225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:53:26] local.INFO: GPS data processed {"connection_id":55225,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:53:26] local.INFO: Acknowledgment sent {"connection_id":55225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:53:30] local.INFO: TCP Data received {"connection_id":55225,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:53:30] local.INFO: Processing buffer {"connection_id":55225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:53:30] local.INFO: Packet analysis {"connection_id":55225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:53:30] local.INFO: Extracted packet for processing {"connection_id":55225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:53: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-04-26 08:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:53:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":55225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:53:30] local.INFO: GPS data processed {"connection_id":55225,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:53:30] local.INFO: Acknowledgment sent {"connection_id":55225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:53:34] local.INFO: TCP Data received {"connection_id":55226,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:53:34] local.INFO: Processing buffer {"connection_id":55226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:53:34] local.INFO: IMEI packet received {"connection_id":55226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":55226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:53:39] local.INFO: TCP Data received {"connection_id":55226,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55226,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:53:39] local.INFO: Processing buffer {"connection_id":55226,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:53:39] local.INFO: IMEI packet received {"connection_id":55226,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":55226,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:53:40] local.INFO: TCP Data received {"connection_id":55226,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cea570012d7d120005d290900000010f23..."} 
[2026-04-26 08:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cea570012d7d120005d290900000010f23..."} 
[2026-04-26 08:53:40] local.INFO: Processing buffer {"connection_id":55226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cea570012d7d120005d290900000010f23..."} 
[2026-04-26 08:53:40] local.INFO: Packet analysis {"connection_id":55226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:53:40] local.INFO: Extracted packet for processing {"connection_id":55226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:53:40] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":97685648,"longitude_deg":76.3171328,"latitude_deg":9.7685648,"altitude":0,"angle":271,"satellites":35,"speed":22,"hex_longitude":"2d7d1200","hex_latitude":"05d29090","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956460800001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76401927688028160,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020639709886447616,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53: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-04-26 08:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777173702000,"timestamp_ms":1777173702000,"timestamp_seconds":1777173702,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cea570"} 
[2026-04-26 08:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:53: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-04-26 08: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583086,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3352149752,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":52,"raw_value":6773639954342923861,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1112008676937302016,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3452356609,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2363490305,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636095039055475,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792554702,"corrected_to":0} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3532527616,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4593678021849776131,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-04-26 08:53:40] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,117,85,24,241,16,110,157,52,45,128,144,35,10,66,32,64,141,20,1,240,56,199,210,4,113,205,13,194,60,96,239,53,115,2,15,5,125,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2792554702,"validated":0}]} 
[2026-04-26 08:53:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":298117975179264,"timestamp_seconds":298117975179.264,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 08:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956460800001,"66":13602,"117":206,"85":15104,"24":22,"16":76401927688028160,"45":9020639709886447616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956460800001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:53:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:53:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76401927688028160,"km_value":76401927688028.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020639709886447616,"description":"Unknown IO ID 45"} 
[2026-04-26 08:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956460800001,"power":13602,"unknown_117":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9020639709886447616}} 
[2026-04-26 08:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":55226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:53:40] local.INFO: GPS data processed {"connection_id":55226,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:53:40] local.INFO: Acknowledgment sent {"connection_id":55226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:54:11] local.INFO: TCP Data received {"connection_id":55226,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cedc20012d7cee8005d291000000010923..."} 
[2026-04-26 08:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cedc20012d7cee8005d291000000010923..."} 
[2026-04-26 08:54:11] local.INFO: Processing buffer {"connection_id":55226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cedc20012d7cee8005d291000000010923..."} 
[2026-04-26 08:54:11] local.INFO: Packet analysis {"connection_id":55226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:54:11] local.INFO: Extracted packet for processing {"connection_id":55226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ce"} 
[2026-04-26 08:54:11] local.INFO: GPS Element Parsed {"raw_longitude":763162240,"raw_latitude":97685760,"longitude_deg":76.316224,"latitude_deg":9.768576,"altitude":0,"angle":265,"satellites":35,"speed":23,"hex_longitude":"2d7cee80","hex_latitude":"05d29100","is_valid_coordinates":true} 
[2026-04-26 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956467712001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76402361479725056,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012265829329309696,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777173716000,"timestamp_ms":1777173716000,"timestamp_seconds":1777173716,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cedc20"} 
[2026-04-26 08:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:54: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-04-26 08:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 08:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":55226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":55226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":55226,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956467712001,"66":13765,"117":206,"85":15104,"24":23,"16":76402361479725056,"45":9012265829329309696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 08:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956467712001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:54:11] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 08:54:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76402361479725056,"km_value":76402361479725.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012265829329309696,"description":"Unknown IO ID 45"} 
[2026-04-26 08:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956467712001,"power":13765,"unknown_117":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9012265829329309696}} 
[2026-04-26 08:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":55226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:54:11] local.INFO: GPS data processed {"connection_id":55226,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:54:11] local.INFO: Acknowledgment sent {"connection_id":55226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:54:15] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:54:15] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:54:15] local.INFO: IMEI packet received {"connection_id":54308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":54308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:54:20] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:54:20] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:54:20] local.INFO: IMEI packet received {"connection_id":54308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":54308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:54:20] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:54:20] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:54:20] local.INFO: Packet analysis {"connection_id":54308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:54:20] local.INFO: Extracted packet for processing {"connection_id":54308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:54: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-04-26 08:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:54: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-04-26 08:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:54:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:54:20] local.INFO: GPS data processed {"connection_id":54308,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:54:20] local.INFO: Acknowledgment sent {"connection_id":54308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:54:29] local.INFO: TCP Data received {"connection_id":55227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:29] local.INFO: Processing buffer {"connection_id":55227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:29] local.INFO: IMEI packet received {"connection_id":55227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":55227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:54:29] local.INFO: TCP Data received {"connection_id":55227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:29] local.INFO: Processing buffer {"connection_id":55227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:29] local.INFO: IMEI packet received {"connection_id":55227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":55227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:54:33] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:33] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:33] local.INFO: IMEI packet received {"connection_id":55228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 08:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":55228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:54:34] local.INFO: TCP Data received {"connection_id":55227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:34] local.INFO: Processing buffer {"connection_id":55227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:34] local.INFO: IMEI packet received {"connection_id":55227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":55227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:54:34] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:34] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:34] local.INFO: IMEI packet received {"connection_id":55228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 08:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":55228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:54:39] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:39] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:54:39] local.INFO: IMEI packet received {"connection_id":55228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 08:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":55228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:54:40] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 08:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 08:54:40] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 08:54:40] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 08:54:40] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 08:54:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 08:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114539935901417472,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 08:54:40] 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-04-26 08:54:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 08:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 08:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 08:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 08:54:40] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 08:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 08:54:40] local.ERROR: GPS data processing failed {"connection_id":55228,"error":"No valid data to process"} 
[2026-04-26 08:54:40] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 08:54:42] local.INFO: TCP Data received {"connection_id":55227,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:42] local.INFO: Processing buffer {"connection_id":55227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:54:42] local.INFO: IMEI packet received {"connection_id":55227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":55227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:54:52] local.INFO: TCP Data received {"connection_id":54308,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:54:52] local.INFO: Processing buffer {"connection_id":54308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7cc6350012cb299c007822ce0004900122e..."} 
[2026-04-26 08:54:52] local.INFO: Packet analysis {"connection_id":54308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:54:52] local.INFO: Extracted packet for processing {"connection_id":54308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7cc"} 
[2026-04-26 08:54:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956352768001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777173554000,"timestamp_ms":1777173554000,"timestamp_seconds":1777173554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7cc6350"} 
[2026-04-26 08:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 08:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:54:52] 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-04-26 08:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:54: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-04-26 08:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956352768001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956352768001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:54:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:54:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956352768001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":54308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:54:52] local.INFO: GPS data processed {"connection_id":54308,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:54:52] local.INFO: Acknowledgment sent {"connection_id":54308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:55:12] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d16c60012d196880071fed58004200d507..."} 
[2026-04-26 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d16c60012d196880071fed58004200d507..."} 
[2026-04-26 08:55:12] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d16c60012d196880071fed58004200d507..."} 
[2026-04-26 08:55:12] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d1"} 
[2026-04-26 08:55:12] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d1"} 
[2026-04-26 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119532888,"longitude_deg":75.6639872,"latitude_deg":11.9532888,"altitude":66,"angle":213,"satellites":7,"speed":1,"hex_longitude":"2d196880","hex_latitude":"071fed58","is_valid_coordinates":true} 
[2026-04-26 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114539935901417472,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777173884000,"timestamp_ms":1777173884000,"timestamp_seconds":1777173884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d16c60"} 
[2026-04-26 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-26 08:55:12] 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-04-26 08:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12113,"121":206,"28":31744,"24":1,"16":114539935901417472},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16]} 
[2026-04-26 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-26 08:55:12] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114539935901417472,"km_value":114539935901417.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null}} 
[2026-04-26 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:55:12] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:55:12] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:55:14] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:55:14] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:55:14] local.INFO: IMEI packet received {"connection_id":54309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":54309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:55:20] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:55:20] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:55:20] local.INFO: IMEI packet received {"connection_id":54309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:55:20] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:55:20] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:55:20] local.INFO: Packet analysis {"connection_id":54309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:55:20] local.INFO: Extracted packet for processing {"connection_id":54309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:55:20] 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-04-26 08:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:55: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-04-26 08:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:55: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-04-26 08:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:55:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":54309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:55:20] local.INFO: GPS data processed {"connection_id":54309,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:55:20] local.INFO: Acknowledgment sent {"connection_id":54309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:55:44] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d1be68012d196580071fef40003000d508..."} 
[2026-04-26 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d1be68012d196580071fef40003000d508..."} 
[2026-04-26 08:55:44] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d1be68012d196580071fef40003000d508..."} 
[2026-04-26 08:55:44] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d1"} 
[2026-04-26 08:55:44] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d1"} 
[2026-04-26 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533376,"longitude_deg":75.6639104,"latitude_deg":11.9533376,"altitude":48,"angle":213,"satellites":8,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-04-26 08:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956514304001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114539991735992320,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614881280,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:44] 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-04-26 08:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777173905000,"timestamp_ms":1777173905000,"timestamp_seconds":1777173905,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d1be68"} 
[2026-04-26 08:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-26 08:55:44] 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-04-26 08:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956514304001,"66":12037,"121":206,"28":31744,"24":0,"16":114539991735992320,"45":1830854016614881280},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956514304001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:55:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114539991735992320,"km_value":114539991735992.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614881280,"description":"Unknown IO ID 45"} 
[2026-04-26 08:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956514304001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830854016614881280}} 
[2026-04-26 08:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:55:44] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:55:44] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:55:51] local.INFO: TCP Data received {"connection_id":54309,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:55:51] local.INFO: Processing buffer {"connection_id":54309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:55:51] local.INFO: Packet analysis {"connection_id":54309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:55:51] local.INFO: Extracted packet for processing {"connection_id":54309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:55:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:55:51] 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-04-26 08:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:55: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-04-26 08:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:55:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:55:51] local.INFO: GPS data processed {"connection_id":54309,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:55:51] local.INFO: Acknowledgment sent {"connection_id":54309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:56:14] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:56:14] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:56:14] local.INFO: IMEI packet received {"connection_id":54495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:56:20] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d28d70012d199f40071ff2900036004008..."} 
[2026-04-26 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d28d70012d199f40071ff2900036004008..."} 
[2026-04-26 08:56:20] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d28d70012d199f40071ff2900036004008..."} 
[2026-04-26 08:56:20] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d2"} 
[2026-04-26 08:56:20] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d2"} 
[2026-04-26 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119534224,"longitude_deg":75.6653888,"latitude_deg":11.9534224,"altitude":54,"angle":64,"satellites":8,"speed":10,"hex_longitude":"2d199f40","hex_latitude":"071ff290","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956532736001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114540726175399936,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845631452892493824,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] 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-04-26 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173958000,"timestamp_ms":1777173958000,"timestamp_seconds":1777173958,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d28d70"} 
[2026-04-26 08:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942085613,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505347371237376,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3352432752,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":128,"raw_value":14355683507963136,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3526340609,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4011327543,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3987341312,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84751897088958447,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,238,157,45,128,242,55,8,10,66,78,192,243,56,237,67,1,240,131,199,31,4,113,205,14,20,114,224,239,2,150,7,52,11,206,72],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 08:56:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963257866400038912,"timestamp_seconds":3963257866400039.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 08:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956532736001,"66":14233,"121":206,"28":31744,"24":10,"16":114540726175399936,"45":1845631452892493824},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956532736001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114540726175399936,"km_value":114540726175399.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845631452892493824,"description":"Unknown IO ID 45"} 
[2026-04-26 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956532736001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1845631452892493824}} 
[2026-04-26 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:56:20] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:56:20] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:56:20] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:56:20] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:56:20] local.INFO: IMEI packet received {"connection_id":54495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":54495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:56:20] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:56:20] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:56:20] local.INFO: Packet analysis {"connection_id":54495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:56:20] local.INFO: Extracted packet for processing {"connection_id":54495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:56:20] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:56: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-04-26 08: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-04-26 08:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:56: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-04-26 08:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:56:20] local.INFO: GPS data processed {"connection_id":54495,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:56:20] local.INFO: Acknowledgment sent {"connection_id":54495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:56:51] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d2a4e0012d19a400071ff3c00034005108..."} 
[2026-04-26 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d2a4e0012d19a400071ff3c00034005108..."} 
[2026-04-26 08:56:51] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d2a4e0012d19a400071ff3c00034005108..."} 
[2026-04-26 08:56:51] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d2"} 
[2026-04-26 08:56:51] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d2"} 
[2026-04-26 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119534528,"longitude_deg":75.6655104,"latitude_deg":11.9534528,"altitude":52,"angle":81,"satellites":8,"speed":8,"hex_longitude":"2d19a400","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956533248001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114540786304942080,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771590131712,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:51] 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-04-26 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173964000,"timestamp_ms":1777173964000,"timestamp_seconds":1777173964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d2a4e0"} 
[2026-04-26 08:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-26 08:56: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-04-26 08: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-04-26 08:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956533248001,"66":14265,"121":206,"28":31744,"24":8,"16":114540786304942080,"45":1846264771590131712},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956533248001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114540786304942080,"km_value":114540786304942.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771590131712,"description":"Unknown IO ID 45"} 
[2026-04-26 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956533248001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1846264771590131712}} 
[2026-04-26 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:56:51] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:56:51] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:56:51] local.INFO: TCP Data received {"connection_id":54495,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:56:51] local.INFO: Processing buffer {"connection_id":54495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:56:51] local.INFO: Packet analysis {"connection_id":54495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:56:51] local.INFO: Extracted packet for processing {"connection_id":54495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:56:51] 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-04-26 08:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:56: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-04-26 08: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-04-26 08:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:56: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-04-26 08:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":54495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:56:51] local.INFO: GPS data processed {"connection_id":54495,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:56:51] local.INFO: Acknowledgment sent {"connection_id":54495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:57:10] local.INFO: TCP Data received {"connection_id":54310,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:57:10] local.INFO: Processing buffer {"connection_id":54310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:57:10] local.INFO: IMEI packet received {"connection_id":54310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":54310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:57:14] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:57:14] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:57:14] local.INFO: IMEI packet received {"connection_id":54562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:57:20] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:57:20] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:57:20] local.INFO: IMEI packet received {"connection_id":54562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:57:20] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:57:20] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:57:20] local.INFO: Packet analysis {"connection_id":54562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:57:20] local.INFO: Extracted packet for processing {"connection_id":54562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:57:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:57:20] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:57: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-04-26 08: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-04-26 08:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:57:20] 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-04-26 08:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:57:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":54562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:57:20] local.INFO: GPS data processed {"connection_id":54562,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:57:20] local.INFO: Acknowledgment sent {"connection_id":54562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:57:23] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d3b268012d19c840072020900015016408..."} 
[2026-04-26 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d3b268012d19c840072020900015016408..."} 
[2026-04-26 08:57:23] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d3b268012d19c840072020900015016408..."} 
[2026-04-26 08:57:23] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d3"} 
[2026-04-26 08:57:23] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d3"} 
[2026-04-26 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756664384,"raw_latitude":119546000,"longitude_deg":75.6664384,"latitude_deg":11.9546,"altitude":21,"angle":356,"satellites":8,"speed":15,"hex_longitude":"2d19c840","hex_latitude":"07202090","is_valid_coordinates":true} 
[2026-04-26 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956552192001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114542006075654144,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245638207488,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:23] 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-04-26 08:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777174033000,"timestamp_ms":1777174033000,"timestamp_seconds":1777174033,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d3b268"} 
[2026-04-26 08:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-26 08:57:23] 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-04-26 08:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956552192001,"66":14189,"121":206,"28":31744,"24":15,"16":114542006075654144,"45":1857805245638207488},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956552192001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:57:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:57:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114542006075654144,"km_value":114542006075654.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245638207488,"description":"Unknown IO ID 45"} 
[2026-04-26 08:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956552192001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1857805245638207488}} 
[2026-04-26 08:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:57:23] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:57:23] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:57:40] local.INFO: TCP Data received {"connection_id":55231,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:57:40] local.INFO: Processing buffer {"connection_id":55231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 08:57:40] local.INFO: IMEI packet received {"connection_id":55231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 08:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":55231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:57:51] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:57:51] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:57:51] local.INFO: Packet analysis {"connection_id":54562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:57:51] local.INFO: Extracted packet for processing {"connection_id":54562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:57:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:57:51] 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-04-26 08:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:57: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-04-26 08: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-04-26 08:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:57:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":54562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:57:51] local.INFO: GPS data processed {"connection_id":54562,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:57:51] local.INFO: Acknowledgment sent {"connection_id":54562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:57:55] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d3b650012d19c880072021d80015000808..."} 
[2026-04-26 08:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d3b650012d19c880072021d80015000808..."} 
[2026-04-26 08:57:55] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d3b650012d19c880072021d80015000808..."} 
[2026-04-26 08:57:55] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d3"} 
[2026-04-26 08:57:55] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d3"} 
[2026-04-26 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119546328,"longitude_deg":75.6664448,"latitude_deg":11.9546328,"altitude":21,"angle":8,"satellites":8,"speed":16,"hex_longitude":"2d19c880","hex_latitude":"072021d8","is_valid_coordinates":true} 
[2026-04-26 08:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956552448001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114542023255523328,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857805245638283264,"note":"Value kept but may cause issues"} 
[2026-04-26 08:57:55] 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-04-26 08:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777174034000,"timestamp_ms":1777174034000,"timestamp_seconds":1777174034,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d3b650"} 
[2026-04-26 08:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-26 08:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956552448001,"66":14298,"121":206,"28":31744,"24":16,"16":114542023255523328,"45":1857805245638283264},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956552448001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:57:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114542023255523328,"km_value":114542023255523.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857805245638283264,"description":"Unknown IO ID 45"} 
[2026-04-26 08:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956552448001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1857805245638283264}} 
[2026-04-26 08:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:57:55] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:57:55] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:58:20] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:58:20] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:58:20] local.INFO: IMEI packet received {"connection_id":54564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":54564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:58:25] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:58:25] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:58:25] local.INFO: IMEI packet received {"connection_id":54564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":54564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:58:26] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:58:26] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:58:26] local.INFO: Packet analysis {"connection_id":54564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:58:26] local.INFO: Extracted packet for processing {"connection_id":54564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:58:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:58:26] 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-04-26 08:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:58:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:58: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-04-26 08:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":54564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:58:26] local.INFO: GPS data processed {"connection_id":54564,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:58:26] local.INFO: Acknowledgment sent {"connection_id":54564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:58:26] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d494f8012d1a0e4007204db80007001809..."} 
[2026-04-26 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d494f8012d1a0e4007204db80007001809..."} 
[2026-04-26 08:58:26] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d494f8012d1a0e4007204db80007001809..."} 
[2026-04-26 08:58:26] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:58:26] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756682304,"raw_latitude":119557560,"longitude_deg":75.6682304,"latitude_deg":11.955756,"altitude":7,"angle":24,"satellites":9,"speed":6,"hex_longitude":"2d1a0e40","hex_latitude":"07204db8","is_valid_coordinates":true} 
[2026-04-26 08:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956566272001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114543084112445440,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1876875175313262592,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:26] 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-04-26 08:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777174091000,"timestamp_ms":1777174091000,"timestamp_seconds":1777174091,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d494f8"} 
[2026-04-26 08:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:58:26] 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-04-26 08:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 08:58:26] 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-04-26 08:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956566272001,"66":14004,"121":206,"28":31744,"24":6,"16":114543084112445440,"45":1876875175313262592},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956566272001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114543084112445440,"km_value":114543084112445.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1876875175313262592,"description":"Unknown IO ID 45"} 
[2026-04-26 08:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956566272001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1876875175313262592}} 
[2026-04-26 08:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:58:26] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:58:26] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:58:30] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:58:30] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:58:30] local.INFO: Packet analysis {"connection_id":54564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:58:30] local.INFO: Extracted packet for processing {"connection_id":54564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:58:30] 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-04-26 08:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 08: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-04-26 08:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:58: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-04-26 08:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:58:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":54564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:58:30] local.INFO: GPS data processed {"connection_id":54564,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:58:30] local.INFO: Acknowledgment sent {"connection_id":54564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:58:57] local.INFO: TCP Data received {"connection_id":55228,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d498e0012d1a0d8007204d880007015409..."} 
[2026-04-26 08:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d498e0012d1a0d8007204d880007015409..."} 
[2026-04-26 08:58:57] local.INFO: Processing buffer {"connection_id":55228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d498e0012d1a0d8007204d880007015409..."} 
[2026-04-26 08:58:57] local.INFO: Packet analysis {"connection_id":55228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:58:57] local.INFO: Extracted packet for processing {"connection_id":55228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:58:57] local.INFO: GPS Element Parsed {"raw_longitude":756682112,"raw_latitude":119557512,"longitude_deg":75.6682112,"latitude_deg":11.9557512,"altitude":7,"angle":340,"satellites":9,"speed":5,"hex_longitude":"2d1a0d80","hex_latitude":"07204d88","is_valid_coordinates":true} 
[2026-04-26 08:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 08:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956567296001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114543092702380032,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877508494010988544,"note":"Value kept but may cause issues"} 
[2026-04-26 08:58:57] 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-04-26 08:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777174092000,"timestamp_ms":1777174092000,"timestamp_seconds":1777174092,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d498e0"} 
[2026-04-26 08:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:58:57] 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-04-26 08:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 08:58:57] 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-04-26 08:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 08:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956567296001,"66":12972,"121":206,"28":31744,"24":5,"16":114543092702380032,"45":1877508494010988544},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956567296001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:58:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:58:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114543092702380032,"km_value":114543092702380.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877508494010988544,"description":"Unknown IO ID 45"} 
[2026-04-26 08:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956567296001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1877508494010988544}} 
[2026-04-26 08:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":55228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:58:58] local.INFO: GPS data processed {"connection_id":55228,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:58:58] local.INFO: Acknowledgment sent {"connection_id":55228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:59:13] local.INFO: TCP Data received {"connection_id":54496,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:59:13] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:59:13] local.INFO: IMEI packet received {"connection_id":54496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 08:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":54496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:59:15] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:59:15] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:59:15] local.INFO: IMEI packet received {"connection_id":54566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 08:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":54566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:59:18] local.INFO: TCP Data received {"connection_id":54496,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:59:18] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 08:59:18] local.INFO: IMEI packet received {"connection_id":54496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 08:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":54496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:59:20] local.INFO: TCP Data received {"connection_id":54496,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d49cc8012d1a0d0007204dc00006014309..."} 
[2026-04-26 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d49cc8012d1a0d0007204dc00006014309..."} 
[2026-04-26 08:59:20] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d49cc8012d1a0d0007204dc00006014309..."} 
[2026-04-26 08:59:20] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:59:20] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756681984,"raw_latitude":119557568,"longitude_deg":75.6681984,"latitude_deg":11.9557568,"altitude":6,"angle":323,"satellites":9,"speed":7,"hex_longitude":"2d1a0d00","hex_latitude":"07204dc0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956567552001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114543096997347328,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877297387778443264,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:20] 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-04-26 08:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174093000,"timestamp_ms":1777174093000,"timestamp_seconds":1777174093,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d49cc8"} 
[2026-04-26 08:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 08: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 08:59:20] 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-04-26 08: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-04-26 08:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956567552001,"66":12972,"121":206,"28":31744,"24":7,"16":114543096997347328,"45":1877297387778443264},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956567552001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114543096997347328,"km_value":114543096997347.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877297387778443264,"description":"Unknown IO ID 45"} 
[2026-04-26 08:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956567552001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1877297387778443264}} 
[2026-04-26 08:59:20] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:59:20] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 08:59:20] local.INFO: IMEI packet received {"connection_id":54566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 08:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":54566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:59:20] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:59:20] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:59:20] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:59:20] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:59:20] local.INFO: Packet analysis {"connection_id":54566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:59:20] local.INFO: Extracted packet for processing {"connection_id":54566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:59:20] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:59: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-04-26 08: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-04-26 08:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:59:20] 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-04-26 08:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":54566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:59:20] local.INFO: GPS data processed {"connection_id":54566,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:59:20] local.INFO: Acknowledgment sent {"connection_id":54566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:59:46] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:59:46] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:59:46] local.INFO: IMEI packet received {"connection_id":54311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 08:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":54311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 08:59:47] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:59:47] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 08:59:47] local.INFO: IMEI packet received {"connection_id":54311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 08:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":54311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 08:59:48] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d4bc08012d7b5e0005d35f40000300fe24..."} 
[2026-04-26 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d4bc08012d7b5e0005d35f40000300fe24..."} 
[2026-04-26 08:59:48] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d4bc08012d7b5e0005d35f40000300fe24..."} 
[2026-04-26 08:59:48] local.INFO: Packet analysis {"connection_id":54311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:59:48] local.INFO: Extracted packet for processing {"connection_id":54311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":97738560,"longitude_deg":76.3059712,"latitude_deg":9.773856,"altitude":3,"angle":254,"satellites":36,"speed":15,"hex_longitude":"2d7b5e00","hex_latitude":"05d35f40","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956567552001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76408967139426304,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893201914194380800,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777174101000,"timestamp_ms":1777174101000,"timestamp_seconds":1777174101,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d4bc08"} 
[2026-04-26 08:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:59: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-04-26 08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-26 08:59:48] 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-04-26 08: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-04-26 08:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956567552001,"66":13678,"210":206,"85":15104,"24":15,"16":76408967139426304,"45":8893201914194380800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 08:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956567552001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:59:48] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 08:59:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76408967139426304,"km_value":76408967139426.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893201914194380800,"description":"Unknown IO ID 45"} 
[2026-04-26 08:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956567552001,"power":13678,"unknown_210":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8893201914194380800}} 
[2026-04-26 08:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":54311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:59:48] local.INFO: GPS data processed {"connection_id":54311,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:59:48] local.INFO: Acknowledgment sent {"connection_id":54311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:59:49] local.INFO: TCP Data received {"connection_id":54311,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d50a28012d7b43c005d35a980004010924..."} 
[2026-04-26 08:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d50a28012d7b43c005d35a980004010924..."} 
[2026-04-26 08:59:49] local.INFO: Processing buffer {"connection_id":54311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d50a28012d7b43c005d35a980004010924..."} 
[2026-04-26 08:59:49] local.INFO: Packet analysis {"connection_id":54311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 08:59:49] local.INFO: Extracted packet for processing {"connection_id":54311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 08:59:49] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":97737368,"longitude_deg":76.3052992,"latitude_deg":9.7737368,"altitude":4,"angle":265,"satellites":36,"speed":14,"hex_longitude":"2d7b43c0","hex_latitude":"05d35a98","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956569856001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76409293556940800,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739497009152,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777174121000,"timestamp_ms":1777174121000,"timestamp_seconds":1777174121,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d50a28"} 
[2026-04-26 08:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:59:49] 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-04-26 08: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 08:59: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-04-26 08: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-04-26 08:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54311,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 08:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 08:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 08:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956569856001,"66":13820,"210":206,"85":15104,"24":14,"16":76409293556940800,"45":8889542739497009152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 08:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 08:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 08:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956569856001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:59:49] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 08:59:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 08:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76409293556940800,"km_value":76409293556940.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739497009152,"description":"Unknown IO ID 45"} 
[2026-04-26 08:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956569856001,"power":13820,"unknown_210":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8889542739497009152}} 
[2026-04-26 08:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":54311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:59:49] local.INFO: GPS data processed {"connection_id":54311,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:59:49] local.INFO: Acknowledgment sent {"connection_id":54311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:59:51] local.INFO: TCP Data received {"connection_id":54496,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d4eed0012d1a09c007204f80000001470b..."} 
[2026-04-26 08:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d4eed0012d1a09c007204f80000001470b..."} 
[2026-04-26 08:59:51] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d4eed0012d1a09c007204f80000001470b..."} 
[2026-04-26 08:59:51] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:59:51] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d4"} 
[2026-04-26 08:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756681152,"raw_latitude":119558016,"longitude_deg":75.6681152,"latitude_deg":11.9558016,"altitude":0,"angle":327,"satellites":11,"speed":0,"hex_longitude":"2d1a09c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956567808001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114543161421856768,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877156650290102272,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:51] 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-04-26 08:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174114000,"timestamp_ms":1777174114000,"timestamp_seconds":1777174114,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d4eed0"} 
[2026-04-26 08:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:59:51] 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-04-26 08: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 08:59:51] 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-04-26 08: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-04-26 08:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 08:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956567808001,"66":12591,"121":206,"28":31744,"24":0,"16":114543161421856768,"45":1877156650290102272},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 08:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956567808001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 08:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114543161421856768,"km_value":114543161421856.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877156650290102272,"description":"Unknown IO ID 45"} 
[2026-04-26 08:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956567808001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1877156650290102272}} 
[2026-04-26 08:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:59:51] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:59:51] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 08:59:51] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:59:51] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d0fb18012cb299c007822ce0004700122f..."} 
[2026-04-26 08:59:51] local.INFO: Packet analysis {"connection_id":54566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:59:51] local.INFO: Extracted packet for processing {"connection_id":54566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d0"} 
[2026-04-26 08:59:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 08: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-04-26 08:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956429824001,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 08:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 08:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777173855000,"timestamp_ms":1777173855000,"timestamp_seconds":1777173855,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d0fb18"} 
[2026-04-26 08:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 08:59:51] 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-04-26 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 08:59: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-04-26 08: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-04-26 08:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 08:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 08:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 08:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 08:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956429824001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 08:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 08:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956429824001,"description":"Unknown IO ID 0"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 08:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 08:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 08:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956429824001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 08:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":54566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 08:59:52] local.INFO: GPS data processed {"connection_id":54566,"processed":1,"errors":0,"total":1} 
[2026-04-26 08:59:52] local.INFO: Acknowledgment sent {"connection_id":54566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:00:14] local.INFO: TCP Data received {"connection_id":54567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:00:14] local.INFO: Processing buffer {"connection_id":54567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:00:14] local.INFO: IMEI packet received {"connection_id":54567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:00:20] local.INFO: TCP Data received {"connection_id":54567,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:00:20] local.INFO: Processing buffer {"connection_id":54567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:00:20] local.INFO: IMEI packet received {"connection_id":54567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":54567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:00:20] local.INFO: TCP Data received {"connection_id":54567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:00:20] local.INFO: Processing buffer {"connection_id":54567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:00:20] local.INFO: Packet analysis {"connection_id":54567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:00:20] local.INFO: Extracted packet for processing {"connection_id":54567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:00: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-04-26 09: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-04-26 09:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:00: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-04-26 09:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:00:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:00:20] local.INFO: GPS data processed {"connection_id":54567,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:00:20] local.INFO: Acknowledgment sent {"connection_id":54567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:00:22] local.INFO: TCP Data received {"connection_id":54496,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d67d40012d1a8800072059600037002712..."} 
[2026-04-26 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d67d40012d1a8800072059600037002712..."} 
[2026-04-26 09:00:22] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d67d40012d1a8800072059600037002712..."} 
[2026-04-26 09:00:22] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:00:22] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756713472,"raw_latitude":119560544,"longitude_deg":75.6713472,"latitude_deg":11.9560544,"altitude":55,"angle":39,"satellites":18,"speed":12,"hex_longitude":"2d1a8800","hex_latitude":"07205960","is_valid_coordinates":true} 
[2026-04-26 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956597760001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114544900883611648,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911426228704751616,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:22] 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-04-26 09:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777174216000,"timestamp_ms":1777174216000,"timestamp_seconds":1777174216,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d67d40"} 
[2026-04-26 09:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-26 09:00:22] 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-04-26 09:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956597760001,"66":13852,"121":206,"28":31744,"24":12,"16":114544900883611648,"45":1911426228704751616},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956597760001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:00:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:00:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114544900883611648,"km_value":114544900883611.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911426228704751616,"description":"Unknown IO ID 45"} 
[2026-04-26 09:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956597760001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1911426228704751616}} 
[2026-04-26 09:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:00:22] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:00:22] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:00:34] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:34] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:34] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:00:34] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:34] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:34] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:00:39] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:39] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:00:39] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:00:40] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d67d40012d79f70005d36c600000011c25..."} 
[2026-04-26 09:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d67d40012d79f70005d36c600000011c25..."} 
[2026-04-26 09:00:40] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d67d40012d79f70005d36c600000011c25..."} 
[2026-04-26 09:00:40] local.INFO: Packet analysis {"connection_id":54497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:00:40] local.INFO: Extracted packet for processing {"connection_id":54497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:00:40] local.INFO: GPS Element Parsed {"raw_longitude":762967808,"raw_latitude":97741920,"longitude_deg":76.2967808,"latitude_deg":9.774192,"altitude":0,"angle":284,"satellites":37,"speed":45,"hex_longitude":"2d79f700","hex_latitude":"05d36c60","is_valid_coordinates":true} 
[2026-04-26 09:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956596992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76413463970185216,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799189271973107712,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174216000,"timestamp_ms":1777174216000,"timestamp_seconds":1777174216,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d67d40"} 
[2026-04-26 09:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:00:40] 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-04-26 09:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 09:00:40] 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-04-26 09:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956596992001,"66":13798,"81":206,"85":15104,"24":45,"16":76413463970185216,"45":8799189271973107712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-26 09:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956596992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-26 09:00:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76413463970185216,"km_value":76413463970185.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799189271973107712,"description":"Unknown IO ID 45"} 
[2026-04-26 09:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956596992001,"power":13798,"unknown_81":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8799189271973107712}} 
[2026-04-26 09:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":54497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:00:40] local.INFO: GPS data processed {"connection_id":54497,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:00:40] local.INFO: Acknowledgment sent {"connection_id":54497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:00:51] local.INFO: TCP Data received {"connection_id":54567,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:00:51] local.INFO: Processing buffer {"connection_id":54567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:00:51] local.INFO: Packet analysis {"connection_id":54567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:00:51] local.INFO: Extracted packet for processing {"connection_id":54567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:00: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-04-26 09: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-04-26 09:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:00:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:00:51] local.INFO: GPS data processed {"connection_id":54567,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:00:51] local.INFO: Acknowledgment sent {"connection_id":54567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:00:53] local.INFO: TCP Data received {"connection_id":54496,"ip":"117.225.215.55","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d68128012d1a890007205a100037003412..."} 
[2026-04-26 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d68128012d1a890007205a100037003412..."} 
[2026-04-26 09:00:53] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d68128012d1a890007205a100037003412..."} 
[2026-04-26 09:00:53] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:00:53] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756713728,"raw_latitude":119560720,"longitude_deg":75.6713728,"latitude_deg":11.956072,"altitude":55,"angle":52,"satellites":18,"speed":10,"hex_longitude":"2d1a8900","hex_latitude":"07205a10","is_valid_coordinates":true} 
[2026-04-26 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956599296001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114544913768513536,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911778072426274816,"note":"Value kept but may cause issues"} 
[2026-04-26 09:00:53] 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-04-26 09:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777174217000,"timestamp_ms":1777174217000,"timestamp_seconds":1777174217,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d68128"} 
[2026-04-26 09:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 09:00:53] 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-04-26 09:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.215.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956599296001,"66":13852,"121":206,"28":31744,"24":10,"16":114544913768513536,"45":1911778072426274816},"client_ip":"117.225.215.55","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956599296001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:00:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:00:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114544913768513536,"km_value":114544913768513.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911778072426274816,"description":"Unknown IO ID 45"} 
[2026-04-26 09:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956599296001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1911778072426274816}} 
[2026-04-26 09:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:00:53] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:00:53] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:01:11] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d69c80012d79d30005d376380000011d25..."} 
[2026-04-26 09:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d69c80012d79d30005d376380000011d25..."} 
[2026-04-26 09:01:11] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d69c80012d79d30005d376380000011d25..."} 
[2026-04-26 09:01:11] local.INFO: Packet analysis {"connection_id":54497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:01:11] local.INFO: Extracted packet for processing {"connection_id":54497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":762958592,"raw_latitude":97744440,"longitude_deg":76.2958592,"latitude_deg":9.774444,"altitude":0,"angle":285,"satellites":37,"speed":48,"hex_longitude":"2d79d300","hex_latitude":"05d37638","is_valid_coordinates":true} 
[2026-04-26 09:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956599296001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76413923531685888,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8788493222858743808,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:11] 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-04-26 09:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174224000,"timestamp_ms":1777174224000,"timestamp_seconds":1777174224,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d69c80"} 
[2026-04-26 09:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 09:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956599296001,"66":13646,"53":206,"85":15104,"24":48,"16":76413923531685888,"45":8788493222858743808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956599296001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:01:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:01:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76413923531685888,"km_value":76413923531685.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8788493222858743808,"description":"Unknown IO ID 45"} 
[2026-04-26 09:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956599296001,"power":13646,"unknown_53":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8788493222858743808}} 
[2026-04-26 09:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":54497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:01:11] local.INFO: GPS data processed {"connection_id":54497,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:01:11] local.INFO: Acknowledgment sent {"connection_id":54497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:01:13] local.INFO: TCP Data received {"connection_id":54312,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:13] local.INFO: Processing buffer {"connection_id":54312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:13] local.INFO: IMEI packet received {"connection_id":54312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":54312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:01:14] local.INFO: TCP Data received {"connection_id":54312,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:14] local.INFO: Processing buffer {"connection_id":54312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:14] local.INFO: IMEI packet received {"connection_id":54312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:01:14] local.INFO: TCP Data received {"connection_id":54313,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:01:14] local.INFO: Processing buffer {"connection_id":54313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:01:14] local.INFO: IMEI packet received {"connection_id":54313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:01:14] local.INFO: TCP Data received {"connection_id":54312,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:14] local.INFO: Processing buffer {"connection_id":54312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:14] local.INFO: IMEI packet received {"connection_id":54312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:01:15] local.INFO: TCP Data received {"connection_id":54312,"ip":"117.225.215.55","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:15] local.INFO: Processing buffer {"connection_id":54312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:01:15] local.INFO: IMEI packet received {"connection_id":54312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":54312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:01:20] local.INFO: TCP Data received {"connection_id":54313,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:01:20] local.INFO: Processing buffer {"connection_id":54313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:01:20] local.INFO: IMEI packet received {"connection_id":54313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":54313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:01:20] local.INFO: TCP Data received {"connection_id":54313,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:01:20] local.INFO: Processing buffer {"connection_id":54313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:01:20] local.INFO: Packet analysis {"connection_id":54313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:01:20] local.INFO: Extracted packet for processing {"connection_id":54313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:01: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-04-26 09: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-04-26 09:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:01: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-04-26 09:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:01:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":54313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:01:20] local.INFO: GPS data processed {"connection_id":54313,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:01:20] local.INFO: Acknowledgment sent {"connection_id":54313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:01:39] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:01:39] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:01:39] local.INFO: IMEI packet received {"connection_id":54568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":54568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:01:44] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:01:44] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:01:44] local.INFO: IMEI packet received {"connection_id":54568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":54568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:01:45] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d6bbc0012d79ad4005d381880000011e25..."} 
[2026-04-26 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d6bbc0012d79ad4005d381880000011e25..."} 
[2026-04-26 09:01:45] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d6bbc0012d79ad4005d381880000011e25..."} 
[2026-04-26 09:01:45] local.INFO: Packet analysis {"connection_id":54568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:01:45] local.INFO: Extracted packet for processing {"connection_id":54568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d6"} 
[2026-04-26 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":762948928,"raw_latitude":97747336,"longitude_deg":76.2948928,"latitude_deg":9.7747336,"altitude":0,"angle":286,"satellites":37,"speed":49,"hex_longitude":"2d79ad40","hex_latitude":"05d38188","is_valid_coordinates":true} 
[2026-04-26 09:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956601344001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76414404568023040,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8778360123697805312,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:45] 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-04-26 09:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777174232000,"timestamp_ms":1777174232000,"timestamp_seconds":1777174232,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d6bbc0"} 
[2026-04-26 09:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 09:01:45] 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-04-26 09:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":54568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956601344001,"66":13917,"53":206,"85":15104,"24":49,"16":76414404568023040,"45":8778360123697805312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956601344001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:01:45] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:01:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76414404568023040,"km_value":76414404568023.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8778360123697805312,"description":"Unknown IO ID 45"} 
[2026-04-26 09:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956601344001,"power":13917,"unknown_53":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8778360123697805312}} 
[2026-04-26 09:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":54568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:01:45] local.INFO: GPS data processed {"connection_id":54568,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:01:45] local.INFO: Acknowledgment sent {"connection_id":54568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:01:51] local.INFO: TCP Data received {"connection_id":54313,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:01:51] local.INFO: Processing buffer {"connection_id":54313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:01:51] local.INFO: Packet analysis {"connection_id":54313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:01:51] local.INFO: Extracted packet for processing {"connection_id":54313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:01:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:01: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-04-26 09: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-04-26 09:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:01: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-04-26 09:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:01:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:01:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":54313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:01:51] local.INFO: GPS data processed {"connection_id":54313,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:01:51] local.INFO: Acknowledgment sent {"connection_id":54313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:02:14] local.INFO: TCP Data received {"connection_id":54499,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:02:14] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:02:14] local.INFO: IMEI packet received {"connection_id":54499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":54499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:02:16] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d832c0012d78bd0005d3bc28000000ba24..."} 
[2026-04-26 09:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d832c0012d78bd0005d3bc28000000ba24..."} 
[2026-04-26 09:02:16] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d832c0012d78bd0005d3bc28000000ba24..."} 
[2026-04-26 09:02:16] local.INFO: Packet analysis {"connection_id":54568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:02:16] local.INFO: Extracted packet for processing {"connection_id":54568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:02:16] local.INFO: GPS Element Parsed {"raw_longitude":762887424,"raw_latitude":97762344,"longitude_deg":76.2887424,"latitude_deg":9.7762344,"altitude":0,"angle":186,"satellites":36,"speed":7,"hex_longitude":"2d78bd00","hex_latitude":"05d3bc28","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956626432001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417492649508864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8700180448921141248,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:16] 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-04-26 09:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777174328000,"timestamp_ms":1777174328000,"timestamp_seconds":1777174328,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d832c0"} 
[2026-04-26 09:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:02:16] 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-04-26 09: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-26 09:02:16] 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-04-26 09: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-04-26 09:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956626432001,"66":13222,"53":206,"85":15104,"24":7,"16":76417492649508864,"45":8700180448921141248},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956626432001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:02:16] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417492649508864,"km_value":76417492649508.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8700180448921141248,"description":"Unknown IO ID 45"} 
[2026-04-26 09:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956626432001,"power":13222,"unknown_53":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8700180448921141248}} 
[2026-04-26 09:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":54568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:02:16] local.INFO: GPS data processed {"connection_id":54568,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:02:16] local.INFO: Acknowledgment sent {"connection_id":54568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:02:20] local.INFO: TCP Data received {"connection_id":54499,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:02:20] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:02:20] local.INFO: IMEI packet received {"connection_id":54499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":54499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:02:20] local.INFO: TCP Data received {"connection_id":54499,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:02:20] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:02:20] local.INFO: Packet analysis {"connection_id":54499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:02:20] local.INFO: Extracted packet for processing {"connection_id":54499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:02: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-04-26 09: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-04-26 09:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:02: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-04-26 09:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:02:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":54499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:02:20] local.INFO: GPS data processed {"connection_id":54499,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:02:20] local.INFO: Acknowledgment sent {"connection_id":54499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:02:34] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:02:34] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:02:34] local.INFO: IMEI packet received {"connection_id":54570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":54570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:02:39] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:02:39] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:02:39] local.INFO: IMEI packet received {"connection_id":54570,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":54570,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:02:40] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d83a90012d78bcc005d3ba60000000cb25..."} 
[2026-04-26 09:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d83a90012d78bcc005d3ba60000000cb25..."} 
[2026-04-26 09:02:40] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d83a90012d78bcc005d3ba60000000cb25..."} 
[2026-04-26 09:02:40] local.INFO: Packet analysis {"connection_id":54570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:02:40] local.INFO: Extracted packet for processing {"connection_id":54570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:02:40] local.INFO: GPS Element Parsed {"raw_longitude":762887360,"raw_latitude":97761888,"longitude_deg":76.288736,"latitude_deg":9.7761888,"altitude":0,"angle":203,"satellites":37,"speed":10,"hex_longitude":"2d78bcc0","hex_latitude":"05d3ba60","is_valid_coordinates":true} 
[2026-04-26 09:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956627968001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417518419312640,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8700110080176826368,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02: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-04-26 09:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174330000,"timestamp_ms":1777174330000,"timestamp_seconds":1777174330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d83a90"} 
[2026-04-26 09:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-26 09:02: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-04-26 09:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956627968001,"66":13298,"53":206,"85":15104,"24":10,"16":76417518419312640,"45":8700110080176826368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956627968001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:02:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417518419312640,"km_value":76417518419312.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8700110080176826368,"description":"Unknown IO ID 45"} 
[2026-04-26 09:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956627968001,"power":13298,"unknown_53":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8700110080176826368}} 
[2026-04-26 09:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":54570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:02:40] local.INFO: GPS data processed {"connection_id":54570,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:02:40] local.INFO: Acknowledgment sent {"connection_id":54570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:02:52] local.INFO: TCP Data received {"connection_id":54499,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:02:52] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:02:52] local.INFO: Packet analysis {"connection_id":54499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:02:52] local.INFO: Extracted packet for processing {"connection_id":54499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 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-04-26 09:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:02: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-04-26 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-04-26 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-04-26 09:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:02: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-04-26 09:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:02:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":54499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:02:52] local.INFO: GPS data processed {"connection_id":54499,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:02:52] local.INFO: Acknowledgment sent {"connection_id":54499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:03:06] local.INFO: TCP Data received {"connection_id":55235,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:03:06] local.INFO: Processing buffer {"connection_id":55235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:03:06] local.INFO: IMEI packet received {"connection_id":55235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":55235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:03:11] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d84260012d78bb8005d3b8d8000000e125..."} 
[2026-04-26 09:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d84260012d78bb8005d3b8d8000000e125..."} 
[2026-04-26 09:03:11] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d84260012d78bb8005d3b8d8000000e125..."} 
[2026-04-26 09:03:11] local.INFO: Packet analysis {"connection_id":54570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:03:11] local.INFO: Extracted packet for processing {"connection_id":54570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:03:11] local.INFO: GPS Element Parsed {"raw_longitude":762887040,"raw_latitude":97761496,"longitude_deg":76.288704,"latitude_deg":9.7761496,"altitude":0,"angle":225,"satellites":37,"speed":8,"hex_longitude":"2d78bb80","hex_latitude":"05d3b8d8","is_valid_coordinates":true} 
[2026-04-26 09:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956628480001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417539894149120,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8700039711432531968,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:11] 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-04-26 09:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174332000,"timestamp_ms":1777174332000,"timestamp_seconds":1777174332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d84260"} 
[2026-04-26 09:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:03:11] 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-04-26 09:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-26 09:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54570,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956628480001,"66":13580,"53":206,"85":15104,"24":8,"16":76417539894149120,"45":8700039711432531968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956628480001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:03:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417539894149120,"km_value":76417539894149.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8700039711432531968,"description":"Unknown IO ID 45"} 
[2026-04-26 09:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956628480001,"power":13580,"unknown_53":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8700039711432531968}} 
[2026-04-26 09:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":54570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:03:11] local.INFO: GPS data processed {"connection_id":54570,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:03:11] local.INFO: Acknowledgment sent {"connection_id":54570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:03:20] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:03:20] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:03:20] local.INFO: IMEI packet received {"connection_id":54314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":54314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:03:25] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:03:25] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:03:25] local.INFO: IMEI packet received {"connection_id":54314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":54314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:03:25] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:03:25] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:03:25] local.INFO: Packet analysis {"connection_id":54314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:03:25] local.INFO: Extracted packet for processing {"connection_id":54314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:03: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-04-26 09:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:03: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-04-26 09:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:03:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":54314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:03:25] local.INFO: GPS data processed {"connection_id":54314,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:03:25] local.INFO: Acknowledgment sent {"connection_id":54314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:03:30] local.INFO: TCP Data received {"connection_id":54314,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:03:30] local.INFO: Processing buffer {"connection_id":54314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:03:30] local.INFO: Packet analysis {"connection_id":54314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:03:30] local.INFO: Extracted packet for processing {"connection_id":54314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:03: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-04-26 09: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-04-26 09:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:03: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-04-26 09:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:03:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":54314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:03:30] local.INFO: GPS data processed {"connection_id":54314,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:03:30] local.INFO: Acknowledgment sent {"connection_id":54314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:03:34] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:03:34] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:03:34] local.INFO: IMEI packet received {"connection_id":54315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":54315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:03:37] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:03:37] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:03:37] local.INFO: IMEI packet received {"connection_id":54315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":54315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:03:38] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d861a0012d78b74005d3b3f8000000d125..."} 
[2026-04-26 09:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d861a0012d78b74005d3b3f8000000d125..."} 
[2026-04-26 09:03:38] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d861a0012d78b74005d3b3f8000000d125..."} 
[2026-04-26 09:03:38] local.INFO: Packet analysis {"connection_id":54315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:03:38] local.INFO: Extracted packet for processing {"connection_id":54315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":762885952,"raw_latitude":97760248,"longitude_deg":76.2885952,"latitude_deg":9.7760248,"altitude":0,"angle":209,"satellites":37,"speed":8,"hex_longitude":"2d78b740","hex_latitude":"05d3b3f8","is_valid_coordinates":true} 
[2026-04-26 09:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956628992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417621498527744,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699687867711543296,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777174340000,"timestamp_ms":1777174340000,"timestamp_seconds":1777174340,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d861a0"} 
[2026-04-26 09:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751583101,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2450184319616994901,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3352821752,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":586875373686358026,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3625412609,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3200253952,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635163031152693,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2822045902,"corrected_to":0} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3355520376,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407208,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3552522240,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":-4359478032291332096,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-04-26 09:03:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,53,85,24,241,157,16,125,58,45,192,186,37,10,66,50,188,36,27,64,1,240,227,199,211,4,113,205,6,7,191,239,52,2,15,5,9,120,59],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2822045902,"validated":0}]} 
[2026-04-26 09:03:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":247549030563840,"timestamp_seconds":247549030563.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 09:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:03:38] 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-04-26 09:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956628992001,"66":13472,"53":206,"85":15104,"24":8,"16":76417621498527744,"45":8699687867711543296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956628992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:03:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417621498527744,"km_value":76417621498527.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699687867711543296,"description":"Unknown IO ID 45"} 
[2026-04-26 09:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956628992001,"power":13472,"unknown_53":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8699687867711543296}} 
[2026-04-26 09:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":54315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:03:38] local.INFO: GPS data processed {"connection_id":54315,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:03:38] local.INFO: Acknowledgment sent {"connection_id":54315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:03:40] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:03:40] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:03:40] local.INFO: IMEI packet received {"connection_id":54571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":54571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:04:09] local.INFO: TCP Data received {"connection_id":54315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d86d58012d78b64005d3b1a8000000c425..."} 
[2026-04-26 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d86d58012d78b64005d3b1a8000000c425..."} 
[2026-04-26 09:04:09] local.INFO: Processing buffer {"connection_id":54315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d86d58012d78b64005d3b1a8000000c425..."} 
[2026-04-26 09:04:09] local.INFO: Packet analysis {"connection_id":54315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:04:09] local.INFO: Extracted packet for processing {"connection_id":54315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:04:09] local.INFO: GPS Element Parsed {"raw_longitude":762885696,"raw_latitude":97759656,"longitude_deg":76.2885696,"latitude_deg":9.7759656,"altitude":0,"angle":196,"satellites":37,"speed":9,"hex_longitude":"2d78b640","hex_latitude":"05d3b1a8","is_valid_coordinates":true} 
[2026-04-26 09:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956631040001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417651563298816,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698491599060203520,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04: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-04-26 09:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777174343000,"timestamp_ms":1777174343000,"timestamp_seconds":1777174343,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d86d58"} 
[2026-04-26 09:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 09:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956631040001,"66":13602,"53":206,"85":15104,"24":9,"16":76417651563298816,"45":8698491599060203520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956631040001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:04:09] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417651563298816,"km_value":76417651563298.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698491599060203520,"description":"Unknown IO ID 45"} 
[2026-04-26 09:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956631040001,"power":13602,"unknown_53":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8698491599060203520}} 
[2026-04-26 09:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":54315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:04:09] local.INFO: GPS data processed {"connection_id":54315,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:04:09] local.INFO: Acknowledgment sent {"connection_id":54315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:04:15] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:04:15] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:04:15] local.INFO: IMEI packet received {"connection_id":54501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":54501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:04:20] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:04:20] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:04:20] local.INFO: IMEI packet received {"connection_id":54501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:04:20] local.INFO: IMEI acknowledgment sent {"connection_id":54501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:04:20] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:04:20] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:04:20] local.INFO: Packet analysis {"connection_id":54501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:04:20] local.INFO: Extracted packet for processing {"connection_id":54501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:04: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-04-26 09: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-04-26 09:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:04: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-04-26 09:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:04:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":54501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:04:20] local.INFO: GPS data processed {"connection_id":54501,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:04:20] local.INFO: Acknowledgment sent {"connection_id":54501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:04:34] local.INFO: TCP Data received {"connection_id":55236,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:04:34] local.INFO: Processing buffer {"connection_id":55236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:04:34] local.INFO: IMEI packet received {"connection_id":55236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":55236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:04:39] local.INFO: TCP Data received {"connection_id":55236,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:04:39] local.INFO: Processing buffer {"connection_id":55236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:04:39] local.INFO: IMEI packet received {"connection_id":55236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":55236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:04:40] local.INFO: TCP Data received {"connection_id":55236,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d87528012d78b64005d3b010000000b225..."} 
[2026-04-26 09:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d87528012d78b64005d3b010000000b225..."} 
[2026-04-26 09:04:40] local.INFO: Processing buffer {"connection_id":55236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d87528012d78b64005d3b010000000b225..."} 
[2026-04-26 09:04:40] local.INFO: Packet analysis {"connection_id":55236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:04:40] local.INFO: Extracted packet for processing {"connection_id":55236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:04:40] local.INFO: GPS Element Parsed {"raw_longitude":762885696,"raw_latitude":97759248,"longitude_deg":76.2885696,"latitude_deg":9.7759248,"altitude":0,"angle":178,"satellites":37,"speed":6,"hex_longitude":"2d78b640","hex_latitude":"05d3b010","is_valid_coordinates":true} 
[2026-04-26 09:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956631808001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417673038135296,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698210124083341312,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174345000,"timestamp_ms":1777174345000,"timestamp_seconds":1777174345,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d87528"} 
[2026-04-26 09:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 09:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956631808001,"66":13461,"53":206,"85":15104,"24":6,"16":76417673038135296,"45":8698210124083341312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956631808001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:04:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417673038135296,"km_value":76417673038135.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698210124083341312,"description":"Unknown IO ID 45"} 
[2026-04-26 09:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956631808001,"power":13461,"unknown_53":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8698210124083341312}} 
[2026-04-26 09:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":55236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:04:40] local.INFO: GPS data processed {"connection_id":55236,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:04:40] local.INFO: Acknowledgment sent {"connection_id":55236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:04:51] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:04:51] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d592e0012cb299c007822ce0004900122d..."} 
[2026-04-26 09:04:51] local.INFO: Packet analysis {"connection_id":54501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:04:51] local.INFO: Extracted packet for processing {"connection_id":54501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d5"} 
[2026-04-26 09:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956506880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174156000,"timestamp_ms":1777174156000,"timestamp_seconds":1777174156,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d592e0"} 
[2026-04-26 09:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:04: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-04-26 09: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-04-26 09:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956506880001,"66":25060,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956506880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:04:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956506880001,"power":25060,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:04:51] local.INFO: GPS data processed {"connection_id":54501,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:04:51] local.INFO: Acknowledgment sent {"connection_id":54501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:05:11] local.INFO: TCP Data received {"connection_id":55236,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d8c348012d78b84005d3aeb0000000b225..."} 
[2026-04-26 09:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d8c348012d78b84005d3aeb0000000b225..."} 
[2026-04-26 09:05:11] local.INFO: Processing buffer {"connection_id":55236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d8c348012d78b84005d3aeb0000000b225..."} 
[2026-04-26 09:05:11] local.INFO: Packet analysis {"connection_id":55236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:05:11] local.INFO: Extracted packet for processing {"connection_id":55236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:05:11] local.INFO: GPS Element Parsed {"raw_longitude":762886208,"raw_latitude":97758896,"longitude_deg":76.2886208,"latitude_deg":9.7758896,"altitude":0,"angle":178,"satellites":37,"speed":3,"hex_longitude":"2d78b840","hex_latitude":"05d3aeb0","is_valid_coordinates":true} 
[2026-04-26 09:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956632320001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417711692840960,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698210124083236864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:11] 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-04-26 09:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174365000,"timestamp_ms":1777174365000,"timestamp_seconds":1777174365,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d8c348"} 
[2026-04-26 09:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:05:11] 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-04-26 09:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-04-26 09:05:11] 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-04-26 09:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":55236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":55236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":55236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956632320001,"66":13493,"53":206,"85":15104,"24":3,"16":76417711692840960,"45":8698210124083236864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956632320001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:05:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:05:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417711692840960,"km_value":76417711692840.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698210124083236864,"description":"Unknown IO ID 45"} 
[2026-04-26 09:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956632320001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8698210124083236864}} 
[2026-04-26 09:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":55236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:05:11] local.INFO: GPS data processed {"connection_id":55236,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:05:11] local.INFO: Acknowledgment sent {"connection_id":55236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:05:14] local.INFO: TCP Data received {"connection_id":54317,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:05:14] local.INFO: Processing buffer {"connection_id":54317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:05:14] local.INFO: IMEI packet received {"connection_id":54317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:05:20] local.INFO: TCP Data received {"connection_id":54317,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:05:20] local.INFO: Processing buffer {"connection_id":54317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:05:20] local.INFO: IMEI packet received {"connection_id":54317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":54317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:05:20] local.INFO: TCP Data received {"connection_id":54317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:05:20] local.INFO: Processing buffer {"connection_id":54317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:05:20] local.INFO: Packet analysis {"connection_id":54317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:05:20] local.INFO: Extracted packet for processing {"connection_id":54317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:05:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":54317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:05:20] local.INFO: GPS data processed {"connection_id":54317,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:05:20] local.INFO: Acknowledgment sent {"connection_id":54317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:05:34] local.INFO: TCP Data received {"connection_id":54318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:05:34] local.INFO: Processing buffer {"connection_id":54318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:05:34] local.INFO: IMEI packet received {"connection_id":54318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":54318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:05:39] local.INFO: TCP Data received {"connection_id":54318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:05:39] local.INFO: Processing buffer {"connection_id":54318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:05:39] local.INFO: IMEI packet received {"connection_id":54318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":54318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:05:40] local.INFO: TCP Data received {"connection_id":54318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d8f610012d78b80005d3afa80000002125..."} 
[2026-04-26 09:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d8f610012d78b80005d3afa80000002125..."} 
[2026-04-26 09:05:40] local.INFO: Processing buffer {"connection_id":54318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d8f610012d78b80005d3afa80000002125..."} 
[2026-04-26 09:05:40] local.INFO: Packet analysis {"connection_id":54318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:05:40] local.INFO: Extracted packet for processing {"connection_id":54318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:05:40] local.INFO: GPS Element Parsed {"raw_longitude":762886144,"raw_latitude":97759144,"longitude_deg":76.2886144,"latitude_deg":9.7759144,"altitude":0,"angle":33,"satellites":37,"speed":6,"hex_longitude":"2d78b800","hex_latitude":"05d3afa8","is_valid_coordinates":true} 
[2026-04-26 09:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956637440001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417741757612032,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698773074036568064,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05: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-04-26 09:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174378000,"timestamp_ms":1777174378000,"timestamp_seconds":1777174378,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d8f610"} 
[2026-04-26 09:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 09:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956637440001,"66":13493,"53":206,"85":15104,"24":6,"16":76417741757612032,"45":8698773074036568064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956637440001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:05:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417741757612032,"km_value":76417741757612.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698773074036568064,"description":"Unknown IO ID 45"} 
[2026-04-26 09:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956637440001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8698773074036568064}} 
[2026-04-26 09:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":54318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:05:40] local.INFO: GPS data processed {"connection_id":54318,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:05:40] local.INFO: Acknowledgment sent {"connection_id":54318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:05:53] local.INFO: TCP Data received {"connection_id":54317,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:05:53] local.INFO: Processing buffer {"connection_id":54317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:05:53] local.INFO: Packet analysis {"connection_id":54317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:05:53] local.INFO: Extracted packet for processing {"connection_id":54317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:05:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:05:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:05: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-04-26 09:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:05:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:05:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:05:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":54317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:05:53] local.INFO: GPS data processed {"connection_id":54317,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:05:53] local.INFO: Acknowledgment sent {"connection_id":54317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:11] local.INFO: TCP Data received {"connection_id":54318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d8f9f8012d78b80005d3b0680000000925..."} 
[2026-04-26 09:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d8f9f8012d78b80005d3b0680000000925..."} 
[2026-04-26 09:06:11] local.INFO: Processing buffer {"connection_id":54318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d8f9f8012d78b80005d3b0680000000925..."} 
[2026-04-26 09:06:11] local.INFO: Packet analysis {"connection_id":54318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:06:11] local.INFO: Extracted packet for processing {"connection_id":54318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":762886144,"raw_latitude":97759336,"longitude_deg":76.2886144,"latitude_deg":9.7759336,"altitude":0,"angle":9,"satellites":37,"speed":7,"hex_longitude":"2d78b800","hex_latitude":"05d3b068","is_valid_coordinates":true} 
[2026-04-26 09:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956640768001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417754642513920,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698702705292453888,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:11] 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-04-26 09:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174379000,"timestamp_ms":1777174379000,"timestamp_seconds":1777174379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d8f9f8"} 
[2026-04-26 09:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 09:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956640768001,"66":13493,"53":206,"85":15104,"24":7,"16":76417754642513920,"45":8698702705292453888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956640768001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417754642513920,"km_value":76417754642513.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698702705292453888,"description":"Unknown IO ID 45"} 
[2026-04-26 09:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956640768001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8698702705292453888}} 
[2026-04-26 09:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":54318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:11] local.INFO: GPS data processed {"connection_id":54318,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:11] local.INFO: Acknowledgment sent {"connection_id":54318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:14] local.INFO: TCP Data received {"connection_id":55238,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:06:14] local.INFO: Processing buffer {"connection_id":55238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:06:14] local.INFO: IMEI packet received {"connection_id":55238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":55238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:06:18] local.INFO: TCP Data received {"connection_id":54574,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:06:18] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:06:18] local.INFO: IMEI packet received {"connection_id":54574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":54574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:06:20] local.INFO: TCP Data received {"connection_id":55238,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:06:20] local.INFO: Processing buffer {"connection_id":55238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:06:20] local.INFO: IMEI packet received {"connection_id":55238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":55238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:06:20] local.INFO: TCP Data received {"connection_id":54574,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7dbb530012d1ab20007206a580041010f18..."} 
[2026-04-26 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7dbb530012d1ab20007206a580041010f18..."} 
[2026-04-26 09:06:20] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7dbb530012d1ab20007206a580041010f18..."} 
[2026-04-26 09:06:20] local.INFO: Packet analysis {"connection_id":54574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7db"} 
[2026-04-26 09:06:20] local.INFO: Extracted packet for processing {"connection_id":54574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7db"} 
[2026-04-26 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756724224,"raw_latitude":119564888,"longitude_deg":75.6724224,"latitude_deg":11.9564888,"altitude":65,"angle":271,"satellites":24,"speed":20,"hex_longitude":"2d1ab200","hex_latitude":"07206a58","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956684800001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114550235232993280,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928385096053481472,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:20] 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-04-26 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174558000,"timestamp_ms":1777174558000,"timestamp_seconds":1777174558,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7dbb530"} 
[2026-04-26 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-26 09:06:20] 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-04-26 09: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-04-26 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956684800001,"66":14396,"121":206,"28":31744,"24":20,"16":114550235232993280,"45":1928385096053481472},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956684800001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114550235232993280,"km_value":114550235232993.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928385096053481472,"description":"Unknown IO ID 45"} 
[2026-04-26 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956684800001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1928385096053481472}} 
[2026-04-26 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":54574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:20] local.INFO: GPS data processed {"connection_id":54574,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:20] local.INFO: Acknowledgment sent {"connection_id":54574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:20] local.INFO: TCP Data received {"connection_id":55238,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:06:20] local.INFO: Processing buffer {"connection_id":55238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:06:20] local.INFO: Packet analysis {"connection_id":55238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:06:20] local.INFO: Extracted packet for processing {"connection_id":55238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:06:20] 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-04-26 09:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":55238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:20] local.INFO: GPS data processed {"connection_id":55238,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:20] local.INFO: Acknowledgment sent {"connection_id":55238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:39] local.INFO: TCP Data received {"connection_id":55239,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:06:39] local.INFO: Processing buffer {"connection_id":55239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:06:39] local.INFO: IMEI packet received {"connection_id":55239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":55239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:06:44] local.INFO: TCP Data received {"connection_id":55239,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55239,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:06:44] local.INFO: Processing buffer {"connection_id":55239,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:06:44] local.INFO: IMEI packet received {"connection_id":55239,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":55239,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:06:45] local.INFO: TCP Data received {"connection_id":55239,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d8fde0012d78b80005d3b1000000015825..."} 
[2026-04-26 09:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d8fde0012d78b80005d3b1000000015825..."} 
[2026-04-26 09:06:45] local.INFO: Processing buffer {"connection_id":55239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d8fde0012d78b80005d3b1000000015825..."} 
[2026-04-26 09:06:45] local.INFO: Packet analysis {"connection_id":55239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:06:45] local.INFO: Extracted packet for processing {"connection_id":55239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d8"} 
[2026-04-26 09:06:45] local.INFO: GPS Element Parsed {"raw_longitude":762886144,"raw_latitude":97759488,"longitude_deg":76.2886144,"latitude_deg":9.7759488,"altitude":0,"angle":344,"satellites":37,"speed":5,"hex_longitude":"2d78b800","hex_latitude":"05d3b100","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956641024001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417758937481216,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698702705292503040,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:45] 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-04-26 09:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777174380000,"timestamp_ms":1777174380000,"timestamp_seconds":1777174380,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d8fde0"} 
[2026-04-26 09:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:06:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 09:06: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-04-26 09: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-04-26 09:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":55239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":55239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956641024001,"66":13504,"53":206,"85":15104,"24":5,"16":76417758937481216,"45":8698702705292503040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956641024001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:45] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:06:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417758937481216,"km_value":76417758937481.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698702705292503040,"description":"Unknown IO ID 45"} 
[2026-04-26 09:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956641024001,"power":13504,"unknown_53":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8698702705292503040}} 
[2026-04-26 09:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":55239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64196,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:45] local.INFO: GPS data processed {"connection_id":55239,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:45] local.INFO: Acknowledgment sent {"connection_id":55239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:49] local.INFO: TCP Data received {"connection_id":55239,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d94c00012d78b78005d3ae880000015826..."} 
[2026-04-26 09:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d94c00012d78b78005d3ae880000015826..."} 
[2026-04-26 09:06:49] local.INFO: Processing buffer {"connection_id":55239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d94c00012d78b78005d3ae880000015826..."} 
[2026-04-26 09:06:49] local.INFO: Packet analysis {"connection_id":55239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d9"} 
[2026-04-26 09:06:49] local.INFO: Extracted packet for processing {"connection_id":55239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d9"} 
[2026-04-26 09:06:49] local.INFO: GPS Element Parsed {"raw_longitude":762886016,"raw_latitude":97758856,"longitude_deg":76.2886016,"latitude_deg":9.7758856,"altitude":0,"angle":344,"satellites":38,"speed":0,"hex_longitude":"2d78b780","hex_latitude":"05d3ae88","is_valid_coordinates":true} 
[2026-04-26 09:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956641280001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698702705292541952,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06: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-04-26 09:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777174400000,"timestamp_ms":1777174400000,"timestamp_seconds":1777174400,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d94c00"} 
[2026-04-26 09:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-26 09:06:49] 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-04-26 09:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55239,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956641280001,"66":13820,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698702705292541952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956641280001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:49] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:06:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698702705292541952,"description":"Unknown IO ID 45"} 
[2026-04-26 09:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956641280001,"power":13820,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698702705292541952}} 
[2026-04-26 09:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":55239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:49] local.INFO: GPS data processed {"connection_id":55239,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:49] local.INFO: Acknowledgment sent {"connection_id":55239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:51] local.INFO: TCP Data received {"connection_id":55238,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:06:51] local.INFO: Processing buffer {"connection_id":55238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:06:51] local.INFO: Packet analysis {"connection_id":55238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:06:51] local.INFO: Extracted packet for processing {"connection_id":55238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":55238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:51] local.INFO: GPS data processed {"connection_id":55238,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:51] local.INFO: Acknowledgment sent {"connection_id":55238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:06:52] local.INFO: TCP Data received {"connection_id":54574,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7dc49a0012d1a8740072049d0003f00e919..."} 
[2026-04-26 09:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7dc49a0012d1a8740072049d0003f00e919..."} 
[2026-04-26 09:06:52] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7dc49a0012d1a8740072049d0003f00e919..."} 
[2026-04-26 09:06:52] local.INFO: Packet analysis {"connection_id":54574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7dc"} 
[2026-04-26 09:06:52] local.INFO: Extracted packet for processing {"connection_id":54574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7dc"} 
[2026-04-26 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756713280,"raw_latitude":119556560,"longitude_deg":75.671328,"latitude_deg":11.955656,"altitude":63,"angle":233,"satellites":25,"speed":16,"hex_longitude":"2d1a8740","hex_latitude":"072049d0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956696320001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114551029801943040,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911848441169510400,"note":"Value kept but may cause issues"} 
[2026-04-26 09:06:52] 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-04-26 09:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777174596000,"timestamp_ms":1777174596000,"timestamp_seconds":1777174596,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7dc49a0"} 
[2026-04-26 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-04-26 09:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 09:06: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-04-26 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-04-26 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-04-26 09:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956696320001,"66":13961,"121":206,"28":31744,"24":16,"16":114551029801943040,"45":1911848441169510400},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956696320001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:06:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:06:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114551029801943040,"km_value":114551029801943.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911848441169510400,"description":"Unknown IO ID 45"} 
[2026-04-26 09:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956696320001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1911848441169510400}} 
[2026-04-26 09:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":54574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:06:52] local.INFO: GPS data processed {"connection_id":54574,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:06:52] local.INFO: Acknowledgment sent {"connection_id":54574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:07:13] local.INFO: TCP Data received {"connection_id":55240,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:13] local.INFO: Processing buffer {"connection_id":55240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:13] local.INFO: IMEI packet received {"connection_id":55240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":55240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:07:15] local.INFO: TCP Data received {"connection_id":55240,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:15] local.INFO: Processing buffer {"connection_id":55240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:15] local.INFO: IMEI packet received {"connection_id":55240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":55240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:07:19] local.INFO: TCP Data received {"connection_id":55240,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:19] local.INFO: Processing buffer {"connection_id":55240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:07:19] local.INFO: IMEI packet received {"connection_id":55240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":55240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:07:20] local.INFO: TCP Data received {"connection_id":55241,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:07:20] local.INFO: Processing buffer {"connection_id":55241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:07:20] local.INFO: IMEI packet received {"connection_id":55241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":55241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:07:20] local.INFO: TCP Data received {"connection_id":55240,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7dc4d88012d1a854007204930004000fc19..."} 
[2026-04-26 09:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7dc4d88012d1a854007204930004000fc19..."} 
[2026-04-26 09:07:20] local.INFO: Processing buffer {"connection_id":55240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7dc4d88012d1a854007204930004000fc19..."} 
[2026-04-26 09:07:20] local.INFO: Packet analysis {"connection_id":55240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7dc"} 
[2026-04-26 09:07:20] local.INFO: Extracted packet for processing {"connection_id":55240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7dc"} 
[2026-04-26 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756712768,"raw_latitude":119556400,"longitude_deg":75.6712768,"latitude_deg":11.95564,"altitude":64,"angle":252,"satellites":25,"speed":16,"hex_longitude":"2d1a8540","hex_latitude":"07204930","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956696576001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114551051276779520,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911566966192721920,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:20] 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-04-26 09:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174597000,"timestamp_ms":1777174597000,"timestamp_seconds":1777174597,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7dc4d88"} 
[2026-04-26 09:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956696576001,"66":13961,"121":206,"28":31744,"24":16,"16":114551051276779520,"45":1911566966192721920},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956696576001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:07:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:07:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114551051276779520,"km_value":114551051276779.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911566966192721920,"description":"Unknown IO ID 45"} 
[2026-04-26 09:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956696576001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1911566966192721920}} 
[2026-04-26 09:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":55240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:07:20] local.INFO: GPS data processed {"connection_id":55240,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:07:20] local.INFO: Acknowledgment sent {"connection_id":55240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:07:25] local.INFO: TCP Data received {"connection_id":55241,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:07:25] local.INFO: Processing buffer {"connection_id":55241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:07:25] local.INFO: IMEI packet received {"connection_id":55241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":55241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:07:25] local.INFO: TCP Data received {"connection_id":55241,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:07:25] local.INFO: Processing buffer {"connection_id":55241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:07:25] local.INFO: Packet analysis {"connection_id":55241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:07:25] local.INFO: Extracted packet for processing {"connection_id":55241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:07:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:07:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:07:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:07:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":55241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:07:25] local.INFO: GPS data processed {"connection_id":55241,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:07:25] local.INFO: Acknowledgment sent {"connection_id":55241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:07:30] local.INFO: TCP Data received {"connection_id":55241,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:07:30] local.INFO: Processing buffer {"connection_id":55241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:07:30] local.INFO: Packet analysis {"connection_id":55241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:07:30] local.INFO: Extracted packet for processing {"connection_id":55241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:07:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":55241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:07:30] local.INFO: GPS data processed {"connection_id":55241,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:07:30] local.INFO: Acknowledgment sent {"connection_id":55241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:07:34] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:07:34] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:07:34] local.INFO: IMEI packet received {"connection_id":54503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":54503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:07:39] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:07:39] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:07:39] local.INFO: IMEI packet received {"connection_id":54503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":54503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:07:40] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d97ec8012d78b78005d3ae880000015825..."} 
[2026-04-26 09:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d97ec8012d78b78005d3ae880000015825..."} 
[2026-04-26 09:07:40] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d97ec8012d78b78005d3ae880000015825..."} 
[2026-04-26 09:07:40] local.INFO: Packet analysis {"connection_id":54503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d9"} 
[2026-04-26 09:07:40] local.INFO: Extracted packet for processing {"connection_id":54503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d9"} 
[2026-04-26 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":762886016,"raw_latitude":97758856,"longitude_deg":76.2886016,"latitude_deg":9.7758856,"altitude":0,"angle":344,"satellites":37,"speed":0,"hex_longitude":"2d78b780","hex_latitude":"05d3ae88","is_valid_coordinates":true} 
[2026-04-26 09:07: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-04-26 09:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956646400001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07: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-04-26 09:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174413000,"timestamp_ms":1777174413000,"timestamp_seconds":1777174413,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d97ec8"} 
[2026-04-26 09:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 09:07:40] 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-04-26 09:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956646400001,"66":13678,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956646400001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:07:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:07:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956646400001,"power":13678,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":54503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:07:40] local.INFO: GPS data processed {"connection_id":54503,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:07:40] local.INFO: Acknowledgment sent {"connection_id":54503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:07:53] local.INFO: TCP Data received {"connection_id":55240,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7dd3400012d19f80007203108003000ee1a..."} 
[2026-04-26 09:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7dd3400012d19f80007203108003000ee1a..."} 
[2026-04-26 09:07:53] local.INFO: Processing buffer {"connection_id":55240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7dd3400012d19f80007203108003000ee1a..."} 
[2026-04-26 09:07:53] local.INFO: Packet analysis {"connection_id":55240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7dd"} 
[2026-04-26 09:07:53] local.INFO: Extracted packet for processing {"connection_id":55240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7dd"} 
[2026-04-26 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":756676608,"raw_latitude":119550216,"longitude_deg":75.6676608,"latitude_deg":11.9550216,"altitude":48,"angle":238,"satellites":26,"speed":32,"hex_longitude":"2d19f800","hex_latitude":"07203108","is_valid_coordinates":true} 
[2026-04-26 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:07:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956710912001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114552850868076544,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874130794289082368,"note":"Value kept but may cause issues"} 
[2026-04-26 09:07:53] 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-04-26 09:07:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777174656000,"timestamp_ms":1777174656000,"timestamp_seconds":1777174656,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7dd3400"} 
[2026-04-26 09:07:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:07:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:07:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:07:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:07:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:07:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:07:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:07:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:07:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:07:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:07:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:07:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:07:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:07:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956710912001,"66":13917,"121":206,"28":31744,"24":32,"16":114552850868076544,"45":1874130794289082368},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:07:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:07:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:07:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956710912001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:07:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:07:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:07:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114552850868076544,"km_value":114552850868076.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:07:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874130794289082368,"description":"Unknown IO ID 45"} 
[2026-04-26 09:07:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956710912001,"power":13917,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1874130794289082368}} 
[2026-04-26 09:07:53] local.INFO: DEBUG: GPS processor result {"connection_id":55240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:07:53] local.INFO: GPS data processed {"connection_id":55240,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:07:53] local.INFO: Acknowledgment sent {"connection_id":55240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:11] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7d97ec8012d78b78005d3ae880000015825..."} 
[2026-04-26 09:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7d97ec8012d78b78005d3ae880000015825..."} 
[2026-04-26 09:08:11] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7d97ec8012d78b78005d3ae880000015825..."} 
[2026-04-26 09:08:11] local.INFO: Packet analysis {"connection_id":54503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7d9"} 
[2026-04-26 09:08:11] local.INFO: Extracted packet for processing {"connection_id":54503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7d9"} 
[2026-04-26 09:08:11] local.INFO: GPS Element Parsed {"raw_longitude":762886016,"raw_latitude":97758856,"longitude_deg":76.2886016,"latitude_deg":9.7758856,"altitude":0,"angle":344,"satellites":37,"speed":0,"hex_longitude":"2d78b780","hex_latitude":"05d3ae88","is_valid_coordinates":true} 
[2026-04-26 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:11] 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-04-26 09:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174413000,"timestamp_ms":1777174413000,"timestamp_seconds":1777174413,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7d97ec8"} 
[2026-04-26 09:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:08:11] 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-04-26 09:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13678,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:08:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:08:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13678,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":54503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:08:11] local.INFO: GPS data processed {"connection_id":54503,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:08:11] local.INFO: Acknowledgment sent {"connection_id":54503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:15] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:08:15] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:08:15] local.INFO: IMEI packet received {"connection_id":54319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":54319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:08:16] local.INFO: TCP Data received {"connection_id":54576,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:16] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:16] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:08:18] local.INFO: TCP Data received {"connection_id":54576,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:18] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:18] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:08:20] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:08:20] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:08:20] local.INFO: IMEI packet received {"connection_id":54319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":54319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:08:20] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:08:20] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:08:20] local.INFO: Packet analysis {"connection_id":54319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:08:20] local.INFO: Extracted packet for processing {"connection_id":54319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:08:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":54319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:08:20] local.INFO: GPS data processed {"connection_id":54319,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:08:20] local.INFO: Acknowledgment sent {"connection_id":54319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:23] local.INFO: TCP Data received {"connection_id":54576,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:23] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:08:23] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:08:24] local.INFO: TCP Data received {"connection_id":54576,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7dd4788012d19e80007202a20002c00fb1a..."} 
[2026-04-26 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7dd4788012d19e80007202a20002c00fb1a..."} 
[2026-04-26 09:08:24] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7dd4788012d19e80007202a20002c00fb1a..."} 
[2026-04-26 09:08:24] local.INFO: Packet analysis {"connection_id":54576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7dd"} 
[2026-04-26 09:08:24] local.INFO: Extracted packet for processing {"connection_id":54576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7dd"} 
[2026-04-26 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756672512,"raw_latitude":119548448,"longitude_deg":75.6672512,"latitude_deg":11.9548448,"altitude":44,"angle":251,"satellites":26,"speed":34,"hex_longitude":"2d19e800","hex_latitude":"07202a20","is_valid_coordinates":true} 
[2026-04-26 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956711936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114553065616441344,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871245675777296384,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:24] 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-04-26 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777174661000,"timestamp_ms":1777174661000,"timestamp_seconds":1777174661,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7dd4788"} 
[2026-04-26 09:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-26 09:08:24] 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-04-26 09:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956711936001,"66":14559,"121":206,"28":31744,"24":34,"16":114553065616441344,"45":1871245675777296384},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956711936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:08:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:08:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114553065616441344,"km_value":114553065616441.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871245675777296384,"description":"Unknown IO ID 45"} 
[2026-04-26 09:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956711936001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1871245675777296384}} 
[2026-04-26 09:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":54576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:08:25] local.INFO: GPS data processed {"connection_id":54576,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:08:25] local.INFO: Acknowledgment sent {"connection_id":54576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:29] local.INFO: TCP Data received {"connection_id":54576,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7dd5b10012d19d8c007202708002b01091a..."} 
[2026-04-26 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7dd5b10012d19d8c007202708002b01091a..."} 
[2026-04-26 09:08:29] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7dd5b10012d19d8c007202708002b01091a..."} 
[2026-04-26 09:08:29] local.INFO: Packet analysis {"connection_id":54576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7dd"} 
[2026-04-26 09:08:29] local.INFO: Extracted packet for processing {"connection_id":54576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7dd"} 
[2026-04-26 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119547656,"longitude_deg":75.6668608,"latitude_deg":11.9547656,"altitude":43,"angle":265,"satellites":26,"speed":26,"hex_longitude":"2d19d8c0","hex_latitude":"07202708","is_valid_coordinates":true} 
[2026-04-26 09:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956713216001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114553254595002368,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866742076149473280,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:29] 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-04-26 09:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777174666000,"timestamp_ms":1777174666000,"timestamp_seconds":1777174666,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7dd5b10"} 
[2026-04-26 09:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-26 09:08:29] 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-04-26 09:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956713216001,"66":13993,"121":206,"28":31744,"24":26,"16":114553254595002368,"45":1866742076149473280},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956713216001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:08:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:08:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114553254595002368,"km_value":114553254595002.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866742076149473280,"description":"Unknown IO ID 45"} 
[2026-04-26 09:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956713216001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1866742076149473280}} 
[2026-04-26 09:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":54576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:08:29] local.INFO: GPS data processed {"connection_id":54576,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:08:29] local.INFO: Acknowledgment sent {"connection_id":54576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:34] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:08:34] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:08:34] local.INFO: IMEI packet received {"connection_id":54577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":54577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:08:39] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:08:39] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:08:39] local.INFO: IMEI packet received {"connection_id":54577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":54577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:08:40] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:08:40] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:08:40] local.INFO: Packet analysis {"connection_id":54577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:08:40] local.INFO: Extracted packet for processing {"connection_id":54577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:08:40] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08: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-04-26 09:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:08:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":54577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:08:40] local.INFO: GPS data processed {"connection_id":54577,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:08:40] local.INFO: Acknowledgment sent {"connection_id":54577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:52] local.INFO: TCP Data received {"connection_id":54319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:08:52] local.INFO: Processing buffer {"connection_id":54319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:08:52] local.INFO: Packet analysis {"connection_id":54319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:08:52] local.INFO: Extracted packet for processing {"connection_id":54319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:08:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 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-04-26 09:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 09:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:08:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":54319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:08:52] local.INFO: GPS data processed {"connection_id":54319,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:08:52] local.INFO: Acknowledgment sent {"connection_id":54319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:08:55] local.INFO: TCP Data received {"connection_id":55242,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:08:55] local.INFO: Processing buffer {"connection_id":55242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:08:55] local.INFO: IMEI packet received {"connection_id":55242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":55242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:09:11] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:09:11] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:09:11] local.INFO: Packet analysis {"connection_id":54577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:11] local.INFO: Extracted packet for processing {"connection_id":54577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:11] 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-04-26 09:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:09:11] 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-04-26 09:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:09:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":54577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:11] local.INFO: GPS data processed {"connection_id":54577,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:11] local.INFO: Acknowledgment sent {"connection_id":54577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:09:13] local.INFO: TCP Data received {"connection_id":55243,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:13] local.INFO: Processing buffer {"connection_id":55243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:13] local.INFO: IMEI packet received {"connection_id":55243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":55243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:09:13] local.INFO: TCP Data received {"connection_id":55243,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:13] local.INFO: Processing buffer {"connection_id":55243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:13] local.INFO: IMEI packet received {"connection_id":55243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":55243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:09:14] local.INFO: TCP Data received {"connection_id":54320,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:09:14] local.INFO: Processing buffer {"connection_id":54320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:09:14] local.INFO: IMEI packet received {"connection_id":54320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":54320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:09:17] local.INFO: TCP Data received {"connection_id":55243,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:17] local.INFO: Processing buffer {"connection_id":55243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:09:17] local.INFO: IMEI packet received {"connection_id":55243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":55243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:09:18] local.INFO: TCP Data received {"connection_id":55243,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de4188012d19b5c007206c10002c014e1a..."} 
[2026-04-26 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de4188012d19b5c007206c10002c014e1a..."} 
[2026-04-26 09:09:18] local.INFO: Processing buffer {"connection_id":55243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de4188012d19b5c007206c10002c014e1a..."} 
[2026-04-26 09:09:18] local.INFO: Packet analysis {"connection_id":55243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:18] local.INFO: Extracted packet for processing {"connection_id":55243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119565328,"longitude_deg":75.6659648,"latitude_deg":11.9565328,"altitude":44,"angle":334,"satellites":26,"speed":38,"hex_longitude":"2d19b5c0","hex_latitude":"07206c10","is_valid_coordinates":true} 
[2026-04-26 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956729088001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114554470070747136,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646015379456,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:18] 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-04-26 09:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777174725000,"timestamp_ms":1777174725000,"timestamp_seconds":1777174725,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de4188"} 
[2026-04-26 09:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:18] 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-04-26 09:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:09: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-04-26 09:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956729088001,"66":14428,"121":206,"28":31744,"24":38,"16":114554470070747136,"45":1853301646015379456},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956729088001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:09:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114554470070747136,"km_value":114554470070747.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646015379456,"description":"Unknown IO ID 45"} 
[2026-04-26 09:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956729088001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1853301646015379456}} 
[2026-04-26 09:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":55243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:18] local.INFO: GPS data processed {"connection_id":55243,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:18] local.INFO: Acknowledgment sent {"connection_id":55243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:09:19] local.INFO: TCP Data received {"connection_id":54320,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:09:19] local.INFO: Processing buffer {"connection_id":54320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:09:19] local.INFO: IMEI packet received {"connection_id":54320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:09:20] local.INFO: TCP Data received {"connection_id":54320,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:09:20] local.INFO: Processing buffer {"connection_id":54320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:09:20] local.INFO: Packet analysis {"connection_id":54320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:09:20] local.INFO: Extracted packet for processing {"connection_id":54320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":54320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:20] local.INFO: GPS data processed {"connection_id":54320,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:20] local.INFO: Acknowledgment sent {"connection_id":54320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:09:25] local.INFO: TCP Data received {"connection_id":54320,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:09:25] local.INFO: Processing buffer {"connection_id":54320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7da2aa8012cb299c007822ce0004900122e..."} 
[2026-04-26 09:09:25] local.INFO: Packet analysis {"connection_id":54320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:09:25] local.INFO: Extracted packet for processing {"connection_id":54320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7da"} 
[2026-04-26 09:09:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956583936001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777174457000,"timestamp_ms":1777174457000,"timestamp_seconds":1777174457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7da2aa8"} 
[2026-04-26 09:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 09:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956583936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956583936001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956583936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":54320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:25] local.INFO: GPS data processed {"connection_id":54320,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:25] local.INFO: Acknowledgment sent {"connection_id":54320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:09:34] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:09:34] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:09:34] local.INFO: IMEI packet received {"connection_id":54504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":54504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:09:39] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:09:39] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:09:39] local.INFO: IMEI packet received {"connection_id":54504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":54504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:09:40] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:09:40] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:09:40] local.INFO: Packet analysis {"connection_id":54504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:40] local.INFO: Extracted packet for processing {"connection_id":54504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:40] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09: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-04-26 09:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:09:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":54504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:40] local.INFO: GPS data processed {"connection_id":54504,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:40] local.INFO: Acknowledgment sent {"connection_id":54504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:09:40] local.INFO: TCP Data received {"connection_id":54578,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:09:40] local.INFO: Processing buffer {"connection_id":54578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:09:40] local.INFO: IMEI packet received {"connection_id":54578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":54578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:09:50] local.INFO: TCP Data received {"connection_id":55243,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7df00f0012d195d800720ab000035010b1a..."} 
[2026-04-26 09:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7df00f0012d195d800720ab000035010b1a..."} 
[2026-04-26 09:09:50] local.INFO: Processing buffer {"connection_id":55243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7df00f0012d195d800720ab000035010b1a..."} 
[2026-04-26 09:09:50] local.INFO: Packet analysis {"connection_id":55243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7df"} 
[2026-04-26 09:09:50] local.INFO: Extracted packet for processing {"connection_id":55243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7df"} 
[2026-04-26 09:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756637056,"raw_latitude":119581440,"longitude_deg":75.6637056,"latitude_deg":11.958144,"altitude":53,"angle":267,"satellites":26,"speed":36,"hex_longitude":"2d195d80","hex_latitude":"0720ab00","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956740608001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114556450050670592,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834724297557397504,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:50] 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-04-26 09:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777174774000,"timestamp_ms":1777174774000,"timestamp_seconds":1777174774,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7df00f0"} 
[2026-04-26 09:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:50] 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-04-26 09: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":60,"data_length":795,"current_offset":136} 
[2026-04-26 09:09: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-04-26 09: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-04-26 09:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956740608001,"66":14428,"121":206,"28":31744,"24":36,"16":114556450050670592,"45":1834724297557397504},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956740608001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:09:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114556450050670592,"km_value":114556450050670.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834724297557397504,"description":"Unknown IO ID 45"} 
[2026-04-26 09:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956740608001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1834724297557397504}} 
[2026-04-26 09:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":55243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:50] local.INFO: GPS data processed {"connection_id":55243,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:50] local.INFO: Acknowledgment sent {"connection_id":55243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:09:56] local.INFO: TCP Data received {"connection_id":54320,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:09:56] local.INFO: Processing buffer {"connection_id":54320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:09:56] local.INFO: Packet analysis {"connection_id":54320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:56] local.INFO: Extracted packet for processing {"connection_id":54320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:09:56] 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-04-26 09:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:09:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":54320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:09:56] local.INFO: GPS data processed {"connection_id":54320,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:09:56] local.INFO: Acknowledgment sent {"connection_id":54320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:10:11] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:10:11] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:10:11] local.INFO: Packet analysis {"connection_id":54504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:11] local.INFO: Extracted packet for processing {"connection_id":54504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:11] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:11] 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-04-26 09:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:10:11] 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-04-26 09:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:10:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":54504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:10:11] local.INFO: GPS data processed {"connection_id":54504,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:10:11] local.INFO: Acknowledgment sent {"connection_id":54504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:10:13] local.INFO: TCP Data received {"connection_id":54579,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:13] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:13] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:10:14] local.INFO: TCP Data received {"connection_id":54579,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:14] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:14] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:10:14] local.INFO: TCP Data received {"connection_id":54505,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:10:14] local.INFO: Processing buffer {"connection_id":54505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:10:14] local.INFO: IMEI packet received {"connection_id":54505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:10:18] local.INFO: TCP Data received {"connection_id":54579,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:18] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:10:18] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:10:19] local.INFO: TCP Data received {"connection_id":54579,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7df1090012d194dc00720aba8003401181a..."} 
[2026-04-26 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7df1090012d194dc00720aba8003401181a..."} 
[2026-04-26 09:10:19] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7df1090012d194dc00720aba8003401181a..."} 
[2026-04-26 09:10:19] local.INFO: Packet analysis {"connection_id":54579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7df"} 
[2026-04-26 09:10:19] local.INFO: Extracted packet for processing {"connection_id":54579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7df"} 
[2026-04-26 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119581608,"longitude_deg":75.6633024,"latitude_deg":11.9581608,"altitude":52,"angle":280,"satellites":26,"speed":42,"hex_longitude":"2d194dc0","hex_latitude":"0720aba8","is_valid_coordinates":true} 
[2026-04-26 09:10: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-04-26 09:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956742144001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114556643324198912,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827757791883493376,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:19] 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-04-26 09:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777174778000,"timestamp_ms":1777174778000,"timestamp_seconds":1777174778,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7df1090"} 
[2026-04-26 09:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:10: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-04-26 09:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956742144001,"66":14363,"121":206,"28":31744,"24":42,"16":114556643324198912,"45":1827757791883493376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956742144001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:10:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114556643324198912,"km_value":114556643324198.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827757791883493376,"description":"Unknown IO ID 45"} 
[2026-04-26 09:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956742144001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1827757791883493376}} 
[2026-04-26 09:10:20] local.INFO: TCP Data received {"connection_id":54505,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:10:20] local.INFO: Processing buffer {"connection_id":54505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:10:20] local.INFO: IMEI packet received {"connection_id":54505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":54579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:10:20] local.INFO: GPS data processed {"connection_id":54579,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:10:20] local.INFO: Acknowledgment sent {"connection_id":54579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:10:20] local.INFO: TCP Data received {"connection_id":54505,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:10:20] local.INFO: Processing buffer {"connection_id":54505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:10:20] local.INFO: Packet analysis {"connection_id":54505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:20] local.INFO: Extracted packet for processing {"connection_id":54505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:10: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-04-26 09:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:10:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":54505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:10:20] local.INFO: GPS data processed {"connection_id":54505,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:10:20] local.INFO: Acknowledgment sent {"connection_id":54505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:10:34] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:10:34] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:10:34] local.INFO: IMEI packet received {"connection_id":54581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":54581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:10:39] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:10:39] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:10:39] local.INFO: IMEI packet received {"connection_id":54581,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":54581,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:10:40] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:10:40] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:10:40] local.INFO: Packet analysis {"connection_id":54581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:40] local.INFO: Extracted packet for processing {"connection_id":54581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10: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-04-26 09:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:10:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:10:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":54581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:10:40] local.INFO: GPS data processed {"connection_id":54581,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:10:40] local.INFO: Acknowledgment sent {"connection_id":54581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:10:51] local.INFO: TCP Data received {"connection_id":54579,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e006a8012d18d200072119580042000319..."} 
[2026-04-26 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e006a8012d18d200072119580042000319..."} 
[2026-04-26 09:10:51] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e006a8012d18d200072119580042000319..."} 
[2026-04-26 09:10:51] local.INFO: Packet analysis {"connection_id":54579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e0"} 
[2026-04-26 09:10:51] local.INFO: Extracted packet for processing {"connection_id":54579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e0"} 
[2026-04-26 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119609688,"longitude_deg":75.6601344,"latitude_deg":11.9609688,"altitude":66,"angle":3,"satellites":25,"speed":32,"hex_longitude":"2d18d200","hex_latitude":"07211958","is_valid_coordinates":true} 
[2026-04-26 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956758528001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114558812282683392,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401383143424,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:51] 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-04-26 09:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174841000,"timestamp_ms":1777174841000,"timestamp_seconds":1777174841,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e006a8"} 
[2026-04-26 09:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:10:51] 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-04-26 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 09:10: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-04-26 09:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956758528001,"66":14102,"121":206,"28":31744,"24":32,"16":114558812282683392,"45":1788562401383143424},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956758528001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:10:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:10:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114558812282683392,"km_value":114558812282683.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401383143424,"description":"Unknown IO ID 45"} 
[2026-04-26 09:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956758528001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1788562401383143424}} 
[2026-04-26 09:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":54579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:10:51] local.INFO: GPS data processed {"connection_id":54579,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:10:51] local.INFO: Acknowledgment sent {"connection_id":54579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:10:52] local.INFO: TCP Data received {"connection_id":54505,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:10:52] local.INFO: Processing buffer {"connection_id":54505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:10:52] local.INFO: Packet analysis {"connection_id":54505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:52] local.INFO: Extracted packet for processing {"connection_id":54505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:10:52] 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-04-26 09: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-04-26 09:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":54505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:10:52] local.INFO: GPS data processed {"connection_id":54505,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:10:52] local.INFO: Acknowledgment sent {"connection_id":54505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:11:11] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:11:11] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:11:11] local.INFO: Packet analysis {"connection_id":54581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:11] local.INFO: Extracted packet for processing {"connection_id":54581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:11] 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-04-26 09:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:11:11] 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-04-26 09:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54581,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:11:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":54581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:11:11] local.INFO: GPS data processed {"connection_id":54581,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:11:11] local.INFO: Acknowledgment sent {"connection_id":54581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:11:11] local.INFO: TCP Data received {"connection_id":54506,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:11] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:11] local.INFO: IMEI packet received {"connection_id":54506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":54506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:11:13] local.INFO: TCP Data received {"connection_id":54506,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:13] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:13] local.INFO: IMEI packet received {"connection_id":54506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":54506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:11:13] local.INFO: TCP Data received {"connection_id":54506,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:13] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:13] local.INFO: IMEI packet received {"connection_id":54506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":54506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:11:14] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:11:14] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:11:14] local.INFO: IMEI packet received {"connection_id":54507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":54507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:11:15] local.INFO: TCP Data received {"connection_id":54506,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:15] local.INFO: Processing buffer {"connection_id":54506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:11:15] local.INFO: IMEI packet received {"connection_id":54506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":54506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:11:20] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:11:20] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:11:20] local.INFO: IMEI packet received {"connection_id":54507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:11:20] local.INFO: IMEI acknowledgment sent {"connection_id":54507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:11:20] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:11:20] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:11:20] local.INFO: Packet analysis {"connection_id":54507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:20] local.INFO: Extracted packet for processing {"connection_id":54507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:11: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-04-26 09: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-04-26 09:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:11:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":54507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:11:20] local.INFO: GPS data processed {"connection_id":54507,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:11:20] local.INFO: Acknowledgment sent {"connection_id":54507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:11:39] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:11:39] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:11:39] local.INFO: IMEI packet received {"connection_id":54322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":54322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:11:44] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:11:44] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:11:44] local.INFO: IMEI packet received {"connection_id":54322,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":54322,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:11:44] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:11:44] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:11:44] local.INFO: Packet analysis {"connection_id":54322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:44] local.INFO: Extracted packet for processing {"connection_id":54322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:44] 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-04-26 09:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":54322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":54322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":54322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":54322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:11:44] local.INFO: GPS data processed {"connection_id":54322,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:11:44] local.INFO: Acknowledgment sent {"connection_id":54322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:11:51] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:11:51] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:11:51] local.INFO: Packet analysis {"connection_id":54507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:51] local.INFO: Extracted packet for processing {"connection_id":54507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:11: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-04-26 09: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-04-26 09:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:11:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":54507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:11:51] local.INFO: GPS data processed {"connection_id":54507,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:11:51] local.INFO: Acknowledgment sent {"connection_id":54507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:12:16] local.INFO: TCP Data received {"connection_id":54322,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:12:16] local.INFO: Processing buffer {"connection_id":54322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:12:16] local.INFO: Packet analysis {"connection_id":54322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:16] local.INFO: Extracted packet for processing {"connection_id":54322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:16] 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-04-26 09:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:12:16] 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-04-26 09: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-04-26 09:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54322,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:12:16] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:12:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":54322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:12:16] local.INFO: GPS data processed {"connection_id":54322,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:12:16] local.INFO: Acknowledgment sent {"connection_id":54322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:12:20] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:12:20] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:12:20] local.INFO: IMEI packet received {"connection_id":54324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:12:25] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:12:25] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:12:25] local.INFO: IMEI packet received {"connection_id":54324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":54324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:12:25] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:12:25] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:12:25] local.INFO: Packet analysis {"connection_id":54324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:25] local.INFO: Extracted packet for processing {"connection_id":54324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 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-04-26 09:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 09:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:12:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":54324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:12:25] local.INFO: GPS data processed {"connection_id":54324,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:12:25] local.INFO: Acknowledgment sent {"connection_id":54324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:12:29] local.INFO: TCP Data received {"connection_id":54324,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:12:29] local.INFO: Processing buffer {"connection_id":54324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:12:29] local.INFO: Packet analysis {"connection_id":54324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:29] local.INFO: Extracted packet for processing {"connection_id":54324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:12:29] 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-04-26 09:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:12:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":54324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:12:30] local.INFO: GPS data processed {"connection_id":54324,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:12:30] local.INFO: Acknowledgment sent {"connection_id":54324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:12:34] local.INFO: TCP Data received {"connection_id":55244,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:12:34] local.INFO: Processing buffer {"connection_id":55244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:12:34] local.INFO: IMEI packet received {"connection_id":55244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":55244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:12:39] local.INFO: TCP Data received {"connection_id":55244,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:12:39] local.INFO: Processing buffer {"connection_id":55244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:12:39] local.INFO: IMEI packet received {"connection_id":55244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":55244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:12:40] local.INFO: TCP Data received {"connection_id":55244,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:12:40] local.INFO: Processing buffer {"connection_id":55244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:12:40] local.INFO: Packet analysis {"connection_id":55244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:40] local.INFO: Extracted packet for processing {"connection_id":55244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:12:40] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:12: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-04-26 09:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:12:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:12:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":55244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:12:40] local.INFO: GPS data processed {"connection_id":55244,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:12:40] local.INFO: Acknowledgment sent {"connection_id":55244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:13:11] local.INFO: TCP Data received {"connection_id":55244,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:13:11] local.INFO: Processing buffer {"connection_id":55244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7de2248012d78b6c005d3ae580000015828..."} 
[2026-04-26 09:13:11] local.INFO: Packet analysis {"connection_id":55244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:13:11] local.INFO: Extracted packet for processing {"connection_id":55244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":40,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956649728001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698561967804024832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:11] 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-04-26 09:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777174717000,"timestamp_ms":1777174717000,"timestamp_seconds":1777174717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7de2248"} 
[2026-04-26 09:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:13:11] 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-04-26 09:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":55244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":55244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":55244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956649728001,"66":13254,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698561967804024832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956649728001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:13:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698561967804024832,"description":"Unknown IO ID 45"} 
[2026-04-26 09:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956649728001,"power":13254,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698561967804024832}} 
[2026-04-26 09:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":55244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:13:11] local.INFO: GPS data processed {"connection_id":55244,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:13:11] local.INFO: Acknowledgment sent {"connection_id":55244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:13:15] local.INFO: TCP Data received {"connection_id":55246,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:13:15] local.INFO: Processing buffer {"connection_id":55246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:13:15] local.INFO: IMEI packet received {"connection_id":55246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":55246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:13:20] local.INFO: TCP Data received {"connection_id":55246,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:13:20] local.INFO: Processing buffer {"connection_id":55246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:13:20] local.INFO: IMEI packet received {"connection_id":55246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":55246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:13:20] local.INFO: TCP Data received {"connection_id":55246,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:13:20] local.INFO: Processing buffer {"connection_id":55246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:13:20] local.INFO: Packet analysis {"connection_id":55246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:13:20] local.INFO: Extracted packet for processing {"connection_id":55246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:13: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-04-26 09: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-04-26 09:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:13: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-04-26 09:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:13:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":55246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:13:20] local.INFO: GPS data processed {"connection_id":55246,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:13:20] local.INFO: Acknowledgment sent {"connection_id":55246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:13:34] local.INFO: TCP Data received {"connection_id":54325,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:34] local.INFO: Processing buffer {"connection_id":54325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:34] local.INFO: IMEI packet received {"connection_id":54325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 09:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":54325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:13:35] local.INFO: TCP Data received {"connection_id":54325,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:35] local.INFO: Processing buffer {"connection_id":54325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:35] local.INFO: IMEI packet received {"connection_id":54325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":54325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:13:35] local.INFO: TCP Data received {"connection_id":54325,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:35] local.INFO: Processing buffer {"connection_id":54325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:35] local.INFO: IMEI packet received {"connection_id":54325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":54325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:13:39] local.INFO: TCP Data received {"connection_id":54325,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:39] local.INFO: Processing buffer {"connection_id":54325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 09:13:39] local.INFO: IMEI packet received {"connection_id":54325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 09:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":54325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:13:40] local.INFO: TCP Data received {"connection_id":54325,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e2a2a0012d78b6c005d3ae58000001582b..."} 
[2026-04-26 09:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e2a2a0012d78b6c005d3ae58000001582b..."} 
[2026-04-26 09:13:40] local.INFO: Processing buffer {"connection_id":54325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e2a2a0012d78b6c005d3ae58000001582b..."} 
[2026-04-26 09:13:40] local.INFO: Packet analysis {"connection_id":54325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e2"} 
[2026-04-26 09:13:40] local.INFO: Extracted packet for processing {"connection_id":54325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e2"} 
[2026-04-26 09:13:40] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":43,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956727552001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698350861571479552,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13: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-04-26 09:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777175012000,"timestamp_ms":1777175012000,"timestamp_seconds":1777175012,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e2a2a0"} 
[2026-04-26 09:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-04-26 09:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956727552001,"66":12885,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698350861571479552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956727552001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:13:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698350861571479552,"description":"Unknown IO ID 45"} 
[2026-04-26 09:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956727552001,"power":12885,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698350861571479552}} 
[2026-04-26 09:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":54325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:13:40] local.INFO: GPS data processed {"connection_id":54325,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:13:40] local.INFO: Acknowledgment sent {"connection_id":54325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:13:51] local.INFO: TCP Data received {"connection_id":55246,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:13:51] local.INFO: Processing buffer {"connection_id":55246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:13:51] local.INFO: Packet analysis {"connection_id":55246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:13:51] local.INFO: Extracted packet for processing {"connection_id":55246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:13: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-04-26 09: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-04-26 09:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:13:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":55246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:13:51] local.INFO: GPS data processed {"connection_id":55246,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:13:51] local.INFO: Acknowledgment sent {"connection_id":55246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:14:13] local.INFO: TCP Data received {"connection_id":54325,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e2a688012d78b6c005d3ae58000001582c..."} 
[2026-04-26 09:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e2a688012d78b6c005d3ae58000001582c..."} 
[2026-04-26 09:14:13] local.INFO: Processing buffer {"connection_id":54325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e2a688012d78b6c005d3ae58000001582c..."} 
[2026-04-26 09:14:13] local.INFO: Packet analysis {"connection_id":54325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e2"} 
[2026-04-26 09:14:13] local.INFO: Extracted packet for processing {"connection_id":54325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e2"} 
[2026-04-26 09:14:13] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":97758808,"longitude_deg":76.2885824,"latitude_deg":9.7758808,"altitude":0,"angle":344,"satellites":44,"speed":0,"hex_longitude":"2d78b6c0","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956803072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698350861571479552,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:13] 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-04-26 09:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777175013000,"timestamp_ms":1777175013000,"timestamp_seconds":1777175013,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e2a688"} 
[2026-04-26 09:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 09:14:13] 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-04-26 09:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 09:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 09:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 09:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956803072001,"66":4481,"53":206,"85":15104,"24":0,"16":76417810477088768,"45":8698350861571479552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 09:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 09:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 09:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956803072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:14:13] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 09:14:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 09:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698350861571479552,"description":"Unknown IO ID 45"} 
[2026-04-26 09:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956803072001,"power":4481,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8698350861571479552}} 
[2026-04-26 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":54325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:14:13] local.INFO: GPS data processed {"connection_id":54325,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:14:13] local.INFO: Acknowledgment sent {"connection_id":54325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:14:14] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:14:14] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:14:14] local.INFO: IMEI packet received {"connection_id":54583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":54583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:14:20] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:14:20] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:14:20] local.INFO: IMEI packet received {"connection_id":54583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":54583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:14:20] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:14:20] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:14:20] local.INFO: Packet analysis {"connection_id":54583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:14:20] local.INFO: Extracted packet for processing {"connection_id":54583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:14: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-04-26 09: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-04-26 09:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:14: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-04-26 09:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:14:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":54583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:14:20] local.INFO: GPS data processed {"connection_id":54583,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:14:20] local.INFO: Acknowledgment sent {"connection_id":54583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:14:51] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:14:51] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7debe88012cb299c007822ce0004800122f..."} 
[2026-04-26 09:14:51] local.INFO: Packet analysis {"connection_id":54583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:14:51] local.INFO: Extracted packet for processing {"connection_id":54583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7de"} 
[2026-04-26 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956660992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777174757000,"timestamp_ms":1777174757000,"timestamp_seconds":1777174757,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7debe88"} 
[2026-04-26 09:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:14: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-04-26 09: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-04-26 09:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:14: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-04-26 09:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956660992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956660992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:14:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956660992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":54583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:14:51] local.INFO: GPS data processed {"connection_id":54583,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:14:51] local.INFO: Acknowledgment sent {"connection_id":54583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:15:06] local.INFO: TCP Data received {"connection_id":55247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:15:06] local.INFO: Processing buffer {"connection_id":55247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:15:06] local.INFO: IMEI packet received {"connection_id":55247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":55247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:15:14] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:15:14] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:15:14] local.INFO: IMEI packet received {"connection_id":54509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":54509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:15:20] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:15:20] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:15:20] local.INFO: IMEI packet received {"connection_id":54509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":54509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:15:20] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:15:20] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:15:20] local.INFO: Packet analysis {"connection_id":54509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:15:20] local.INFO: Extracted packet for processing {"connection_id":54509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:15: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-04-26 09: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-04-26 09:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:15: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-04-26 09:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:15:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":54509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:15:20] local.INFO: GPS data processed {"connection_id":54509,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:15:20] local.INFO: Acknowledgment sent {"connection_id":54509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:15:40] local.INFO: TCP Data received {"connection_id":54327,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54327,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:15:40] local.INFO: Processing buffer {"connection_id":54327,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:15:40] local.INFO: IMEI packet received {"connection_id":54327,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":54327,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:15:51] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:15:51] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:15:51] local.INFO: Packet analysis {"connection_id":54509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:15:51] local.INFO: Extracted packet for processing {"connection_id":54509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:15: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-04-26 09:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:15: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-04-26 09:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:15:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":54509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:15:51] local.INFO: GPS data processed {"connection_id":54509,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:15:51] local.INFO: Acknowledgment sent {"connection_id":54509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:16:14] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:16:14] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:16:14] local.INFO: IMEI packet received {"connection_id":54329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":54329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:16:18] local.INFO: TCP Data received {"connection_id":54328,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:16:18] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:16:18] local.INFO: IMEI packet received {"connection_id":54328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":54328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:16:19] local.INFO: TCP Data received {"connection_id":54328,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e44c68012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e44c68012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:16:19] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e44c68012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:16:19] local.INFO: Packet analysis {"connection_id":54328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e4"} 
[2026-04-26 09:16:19] local.INFO: Extracted packet for processing {"connection_id":54328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e4"} 
[2026-04-26 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119641832,"longitude_deg":75.655136,"latitude_deg":11.9641832,"altitude":70,"angle":235,"satellites":34,"speed":0,"hex_longitude":"2d180ec0","hex_latitude":"072196e8","is_valid_coordinates":true} 
[2026-04-26 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956825600001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114562231076651008,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043445061632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777175121000,"timestamp_ms":1777175121000,"timestamp_seconds":1777175121,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e44c68"} 
[2026-04-26 09:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 09:16: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-04-26 09:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956825600001,"66":12385,"120":206,"28":31744,"24":0,"16":114562231076651008,"45":1733534043445061632},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 09:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956825600001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:16:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 09:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114562231076651008,"km_value":114562231076651.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043445061632,"description":"Unknown IO ID 45"} 
[2026-04-26 09:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956825600001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733534043445061632}} 
[2026-04-26 09:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":54328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:16:19] local.INFO: GPS data processed {"connection_id":54328,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:16:19] local.INFO: Acknowledgment sent {"connection_id":54328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:16:20] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:16:20] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:16:20] local.INFO: IMEI packet received {"connection_id":54329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:16:20] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:16:20] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:16:20] local.INFO: Packet analysis {"connection_id":54329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:16:20] local.INFO: Extracted packet for processing {"connection_id":54329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:16: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-04-26 09:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:16: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-04-26 09:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:16:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:16:20] local.INFO: GPS data processed {"connection_id":54329,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:16:20] local.INFO: Acknowledgment sent {"connection_id":54329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:16:50] local.INFO: TCP Data received {"connection_id":54328,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e49a88012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e49a88012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:16:50] local.INFO: Processing buffer {"connection_id":54328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e49a88012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:16:50] local.INFO: Packet analysis {"connection_id":54328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e4"} 
[2026-04-26 09:16:50] local.INFO: Extracted packet for processing {"connection_id":54328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e4"} 
[2026-04-26 09:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119641832,"longitude_deg":75.655136,"latitude_deg":11.9641832,"altitude":70,"angle":235,"satellites":34,"speed":0,"hex_longitude":"2d180ec0","hex_latitude":"072196e8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956830976001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114562231076651008,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043445061632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777175141000,"timestamp_ms":1777175141000,"timestamp_seconds":1777175141,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e49a88"} 
[2026-04-26 09:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"data_length":795,"current_offset":136} 
[2026-04-26 09:16: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-04-26 09: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-04-26 09:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956830976001,"66":12374,"120":206,"28":31744,"24":0,"16":114562231076651008,"45":1733534043445061632},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 09:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956830976001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:16:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 09:16:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114562231076651008,"km_value":114562231076651.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043445061632,"description":"Unknown IO ID 45"} 
[2026-04-26 09:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956830976001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733534043445061632}} 
[2026-04-26 09:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":54328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:16:50] local.INFO: GPS data processed {"connection_id":54328,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:16:50] local.INFO: Acknowledgment sent {"connection_id":54328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:16:52] local.INFO: TCP Data received {"connection_id":54329,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:16:52] local.INFO: Processing buffer {"connection_id":54329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:16:52] local.INFO: Packet analysis {"connection_id":54329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:16:52] local.INFO: Extracted packet for processing {"connection_id":54329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:16:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:16:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:16:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:16:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:16:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:16:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:16:52] 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-04-26 09:16:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:16:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:16:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:16:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:16:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:16:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:16:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:16:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:16:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:16:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:16:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:16:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:16:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:16:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:16:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:16:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:16:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:16:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:16:52] local.INFO: DEBUG: GPS processor result {"connection_id":54329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:16:52] local.INFO: GPS data processed {"connection_id":54329,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:16:52] local.INFO: Acknowledgment sent {"connection_id":54329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:17:13] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:13] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:13] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:17:13] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:13] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:13] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:17:18] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:18] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:17:18] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:17:18] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e4e8a8012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e4e8a8012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:17:18] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e4e8a8012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:17:18] local.INFO: Packet analysis {"connection_id":54585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e4"} 
[2026-04-26 09:17:18] local.INFO: Extracted packet for processing {"connection_id":54585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e4"} 
[2026-04-26 09:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119641832,"longitude_deg":75.655136,"latitude_deg":11.9641832,"altitude":70,"angle":235,"satellites":34,"speed":0,"hex_longitude":"2d180ec0","hex_latitude":"072196e8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956836096001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114562231076651008,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043445061632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777175161000,"timestamp_ms":1777175161000,"timestamp_seconds":1777175161,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e4e8a8"} 
[2026-04-26 09:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-26 09:17:18] 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-04-26 09: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-04-26 09:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956836096001,"66":12374,"120":206,"28":31744,"24":0,"16":114562231076651008,"45":1733534043445061632},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 09:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956836096001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:17:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 09:17:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114562231076651008,"km_value":114562231076651.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043445061632,"description":"Unknown IO ID 45"} 
[2026-04-26 09:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956836096001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733534043445061632}} 
[2026-04-26 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":54585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:17:19] local.INFO: GPS data processed {"connection_id":54585,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:17:19] local.INFO: Acknowledgment sent {"connection_id":54585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:17:20] local.INFO: TCP Data received {"connection_id":55249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:17:20] local.INFO: Processing buffer {"connection_id":55249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:17:20] local.INFO: IMEI packet received {"connection_id":55249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":55249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:17:25] local.INFO: TCP Data received {"connection_id":55249,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:17:25] local.INFO: Processing buffer {"connection_id":55249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:17:25] local.INFO: IMEI packet received {"connection_id":55249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":55249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:17:25] local.INFO: TCP Data received {"connection_id":55249,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:17:25] local.INFO: Processing buffer {"connection_id":55249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:17:25] local.INFO: Packet analysis {"connection_id":55249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:17:25] local.INFO: Extracted packet for processing {"connection_id":55249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:17:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":55249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:17:25] local.INFO: GPS data processed {"connection_id":55249,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:17:25] local.INFO: Acknowledgment sent {"connection_id":55249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:17:30] local.INFO: TCP Data received {"connection_id":55249,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:17:30] local.INFO: Processing buffer {"connection_id":55249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:17:30] local.INFO: Packet analysis {"connection_id":55249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:17:30] local.INFO: Extracted packet for processing {"connection_id":55249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:17: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-04-26 09:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:17:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":55249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:17:30] local.INFO: GPS data processed {"connection_id":55249,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:17:30] local.INFO: Acknowledgment sent {"connection_id":55249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:17:50] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e536c8012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e536c8012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:17:50] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e536c8012d180ec0072196e8004600eb22..."} 
[2026-04-26 09:17:50] local.INFO: Packet analysis {"connection_id":54585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e5"} 
[2026-04-26 09:17:50] local.INFO: Extracted packet for processing {"connection_id":54585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e5"} 
[2026-04-26 09:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119641832,"longitude_deg":75.655136,"latitude_deg":11.9641832,"altitude":70,"angle":235,"satellites":34,"speed":0,"hex_longitude":"2d180ec0","hex_latitude":"072196e8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956841216001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114562231076651008,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043445061632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777175181000,"timestamp_ms":1777175181000,"timestamp_seconds":1777175181,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e536c8"} 
[2026-04-26 09:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":86,"data_length":795,"current_offset":136} 
[2026-04-26 09:17: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-04-26 09: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-04-26 09:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956841216001,"66":12591,"120":206,"28":31744,"24":0,"16":114562231076651008,"45":1733534043445061632},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 09:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956841216001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:17:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 09:17:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114562231076651008,"km_value":114562231076651.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043445061632,"description":"Unknown IO ID 45"} 
[2026-04-26 09:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956841216001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1733534043445061632}} 
[2026-04-26 09:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":54585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:17:50] local.INFO: GPS data processed {"connection_id":54585,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:17:50] local.INFO: Acknowledgment sent {"connection_id":54585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:18:13] local.INFO: TCP Data received {"connection_id":54331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:13] local.INFO: Processing buffer {"connection_id":54331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:13] local.INFO: IMEI packet received {"connection_id":54331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":54331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:18:14] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:18:14] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:18:14] local.INFO: IMEI packet received {"connection_id":54330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:18:15] local.INFO: TCP Data received {"connection_id":54331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:15] local.INFO: Processing buffer {"connection_id":54331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:15] local.INFO: IMEI packet received {"connection_id":54331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:18:18] local.INFO: TCP Data received {"connection_id":54331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:18] local.INFO: Processing buffer {"connection_id":54331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:18:18] local.INFO: IMEI packet received {"connection_id":54331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":54331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:18:20] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:18:20] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:18:20] local.INFO: IMEI packet received {"connection_id":54330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":54330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:18:20] local.INFO: TCP Data received {"connection_id":54331,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e66390012d176a400720dd10003300df23..."} 
[2026-04-26 09:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e66390012d176a400720dd10003300df23..."} 
[2026-04-26 09:18:20] local.INFO: Processing buffer {"connection_id":54331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e66390012d176a400720dd10003300df23..."} 
[2026-04-26 09:18:20] local.INFO: Packet analysis {"connection_id":54331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e6"} 
[2026-04-26 09:18:20] local.INFO: Extracted packet for processing {"connection_id":54331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e6"} 
[2026-04-26 09:18:20] local.INFO: GPS Element Parsed {"raw_longitude":756509248,"raw_latitude":119594256,"longitude_deg":75.6509248,"latitude_deg":11.9594256,"altitude":51,"angle":223,"satellites":35,"speed":45,"hex_longitude":"2d176a40","hex_latitude":"0720dd10","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956863744001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114565319158136832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1694479390416095232,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175258000,"timestamp_ms":1777175258000,"timestamp_seconds":1777175258,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e66390"} 
[2026-04-26 09:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 09:18:20] 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-04-26 09: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-04-26 09:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956863744001,"66":14363,"122":206,"28":31744,"24":45,"16":114565319158136832,"45":1694479390416095232},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956863744001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:18:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:18:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114565319158136832,"km_value":114565319158136.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1694479390416095232,"description":"Unknown IO ID 45"} 
[2026-04-26 09:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956863744001,"power":14363,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1694479390416095232}} 
[2026-04-26 09:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":54331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:18:20] local.INFO: GPS data processed {"connection_id":54331,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:18:20] local.INFO: Acknowledgment sent {"connection_id":54331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:18:21] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:18:21] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:18:21] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:18:21] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:18:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:18:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:18: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-04-26 09: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-04-26 09:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:18: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-04-26 09:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:18:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:18:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:18:21] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:18:21] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:18:52] local.INFO: TCP Data received {"connection_id":54330,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:18:52] local.INFO: Processing buffer {"connection_id":54330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:18:52] local.INFO: Packet analysis {"connection_id":54330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:18:52] local.INFO: Extracted packet for processing {"connection_id":54330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:18:52] 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-04-26 09:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:18: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-04-26 09:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:18:52] local.INFO: GPS data processed {"connection_id":54330,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:18:52] local.INFO: Acknowledgment sent {"connection_id":54330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:18:52] local.INFO: TCP Data received {"connection_id":54331,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e682d0012d174fc00720c2b0002d00e423..."} 
[2026-04-26 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e682d0012d174fc00720c2b0002d00e423..."} 
[2026-04-26 09:18:52] local.INFO: Processing buffer {"connection_id":54331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e682d0012d174fc00720c2b0002d00e423..."} 
[2026-04-26 09:18:52] local.INFO: Packet analysis {"connection_id":54331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e6"} 
[2026-04-26 09:18:52] local.INFO: Extracted packet for processing {"connection_id":54331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e6"} 
[2026-04-26 09:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756502464,"raw_latitude":119587504,"longitude_deg":75.6502464,"latitude_deg":11.9587504,"altitude":45,"angle":228,"satellites":35,"speed":50,"hex_longitude":"2d174fc0","hex_latitude":"0720c2b0","is_valid_coordinates":true} 
[2026-04-26 09:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956866048001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114565778719637504,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687231409763979264,"note":"Value kept but may cause issues"} 
[2026-04-26 09:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175266000,"timestamp_ms":1777175266000,"timestamp_seconds":1777175266,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e682d0"} 
[2026-04-26 09:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 09:18: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-04-26 09:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956866048001,"66":14374,"122":206,"28":31744,"24":50,"16":114565778719637504,"45":1687231409763979264},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956866048001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114565778719637504,"km_value":114565778719637.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687231409763979264,"description":"Unknown IO ID 45"} 
[2026-04-26 09:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956866048001,"power":14374,"unknown_122":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1687231409763979264}} 
[2026-04-26 09:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":54331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:18:52] local.INFO: GPS data processed {"connection_id":54331,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:18:52] local.INFO: Acknowledgment sent {"connection_id":54331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:19:13] local.INFO: TCP Data received {"connection_id":55250,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:19:13] local.INFO: Processing buffer {"connection_id":55250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:19:13] local.INFO: IMEI packet received {"connection_id":55250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":55250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:19:15] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:19:15] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:19:15] local.INFO: IMEI packet received {"connection_id":54511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:19:18] local.INFO: TCP Data received {"connection_id":55250,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:19:18] local.INFO: Processing buffer {"connection_id":55250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:19:18] local.INFO: IMEI packet received {"connection_id":55250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":55250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:19:19] local.INFO: TCP Data received {"connection_id":55250,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e69e28012d1733c00720ac40002800e623..."} 
[2026-04-26 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e69e28012d1733c00720ac40002800e623..."} 
[2026-04-26 09:19:20] local.INFO: Processing buffer {"connection_id":55250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e69e28012d1733c00720ac40002800e623..."} 
[2026-04-26 09:19:20] local.INFO: Packet analysis {"connection_id":55250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e6"} 
[2026-04-26 09:19:20] local.INFO: Extracted packet for processing {"connection_id":55250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e6"} 
[2026-04-26 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756495296,"raw_latitude":119581760,"longitude_deg":75.6495296,"latitude_deg":11.958176,"altitude":40,"angle":230,"satellites":35,"speed":51,"hex_longitude":"2d1733c0","hex_latitude":"0720ac40","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956868096001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114566221101268992,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1679772322879418368,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175273000,"timestamp_ms":1777175273000,"timestamp_seconds":1777175273,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e69e28"} 
[2026-04-26 09:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 09:19: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-04-26 09: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-04-26 09:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956868096001,"66":14396,"122":206,"28":31744,"24":51,"16":114566221101268992,"45":1679772322879418368},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956868096001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114566221101268992,"km_value":114566221101268.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1679772322879418368,"description":"Unknown IO ID 45"} 
[2026-04-26 09:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956868096001,"power":14396,"unknown_122":206,"unknown_28":31744,"ignition":51,"odometer":null,"unknown_45":1679772322879418368}} 
[2026-04-26 09:19:20] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:19:20] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:19:20] local.INFO: IMEI packet received {"connection_id":54511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":54511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":55250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:19:20] local.INFO: GPS data processed {"connection_id":55250,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:19:20] local.INFO: Acknowledgment sent {"connection_id":55250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:19:20] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:19:20] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:19:20] local.INFO: Packet analysis {"connection_id":54511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:19:20] local.INFO: Extracted packet for processing {"connection_id":54511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:19: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-04-26 09: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-04-26 09:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:19: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-04-26 09:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":54511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:19:20] local.INFO: GPS data processed {"connection_id":54511,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:19:20] local.INFO: Acknowledgment sent {"connection_id":54511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:19:51] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:19:51] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e35650012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:19:51] local.INFO: Packet analysis {"connection_id":54511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:19:51] local.INFO: Extracted packet for processing {"connection_id":54511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e3"} 
[2026-04-26 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956737792001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175058000,"timestamp_ms":1777175058000,"timestamp_seconds":1777175058,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e35650"} 
[2026-04-26 09:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:19: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-04-26 09: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-04-26 09:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:19: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-04-26 09:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956737792001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956737792001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:19:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956737792001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":54511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:19:51] local.INFO: GPS data processed {"connection_id":54511,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:19:51] local.INFO: Acknowledgment sent {"connection_id":54511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:19:52] local.INFO: TCP Data received {"connection_id":55250,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7d6a8012d163a00071feb48002000d622..."} 
[2026-04-26 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7d6a8012d163a00071feb48002000d622..."} 
[2026-04-26 09:19:52] local.INFO: Processing buffer {"connection_id":55250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7d6a8012d163a00071feb48002000d622..."} 
[2026-04-26 09:19:52] local.INFO: Packet analysis {"connection_id":55250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:19:52] local.INFO: Extracted packet for processing {"connection_id":55250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756431360,"raw_latitude":119532360,"longitude_deg":75.643136,"latitude_deg":11.953236,"altitude":32,"angle":214,"satellites":34,"speed":9,"hex_longitude":"2d163a00","hex_latitude":"071feb48","is_valid_coordinates":true} 
[2026-04-26 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956890112001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570138111442944,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601733385572317184,"note":"Value kept but may cause issues"} 
[2026-04-26 09:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175353000,"timestamp_ms":1777175353000,"timestamp_seconds":1777175353,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7d6a8"} 
[2026-04-26 09:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:19:52] 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-04-26 09:19:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 09:19: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-04-26 09:19:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956890112001,"66":13961,"130":206,"28":31744,"24":9,"16":114570138111442944,"45":1601733385572317184},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956890112001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:19:52] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:19:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570138111442944,"km_value":114570138111442.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601733385572317184,"description":"Unknown IO ID 45"} 
[2026-04-26 09:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956890112001,"power":13961,"unknown_130":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1601733385572317184}} 
[2026-04-26 09:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":55250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:19:52] local.INFO: GPS data processed {"connection_id":55250,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:19:52] local.INFO: Acknowledgment sent {"connection_id":55250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:20:13] local.INFO: TCP Data received {"connection_id":54332,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:20:13] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:20:13] local.INFO: IMEI packet received {"connection_id":54332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:20:14] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:20:14] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:20:14] local.INFO: IMEI packet received {"connection_id":54512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":54512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:20:18] local.INFO: TCP Data received {"connection_id":54332,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:20:18] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:20:18] local.INFO: IMEI packet received {"connection_id":54332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:20:19] local.INFO: TCP Data received {"connection_id":54332,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7da90012d1639c0071fea88002100c322..."} 
[2026-04-26 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7da90012d1639c0071fea88002100c322..."} 
[2026-04-26 09:20:20] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7da90012d1639c0071fea88002100c322..."} 
[2026-04-26 09:20:20] local.INFO: Packet analysis {"connection_id":54332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:20] local.INFO: Extracted packet for processing {"connection_id":54332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119532168,"longitude_deg":75.6431296,"latitude_deg":11.9532168,"altitude":33,"angle":195,"satellites":34,"speed":8,"hex_longitude":"2d1639c0","hex_latitude":"071fea88","is_valid_coordinates":true} 
[2026-04-26 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956890368001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570150996344832,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601592648083916800,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175354000,"timestamp_ms":1777175354000,"timestamp_seconds":1777175354,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7da90"} 
[2026-04-26 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:20:20] 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-04-26 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956890368001,"66":13722,"130":206,"28":31744,"24":8,"16":114570150996344832,"45":1601592648083916800},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956890368001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570150996344832,"km_value":114570150996344.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601592648083916800,"description":"Unknown IO ID 45"} 
[2026-04-26 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956890368001,"power":13722,"unknown_130":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1601592648083916800}} 
[2026-04-26 09:20:20] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:20:20] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:20:20] local.INFO: IMEI packet received {"connection_id":54512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":54512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":54332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:20:20] local.INFO: GPS data processed {"connection_id":54332,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:20:20] local.INFO: Acknowledgment sent {"connection_id":54332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:20:20] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:20:20] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:20:20] local.INFO: Packet analysis {"connection_id":54512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:20] local.INFO: Extracted packet for processing {"connection_id":54512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:20: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-04-26 09:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:20: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-04-26 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":54512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:20:20] local.INFO: GPS data processed {"connection_id":54512,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:20:20] local.INFO: Acknowledgment sent {"connection_id":54512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:20:51] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:20:51] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:20:51] local.INFO: Packet analysis {"connection_id":54512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:51] local.INFO: Extracted packet for processing {"connection_id":54512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:20: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-04-26 09:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:20: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-04-26 09:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:20:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:20:51] local.INFO: GPS data processed {"connection_id":54512,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:20:51] local.INFO: Acknowledgment sent {"connection_id":54512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:20:52] local.INFO: TCP Data received {"connection_id":54332,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7de78012d163940071fe9c0002100b122..."} 
[2026-04-26 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7de78012d163940071fe9c0002100b122..."} 
[2026-04-26 09:20:52] local.INFO: Processing buffer {"connection_id":54332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7de78012d163940071fe9c0002100b122..."} 
[2026-04-26 09:20:52] local.INFO: Packet analysis {"connection_id":54332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:52] local.INFO: Extracted packet for processing {"connection_id":54332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":756431168,"raw_latitude":119531968,"longitude_deg":75.6431168,"latitude_deg":11.9531968,"altitude":33,"angle":177,"satellites":34,"speed":8,"hex_longitude":"2d163940","hex_latitude":"071fe9c0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956890624001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570159586279424,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339689984,"note":"Value kept but may cause issues"} 
[2026-04-26 09:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175355000,"timestamp_ms":1777175355000,"timestamp_seconds":1777175355,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7de78"} 
[2026-04-26 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-04-26 09:20:52] 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-04-26 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 09:20:52] 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-04-26 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-04-26 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-04-26 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956890624001,"66":13722,"130":206,"28":31744,"24":8,"16":114570159586279424,"45":1601522279339689984},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956890624001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:20:52] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:20:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570159586279424,"km_value":114570159586279.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339689984,"description":"Unknown IO ID 45"} 
[2026-04-26 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956890624001,"power":13722,"unknown_130":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1601522279339689984}} 
[2026-04-26 09:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":54332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:20:52] local.INFO: GPS data processed {"connection_id":54332,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:20:52] local.INFO: Acknowledgment sent {"connection_id":54332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:20:55] local.INFO: TCP Data received {"connection_id":54513,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:20:55] local.INFO: Processing buffer {"connection_id":54513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:20:55] local.INFO: IMEI packet received {"connection_id":54513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":54513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:21:14] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:21:14] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:21:14] local.INFO: IMEI packet received {"connection_id":54588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:21:18] local.INFO: TCP Data received {"connection_id":54589,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:21:18] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:21:18] local.INFO: IMEI packet received {"connection_id":54589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":54589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:21:20] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:21:20] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:21:20] local.INFO: IMEI packet received {"connection_id":54588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":54588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:21:20] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:21:20] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:21:20] local.INFO: Packet analysis {"connection_id":54588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:21:20] local.INFO: Extracted packet for processing {"connection_id":54588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:21: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-04-26 09: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-04-26 09:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:21: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-04-26 09:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:21:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:21:20] local.INFO: GPS data processed {"connection_id":54588,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:21:20] local.INFO: Acknowledgment sent {"connection_id":54588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:21:23] local.INFO: TCP Data received {"connection_id":54589,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:21:23] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:21:23] local.INFO: IMEI packet received {"connection_id":54589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":54589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:21:25] local.INFO: TCP Data received {"connection_id":54589,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e828b0012d1639c0071fe708002100ab23..."} 
[2026-04-26 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e828b0012d1639c0071fe708002100ab23..."} 
[2026-04-26 09:21:25] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e828b0012d1639c0071fe708002100ab23..."} 
[2026-04-26 09:21:25] local.INFO: Packet analysis {"connection_id":54589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e8"} 
[2026-04-26 09:21:25] local.INFO: Extracted packet for processing {"connection_id":54589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e8"} 
[2026-04-26 09:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":35,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956890880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601381541851283456,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777175374000,"timestamp_ms":1777175374000,"timestamp_seconds":1777175374,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e828b0"} 
[2026-04-26 09:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:21:25] 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-04-26 09: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 09:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956890880001,"66":12885,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601381541851283456},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956890880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:21:25] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:21:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601381541851283456,"description":"Unknown IO ID 45"} 
[2026-04-26 09:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956890880001,"power":12885,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601381541851283456}} 
[2026-04-26 09:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":54589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:21:25] local.INFO: GPS data processed {"connection_id":54589,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:21:25] local.INFO: Acknowledgment sent {"connection_id":54589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:21:26] local.INFO: TCP Data received {"connection_id":54589,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e872e8012d1639c0071fe708002100ab24..."} 
[2026-04-26 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e872e8012d1639c0071fe708002100ab24..."} 
[2026-04-26 09:21:26] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e872e8012d1639c0071fe708002100ab24..."} 
[2026-04-26 09:21:26] local.INFO: Packet analysis {"connection_id":54589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e8"} 
[2026-04-26 09:21:26] local.INFO: Extracted packet for processing {"connection_id":54589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e8"} 
[2026-04-26 09:21:26] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":36,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956895744001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777175393000,"timestamp_ms":1777175393000,"timestamp_seconds":1777175393,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e872e8"} 
[2026-04-26 09:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:21:26] 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-04-26 09: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 09:21:26] 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-04-26 09: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-04-26 09:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:21:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956895744001,"66":12613,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956895744001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:21:26] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:21:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:21:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956895744001,"power":12613,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":54589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:21:26] local.INFO: GPS data processed {"connection_id":54589,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:21:26] local.INFO: Acknowledgment sent {"connection_id":54589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:21:40] local.INFO: TCP Data received {"connection_id":54333,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:21:40] local.INFO: Processing buffer {"connection_id":54333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:21:40] local.INFO: IMEI packet received {"connection_id":54333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":54333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:21:51] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:21:51] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:21:51] local.INFO: Packet analysis {"connection_id":54588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:21:51] local.INFO: Extracted packet for processing {"connection_id":54588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:21: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-04-26 09: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-04-26 09:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:21: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-04-26 09:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:21:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:21:51] local.INFO: GPS data processed {"connection_id":54588,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:21:51] local.INFO: Acknowledgment sent {"connection_id":54588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:21:58] local.INFO: TCP Data received {"connection_id":54589,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e8b938012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e8b938012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:21:58] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e8b938012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:21:58] local.INFO: Packet analysis {"connection_id":54589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e8"} 
[2026-04-26 09:21:58] local.INFO: Extracted packet for processing {"connection_id":54589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e8"} 
[2026-04-26 09:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956900608001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777175411000,"timestamp_ms":1777175411000,"timestamp_seconds":1777175411,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e8b938"} 
[2026-04-26 09:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 09:21:58] 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-04-26 09: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-04-26 09:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956900608001,"66":12591,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956900608001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:21:58] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956900608001,"power":12591,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":54589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:21:58] local.INFO: GPS data processed {"connection_id":54589,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:21:58] local.INFO: Acknowledgment sent {"connection_id":54589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:22:13] local.INFO: TCP Data received {"connection_id":54590,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:22:13] local.INFO: Processing buffer {"connection_id":54590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:22:13] local.INFO: IMEI packet received {"connection_id":54590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":54590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:22:14] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:22:14] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:22:14] local.INFO: IMEI packet received {"connection_id":54334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":54334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:22:18] local.INFO: TCP Data received {"connection_id":54590,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:22:18] local.INFO: Processing buffer {"connection_id":54590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:22:18] local.INFO: IMEI packet received {"connection_id":54590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":54590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:22:19] local.INFO: TCP Data received {"connection_id":54590,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e90370012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e90370012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:22:19] local.INFO: Processing buffer {"connection_id":54590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e90370012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:22:19] local.INFO: Packet analysis {"connection_id":54590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:22:19] local.INFO: Extracted packet for processing {"connection_id":54590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956905216001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777175430000,"timestamp_ms":1777175430000,"timestamp_seconds":1777175430,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e90370"} 
[2026-04-26 09:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:22:19] 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-04-26 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-26 09:22:19] 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-04-26 09:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956905216001,"66":12580,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956905216001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:22:19] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956905216001,"power":12580,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":54590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:22:20] local.INFO: GPS data processed {"connection_id":54590,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:22:20] local.INFO: Acknowledgment sent {"connection_id":54590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:22:20] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:22:20] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:22:20] local.INFO: IMEI packet received {"connection_id":54334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":54334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:22:20] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:22:20] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:22:20] local.INFO: Packet analysis {"connection_id":54334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:22:20] local.INFO: Extracted packet for processing {"connection_id":54334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:22:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:22: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-04-26 09: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-04-26 09:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09: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-04-26 09:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:22:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":54334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:22:20] local.INFO: GPS data processed {"connection_id":54334,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:22:20] local.INFO: Acknowledgment sent {"connection_id":54334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:22:51] local.INFO: TCP Data received {"connection_id":54334,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:22:51] local.INFO: Processing buffer {"connection_id":54334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:22:51] local.INFO: Packet analysis {"connection_id":54334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:22:51] local.INFO: Extracted packet for processing {"connection_id":54334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:22:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:22: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-04-26 09: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-04-26 09:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:22: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-04-26 09:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":54334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:22:51] local.INFO: GPS data processed {"connection_id":54334,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:22:51] local.INFO: Acknowledgment sent {"connection_id":54334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:22:51] local.INFO: TCP Data received {"connection_id":54590,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e949c0012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e949c0012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:22:51] local.INFO: Processing buffer {"connection_id":54590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e949c0012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:22:51] local.INFO: Packet analysis {"connection_id":54590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:22:51] local.INFO: Extracted packet for processing {"connection_id":54590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956910080001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175448000,"timestamp_ms":1777175448000,"timestamp_seconds":1777175448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e949c0"} 
[2026-04-26 09:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:22:51] 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-04-26 09: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 09:22:51] 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-04-26 09: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-04-26 09:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956910080001,"66":11808,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956910080001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956910080001,"power":11808,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":54590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:22:52] local.INFO: GPS data processed {"connection_id":54590,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:22:52] local.INFO: Acknowledgment sent {"connection_id":54590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:23:13] local.INFO: TCP Data received {"connection_id":54515,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:23:13] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:23:13] local.INFO: IMEI packet received {"connection_id":54515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":54515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:23:18] local.INFO: TCP Data received {"connection_id":54515,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:23:18] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:23:18] local.INFO: IMEI packet received {"connection_id":54515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":54515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:23:19] local.INFO: TCP Data received {"connection_id":54515,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e993f8012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e993f8012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:23:19] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e993f8012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:23:19] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:23:19] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956914688001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777175467000,"timestamp_ms":1777175467000,"timestamp_seconds":1777175467,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e993f8"} 
[2026-04-26 09:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:23:19] 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-04-26 09: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-04-26 09:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956914688001,"66":12548,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956914688001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:23:19] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:23:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956914688001,"power":12548,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:23:20] local.INFO: TCP Data received {"connection_id":55252,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:23:20] local.INFO: Processing buffer {"connection_id":55252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:23:20] local.INFO: IMEI packet received {"connection_id":55252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":55252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:23:20] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:23:20] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:23:25] local.INFO: TCP Data received {"connection_id":55252,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:23:25] local.INFO: Processing buffer {"connection_id":55252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:23:25] local.INFO: IMEI packet received {"connection_id":55252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":55252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:23:25] local.INFO: TCP Data received {"connection_id":55252,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:23:25] local.INFO: Processing buffer {"connection_id":55252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:23:25] local.INFO: Packet analysis {"connection_id":55252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:23:25] local.INFO: Extracted packet for processing {"connection_id":55252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:23:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:23: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-04-26 09:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:23:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":55252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:23:25] local.INFO: GPS data processed {"connection_id":55252,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:23:25] local.INFO: Acknowledgment sent {"connection_id":55252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:23:30] local.INFO: TCP Data received {"connection_id":55252,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:23:30] local.INFO: Processing buffer {"connection_id":55252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:23:30] local.INFO: Packet analysis {"connection_id":55252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:23:30] local.INFO: Extracted packet for processing {"connection_id":55252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:23:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:23: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-04-26 09:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:23:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":55252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:23:30] local.INFO: GPS data processed {"connection_id":55252,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:23:30] local.INFO: Acknowledgment sent {"connection_id":55252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:23:51] local.INFO: TCP Data received {"connection_id":54515,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e9e600012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e9e600012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:23:51] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e9e600012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:23:51] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:23:51] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e9"} 
[2026-04-26 09:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956919552001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175488000,"timestamp_ms":1777175488000,"timestamp_seconds":1777175488,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e9e600"} 
[2026-04-26 09:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:23:51] 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-04-26 09: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":8,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3353861752,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-9079030227044132864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184273969357,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3899844609,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3876061217,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884056782,"corrected_to":0} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2952867094,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.WARNING: Large IO value detected {"io_id":57,"raw_value":3221692391,"note":"Value kept but may cause issues"} 
[2026-04-26 09:23:51] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,130,28,24,241,158,16,8,157,73,45,192,231,33,37,10,66,3,185,1,240,47,199,31,4,113,205,40,57,35,239,50,2,151,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3884056782,"validated":0}]} 
[2026-04-26 09:23:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378088778653761536,"timestamp_seconds":2378088778653761.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 09:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956919552001,"66":12515,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956919552001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:23:51] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:23:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956919552001,"power":12515,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:23:52] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:23:52] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:24:12] local.INFO: TCP Data received {"connection_id":55254,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:12] local.INFO: Processing buffer {"connection_id":55254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:12] local.INFO: IMEI packet received {"connection_id":55254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":55254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:24:13] local.INFO: TCP Data received {"connection_id":55254,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:13] local.INFO: Processing buffer {"connection_id":55254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:13] local.INFO: IMEI packet received {"connection_id":55254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":55254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:24:15] local.INFO: TCP Data received {"connection_id":55253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:24:15] local.INFO: Processing buffer {"connection_id":55253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:24:15] local.INFO: IMEI packet received {"connection_id":55253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":55253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:24:18] local.INFO: TCP Data received {"connection_id":55254,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:18] local.INFO: Processing buffer {"connection_id":55254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:24:18] local.INFO: IMEI packet received {"connection_id":55254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":55254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:24:20] local.INFO: TCP Data received {"connection_id":55254,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ea3808012d1639c0071fe708002100ab26..."} 
[2026-04-26 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ea3808012d1639c0071fe708002100ab26..."} 
[2026-04-26 09:24:20] local.INFO: Processing buffer {"connection_id":55254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ea3808012d1639c0071fe708002100ab26..."} 
[2026-04-26 09:24:20] local.INFO: Packet analysis {"connection_id":55254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ea"} 
[2026-04-26 09:24:20] local.INFO: Extracted packet for processing {"connection_id":55254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ea"} 
[2026-04-26 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":38,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956924928001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175509000,"timestamp_ms":1777175509000,"timestamp_seconds":1777175509,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ea3808"} 
[2026-04-26 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:24:20] 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-04-26 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-26 09:24:20] 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-04-26 09:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956924928001,"66":12504,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956924928001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956924928001,"power":12504,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":55254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:24:20] local.INFO: GPS data processed {"connection_id":55254,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:24:20] local.INFO: Acknowledgment sent {"connection_id":55254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:24:20] local.INFO: TCP Data received {"connection_id":55253,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:24:20] local.INFO: Processing buffer {"connection_id":55253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:24:20] local.INFO: IMEI packet received {"connection_id":55253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":55253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:24:20] local.INFO: TCP Data received {"connection_id":55253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:24:20] local.INFO: Processing buffer {"connection_id":55253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:24:20] local.INFO: Packet analysis {"connection_id":55253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:24:20] local.INFO: Extracted packet for processing {"connection_id":55253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:24: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-04-26 09:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:24: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-04-26 09:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":55253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:24:20] local.INFO: GPS data processed {"connection_id":55253,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:24:20] local.INFO: Acknowledgment sent {"connection_id":55253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:24:52] local.INFO: TCP Data received {"connection_id":55253,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:24:52] local.INFO: Processing buffer {"connection_id":55253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7e7ee18012cb299c007822ce0004c001230..."} 
[2026-04-26 09:24:52] local.INFO: Packet analysis {"connection_id":55253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:24:52] local.INFO: Extracted packet for processing {"connection_id":55253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7e7"} 
[2026-04-26 09:24:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956814848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175359000,"timestamp_ms":1777175359000,"timestamp_seconds":1777175359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7e7ee18"} 
[2026-04-26 09:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:24:52] 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-04-26 09: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-04-26 09:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:24: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-04-26 09:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956814848001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956814848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956814848001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":55253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:24:52] local.INFO: GPS data processed {"connection_id":55253,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:24:52] local.INFO: Acknowledgment sent {"connection_id":55253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:24:52] local.INFO: TCP Data received {"connection_id":55254,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ea8a10012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ea8a10012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:24:52] local.INFO: Processing buffer {"connection_id":55254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ea8a10012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:24:52] local.INFO: Packet analysis {"connection_id":55254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ea"} 
[2026-04-26 09:24:52] local.INFO: Extracted packet for processing {"connection_id":55254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ea"} 
[2026-04-26 09:24:52] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956930304001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175530000,"timestamp_ms":1777175530000,"timestamp_seconds":1777175530,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ea8a10"} 
[2026-04-26 09:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:24: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-04-26 09: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 09:24:52] 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-04-26 09: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-04-26 09:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956930304001,"66":12472,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956930304001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956930304001,"power":12472,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":55254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:24:52] local.INFO: GPS data processed {"connection_id":55254,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:24:52] local.INFO: Acknowledgment sent {"connection_id":55254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:25:13] local.INFO: TCP Data received {"connection_id":54516,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:13] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:13] local.INFO: IMEI packet received {"connection_id":54516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":54516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:25:14] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:25:14] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:25:14] local.INFO: IMEI packet received {"connection_id":54517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":54517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:25:15] local.INFO: TCP Data received {"connection_id":54516,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:15] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:15] local.INFO: IMEI packet received {"connection_id":54516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":54516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:25:18] local.INFO: TCP Data received {"connection_id":54516,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:18] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:25:18] local.INFO: IMEI packet received {"connection_id":54516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":54516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:25:19] local.INFO: TCP Data received {"connection_id":54516,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7eadc18012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7eadc18012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:25:19] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7eadc18012d1639c0071fe708002100ab25..."} 
[2026-04-26 09:25:19] local.INFO: Packet analysis {"connection_id":54516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ea"} 
[2026-04-26 09:25:19] local.INFO: Extracted packet for processing {"connection_id":54516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ea"} 
[2026-04-26 09:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756431296,"raw_latitude":119531272,"longitude_deg":75.6431296,"latitude_deg":11.9531272,"altitude":33,"angle":171,"satellites":37,"speed":0,"hex_longitude":"2d1639c0","hex_latitude":"071fe708","is_valid_coordinates":true} 
[2026-04-26 09:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956935680001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570193946017792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1601522279339460608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777175551000,"timestamp_ms":1777175551000,"timestamp_seconds":1777175551,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7eadc18"} 
[2026-04-26 09:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:25:19] 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-04-26 09:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-26 09:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956935680001,"66":12461,"130":206,"28":31744,"24":0,"16":114570193946017792,"45":1601522279339460608},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956935680001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:25:19] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570193946017792,"km_value":114570193946017.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1601522279339460608,"description":"Unknown IO ID 45"} 
[2026-04-26 09:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956935680001,"power":12461,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1601522279339460608}} 
[2026-04-26 09:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":54516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:25:19] local.INFO: GPS data processed {"connection_id":54516,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:25:19] local.INFO: Acknowledgment sent {"connection_id":54516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:25:20] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:25:20] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:25:20] local.INFO: IMEI packet received {"connection_id":54517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":54517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:25:20] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:25:20] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:25:20] local.INFO: Packet analysis {"connection_id":54517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:25:20] local.INFO: Extracted packet for processing {"connection_id":54517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:25: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-04-26 09: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-04-26 09:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:25: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-04-26 09:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:25:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":54517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:25:20] local.INFO: GPS data processed {"connection_id":54517,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:25:20] local.INFO: Acknowledgment sent {"connection_id":54517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:25:51] local.INFO: TCP Data received {"connection_id":54516,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ed1e38012d1644c0071fd418002000ad26..."} 
[2026-04-26 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ed1e38012d1644c0071fd418002000ad26..."} 
[2026-04-26 09:25:51] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ed1e38012d1644c0071fd418002000ad26..."} 
[2026-04-26 09:25:51] local.INFO: Packet analysis {"connection_id":54516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ed"} 
[2026-04-26 09:25:51] local.INFO: Extracted packet for processing {"connection_id":54516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ed"} 
[2026-04-26 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756434112,"raw_latitude":119526424,"longitude_deg":75.6434112,"latitude_deg":11.9526424,"altitude":32,"angle":173,"satellites":38,"speed":22,"hex_longitude":"2d1644c0","hex_latitude":"071fd418","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956978688001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570516068564992,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604407397849640960,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175699000,"timestamp_ms":1777175699000,"timestamp_seconds":1777175699,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ed1e38"} 
[2026-04-26 09:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:25: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-04-26 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 09:25:51] 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-04-26 09: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-04-26 09:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956978688001,"66":13472,"130":206,"28":31744,"24":22,"16":114570516068564992,"45":1604407397849640960},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956978688001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570516068564992,"km_value":114570516068564.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604407397849640960,"description":"Unknown IO ID 45"} 
[2026-04-26 09:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956978688001,"power":13472,"unknown_130":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1604407397849640960}} 
[2026-04-26 09:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:25:51] local.INFO: GPS data processed {"connection_id":54516,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:25:51] local.INFO: Acknowledgment sent {"connection_id":54516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:25:51] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:25:51] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:25:51] local.INFO: Packet analysis {"connection_id":54517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:25:51] local.INFO: Extracted packet for processing {"connection_id":54517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:25: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-04-26 09: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-04-26 09:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:25: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-04-26 09:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:25:51] local.INFO: GPS data processed {"connection_id":54517,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:25:51] local.INFO: Acknowledgment sent {"connection_id":54517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:26:14] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:26:14] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:26:14] local.INFO: IMEI packet received {"connection_id":54339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":54339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:26:15] local.INFO: TCP Data received {"connection_id":54338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:15] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:15] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:26:17] local.INFO: TCP Data received {"connection_id":54338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:17] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:17] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:26:18] local.INFO: TCP Data received {"connection_id":54338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:18] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:18] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:26:19] local.INFO: TCP Data received {"connection_id":54338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:19] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:26:19] local.INFO: IMEI packet received {"connection_id":54338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:26:20] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:26:20] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:26:20] local.INFO: IMEI packet received {"connection_id":54339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":54339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:26:20] local.INFO: TCP Data received {"connection_id":54338,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ed29f0012d164640071fcdb80020009827..."} 
[2026-04-26 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ed29f0012d164640071fcdb80020009827..."} 
[2026-04-26 09:26:20] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ed29f0012d164640071fcdb80020009827..."} 
[2026-04-26 09:26:20] local.INFO: Packet analysis {"connection_id":54338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ed"} 
[2026-04-26 09:26:20] local.INFO: Extracted packet for processing {"connection_id":54338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ed"} 
[2026-04-26 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756434496,"raw_latitude":119524792,"longitude_deg":75.6434496,"latitude_deg":11.9524792,"altitude":32,"angle":152,"satellites":39,"speed":21,"hex_longitude":"2d164640","hex_latitude":"071fcdb8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956978944001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114570597672943616,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604618504082036736,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175702000,"timestamp_ms":1777175702000,"timestamp_seconds":1777175702,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ed29f0"} 
[2026-04-26 09:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:26:20] 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-04-26 09: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 09:26: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-04-26 09: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-04-26 09:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956978944001,"66":14189,"131":206,"28":31744,"24":21,"16":114570597672943616,"45":1604618504082036736},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956978944001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114570597672943616,"km_value":114570597672943.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604618504082036736,"description":"Unknown IO ID 45"} 
[2026-04-26 09:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956978944001,"power":14189,"unknown_131":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1604618504082036736}} 
[2026-04-26 09:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":54338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:26:20] local.INFO: GPS data processed {"connection_id":54338,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:26:20] local.INFO: Acknowledgment sent {"connection_id":54338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:26:20] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:26:20] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:26:20] local.INFO: Packet analysis {"connection_id":54339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:26:20] local.INFO: Extracted packet for processing {"connection_id":54339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:26: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-04-26 09: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-04-26 09:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:26: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-04-26 09:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":54339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:26:20] local.INFO: GPS data processed {"connection_id":54339,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:26:20] local.INFO: Acknowledgment sent {"connection_id":54339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:26:51] local.INFO: TCP Data received {"connection_id":54338,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ee0c80012d16bcc0071f7a900020009424..."} 
[2026-04-26 09:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ee0c80012d16bcc0071f7a900020009424..."} 
[2026-04-26 09:26:51] local.INFO: Processing buffer {"connection_id":54338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ee0c80012d16bcc0071f7a900020009424..."} 
[2026-04-26 09:26:51] local.INFO: Packet analysis {"connection_id":54338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ee"} 
[2026-04-26 09:26:51] local.INFO: Extracted packet for processing {"connection_id":54338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ee"} 
[2026-04-26 09:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756464832,"raw_latitude":119503504,"longitude_deg":75.6464832,"latitude_deg":11.9503504,"altitude":32,"angle":148,"satellites":36,"speed":18,"hex_longitude":"2d16bcc0","hex_latitude":"071f7a90","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956994304001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114572603422670848,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1638043657560657920,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175760000,"timestamp_ms":1777175760000,"timestamp_seconds":1777175760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ee0c80"} 
[2026-04-26 09:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:26: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-04-26 09: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454501632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3354257752,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3992004609,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884122318,"corrected_to":0} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2147950463,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,131,28,24,241,158,16,11,157,4,45,192,125,31,37,10,66,248,29,38,245,64,1,240,199,113,205,19,237,172,239,56,2,151,7,18],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3884122318,"validated":0}]} 
[2026-04-26 09:26:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2305983901322051584,"timestamp_seconds":2305983901322051.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 09:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956994304001,"66":14363,"131":206,"28":31744,"24":18,"16":114572603422670848,"45":1638043657560657920},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956994304001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114572603422670848,"km_value":114572603422670.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1638043657560657920,"description":"Unknown IO ID 45"} 
[2026-04-26 09:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956994304001,"power":14363,"unknown_131":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1638043657560657920}} 
[2026-04-26 09:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":54338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:26:51] local.INFO: GPS data processed {"connection_id":54338,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:26:51] local.INFO: Acknowledgment sent {"connection_id":54338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:26:51] local.INFO: TCP Data received {"connection_id":54339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:26:51] local.INFO: Processing buffer {"connection_id":54339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:26:51] local.INFO: Packet analysis {"connection_id":54339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:26:51] local.INFO: Extracted packet for processing {"connection_id":54339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:26:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:26: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-04-26 09: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-04-26 09:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:26: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-04-26 09:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":54339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:26:51] local.INFO: GPS data processed {"connection_id":54339,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:26:51] local.INFO: Acknowledgment sent {"connection_id":54339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:26:55] local.INFO: TCP Data received {"connection_id":54592,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:26:55] local.INFO: Processing buffer {"connection_id":54592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:26:55] local.INFO: IMEI packet received {"connection_id":54592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":54592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:27:20] local.INFO: TCP Data received {"connection_id":55255,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:27:20] local.INFO: Processing buffer {"connection_id":55255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:27:20] local.INFO: IMEI packet received {"connection_id":55255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":55255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:27:23] local.INFO: TCP Data received {"connection_id":55256,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:23] local.INFO: Processing buffer {"connection_id":55256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:23] local.INFO: IMEI packet received {"connection_id":55256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":55256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:27:24] local.INFO: TCP Data received {"connection_id":55256,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:24] local.INFO: Processing buffer {"connection_id":55256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:24] local.INFO: IMEI packet received {"connection_id":55256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":55256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:27:25] local.INFO: TCP Data received {"connection_id":55255,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:27:25] local.INFO: Processing buffer {"connection_id":55255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:27:25] local.INFO: IMEI packet received {"connection_id":55255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":55255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:27:25] local.INFO: TCP Data received {"connection_id":55255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:27:25] local.INFO: Processing buffer {"connection_id":55255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:27:25] local.INFO: Packet analysis {"connection_id":55255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:27:25] local.INFO: Extracted packet for processing {"connection_id":55255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:27:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:27:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:27: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-04-26 09:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:27:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:27:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:27:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":55255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:27:25] local.INFO: GPS data processed {"connection_id":55255,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:27:25] local.INFO: Acknowledgment sent {"connection_id":55255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:27:28] local.INFO: TCP Data received {"connection_id":55256,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:28] local.INFO: Processing buffer {"connection_id":55256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:27:28] local.INFO: IMEI packet received {"connection_id":55256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":55256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:27:29] local.INFO: TCP Data received {"connection_id":55256,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ee1068012d16bd80071f7898002000a224..."} 
[2026-04-26 09:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ee1068012d16bd80071f7898002000a224..."} 
[2026-04-26 09:27:29] local.INFO: Processing buffer {"connection_id":55256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ee1068012d16bd80071f7898002000a224..."} 
[2026-04-26 09:27:29] local.INFO: Packet analysis {"connection_id":55256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ee"} 
[2026-04-26 09:27:29] local.INFO: Extracted packet for processing {"connection_id":55256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ee"} 
[2026-04-26 09:27:29] local.INFO: GPS Element Parsed {"raw_longitude":756465024,"raw_latitude":119503000,"longitude_deg":75.6465024,"latitude_deg":11.9503,"altitude":32,"angle":162,"satellites":36,"speed":21,"hex_longitude":"2d16bd80","hex_latitude":"071f7898","is_valid_coordinates":true} 
[2026-04-26 09:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956994560001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114572629192474624,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1638395501281447936,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777175761000,"timestamp_ms":1777175761000,"timestamp_seconds":1777175761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ee1068"} 
[2026-04-26 09:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 09:27:29] 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-04-26 09:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956994560001,"66":14363,"131":206,"28":31744,"24":21,"16":114572629192474624,"45":1638395501281447936},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-26 09:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956994560001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:27:29] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-26 09:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114572629192474624,"km_value":114572629192474.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1638395501281447936,"description":"Unknown IO ID 45"} 
[2026-04-26 09:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956994560001,"power":14363,"unknown_131":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1638395501281447936}} 
[2026-04-26 09:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":55256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:27:29] local.INFO: GPS data processed {"connection_id":55256,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:27:29] local.INFO: Acknowledgment sent {"connection_id":55256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:27:40] local.INFO: TCP Data received {"connection_id":55257,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:27:40] local.INFO: Processing buffer {"connection_id":55257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:27:40] local.INFO: IMEI packet received {"connection_id":55257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":55257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:27:56] local.INFO: TCP Data received {"connection_id":55255,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:27:56] local.INFO: Processing buffer {"connection_id":55255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:27:56] local.INFO: Packet analysis {"connection_id":55255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:27:56] local.INFO: Extracted packet for processing {"connection_id":55255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:27:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:27:56] 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-04-26 09:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:27: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-04-26 09:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:27:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:27:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":55255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:27:56] local.INFO: GPS data processed {"connection_id":55255,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:27:56] local.INFO: Acknowledgment sent {"connection_id":55255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:28:13] local.INFO: TCP Data received {"connection_id":54595,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:28:13] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:28:13] local.INFO: IMEI packet received {"connection_id":54595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":54595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:28:15] local.INFO: TCP Data received {"connection_id":54594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:28:15] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:28:15] local.INFO: IMEI packet received {"connection_id":54594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:28:18] local.INFO: TCP Data received {"connection_id":54595,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:28:18] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:28:18] local.INFO: IMEI packet received {"connection_id":54595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":54595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:28:20] local.INFO: TCP Data received {"connection_id":54595,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ef21d8012d176d00071f0bf0001e007127..."} 
[2026-04-26 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ef21d8012d176d00071f0bf0001e007127..."} 
[2026-04-26 09:28:20] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ef21d8012d176d00071f0bf0001e007127..."} 
[2026-04-26 09:28:20] local.INFO: Packet analysis {"connection_id":54595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ef"} 
[2026-04-26 09:28:20] local.INFO: Extracted packet for processing {"connection_id":54595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ef"} 
[2026-04-26 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756509952,"raw_latitude":119475184,"longitude_deg":75.6509952,"latitude_deg":11.9475184,"altitude":30,"angle":113,"satellites":39,"speed":35,"hex_longitude":"2d176d00","hex_latitude":"071f0bf0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957010432001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114575450985988096,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678646422944714752,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175831000,"timestamp_ms":1777175831000,"timestamp_seconds":1777175831,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ef21d8"} 
[2026-04-26 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:28:20] 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-04-26 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957010432001,"66":14102,"131":206,"28":31744,"24":35,"16":114575450985988096,"45":1678646422944714752},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957010432001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114575450985988096,"km_value":114575450985988.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678646422944714752,"description":"Unknown IO ID 45"} 
[2026-04-26 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957010432001,"power":14102,"unknown_131":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1678646422944714752}} 
[2026-04-26 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":54595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:28:20] local.INFO: GPS data processed {"connection_id":54595,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:28:20] local.INFO: Acknowledgment sent {"connection_id":54595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:28:20] local.INFO: TCP Data received {"connection_id":54594,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:28:20] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:28:20] local.INFO: IMEI packet received {"connection_id":54594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":54594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:28:20] local.INFO: TCP Data received {"connection_id":54594,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:28:20] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:28:20] local.INFO: Packet analysis {"connection_id":54594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:28:20] local.INFO: Extracted packet for processing {"connection_id":54594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:28: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-04-26 09: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-04-26 09:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:28: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-04-26 09:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":54594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:28:20] local.INFO: GPS data processed {"connection_id":54594,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:28:20] local.INFO: Acknowledgment sent {"connection_id":54594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:28:51] local.INFO: TCP Data received {"connection_id":54595,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7efdd58012d179a40071e8848001e007927..."} 
[2026-04-26 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7efdd58012d179a40071e8848001e007927..."} 
[2026-04-26 09:28:51] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7efdd58012d179a40071e8848001e007927..."} 
[2026-04-26 09:28:51] local.INFO: Packet analysis {"connection_id":54595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ef"} 
[2026-04-26 09:28:51] local.INFO: Extracted packet for processing {"connection_id":54595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ef"} 
[2026-04-26 09:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756521536,"raw_latitude":119441480,"longitude_deg":75.6521536,"latitude_deg":11.944148,"altitude":30,"angle":121,"satellites":39,"speed":24,"hex_longitude":"2d179a40","hex_latitude":"071e8848","is_valid_coordinates":true} 
[2026-04-26 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957024768001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114577478210551808,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700179258653642752,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175879000,"timestamp_ms":1777175879000,"timestamp_seconds":1777175879,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7efdd58"} 
[2026-04-26 09:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:28: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-04-26 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 09:28: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-04-26 09:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957024768001,"66":14363,"131":206,"28":31744,"24":24,"16":114577478210551808,"45":1700179258653642752},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-26 09:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957024768001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114577478210551808,"km_value":114577478210551.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700179258653642752,"description":"Unknown IO ID 45"} 
[2026-04-26 09:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957024768001,"power":14363,"unknown_131":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1700179258653642752}} 
[2026-04-26 09:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":54595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:28:52] local.INFO: GPS data processed {"connection_id":54595,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:28:52] local.INFO: Acknowledgment sent {"connection_id":54595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:28:52] local.INFO: TCP Data received {"connection_id":54594,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:28:52] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:28:52] local.INFO: Packet analysis {"connection_id":54594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:28:52] local.INFO: Extracted packet for processing {"connection_id":54594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:28: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-04-26 09:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:28:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:28:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:28:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:28:52] local.INFO: DEBUG: GPS processor result {"connection_id":54594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:28:52] local.INFO: GPS data processed {"connection_id":54594,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:28:52] local.INFO: Acknowledgment sent {"connection_id":54594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:29:13] local.INFO: TCP Data received {"connection_id":54518,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:13] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:13] local.INFO: IMEI packet received {"connection_id":54518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":54518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:29:14] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:29:14] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:29:14] local.INFO: IMEI packet received {"connection_id":54340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":54340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:29:15] local.INFO: TCP Data received {"connection_id":54518,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:15] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:15] local.INFO: IMEI packet received {"connection_id":54518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":54518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:29:18] local.INFO: TCP Data received {"connection_id":54518,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:18] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:29:18] local.INFO: IMEI packet received {"connection_id":54518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":54518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:29:20] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:29:20] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:29:20] local.INFO: IMEI packet received {"connection_id":54340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":54340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:29:20] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:29:20] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:29:20] local.INFO: Packet analysis {"connection_id":54340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:29:20] local.INFO: Extracted packet for processing {"connection_id":54340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:29: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-04-26 09: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-04-26 09:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:29: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-04-26 09:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:29:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":54340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:29:20] local.INFO: GPS data processed {"connection_id":54340,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:29:20] local.INFO: Acknowledgment sent {"connection_id":54340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:29:29] local.INFO: TCP Data received {"connection_id":54518,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7efe140012d179d00071e87a8001f006927..."} 
[2026-04-26 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7efe140012d179d00071e87a8001f006927..."} 
[2026-04-26 09:29:29] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7efe140012d179d00071e87a8001f006927..."} 
[2026-04-26 09:29:29] local.INFO: Packet analysis {"connection_id":54518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ef"} 
[2026-04-26 09:29:29] local.INFO: Extracted packet for processing {"connection_id":54518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ef"} 
[2026-04-26 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":756522240,"raw_latitude":119441320,"longitude_deg":75.652224,"latitude_deg":11.944132,"altitude":31,"angle":105,"satellites":39,"speed":25,"hex_longitude":"2d179d00","hex_latitude":"071e87a8","is_valid_coordinates":true} 
[2026-04-26 09:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957025024001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114577512570290176,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1700742208606980096,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777175880000,"timestamp_ms":1777175880000,"timestamp_seconds":1777175880,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7efe140"} 
[2026-04-26 09:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 09:29:29] 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-04-26 09:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957025024001,"66":14428,"131":206,"28":31744,"24":25,"16":114577512570290176,"45":1700742208606980096},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-26 09:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957025024001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:29:29] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-26 09:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114577512570290176,"km_value":114577512570290.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1700742208606980096,"description":"Unknown IO ID 45"} 
[2026-04-26 09:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957025024001,"power":14428,"unknown_131":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1700742208606980096}} 
[2026-04-26 09:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":54518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:29:29] local.INFO: GPS data processed {"connection_id":54518,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:29:29] local.INFO: Acknowledgment sent {"connection_id":54518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:29:51] local.INFO: TCP Data received {"connection_id":54340,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:29:51] local.INFO: Processing buffer {"connection_id":54340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7ec85e0012cb299c007822ce00048001230..."} 
[2026-04-26 09:29:51] local.INFO: Packet analysis {"connection_id":54340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:29:51] local.INFO: Extracted packet for processing {"connection_id":54340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ec"} 
[2026-04-26 09:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956891904001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175660000,"timestamp_ms":1777175660000,"timestamp_seconds":1777175660,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7ec85e0"} 
[2026-04-26 09:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:29: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-04-26 09: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-04-26 09:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:29: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-04-26 09:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956891904001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956891904001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:29:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956891904001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":54340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:29:51] local.INFO: GPS data processed {"connection_id":54340,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:29:51] local.INFO: Acknowledgment sent {"connection_id":54340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:30:14] local.INFO: TCP Data received {"connection_id":54520,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:30:14] local.INFO: Processing buffer {"connection_id":54520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:30:14] local.INFO: IMEI packet received {"connection_id":54520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":54520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:30:19] local.INFO: TCP Data received {"connection_id":54520,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:30:19] local.INFO: Processing buffer {"connection_id":54520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:30:19] local.INFO: IMEI packet received {"connection_id":54520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":54520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:30:20] local.INFO: TCP Data received {"connection_id":54520,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:30:20] local.INFO: Processing buffer {"connection_id":54520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:30:20] local.INFO: Packet analysis {"connection_id":54520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:20] local.INFO: Extracted packet for processing {"connection_id":54520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:30: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-04-26 09: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-04-26 09:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:30:20] 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-04-26 09:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:30:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":54520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:30:20] local.INFO: GPS data processed {"connection_id":54520,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:30:20] local.INFO: Acknowledgment sent {"connection_id":54520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:30:20] local.INFO: TCP Data received {"connection_id":55259,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:20] local.INFO: Processing buffer {"connection_id":55259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:20] local.INFO: IMEI packet received {"connection_id":55259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":55259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:30:21] local.INFO: TCP Data received {"connection_id":55259,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:21] local.INFO: Processing buffer {"connection_id":55259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:21] local.INFO: IMEI packet received {"connection_id":55259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":55259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:30:23] local.INFO: TCP Data received {"connection_id":55259,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:23] local.INFO: Processing buffer {"connection_id":55259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:30:23] local.INFO: IMEI packet received {"connection_id":55259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":55259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:30:24] local.INFO: TCP Data received {"connection_id":55259,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f10a20012d1833c0071e10100027009327..."} 
[2026-04-26 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f10a20012d1833c0071e10100027009327..."} 
[2026-04-26 09:30:24] local.INFO: Processing buffer {"connection_id":55259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f10a20012d1833c0071e10100027009327..."} 
[2026-04-26 09:30:24] local.INFO: Packet analysis {"connection_id":55259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:24] local.INFO: Extracted packet for processing {"connection_id":55259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119410704,"longitude_deg":75.6560832,"latitude_deg":11.9410704,"altitude":39,"angle":147,"satellites":39,"speed":23,"hex_longitude":"2d1833c0","hex_latitude":"071e1010","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957044480001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114580145385242624,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743596773803425792,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777175956000,"timestamp_ms":1777175956000,"timestamp_seconds":1777175956,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f10a20"} 
[2026-04-26 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-04-26 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 09:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957044480001,"66":14048,"32":206,"28":31744,"24":23,"16":114580145385242624,"45":1743596773803425792},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957044480001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:30:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:30:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114580145385242624,"km_value":114580145385242.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743596773803425792,"description":"Unknown IO ID 45"} 
[2026-04-26 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957044480001,"power":14048,"unknown_32":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1743596773803425792}} 
[2026-04-26 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":55259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:30:24] local.INFO: GPS data processed {"connection_id":55259,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:30:24] local.INFO: Acknowledgment sent {"connection_id":55259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:30:25] local.INFO: TCP Data received {"connection_id":55259,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f10e08012d183480071e0da0002700a026..."} 
[2026-04-26 09:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f10e08012d183480071e0da0002700a026..."} 
[2026-04-26 09:30:25] local.INFO: Processing buffer {"connection_id":55259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f10e08012d183480071e0da0002700a026..."} 
[2026-04-26 09:30:25] local.INFO: Packet analysis {"connection_id":55259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:25] local.INFO: Extracted packet for processing {"connection_id":55259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:25] local.INFO: GPS Element Parsed {"raw_longitude":756561024,"raw_latitude":119410080,"longitude_deg":75.6561024,"latitude_deg":11.941008,"altitude":39,"angle":160,"satellites":38,"speed":26,"hex_longitude":"2d183480","hex_latitude":"071e0da0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957044736001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114580179744980992,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743948617524187136,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777175957000,"timestamp_ms":1777175957000,"timestamp_seconds":1777175957,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f10e08"} 
[2026-04-26 09:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:30:25] 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-04-26 09:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-26 09:30:25] 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-04-26 09: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-04-26 09:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:30:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957044736001,"66":14048,"32":206,"28":31744,"24":26,"16":114580179744980992,"45":1743948617524187136},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957044736001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:30:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:30:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114580179744980992,"km_value":114580179744980.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:30:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743948617524187136,"description":"Unknown IO ID 45"} 
[2026-04-26 09:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957044736001,"power":14048,"unknown_32":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1743948617524187136}} 
[2026-04-26 09:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":55259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:30:25] local.INFO: GPS data processed {"connection_id":55259,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:30:25] local.INFO: Acknowledgment sent {"connection_id":55259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:30:51] local.INFO: TCP Data received {"connection_id":54520,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:30:51] local.INFO: Processing buffer {"connection_id":54520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:30:51] local.INFO: Packet analysis {"connection_id":54520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:51] local.INFO: Extracted packet for processing {"connection_id":54520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:30: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-04-26 09: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-04-26 09:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:30:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":54520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:30:51] local.INFO: GPS data processed {"connection_id":54520,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:30:51] local.INFO: Acknowledgment sent {"connection_id":54520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:30:56] local.INFO: TCP Data received {"connection_id":55259,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f115d8012d183580071e0750002600ad27..."} 
[2026-04-26 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f115d8012d183580071e0750002600ad27..."} 
[2026-04-26 09:30:56] local.INFO: Processing buffer {"connection_id":55259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f115d8012d183580071e0750002600ad27..."} 
[2026-04-26 09:30:56] local.INFO: Packet analysis {"connection_id":55259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:56] local.INFO: Extracted packet for processing {"connection_id":55259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756561280,"raw_latitude":119408464,"longitude_deg":75.656128,"latitude_deg":11.9408464,"altitude":38,"angle":173,"satellites":39,"speed":33,"hex_longitude":"2d183580","hex_latitude":"071e0750","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957044992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114580257054392320,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744159723756560384,"note":"Value kept but may cause issues"} 
[2026-04-26 09:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777175959000,"timestamp_ms":1777175959000,"timestamp_seconds":1777175959,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f115d8"} 
[2026-04-26 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-04-26 09:30:56] 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-04-26 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-26 09:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 09:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957044992001,"66":14080,"32":206,"28":31744,"24":33,"16":114580257054392320,"45":1744159723756560384},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957044992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:30:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114580257054392320,"km_value":114580257054392.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744159723756560384,"description":"Unknown IO ID 45"} 
[2026-04-26 09:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957044992001,"power":14080,"unknown_32":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1744159723756560384}} 
[2026-04-26 09:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":55259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:30:57] local.INFO: GPS data processed {"connection_id":55259,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:30:57] local.INFO: Acknowledgment sent {"connection_id":55259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:31:13] local.INFO: TCP Data received {"connection_id":55260,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:31:13] local.INFO: Processing buffer {"connection_id":55260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:31:13] local.INFO: IMEI packet received {"connection_id":55260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":55260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:31:15] local.INFO: TCP Data received {"connection_id":55261,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:31:15] local.INFO: Processing buffer {"connection_id":55261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:31:15] local.INFO: IMEI packet received {"connection_id":55261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":55261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:31:17] local.INFO: TCP Data received {"connection_id":55260,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:31:17] local.INFO: Processing buffer {"connection_id":55260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:31:17] local.INFO: IMEI packet received {"connection_id":55260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":55260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:31:19] local.INFO: TCP Data received {"connection_id":55260,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f20bf0012d188f00071d7e980026005d24..."} 
[2026-04-26 09:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f20bf0012d188f00071d7e980026005d24..."} 
[2026-04-26 09:31:19] local.INFO: Processing buffer {"connection_id":55260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f20bf0012d188f00071d7e980026005d24..."} 
[2026-04-26 09:31:19] local.INFO: Packet analysis {"connection_id":55260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:31:19] local.INFO: Extracted packet for processing {"connection_id":55260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756584192,"raw_latitude":119373464,"longitude_deg":75.6584192,"latitude_deg":11.9373464,"altitude":38,"angle":93,"satellites":36,"speed":26,"hex_longitude":"2d188f00","hex_latitude":"071d7e98","is_valid_coordinates":true} 
[2026-04-26 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957059840001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114582945703919616,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762948178442426368,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777176022000,"timestamp_ms":1777176022000,"timestamp_seconds":1777176022,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f20bf0"} 
[2026-04-26 09:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:31: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-04-26 09:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 09:31:19] 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-04-26 09:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957059840001,"66":14407,"32":206,"28":31744,"24":26,"16":114582945703919616,"45":1762948178442426368},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957059840001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:31:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:31:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114582945703919616,"km_value":114582945703919.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762948178442426368,"description":"Unknown IO ID 45"} 
[2026-04-26 09:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957059840001,"power":14407,"unknown_32":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1762948178442426368}} 
[2026-04-26 09:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":55260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:31:19] local.INFO: GPS data processed {"connection_id":55260,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:31:19] local.INFO: Acknowledgment sent {"connection_id":55260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:31:20] local.INFO: TCP Data received {"connection_id":55261,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:31:20] local.INFO: Processing buffer {"connection_id":55261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:31:20] local.INFO: IMEI packet received {"connection_id":55261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":55261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:31:20] local.INFO: TCP Data received {"connection_id":55261,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:31:20] local.INFO: Processing buffer {"connection_id":55261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:31:20] local.INFO: Packet analysis {"connection_id":55261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:31:20] local.INFO: Extracted packet for processing {"connection_id":55261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:31: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-04-26 09: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-04-26 09:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:31:20] 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-04-26 09:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":55261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:31:20] local.INFO: GPS data processed {"connection_id":55261,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:31:20] local.INFO: Acknowledgment sent {"connection_id":55261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:31:20] local.INFO: TCP Data received {"connection_id":55260,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f20fd8012d189180071d7e080027006a25..."} 
[2026-04-26 09:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f20fd8012d189180071d7e080027006a25..."} 
[2026-04-26 09:31:20] local.INFO: Processing buffer {"connection_id":55260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f20fd8012d189180071d7e080027006a25..."} 
[2026-04-26 09:31:20] local.INFO: Packet analysis {"connection_id":55260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:31:20] local.INFO: Extracted packet for processing {"connection_id":55260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":756584832,"raw_latitude":119373320,"longitude_deg":75.6584832,"latitude_deg":11.937332,"altitude":39,"angle":106,"satellites":37,"speed":25,"hex_longitude":"2d189180","hex_latitude":"071d7e08","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957061632001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114582980063657984,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769633209139501056,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176023000,"timestamp_ms":1777176023000,"timestamp_seconds":1777176023,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f20fd8"} 
[2026-04-26 09:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-26 09:31: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-04-26 09: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-04-26 09:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957061632001,"66":14407,"32":206,"28":31744,"24":25,"16":114582980063657984,"45":1769633209139501056},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957061632001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114582980063657984,"km_value":114582980063657.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:31:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769633209139501056,"description":"Unknown IO ID 45"} 
[2026-04-26 09:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957061632001,"power":14407,"unknown_32":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1769633209139501056}} 
[2026-04-26 09:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":55260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:31:21] local.INFO: GPS data processed {"connection_id":55260,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:31:21] local.INFO: Acknowledgment sent {"connection_id":55260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:31:51] local.INFO: TCP Data received {"connection_id":55261,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:31:51] local.INFO: Processing buffer {"connection_id":55261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:31:51] local.INFO: Packet analysis {"connection_id":55261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:31:51] local.INFO: Extracted packet for processing {"connection_id":55261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:31: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-04-26 09:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:31:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":55261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:31:51] local.INFO: GPS data processed {"connection_id":55261,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:31:51] local.INFO: Acknowledgment sent {"connection_id":55261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:31:52] local.INFO: TCP Data received {"connection_id":55260,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f2bfa0012d18b4c0071cf6e8002200b924..."} 
[2026-04-26 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f2bfa0012d18b4c0071cf6e8002200b924..."} 
[2026-04-26 09:31:52] local.INFO: Processing buffer {"connection_id":55260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f2bfa0012d18b4c0071cf6e8002200b924..."} 
[2026-04-26 09:31:52] local.INFO: Packet analysis {"connection_id":55260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:31:52] local.INFO: Extracted packet for processing {"connection_id":55260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756593856,"raw_latitude":119338728,"longitude_deg":75.6593856,"latitude_deg":11.9338728,"altitude":34,"angle":185,"satellites":36,"speed":36,"hex_longitude":"2d18b4c0","hex_latitude":"071cf6e8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957070848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114584882734170112,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781384789410740224,"note":"Value kept but may cause issues"} 
[2026-04-26 09:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777176068000,"timestamp_ms":1777176068000,"timestamp_seconds":1777176068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f2bfa0"} 
[2026-04-26 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-04-26 09:31:52] 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-04-26 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-26 09:31:52] 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-04-26 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-04-26 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-04-26 09:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957070848001,"66":14070,"32":206,"28":31744,"24":36,"16":114584882734170112,"45":1781384789410740224},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957070848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:31:52] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:31:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114584882734170112,"km_value":114584882734170.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781384789410740224,"description":"Unknown IO ID 45"} 
[2026-04-26 09:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957070848001,"power":14070,"unknown_32":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1781384789410740224}} 
[2026-04-26 09:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":55260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:31:52] local.INFO: GPS data processed {"connection_id":55260,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:31:52] local.INFO: Acknowledgment sent {"connection_id":55260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:32:13] local.INFO: TCP Data received {"connection_id":55262,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:32:13] local.INFO: Processing buffer {"connection_id":55262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:32:13] local.INFO: IMEI packet received {"connection_id":55262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":55262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:32:15] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:32:15] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:32:15] local.INFO: IMEI packet received {"connection_id":54521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":54521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:32:18] local.INFO: TCP Data received {"connection_id":55262,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:32:18] local.INFO: Processing buffer {"connection_id":55262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:32:18] local.INFO: IMEI packet received {"connection_id":55262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":55262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:32:19] local.INFO: TCP Data received {"connection_id":55262,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f2cb58012d18b4c0071ced30002200a624..."} 
[2026-04-26 09:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f2cb58012d18b4c0071ced30002200a624..."} 
[2026-04-26 09:32:19] local.INFO: Processing buffer {"connection_id":55262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f2cb58012d18b4c0071ced30002200a624..."} 
[2026-04-26 09:32:19] local.INFO: Packet analysis {"connection_id":55262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:32:19] local.INFO: Extracted packet for processing {"connection_id":55262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f2"} 
[2026-04-26 09:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756593856,"raw_latitude":119336240,"longitude_deg":75.6593856,"latitude_deg":11.933624,"altitude":34,"angle":166,"satellites":36,"speed":28,"hex_longitude":"2d18b4c0","hex_latitude":"071ced30","is_valid_coordinates":true} 
[2026-04-26 09:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957073408001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114585002993254400,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780258889501435904,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777176071000,"timestamp_ms":1777176071000,"timestamp_seconds":1777176071,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f2cb58"} 
[2026-04-26 09:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:32: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-04-26 09:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 09:32:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957073408001,"66":13559,"32":206,"28":31744,"24":28,"16":114585002993254400,"45":1780258889501435904},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957073408001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:32:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114585002993254400,"km_value":114585002993254.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780258889501435904,"description":"Unknown IO ID 45"} 
[2026-04-26 09:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957073408001,"power":13559,"unknown_32":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1780258889501435904}} 
[2026-04-26 09:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":55262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:32:19] local.INFO: GPS data processed {"connection_id":55262,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:32:19] local.INFO: Acknowledgment sent {"connection_id":55262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:32:20] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:32:20] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:32:20] local.INFO: IMEI packet received {"connection_id":54521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":54521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:32:20] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:32:20] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:32:20] local.INFO: Packet analysis {"connection_id":54521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:32:20] local.INFO: Extracted packet for processing {"connection_id":54521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:32: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-04-26 09: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-04-26 09:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:32: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-04-26 09:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":54521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:32:20] local.INFO: GPS data processed {"connection_id":54521,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:32:20] local.INFO: Acknowledgment sent {"connection_id":54521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:32:51] local.INFO: TCP Data received {"connection_id":55262,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f37b20012d18d4c0071c83c0003100bc27..."} 
[2026-04-26 09:32:51] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f37b20012d18d4c0071c83c0003100bc27..."} 
[2026-04-26 09:32:51] local.INFO: Processing buffer {"connection_id":55262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f37b20012d18d4c0071c83c0003100bc27..."} 
[2026-04-26 09:32:51] local.INFO: Packet analysis {"connection_id":55262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:32:51] local.INFO: Extracted packet for processing {"connection_id":55262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756602048,"raw_latitude":119309248,"longitude_deg":75.6602048,"latitude_deg":11.9309248,"altitude":49,"angle":188,"satellites":39,"speed":32,"hex_longitude":"2d18d4c0","hex_latitude":"071c83c0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957084672001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114586437512331264,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789547563726174208,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176116000,"timestamp_ms":1777176116000,"timestamp_seconds":1777176116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f37b20"} 
[2026-04-26 09:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:32: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-04-26 09:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:32:51] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:32:51] local.INFO: Packet analysis {"connection_id":54521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:32:51] local.INFO: Extracted packet for processing {"connection_id":54521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09: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-04-26 09:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:32: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-04-26 09: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-04-26 09:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957084672001,"66":14428,"32":206,"28":31744,"24":32,"16":114586437512331264,"45":1789547563726174208},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957084672001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114586437512331264,"km_value":114586437512331.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789547563726174208,"description":"Unknown IO ID 45"} 
[2026-04-26 09:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957084672001,"power":14428,"unknown_32":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1789547563726174208}} 
[2026-04-26 09:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":54521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:32:51] local.INFO: GPS data processed {"connection_id":54521,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:32:51] local.INFO: Acknowledgment sent {"connection_id":54521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":55262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:32:51] local.INFO: GPS data processed {"connection_id":55262,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:32:51] local.INFO: Acknowledgment sent {"connection_id":55262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:32:55] local.INFO: TCP Data received {"connection_id":54342,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:32:55] local.INFO: Processing buffer {"connection_id":54342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:32:55] local.INFO: IMEI packet received {"connection_id":54342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":54342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:33:13] local.INFO: TCP Data received {"connection_id":54597,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:13] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:13] local.INFO: IMEI packet received {"connection_id":54597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":54597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:33:14] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:33:14] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:33:14] local.INFO: IMEI packet received {"connection_id":54522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":54522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:33:17] local.INFO: TCP Data received {"connection_id":54597,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:17] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:17] local.INFO: IMEI packet received {"connection_id":54597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":54597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:33:18] local.INFO: TCP Data received {"connection_id":54597,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:18] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:33:18] local.INFO: IMEI packet received {"connection_id":54597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":54597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:33:19] local.INFO: TCP Data received {"connection_id":54597,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f3a618012d18d140071c6000003700b023..."} 
[2026-04-26 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f3a618012d18d140071c6000003700b023..."} 
[2026-04-26 09:33:19] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f3a618012d18d140071c6000003700b023..."} 
[2026-04-26 09:33:19] local.INFO: Packet analysis {"connection_id":54597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:33:19] local.INFO: Extracted packet for processing {"connection_id":54597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119300096,"longitude_deg":75.6601152,"latitude_deg":11.9300096,"altitude":55,"angle":176,"satellites":35,"speed":32,"hex_longitude":"2d18d140","hex_latitude":"071c6000","is_valid_coordinates":true} 
[2026-04-26 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957085696001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114586884188930048,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789266088748630016,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777176127000,"timestamp_ms":1777176127000,"timestamp_seconds":1777176127,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f3a618"} 
[2026-04-26 09:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:33: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-04-26 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957085696001,"66":14428,"32":206,"28":31744,"24":32,"16":114586884188930048,"45":1789266088748630016},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957085696001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:33:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114586884188930048,"km_value":114586884188930.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789266088748630016,"description":"Unknown IO ID 45"} 
[2026-04-26 09:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957085696001,"power":14428,"unknown_32":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1789266088748630016}} 
[2026-04-26 09:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":54597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:33:19] local.INFO: GPS data processed {"connection_id":54597,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:33:19] local.INFO: Acknowledgment sent {"connection_id":54597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:33:20] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:33:20] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:33:20] local.INFO: IMEI packet received {"connection_id":54522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:33:20] local.INFO: IMEI acknowledgment sent {"connection_id":54522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:33:20] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:33:20] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:33:20] local.INFO: Packet analysis {"connection_id":54522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:33:20] local.INFO: Extracted packet for processing {"connection_id":54522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:33: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-04-26 09: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-04-26 09:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:33:20] 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-04-26 09:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:33:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":54522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:33:20] local.INFO: GPS data processed {"connection_id":54522,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:33:20] local.INFO: Acknowledgment sent {"connection_id":54522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:33:24] local.INFO: TCP Data received {"connection_id":54597,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f3a618012d18d140071c6000003700b023..."} 
[2026-04-26 09:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f3a618012d18d140071c6000003700b023..."} 
[2026-04-26 09:33:24] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f3a618012d18d140071c6000003700b023..."} 
[2026-04-26 09:33:24] local.INFO: Packet analysis {"connection_id":54597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:33:24] local.INFO: Extracted packet for processing {"connection_id":54597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756601152,"raw_latitude":119300096,"longitude_deg":75.6601152,"latitude_deg":11.9300096,"altitude":55,"angle":176,"satellites":35,"speed":32,"hex_longitude":"2d18d140","hex_latitude":"071c6000","is_valid_coordinates":true} 
[2026-04-26 09:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957088512001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114586884188930048,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926327799808,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777176127000,"timestamp_ms":1777176127000,"timestamp_seconds":1777176127,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f3a618"} 
[2026-04-26 09:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957088512001,"66":14428,"32":206,"28":31744,"24":32,"16":114586884188930048,"45":1788280926327799808},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957088512001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:33:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:33:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114586884188930048,"km_value":114586884188930.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926327799808,"description":"Unknown IO ID 45"} 
[2026-04-26 09:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957088512001,"power":14428,"unknown_32":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1788280926327799808}} 
[2026-04-26 09:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":54597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:33:24] local.INFO: GPS data processed {"connection_id":54597,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:33:24] local.INFO: Acknowledgment sent {"connection_id":54597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:33:40] local.INFO: TCP Data received {"connection_id":54598,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:33:40] local.INFO: Processing buffer {"connection_id":54598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:33:40] local.INFO: IMEI packet received {"connection_id":54598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":54598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:33:51] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:33:51] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:33:51] local.INFO: Packet analysis {"connection_id":54522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:33:51] local.INFO: Extracted packet for processing {"connection_id":54522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:33: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-04-26 09:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:33:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:33:51] local.INFO: GPS data processed {"connection_id":54522,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:33:51] local.INFO: Acknowledgment sent {"connection_id":54522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:33:56] local.INFO: TCP Data received {"connection_id":54597,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f3d110012d18d2c0071c3cd8003c00b224..."} 
[2026-04-26 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f3d110012d18d2c0071c3cd8003c00b224..."} 
[2026-04-26 09:33:56] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f3d110012d18d2c0071c3cd8003c00b224..."} 
[2026-04-26 09:33:56] local.INFO: Packet analysis {"connection_id":54597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:33:56] local.INFO: Extracted packet for processing {"connection_id":54597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f3"} 
[2026-04-26 09:33:56] local.INFO: GPS Element Parsed {"raw_longitude":756601536,"raw_latitude":119291096,"longitude_deg":75.6601536,"latitude_deg":11.9291096,"altitude":60,"angle":178,"satellites":36,"speed":31,"hex_longitude":"2d18d2c0","hex_latitude":"071c3cd8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957088512001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114587322275594240,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926327799808,"note":"Value kept but may cause issues"} 
[2026-04-26 09:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777176138000,"timestamp_ms":1777176138000,"timestamp_seconds":1777176138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f3d110"} 
[2026-04-26 09:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:33:56] 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-04-26 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957088512001,"66":14396,"32":206,"28":31744,"24":31,"16":114587322275594240,"45":1788280926327799808},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957088512001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:33:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:33:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114587322275594240,"km_value":114587322275594.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926327799808,"description":"Unknown IO ID 45"} 
[2026-04-26 09:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957088512001,"power":14396,"unknown_32":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1788280926327799808}} 
[2026-04-26 09:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":54597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:33:56] local.INFO: GPS data processed {"connection_id":54597,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:33:56] local.INFO: Acknowledgment sent {"connection_id":54597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:34:13] local.INFO: TCP Data received {"connection_id":55263,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:13] local.INFO: Processing buffer {"connection_id":55263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:13] local.INFO: IMEI packet received {"connection_id":55263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":55263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:34:14] local.INFO: TCP Data received {"connection_id":55263,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:14] local.INFO: Processing buffer {"connection_id":55263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:14] local.INFO: IMEI packet received {"connection_id":55263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":55263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:34:14] local.INFO: TCP Data received {"connection_id":55264,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:34:14] local.INFO: Processing buffer {"connection_id":55264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:34:14] local.INFO: IMEI packet received {"connection_id":55264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":55264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:34:18] local.INFO: TCP Data received {"connection_id":55263,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:18] local.INFO: Processing buffer {"connection_id":55263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:34:18] local.INFO: IMEI packet received {"connection_id":55263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":55263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:34:19] local.INFO: TCP Data received {"connection_id":55263,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f49c30012d198680071c13680045004026..."} 
[2026-04-26 09:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f49c30012d198680071c13680045004026..."} 
[2026-04-26 09:34:19] local.INFO: Processing buffer {"connection_id":55263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f49c30012d198680071c13680045004026..."} 
[2026-04-26 09:34:19] local.INFO: Packet analysis {"connection_id":55263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f4"} 
[2026-04-26 09:34:19] local.INFO: Extracted packet for processing {"connection_id":55263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f4"} 
[2026-04-26 09:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756647552,"raw_latitude":119280488,"longitude_deg":75.6647552,"latitude_deg":11.9280488,"altitude":69,"angle":64,"satellites":38,"speed":41,"hex_longitude":"2d198680","hex_latitude":"071c1368","is_valid_coordinates":true} 
[2026-04-26 09:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957103616001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114589770406952960,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834865034968037376,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777176190000,"timestamp_ms":1777176190000,"timestamp_seconds":1777176190,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f49c30"} 
[2026-04-26 09:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:34: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-04-26 09:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-26 09:34:19] 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-04-26 09:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957103616001,"66":14102,"32":206,"28":31744,"24":41,"16":114589770406952960,"45":1834865034968037376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957103616001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:34:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:34:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114589770406952960,"km_value":114589770406952.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834865034968037376,"description":"Unknown IO ID 45"} 
[2026-04-26 09:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957103616001,"power":14102,"unknown_32":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1834865034968037376}} 
[2026-04-26 09:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:34:20] local.INFO: GPS data processed {"connection_id":55263,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:34:20] local.INFO: Acknowledgment sent {"connection_id":55263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:34:20] local.INFO: TCP Data received {"connection_id":55264,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:34:20] local.INFO: Processing buffer {"connection_id":55264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:34:20] local.INFO: IMEI packet received {"connection_id":55264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":55264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:34:21] local.INFO: TCP Data received {"connection_id":55264,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:34:21] local.INFO: Processing buffer {"connection_id":55264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:34:21] local.INFO: Packet analysis {"connection_id":55264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:34:21] local.INFO: Extracted packet for processing {"connection_id":55264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:34:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:34:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:34: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-04-26 09: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-04-26 09:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:34: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-04-26 09:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:34:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:34:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:34:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":55264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:34:21] local.INFO: GPS data processed {"connection_id":55264,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:34:21] local.INFO: Acknowledgment sent {"connection_id":55264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:34:51] local.INFO: TCP Data received {"connection_id":55263,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f58690012d19c740071c55c00054016426..."} 
[2026-04-26 09:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f58690012d19c740071c55c00054016426..."} 
[2026-04-26 09:34:51] local.INFO: Processing buffer {"connection_id":55263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f58690012d19c740071c55c00054016426..."} 
[2026-04-26 09:34:51] local.INFO: Packet analysis {"connection_id":55263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:34:51] local.INFO: Extracted packet for processing {"connection_id":55263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119297472,"longitude_deg":75.6664128,"latitude_deg":11.9297472,"altitude":84,"angle":356,"satellites":38,"speed":7,"hex_longitude":"2d19c740","hex_latitude":"071c55c0","is_valid_coordinates":true} 
[2026-04-26 09:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957119744001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114591157681389568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770597896192,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176250000,"timestamp_ms":1777176250000,"timestamp_seconds":1777176250,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f58690"} 
[2026-04-26 09:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:34: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-04-26 09:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 09:34: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-04-26 09:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957119744001,"66":13961,"32":206,"28":31744,"24":7,"16":114591157681389568,"45":1857523770597896192},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957119744001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:34:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114591157681389568,"km_value":114591157681389.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770597896192,"description":"Unknown IO ID 45"} 
[2026-04-26 09:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957119744001,"power":13961,"unknown_32":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1857523770597896192}} 
[2026-04-26 09:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:34:51] local.INFO: GPS data processed {"connection_id":55263,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:34:51] local.INFO: Acknowledgment sent {"connection_id":55263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:34:52] local.INFO: TCP Data received {"connection_id":55264,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:34:52] local.INFO: Processing buffer {"connection_id":55264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f11da8012cb299c007822ce0004900122f..."} 
[2026-04-26 09:34:52] local.INFO: Packet analysis {"connection_id":55264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:34:52] local.INFO: Extracted packet for processing {"connection_id":55264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f1"} 
[2026-04-26 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956968960001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777175961000,"timestamp_ms":1777175961000,"timestamp_seconds":1777175961,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f11da8"} 
[2026-04-26 09:34:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:34:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:34:52] 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-04-26 09:34:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:34:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:34: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-04-26 09:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956968960001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956968960001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956968960001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":55264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:34:52] local.INFO: GPS data processed {"connection_id":55264,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:34:52] local.INFO: Acknowledgment sent {"connection_id":55264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:35:13] local.INFO: TCP Data received {"connection_id":54344,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:13] local.INFO: Processing buffer {"connection_id":54344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:13] local.INFO: IMEI packet received {"connection_id":54344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":54344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:35:14] local.INFO: TCP Data received {"connection_id":54344,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:14] local.INFO: Processing buffer {"connection_id":54344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:14] local.INFO: IMEI packet received {"connection_id":54344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:35:14] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:35:14] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:35:14] local.INFO: IMEI packet received {"connection_id":54345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:35:15] local.INFO: TCP Data received {"connection_id":54344,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:15] local.INFO: Processing buffer {"connection_id":54344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:15] local.INFO: IMEI packet received {"connection_id":54344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":54344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:35:18] local.INFO: TCP Data received {"connection_id":54344,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:18] local.INFO: Processing buffer {"connection_id":54344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:35:18] local.INFO: IMEI packet received {"connection_id":54344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":54344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:35:19] local.INFO: TCP Data received {"connection_id":54344,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f58a78012d19c740071c56800054015026..."} 
[2026-04-26 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f58a78012d19c740071c56800054015026..."} 
[2026-04-26 09:35:19] local.INFO: Processing buffer {"connection_id":54344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f58a78012d19c740071c56800054015026..."} 
[2026-04-26 09:35:19] local.INFO: Packet analysis {"connection_id":54344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:35:19] local.INFO: Extracted packet for processing {"connection_id":54344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119297664,"longitude_deg":75.6664128,"latitude_deg":11.9297664,"altitude":84,"angle":336,"satellites":38,"speed":7,"hex_longitude":"2d19c740","hex_latitude":"071c5680","is_valid_coordinates":true} 
[2026-04-26 09:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957120000001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114591166271324160,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770597949440,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777176251000,"timestamp_ms":1777176251000,"timestamp_seconds":1777176251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f58a78"} 
[2026-04-26 09:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:35: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-04-26 09:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957120000001,"66":13961,"32":206,"28":31744,"24":7,"16":114591166271324160,"45":1857523770597949440},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957120000001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:35:19] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:35:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114591166271324160,"km_value":114591166271324.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770597949440,"description":"Unknown IO ID 45"} 
[2026-04-26 09:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957120000001,"power":13961,"unknown_32":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1857523770597949440}} 
[2026-04-26 09:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":54344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:35:19] local.INFO: GPS data processed {"connection_id":54344,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:35:19] local.INFO: Acknowledgment sent {"connection_id":54344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:35:19] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:35:19] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:35:19] local.INFO: IMEI packet received {"connection_id":54345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:35:20] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:35:20] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:35:20] local.INFO: Packet analysis {"connection_id":54345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:35:20] local.INFO: Extracted packet for processing {"connection_id":54345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:35: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-04-26 09: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-04-26 09:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:35: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-04-26 09:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":54345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:35:20] local.INFO: GPS data processed {"connection_id":54345,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:35:20] local.INFO: Acknowledgment sent {"connection_id":54345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:35:51] local.INFO: TCP Data received {"connection_id":54344,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f65980012d19aa80071ca5d00045015b20..."} 
[2026-04-26 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f65980012d19aa80071ca5d00045015b20..."} 
[2026-04-26 09:35:51] local.INFO: Processing buffer {"connection_id":54344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f65980012d19aa80071ca5d00045015b20..."} 
[2026-04-26 09:35:51] local.INFO: Packet analysis {"connection_id":54344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:35:51] local.INFO: Extracted packet for processing {"connection_id":54344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119317968,"longitude_deg":75.6656768,"latitude_deg":11.9317968,"altitude":69,"angle":347,"satellites":32,"speed":17,"hex_longitude":"2d19aa80","hex_latitude":"071ca5d0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957132288001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114592330207461376,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683719819264,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176304000,"timestamp_ms":1777176304000,"timestamp_seconds":1777176304,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f65980"} 
[2026-04-26 09:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:35: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-04-26 09: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 09:35:51] 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-04-26 09: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-04-26 09:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957132288001,"66":14515,"32":206,"28":31744,"24":17,"16":114592330207461376,"45":1850064683719819264},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957132288001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114592330207461376,"km_value":114592330207461.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683719819264,"description":"Unknown IO ID 45"} 
[2026-04-26 09:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957132288001,"power":14515,"unknown_32":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1850064683719819264}} 
[2026-04-26 09:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:35:51] local.INFO: GPS data processed {"connection_id":54344,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:35:51] local.INFO: Acknowledgment sent {"connection_id":54344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:35:51] local.INFO: TCP Data received {"connection_id":54345,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:35:51] local.INFO: Processing buffer {"connection_id":54345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:35:51] local.INFO: Packet analysis {"connection_id":54345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:35:51] local.INFO: Extracted packet for processing {"connection_id":54345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:35: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-04-26 09: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-04-26 09:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:35: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-04-26 09:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:35:51] local.INFO: GPS data processed {"connection_id":54345,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:35:51] local.INFO: Acknowledgment sent {"connection_id":54345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:36:15] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:36:15] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:36:15] local.INFO: IMEI packet received {"connection_id":54600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":54600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:36:20] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:36:20] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:36:20] local.INFO: IMEI packet received {"connection_id":54600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":54600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:36:20] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:36:20] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:36:20] local.INFO: Packet analysis {"connection_id":54600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:36:20] local.INFO: Extracted packet for processing {"connection_id":54600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:36: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-04-26 09: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-04-26 09:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:36:20] 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-04-26 09:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:36:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":54600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:36:20] local.INFO: GPS data processed {"connection_id":54600,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:36:20] local.INFO: Acknowledgment sent {"connection_id":54600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:36:21] local.INFO: TCP Data received {"connection_id":55265,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:36:21] local.INFO: Processing buffer {"connection_id":55265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:36:21] local.INFO: IMEI packet received {"connection_id":55265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":55265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:36:23] local.INFO: TCP Data received {"connection_id":55265,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:36:23] local.INFO: Processing buffer {"connection_id":55265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:36:23] local.INFO: IMEI packet received {"connection_id":55265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":55265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:36:24] local.INFO: TCP Data received {"connection_id":55265,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f66150012d19aa40071ca9b80044016720..."} 
[2026-04-26 09:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f66150012d19aa40071ca9b80044016720..."} 
[2026-04-26 09:36:24] local.INFO: Processing buffer {"connection_id":55265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f66150012d19aa40071ca9b80044016720..."} 
[2026-04-26 09:36:24] local.INFO: Packet analysis {"connection_id":55265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:36:24] local.INFO: Extracted packet for processing {"connection_id":55265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756656704,"raw_latitude":119318968,"longitude_deg":75.6656704,"latitude_deg":11.9318968,"altitude":68,"angle":359,"satellites":32,"speed":19,"hex_longitude":"2d19aa40","hex_latitude":"071ca9b8","is_valid_coordinates":true} 
[2026-04-26 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957133824001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114592377452101632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849431365022765056,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777176306000,"timestamp_ms":1777176306000,"timestamp_seconds":1777176306,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f66150"} 
[2026-04-26 09:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 09:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957133824001,"66":13863,"32":206,"28":31744,"24":19,"16":114592377452101632,"45":1849431365022765056},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957133824001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:36:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:36:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114592377452101632,"km_value":114592377452101.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849431365022765056,"description":"Unknown IO ID 45"} 
[2026-04-26 09:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957133824001,"power":13863,"unknown_32":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1849431365022765056}} 
[2026-04-26 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":55265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:36:24] local.INFO: GPS data processed {"connection_id":55265,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:36:24] local.INFO: Acknowledgment sent {"connection_id":55265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:36:25] local.INFO: TCP Data received {"connection_id":55265,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f66920012d19aa80071cadb80044000b21..."} 
[2026-04-26 09:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f66920012d19aa80071cadb80044000b21..."} 
[2026-04-26 09:36:25] local.INFO: Processing buffer {"connection_id":55265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f66920012d19aa80071cadb80044000b21..."} 
[2026-04-26 09:36:25] local.INFO: Packet analysis {"connection_id":55265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:36:25] local.INFO: Extracted packet for processing {"connection_id":55265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:36:25] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119319992,"longitude_deg":75.6656768,"latitude_deg":11.9319992,"altitude":68,"angle":11,"satellites":33,"speed":19,"hex_longitude":"2d19aa80","hex_latitude":"071cadb8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957134336001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114592428991709184,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849360996278843392,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777176308000,"timestamp_ms":1777176308000,"timestamp_seconds":1777176308,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f66920"} 
[2026-04-26 09:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:36:25] 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-04-26 09: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 09:36:25] 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-04-26 09: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-04-26 09:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957134336001,"66":13906,"32":206,"28":31744,"24":19,"16":114592428991709184,"45":1849360996278843392},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957134336001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:36:25] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:36:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114592428991709184,"km_value":114592428991709.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849360996278843392,"description":"Unknown IO ID 45"} 
[2026-04-26 09:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957134336001,"power":13906,"unknown_32":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1849360996278843392}} 
[2026-04-26 09:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":55265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:36:26] local.INFO: GPS data processed {"connection_id":55265,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:36:26] local.INFO: Acknowledgment sent {"connection_id":55265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:36:51] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:36:51] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:36:51] local.INFO: Packet analysis {"connection_id":54600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:36:51] local.INFO: Extracted packet for processing {"connection_id":54600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:36: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-04-26 09: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-04-26 09:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":54600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:36:51] local.INFO: GPS data processed {"connection_id":54600,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:36:51] local.INFO: Acknowledgment sent {"connection_id":54600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:36:58] local.INFO: TCP Data received {"connection_id":55265,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f68090012d19ab80071cb6d80040016722..."} 
[2026-04-26 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f68090012d19ab80071cb6d80040016722..."} 
[2026-04-26 09:36:58] local.INFO: Processing buffer {"connection_id":55265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f68090012d19ab80071cb6d80040016722..."} 
[2026-04-26 09:36:58] local.INFO: Packet analysis {"connection_id":55265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:36:58] local.INFO: Extracted packet for processing {"connection_id":55265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119322328,"longitude_deg":75.6657024,"latitude_deg":11.9322328,"altitude":64,"angle":359,"satellites":34,"speed":11,"hex_longitude":"2d19ab80","hex_latitude":"071cb6d8","is_valid_coordinates":true} 
[2026-04-26 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957134848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114592540660858880,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849431365023283200,"note":"Value kept but may cause issues"} 
[2026-04-26 09:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777176314000,"timestamp_ms":1777176314000,"timestamp_seconds":1777176314,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f68090"} 
[2026-04-26 09:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 09:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":55265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":55265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":55265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957134848001,"66":13820,"32":206,"28":31744,"24":11,"16":114592540660858880,"45":1849431365023283200},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957134848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:36:58] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114592540660858880,"km_value":114592540660858.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849431365023283200,"description":"Unknown IO ID 45"} 
[2026-04-26 09:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957134848001,"power":13820,"unknown_32":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1849431365023283200}} 
[2026-04-26 09:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":55265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:36:58] local.INFO: GPS data processed {"connection_id":55265,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:36:58] local.INFO: Acknowledgment sent {"connection_id":55265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:37:13] local.INFO: TCP Data received {"connection_id":54525,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:37:13] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:37:13] local.INFO: IMEI packet received {"connection_id":54525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":54525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:37:14] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:37:14] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:37:14] local.INFO: IMEI packet received {"connection_id":54346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":54346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:37:18] local.INFO: TCP Data received {"connection_id":54525,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:37:18] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:37:18] local.INFO: IMEI packet received {"connection_id":54525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":54525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:37:20] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:37:20] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:37:20] local.INFO: IMEI packet received {"connection_id":54346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:37:20] local.INFO: TCP Data received {"connection_id":54525,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f6ab88012d19ab80071cbf000039002f21..."} 
[2026-04-26 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f6ab88012d19ab80071cbf000039002f21..."} 
[2026-04-26 09:37:20] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f6ab88012d19ab80071cbf000039002f21..."} 
[2026-04-26 09:37:20] local.INFO: Packet analysis {"connection_id":54525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:37:20] local.INFO: Extracted packet for processing {"connection_id":54525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119324416,"longitude_deg":75.6657024,"latitude_deg":11.9324416,"altitude":57,"angle":47,"satellites":33,"speed":6,"hex_longitude":"2d19ab80","hex_latitude":"071cbf00","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957136384001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114592648035041280,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840000591872,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176325000,"timestamp_ms":1777176325000,"timestamp_seconds":1777176325,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f6ab88"} 
[2026-04-26 09:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 09:37:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957136384001,"66":13961,"32":206,"28":31744,"24":6,"16":114592648035041280,"45":1849712840000591872},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957136384001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114592648035041280,"km_value":114592648035041.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840000591872,"description":"Unknown IO ID 45"} 
[2026-04-26 09:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957136384001,"power":13961,"unknown_32":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1849712840000591872}} 
[2026-04-26 09:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:37:20] local.INFO: GPS data processed {"connection_id":54525,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:37:20] local.INFO: Acknowledgment sent {"connection_id":54525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:37:20] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:37:20] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:37:20] local.INFO: Packet analysis {"connection_id":54346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:37:20] local.INFO: Extracted packet for processing {"connection_id":54346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:37: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-04-26 09: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-04-26 09:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:37: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-04-26 09:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:37:20] local.INFO: GPS data processed {"connection_id":54346,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:37:20] local.INFO: Acknowledgment sent {"connection_id":54346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:37:51] local.INFO: TCP Data received {"connection_id":54346,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:37:51] local.INFO: Processing buffer {"connection_id":54346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:37:51] local.INFO: Packet analysis {"connection_id":54346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:37:51] local.INFO: Extracted packet for processing {"connection_id":54346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:37: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-04-26 09: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-04-26 09:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:37: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-04-26 09:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:37:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":54346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:37:52] local.INFO: GPS data processed {"connection_id":54346,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:37:52] local.INFO: Acknowledgment sent {"connection_id":54346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:37:57] local.INFO: TCP Data received {"connection_id":54525,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f6fd90012d19af80071cc3d00033002322..."} 
[2026-04-26 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f6fd90012d19af80071cc3d00033002322..."} 
[2026-04-26 09:37:57] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f6fd90012d19af80071cc3d00033002322..."} 
[2026-04-26 09:37:57] local.INFO: Packet analysis {"connection_id":54525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:37:57] local.INFO: Extracted packet for processing {"connection_id":54525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f6"} 
[2026-04-26 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119325648,"longitude_deg":75.6658048,"latitude_deg":11.9325648,"altitude":51,"angle":35,"satellites":34,"speed":4,"hex_longitude":"2d19af80","hex_latitude":"071cc3d0","is_valid_coordinates":true} 
[2026-04-26 09:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957139200001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114592729639419904,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840001126400,"note":"Value kept but may cause issues"} 
[2026-04-26 09:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777176346000,"timestamp_ms":1777176346000,"timestamp_seconds":1777176346,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f6fd90"} 
[2026-04-26 09:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957139200001,"66":13906,"32":206,"28":31744,"24":4,"16":114592729639419904,"45":1849712840001126400},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957139200001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:37:57] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114592729639419904,"km_value":114592729639419.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840001126400,"description":"Unknown IO ID 45"} 
[2026-04-26 09:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957139200001,"power":13906,"unknown_32":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1849712840001126400}} 
[2026-04-26 09:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":54525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:37:57] local.INFO: GPS data processed {"connection_id":54525,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:37:57] local.INFO: Acknowledgment sent {"connection_id":54525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:38:11] local.INFO: TCP Data received {"connection_id":54601,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:11] local.INFO: Processing buffer {"connection_id":54601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:11] local.INFO: IMEI packet received {"connection_id":54601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":54601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:38:12] local.INFO: TCP Data received {"connection_id":54601,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:12] local.INFO: Processing buffer {"connection_id":54601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:12] local.INFO: IMEI packet received {"connection_id":54601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":54601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:38:13] local.INFO: TCP Data received {"connection_id":54601,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:13] local.INFO: Processing buffer {"connection_id":54601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:13] local.INFO: IMEI packet received {"connection_id":54601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":54601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:38:14] local.INFO: TCP Data received {"connection_id":54601,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54601,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:14] local.INFO: Processing buffer {"connection_id":54601,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:38:14] local.INFO: IMEI packet received {"connection_id":54601,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54601,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:38:14] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:38:14] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:38:14] local.INFO: IMEI packet received {"connection_id":54347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:38:20] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:38:20] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:38:20] local.INFO: IMEI packet received {"connection_id":54347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":54347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:38:21] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:38:21] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:38:21] local.INFO: Packet analysis {"connection_id":54347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:38:21] local.INFO: Extracted packet for processing {"connection_id":54347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:38:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:38:21] 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-04-26 09: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-04-26 09:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:38: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-04-26 09:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:38:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:38:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:38:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:38:21] local.INFO: GPS data processed {"connection_id":54347,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:38:21] local.INFO: Acknowledgment sent {"connection_id":54347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:38:52] local.INFO: TCP Data received {"connection_id":54347,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:38:52] local.INFO: Processing buffer {"connection_id":54347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:38:52] local.INFO: Packet analysis {"connection_id":54347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:38:52] local.INFO: Extracted packet for processing {"connection_id":54347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:38: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-04-26 09:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:38: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-04-26 09:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:38:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":54347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:38:52] local.INFO: GPS data processed {"connection_id":54347,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:38:52] local.INFO: Acknowledgment sent {"connection_id":54347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:39:10] local.INFO: TCP Data received {"connection_id":54602,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54602,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:39:10] local.INFO: Processing buffer {"connection_id":54602,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:39:10] local.INFO: IMEI packet received {"connection_id":54602,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":54602,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:39:14] local.INFO: TCP Data received {"connection_id":54604,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:39:14] local.INFO: Processing buffer {"connection_id":54604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:39:14] local.INFO: IMEI packet received {"connection_id":54604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":54604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:39:20] local.INFO: TCP Data received {"connection_id":54604,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:39:20] local.INFO: Processing buffer {"connection_id":54604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:39:20] local.INFO: IMEI packet received {"connection_id":54604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:39:20] local.INFO: TCP Data received {"connection_id":54604,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:39:20] local.INFO: Processing buffer {"connection_id":54604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:39:20] local.INFO: Packet analysis {"connection_id":54604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:39:20] local.INFO: Extracted packet for processing {"connection_id":54604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:39: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-04-26 09:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:39: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-04-26 09:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:39:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":54604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:39:20] local.INFO: GPS data processed {"connection_id":54604,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:39:20] local.INFO: Acknowledgment sent {"connection_id":54604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:39:40] local.INFO: TCP Data received {"connection_id":54526,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:39:40] local.INFO: Processing buffer {"connection_id":54526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:39:40] local.INFO: IMEI packet received {"connection_id":54526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":54526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:39:51] local.INFO: TCP Data received {"connection_id":54604,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:39:51] local.INFO: Processing buffer {"connection_id":54604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7f5b570012cb299c007822ce0004700122f..."} 
[2026-04-26 09:39:51] local.INFO: Packet analysis {"connection_id":54604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:39:51] local.INFO: Extracted packet for processing {"connection_id":54604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7f5"} 
[2026-04-26 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957046016001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176262000,"timestamp_ms":1777176262000,"timestamp_seconds":1777176262,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7f5b570"} 
[2026-04-26 09:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:39: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-04-26 09: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-04-26 09:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:39: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-04-26 09:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957046016001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957046016001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957046016001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":54604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:39:51] local.INFO: GPS data processed {"connection_id":54604,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:39:51] local.INFO: Acknowledgment sent {"connection_id":54604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:40:20] local.INFO: TCP Data received {"connection_id":54605,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:40:20] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:40:20] local.INFO: IMEI packet received {"connection_id":54605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:40:25] local.INFO: TCP Data received {"connection_id":54605,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:40:25] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:40:25] local.INFO: IMEI packet received {"connection_id":54605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":54605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:40:25] local.INFO: TCP Data received {"connection_id":54605,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:40:25] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:40:25] local.INFO: Packet analysis {"connection_id":54605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:40:25] local.INFO: Extracted packet for processing {"connection_id":54605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:40:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:40: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-04-26 09:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:40:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":54605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:40:25] local.INFO: GPS data processed {"connection_id":54605,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:40:25] local.INFO: Acknowledgment sent {"connection_id":54605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:40:30] local.INFO: TCP Data received {"connection_id":54605,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:40:30] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:40:30] local.INFO: Packet analysis {"connection_id":54605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:40:30] local.INFO: Extracted packet for processing {"connection_id":54605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:40:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":54605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:40:30] local.INFO: GPS data processed {"connection_id":54605,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:40:30] local.INFO: Acknowledgment sent {"connection_id":54605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:41:15] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:41:15] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:41:15] local.INFO: IMEI packet received {"connection_id":54527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":54527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:41:20] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:41:20] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:41:20] local.INFO: IMEI packet received {"connection_id":54527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":54527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:41:21] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:41:21] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:41:21] local.INFO: Packet analysis {"connection_id":54527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:41:21] local.INFO: Extracted packet for processing {"connection_id":54527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:41:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:41:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 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-04-26 09:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:41: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-04-26 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-04-26 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-04-26 09:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:41: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-04-26 09:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:41:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:41:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:41:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":54527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:41:21] local.INFO: GPS data processed {"connection_id":54527,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:41:21] local.INFO: Acknowledgment sent {"connection_id":54527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:41:52] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:41:52] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:41:52] local.INFO: Packet analysis {"connection_id":54527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:41:52] local.INFO: Extracted packet for processing {"connection_id":54527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:41:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:41:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:41:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:41:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:41:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 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-04-26 09:41:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:41:52] 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-04-26 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-04-26 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-04-26 09:41:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:41:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:41:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:41:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:41: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-04-26 09:41:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:41:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:41:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:41:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:41:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:41:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:41:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:41:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:41:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:41:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:41:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":54527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:41:52] local.INFO: GPS data processed {"connection_id":54527,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:41:52] local.INFO: Acknowledgment sent {"connection_id":54527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:42:14] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:42:14] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:42:14] local.INFO: IMEI packet received {"connection_id":54606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:42:20] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:42:20] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:42:20] local.INFO: IMEI packet received {"connection_id":54606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":54606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:42:20] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:42:20] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:42:20] local.INFO: Packet analysis {"connection_id":54606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:42:20] local.INFO: Extracted packet for processing {"connection_id":54606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:42: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-04-26 09: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-04-26 09:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:42: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-04-26 09:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:42:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:42:20] local.INFO: GPS data processed {"connection_id":54606,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:42:20] local.INFO: Acknowledgment sent {"connection_id":54606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:42:51] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:42:51] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:42:51] local.INFO: Packet analysis {"connection_id":54606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:42:51] local.INFO: Extracted packet for processing {"connection_id":54606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:42: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-04-26 09:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:42: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-04-26 09:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:42:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:42:51] local.INFO: GPS data processed {"connection_id":54606,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:42:51] local.INFO: Acknowledgment sent {"connection_id":54606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:43:18] local.INFO: TCP Data received {"connection_id":55269,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:43:18] local.INFO: Processing buffer {"connection_id":55269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:43:18] local.INFO: IMEI packet received {"connection_id":55269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":55269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:43:20] local.INFO: TCP Data received {"connection_id":55270,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:43:20] local.INFO: Processing buffer {"connection_id":55270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:43:20] local.INFO: IMEI packet received {"connection_id":55270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":55270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:43:20] local.INFO: TCP Data received {"connection_id":55269,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fcdd78012d18ca40071c9f380036013d26..."} 
[2026-04-26 09:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fcdd78012d18ca40071c9f380036013d26..."} 
[2026-04-26 09:43:20] local.INFO: Processing buffer {"connection_id":55269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fcdd78012d18ca40071c9f380036013d26..."} 
[2026-04-26 09:43:20] local.INFO: Packet analysis {"connection_id":55269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fc"} 
[2026-04-26 09:43:20] local.INFO: Extracted packet for processing {"connection_id":55269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fc"} 
[2026-04-26 09:43:20] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119316280,"longitude_deg":75.659936,"latitude_deg":11.931628,"altitude":54,"angle":317,"satellites":38,"speed":31,"hex_longitude":"2d18ca40","hex_latitude":"071c9f38","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957242880001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114599515687747584,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786943920192434176,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176731000,"timestamp_ms":1777176731000,"timestamp_seconds":1777176731,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fcdd78"} 
[2026-04-26 09:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":230,"data_length":795,"current_offset":136} 
[2026-04-26 09:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957242880001,"66":13798,"32":206,"28":31744,"24":31,"16":114599515687747584,"45":1786943920192434176},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957242880001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:43:20] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:43:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114599515687747584,"km_value":114599515687747.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786943920192434176,"description":"Unknown IO ID 45"} 
[2026-04-26 09:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957242880001,"power":13798,"unknown_32":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1786943920192434176}} 
[2026-04-26 09:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":55269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:43:20] local.INFO: GPS data processed {"connection_id":55269,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:43:20] local.INFO: Acknowledgment sent {"connection_id":55269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:43:25] local.INFO: TCP Data received {"connection_id":55270,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:43:25] local.INFO: Processing buffer {"connection_id":55270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:43:25] local.INFO: IMEI packet received {"connection_id":55270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":55270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:43:25] local.INFO: TCP Data received {"connection_id":55270,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:43:25] local.INFO: Processing buffer {"connection_id":55270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:43:25] local.INFO: Packet analysis {"connection_id":55270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:43:25] local.INFO: Extracted packet for processing {"connection_id":55270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:43:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:43:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:43:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:43:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":55270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:43:25] local.INFO: GPS data processed {"connection_id":55270,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:43:25] local.INFO: Acknowledgment sent {"connection_id":55270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:43:30] local.INFO: TCP Data received {"connection_id":55270,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:43:30] local.INFO: Processing buffer {"connection_id":55270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:43:30] local.INFO: Packet analysis {"connection_id":55270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:43:30] local.INFO: Extracted packet for processing {"connection_id":55270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:43:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":55270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:43:30] local.INFO: GPS data processed {"connection_id":55270,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:43:30] local.INFO: Acknowledgment sent {"connection_id":55270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:43:56] local.INFO: TCP Data received {"connection_id":55269,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fd98f8012d18a000071d35800024013f28..."} 
[2026-04-26 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fd98f8012d18a000071d35800024013f28..."} 
[2026-04-26 09:43:56] local.INFO: Processing buffer {"connection_id":55269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fd98f8012d18a000071d35800024013f28..."} 
[2026-04-26 09:43:56] local.INFO: Packet analysis {"connection_id":55269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fd"} 
[2026-04-26 09:43:56] local.INFO: Extracted packet for processing {"connection_id":55269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fd"} 
[2026-04-26 09:43:56] local.INFO: GPS Element Parsed {"raw_longitude":756588544,"raw_latitude":119354752,"longitude_deg":75.6588544,"latitude_deg":11.9354752,"altitude":36,"angle":319,"satellites":40,"speed":41,"hex_longitude":"2d18a000","hex_latitude":"071d3580","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957253888001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114601572977082368,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1779555202062895104,"note":"Value kept but may cause issues"} 
[2026-04-26 09:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777176779000,"timestamp_ms":1777176779000,"timestamp_seconds":1777176779,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fd98f8"} 
[2026-04-26 09:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 09:43:56] 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-04-26 09: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-04-26 09:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957253888001,"66":13722,"32":206,"28":31744,"24":41,"16":114601572977082368,"45":1779555202062895104},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957253888001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:43:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:43:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114601572977082368,"km_value":114601572977082.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1779555202062895104,"description":"Unknown IO ID 45"} 
[2026-04-26 09:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957253888001,"power":13722,"unknown_32":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1779555202062895104}} 
[2026-04-26 09:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":55269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:43:56] local.INFO: GPS data processed {"connection_id":55269,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:43:56] local.INFO: Acknowledgment sent {"connection_id":55269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:44:13] local.INFO: TCP Data received {"connection_id":54351,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:44:13] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:44:13] local.INFO: IMEI packet received {"connection_id":54351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":54351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:44:15] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:44:15] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:44:15] local.INFO: IMEI packet received {"connection_id":54352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":54352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:44:20] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:44:20] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:44:20] local.INFO: IMEI packet received {"connection_id":54352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:44:20] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:44:20] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:44:20] local.INFO: Packet analysis {"connection_id":54352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:44:20] local.INFO: Extracted packet for processing {"connection_id":54352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09: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-04-26 09: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-04-26 09:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:44:20] 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-04-26 09:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:44:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:44:20] local.INFO: GPS data processed {"connection_id":54352,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:44:20] local.INFO: Acknowledgment sent {"connection_id":54352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:44:22] local.INFO: TCP Data received {"connection_id":54351,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:44:22] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:44:22] local.INFO: IMEI packet received {"connection_id":54351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":54351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:44:24] local.INFO: TCP Data received {"connection_id":54351,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fda898012d189640071d44000023015227..."} 
[2026-04-26 09:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fda898012d189640071d44000023015227..."} 
[2026-04-26 09:44:24] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fda898012d189640071d44000023015227..."} 
[2026-04-26 09:44:24] local.INFO: Packet analysis {"connection_id":54351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fd"} 
[2026-04-26 09:44:24] local.INFO: Extracted packet for processing {"connection_id":54351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fd"} 
[2026-04-26 09:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119358464,"longitude_deg":75.6586048,"latitude_deg":11.9358464,"altitude":35,"angle":338,"satellites":39,"speed":46,"hex_longitude":"2d189640","hex_latitude":"071d4400","is_valid_coordinates":true} 
[2026-04-26 09:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957255424001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114601792020414464,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774418283738791936,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777176783000,"timestamp_ms":1777176783000,"timestamp_seconds":1777176783,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fda898"} 
[2026-04-26 09:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 09:44:24] 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-04-26 09:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957255424001,"66":13820,"32":206,"28":31744,"24":46,"16":114601792020414464,"45":1774418283738791936},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957255424001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:44:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:44:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114601792020414464,"km_value":114601792020414.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774418283738791936,"description":"Unknown IO ID 45"} 
[2026-04-26 09:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957255424001,"power":13820,"unknown_32":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1774418283738791936}} 
[2026-04-26 09:44:25] local.INFO: DEBUG: GPS processor result {"connection_id":54351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:44:25] local.INFO: GPS data processed {"connection_id":54351,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:44:25] local.INFO: Acknowledgment sent {"connection_id":54351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:44:52] local.INFO: TCP Data received {"connection_id":54352,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:44:52] local.INFO: Processing buffer {"connection_id":54352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fa4d38012cb299c007822ce0004c001230..."} 
[2026-04-26 09:44:52] local.INFO: Packet analysis {"connection_id":54352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:44:52] local.INFO: Extracted packet for processing {"connection_id":54352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fa"} 
[2026-04-26 09:44:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777176563000,"timestamp_ms":1777176563000,"timestamp_seconds":1777176563,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fa4d38"} 
[2026-04-26 09:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:44:52] 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-04-26 09:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:44: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-04-26 09:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957123072001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:44:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957123072001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":54352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:44:52] local.INFO: GPS data processed {"connection_id":54352,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:44:52] local.INFO: Acknowledgment sent {"connection_id":54352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:44:57] local.INFO: TCP Data received {"connection_id":54351,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fe6fd0012d1841c0071d84f00025015b27..."} 
[2026-04-26 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fe6fd0012d1841c0071d84f00025015b27..."} 
[2026-04-26 09:44:57] local.INFO: Processing buffer {"connection_id":54351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fe6fd0012d1841c0071d84f00025015b27..."} 
[2026-04-26 09:44:57] local.INFO: Packet analysis {"connection_id":54351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:44:57] local.INFO: Extracted packet for processing {"connection_id":54351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:44:57] local.INFO: GPS Element Parsed {"raw_longitude":756564416,"raw_latitude":119375088,"longitude_deg":75.6564416,"latitude_deg":11.9375088,"altitude":37,"angle":347,"satellites":39,"speed":34,"hex_longitude":"2d1841c0","hex_latitude":"071d84f0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957268992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114603660331188224,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748381848397871104,"note":"Value kept but may cause issues"} 
[2026-04-26 09:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777176834000,"timestamp_ms":1777176834000,"timestamp_seconds":1777176834,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fe6fd0"} 
[2026-04-26 09:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:44:57] 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-04-26 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 09:44:57] 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-04-26 09: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-04-26 09:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957268992001,"66":14515,"32":206,"28":31744,"24":34,"16":114603660331188224,"45":1748381848397871104},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-26 09:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957268992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:44:57] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-26 09:44:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114603660331188224,"km_value":114603660331188.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748381848397871104,"description":"Unknown IO ID 45"} 
[2026-04-26 09:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957268992001,"power":14515,"unknown_32":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1748381848397871104}} 
[2026-04-26 09:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":54351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:44:57] local.INFO: GPS data processed {"connection_id":54351,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:44:57] local.INFO: Acknowledgment sent {"connection_id":54351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:45:05] local.INFO: TCP Data received {"connection_id":54529,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:45:05] local.INFO: Processing buffer {"connection_id":54529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:45:05] local.INFO: IMEI packet received {"connection_id":54529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":54529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:45:13] local.INFO: TCP Data received {"connection_id":54530,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:45:13] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:45:13] local.INFO: IMEI packet received {"connection_id":54530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":54530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:45:15] local.INFO: TCP Data received {"connection_id":55271,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:45:15] local.INFO: Processing buffer {"connection_id":55271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:45:15] local.INFO: IMEI packet received {"connection_id":55271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":55271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:45:18] local.INFO: TCP Data received {"connection_id":54530,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:45:18] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:45:18] local.INFO: IMEI packet received {"connection_id":54530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":54530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:45:19] local.INFO: TCP Data received {"connection_id":55271,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:45:19] local.INFO: Processing buffer {"connection_id":55271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:45:19] local.INFO: IMEI packet received {"connection_id":55271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":55271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:45:20] local.INFO: TCP Data received {"connection_id":54530,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fe96e0012d183900071daa100024015f24..."} 
[2026-04-26 09:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fe96e0012d183900071daa100024015f24..."} 
[2026-04-26 09:45:20] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fe96e0012d183900071daa100024015f24..."} 
[2026-04-26 09:45:20] local.INFO: Packet analysis {"connection_id":54530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:20] local.INFO: Extracted packet for processing {"connection_id":54530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756562176,"raw_latitude":119384592,"longitude_deg":75.6562176,"latitude_deg":11.9384592,"altitude":36,"angle":351,"satellites":36,"speed":44,"hex_longitude":"2d183900","hex_latitude":"071daa10","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957269504001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114604137072558080,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747889267189018624,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176844000,"timestamp_ms":1777176844000,"timestamp_seconds":1777176844,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fe96e0"} 
[2026-04-26 09:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:45:20] 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-04-26 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 09:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957269504001,"66":14548,"50":206,"28":31744,"24":44,"16":114604137072558080,"45":1747889267189018624},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957269504001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114604137072558080,"km_value":114604137072558.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747889267189018624,"description":"Unknown IO ID 45"} 
[2026-04-26 09:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957269504001,"power":14548,"unknown_50":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1747889267189018624}} 
[2026-04-26 09:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":54530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:45:20] local.INFO: GPS data processed {"connection_id":54530,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:45:20] local.INFO: Acknowledgment sent {"connection_id":54530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:45:20] local.INFO: TCP Data received {"connection_id":55271,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:45:20] local.INFO: Processing buffer {"connection_id":55271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:45:20] local.INFO: Packet analysis {"connection_id":55271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:20] local.INFO: Extracted packet for processing {"connection_id":55271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:45: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-04-26 09: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-04-26 09:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:45:20] 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-04-26 09:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":55271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:45:20] local.INFO: GPS data processed {"connection_id":55271,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:45:20] local.INFO: Acknowledgment sent {"connection_id":55271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:45:45] local.INFO: TCP Data received {"connection_id":54608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:45:45] local.INFO: Processing buffer {"connection_id":54608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:45:45] local.INFO: IMEI packet received {"connection_id":54608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":54608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:45:52] local.INFO: TCP Data received {"connection_id":55271,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:45:52] local.INFO: Processing buffer {"connection_id":55271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:45:52] local.INFO: Packet analysis {"connection_id":55271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:52] local.INFO: Extracted packet for processing {"connection_id":55271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 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-04-26 09:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:45: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-04-26 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-04-26 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-04-26 09:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:45: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-04-26 09:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":55271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:45:52] local.INFO: GPS data processed {"connection_id":55271,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:45:52] local.INFO: Acknowledgment sent {"connection_id":55271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:45:56] local.INFO: TCP Data received {"connection_id":54530,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7feb620012d183740071dce500022016721..."} 
[2026-04-26 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7feb620012d183740071dce500022016721..."} 
[2026-04-26 09:45:56] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7feb620012d183740071dce500022016721..."} 
[2026-04-26 09:45:56] local.INFO: Packet analysis {"connection_id":54530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:56] local.INFO: Extracted packet for processing {"connection_id":54530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756561728,"raw_latitude":119393872,"longitude_deg":75.6561728,"latitude_deg":11.9393872,"altitude":34,"angle":359,"satellites":33,"speed":47,"hex_longitude":"2d183740","hex_latitude":"071dce50","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957272064001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114604588044124160,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745426361145233408,"note":"Value kept but may cause issues"} 
[2026-04-26 09:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777176852000,"timestamp_ms":1777176852000,"timestamp_seconds":1777176852,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7feb620"} 
[2026-04-26 09:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:45:56] 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-04-26 09: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-26 09:45:56] 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-04-26 09: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-04-26 09:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957272064001,"66":14396,"50":206,"28":31744,"24":47,"16":114604588044124160,"45":1745426361145233408},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-26 09:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957272064001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:45:56] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-26 09:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114604588044124160,"km_value":114604588044124.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745426361145233408,"description":"Unknown IO ID 45"} 
[2026-04-26 09:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957272064001,"power":14396,"unknown_50":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1745426361145233408}} 
[2026-04-26 09:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":54530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:45:56] local.INFO: GPS data processed {"connection_id":54530,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:45:56] local.INFO: Acknowledgment sent {"connection_id":54530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:46:13] local.INFO: TCP Data received {"connection_id":54353,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:13] local.INFO: Processing buffer {"connection_id":54353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:13] local.INFO: IMEI packet received {"connection_id":54353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":54353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:46:14] local.INFO: TCP Data received {"connection_id":54353,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:14] local.INFO: Processing buffer {"connection_id":54353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:14] local.INFO: IMEI packet received {"connection_id":54353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:46:14] local.INFO: TCP Data received {"connection_id":54354,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:46:14] local.INFO: Processing buffer {"connection_id":54354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:46:14] local.INFO: IMEI packet received {"connection_id":54354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:46:15] local.INFO: TCP Data received {"connection_id":54353,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:15] local.INFO: Processing buffer {"connection_id":54353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:15] local.INFO: IMEI packet received {"connection_id":54353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":54353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:46:16] local.INFO: TCP Data received {"connection_id":54353,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:16] local.INFO: Processing buffer {"connection_id":54353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:46:16] local.INFO: IMEI packet received {"connection_id":54353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":54353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:46:20] local.INFO: TCP Data received {"connection_id":54354,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:46:20] local.INFO: Processing buffer {"connection_id":54354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:46:20] local.INFO: IMEI packet received {"connection_id":54354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:46:20] local.INFO: IMEI acknowledgment sent {"connection_id":54354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:46:20] local.INFO: TCP Data received {"connection_id":54354,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:46:20] local.INFO: Processing buffer {"connection_id":54354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:46:20] local.INFO: Packet analysis {"connection_id":54354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:46:20] local.INFO: Extracted packet for processing {"connection_id":54354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:46: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-04-26 09: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-04-26 09:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:46:20] 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-04-26 09:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:46:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":54354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:46:20] local.INFO: GPS data processed {"connection_id":54354,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:46:20] local.INFO: Acknowledgment sent {"connection_id":54354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:46:51] local.INFO: TCP Data received {"connection_id":54354,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:46:51] local.INFO: Processing buffer {"connection_id":54354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:46:51] local.INFO: Packet analysis {"connection_id":54354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:46:51] local.INFO: Extracted packet for processing {"connection_id":54354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:46: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-04-26 09: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-04-26 09:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":54354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:46:51] local.INFO: GPS data processed {"connection_id":54354,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:46:51] local.INFO: Acknowledgment sent {"connection_id":54354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:47:14] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:47:14] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:47:14] local.INFO: IMEI packet received {"connection_id":54609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":54609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:47:20] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:47:20] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:47:20] local.INFO: IMEI packet received {"connection_id":54609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:47:20] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:47:20] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:47:20] local.INFO: Packet analysis {"connection_id":54609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:47:20] local.INFO: Extracted packet for processing {"connection_id":54609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:47: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-04-26 09: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-04-26 09:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:47: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-04-26 09:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:47:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":54609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:47:20] local.INFO: GPS data processed {"connection_id":54609,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:47:20] local.INFO: Acknowledgment sent {"connection_id":54609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:47:51] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:47:51] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:47:51] local.INFO: Packet analysis {"connection_id":54609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:47:51] local.INFO: Extracted packet for processing {"connection_id":54609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:47: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-04-26 09: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-04-26 09:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:47: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-04-26 09:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:47:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:47:52] local.INFO: GPS data processed {"connection_id":54609,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:47:52] local.INFO: Acknowledgment sent {"connection_id":54609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:48:20] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:48:20] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:48:20] local.INFO: IMEI packet received {"connection_id":54357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":54357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:48:25] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:48:25] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:48:25] local.INFO: IMEI packet received {"connection_id":54357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":54357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:48:25] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:48:25] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:48:25] local.INFO: Packet analysis {"connection_id":54357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:48:25] local.INFO: Extracted packet for processing {"connection_id":54357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:48:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:48:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:48:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:48:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:48:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:48:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:48:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:48:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:48:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:48: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-04-26 09:48:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:48:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:48:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:48:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:48:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:48:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:48: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-04-26 09:48:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:48:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:48:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:48:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:48:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:48:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:48:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:48:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:48:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:48:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:48:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:48:25] local.INFO: DEBUG: GPS processor result {"connection_id":54357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:48:25] local.INFO: GPS data processed {"connection_id":54357,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:48:25] local.INFO: Acknowledgment sent {"connection_id":54357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:48:29] local.INFO: TCP Data received {"connection_id":54357,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:48:29] local.INFO: Processing buffer {"connection_id":54357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:48:29] local.INFO: Packet analysis {"connection_id":54357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:48:29] local.INFO: Extracted packet for processing {"connection_id":54357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:48:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:48:29] 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-04-26 09:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:48:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":54357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:48:30] local.INFO: GPS data processed {"connection_id":54357,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:48:30] local.INFO: Acknowledgment sent {"connection_id":54357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:49:15] local.INFO: TCP Data received {"connection_id":55273,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:49:15] local.INFO: Processing buffer {"connection_id":55273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:49:15] local.INFO: IMEI packet received {"connection_id":55273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":55273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:49:20] local.INFO: TCP Data received {"connection_id":55273,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:49:20] local.INFO: Processing buffer {"connection_id":55273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:49:20] local.INFO: IMEI packet received {"connection_id":55273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":55273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:49:20] local.INFO: TCP Data received {"connection_id":55273,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:49:20] local.INFO: Processing buffer {"connection_id":55273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:49:20] local.INFO: Packet analysis {"connection_id":55273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:49:20] local.INFO: Extracted packet for processing {"connection_id":55273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:49: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-04-26 09: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-04-26 09:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:49:20] 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-04-26 09:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:49:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":55273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:49:20] local.INFO: GPS data processed {"connection_id":55273,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:49:20] local.INFO: Acknowledgment sent {"connection_id":55273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:49:52] local.INFO: TCP Data received {"connection_id":55273,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:49:52] local.INFO: Processing buffer {"connection_id":55273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7fee500012cb299c007822ce0004a001230..."} 
[2026-04-26 09:49:52] local.INFO: Packet analysis {"connection_id":55273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:49:52] local.INFO: Extracted packet for processing {"connection_id":55273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7fe"} 
[2026-04-26 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957200128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777176864000,"timestamp_ms":1777176864000,"timestamp_seconds":1777176864,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7fee500"} 
[2026-04-26 09:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 09:49: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-04-26 09:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:49: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-04-26 09:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957200128001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957200128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:49:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957200128001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":55273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:49:52] local.INFO: GPS data processed {"connection_id":55273,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:49:52] local.INFO: Acknowledgment sent {"connection_id":55273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:50:14] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:50:14] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:50:14] local.INFO: IMEI packet received {"connection_id":54359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":54359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:50:19] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:50:19] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:50:19] local.INFO: IMEI packet received {"connection_id":54359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:50:20] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:50:20] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:50:20] local.INFO: Packet analysis {"connection_id":54359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:50:20] local.INFO: Extracted packet for processing {"connection_id":54359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:50:20] 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-04-26 09: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-04-26 09: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-04-26 09: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-04-26 09:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:50: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-04-26 09:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:50:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":54359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:50:20] local.INFO: GPS data processed {"connection_id":54359,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:50:20] local.INFO: Acknowledgment sent {"connection_id":54359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:50:51] local.INFO: TCP Data received {"connection_id":54359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:50:51] local.INFO: Processing buffer {"connection_id":54359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:50:51] local.INFO: Packet analysis {"connection_id":54359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:50:51] local.INFO: Extracted packet for processing {"connection_id":54359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:50:51] 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-04-26 09:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:50: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-04-26 09: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-04-26 09:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:50:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":54359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:50:51] local.INFO: GPS data processed {"connection_id":54359,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:50:51] local.INFO: Acknowledgment sent {"connection_id":54359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:51:14] local.INFO: TCP Data received {"connection_id":55275,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:51:14] local.INFO: Processing buffer {"connection_id":55275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:51:14] local.INFO: IMEI packet received {"connection_id":55275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":55275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:51:15] local.INFO: TCP Data received {"connection_id":54533,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:51:15] local.INFO: Processing buffer {"connection_id":54533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:51:15] local.INFO: IMEI packet received {"connection_id":54533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":54533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:51:18] local.INFO: TCP Data received {"connection_id":55274,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:51:18] local.INFO: Processing buffer {"connection_id":55274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:51:18] local.INFO: IMEI packet received {"connection_id":55274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":55274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:51:19] local.INFO: TCP Data received {"connection_id":55274,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc803f9c8012d165e00071fff000023004027..."} 
[2026-04-26 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc803f9c8012d165e00071fff000023004027..."} 
[2026-04-26 09:51:19] local.INFO: Processing buffer {"connection_id":55274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc803f9c8012d165e00071fff000023004027..."} 
[2026-04-26 09:51:19] local.INFO: Packet analysis {"connection_id":55274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:51:19] local.INFO: Extracted packet for processing {"connection_id":55274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756440576,"raw_latitude":119537408,"longitude_deg":75.6440576,"latitude_deg":11.9537408,"altitude":35,"angle":64,"satellites":39,"speed":37,"hex_longitude":"2d165e00","hex_latitude":"071fff00","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957359104001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114616042721902592,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1602788916735129600,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777177197000,"timestamp_ms":1777177197000,"timestamp_seconds":1777177197,"priority":1,"record_length":96,"hex_timestamp":"0000019dc803f9c8"} 
[2026-04-26 09:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:51: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-04-26 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 09:51:19] 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-04-26 09: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-04-26 09:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957359104001,"66":13993,"130":206,"28":31744,"24":37,"16":114616042721902592,"45":1602788916735129600},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957359104001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:51:19] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114616042721902592,"km_value":114616042721902.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1602788916735129600,"description":"Unknown IO ID 45"} 
[2026-04-26 09:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957359104001,"power":13993,"unknown_130":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1602788916735129600}} 
[2026-04-26 09:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":55274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:51:19] local.INFO: GPS data processed {"connection_id":55274,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:51:19] local.INFO: Acknowledgment sent {"connection_id":55274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:51:20] local.INFO: TCP Data received {"connection_id":55275,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:51:20] local.INFO: Processing buffer {"connection_id":55275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:51:20] local.INFO: IMEI packet received {"connection_id":55275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":55275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:51:20] local.INFO: TCP Data received {"connection_id":55275,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:51:20] local.INFO: Processing buffer {"connection_id":55275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:51:20] local.INFO: Packet analysis {"connection_id":55275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:51:20] local.INFO: Extracted packet for processing {"connection_id":55275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:51:20] 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-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:51: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-04-26 09: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-04-26 09:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:51: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-04-26 09:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:51:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":55275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:51:20] local.INFO: GPS data processed {"connection_id":55275,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:51:20] local.INFO: Acknowledgment sent {"connection_id":55275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:51:40] local.INFO: TCP Data received {"connection_id":55276,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:51:40] local.INFO: Processing buffer {"connection_id":55276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:51:40] local.INFO: IMEI packet received {"connection_id":55276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":55276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:51:51] local.INFO: TCP Data received {"connection_id":55274,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8041cf0012d168100072010300025004128..."} 
[2026-04-26 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8041cf0012d168100072010300025004128..."} 
[2026-04-26 09:51:51] local.INFO: Processing buffer {"connection_id":55274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8041cf0012d168100072010300025004128..."} 
[2026-04-26 09:51:51] local.INFO: Packet analysis {"connection_id":55274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc804"} 
[2026-04-26 09:51:51] local.INFO: Extracted packet for processing {"connection_id":55274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc804"} 
[2026-04-26 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756449536,"raw_latitude":119541808,"longitude_deg":75.6449536,"latitude_deg":11.9541808,"altitude":37,"angle":65,"satellites":40,"speed":46,"hex_longitude":"2d168100","hex_latitude":"07201030","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957362432001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114616515168305152,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1611725747246792704,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177206000,"timestamp_ms":1777177206000,"timestamp_seconds":1777177206,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8041cf0"} 
[2026-04-26 09:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 09:51: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-04-26 09: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-04-26 09:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957362432001,"66":13993,"130":206,"28":31744,"24":46,"16":114616515168305152,"45":1611725747246792704},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957362432001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114616515168305152,"km_value":114616515168305.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1611725747246792704,"description":"Unknown IO ID 45"} 
[2026-04-26 09:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957362432001,"power":13993,"unknown_130":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1611725747246792704}} 
[2026-04-26 09:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":55274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:51:51] local.INFO: GPS data processed {"connection_id":55274,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:51:51] local.INFO: Acknowledgment sent {"connection_id":55274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:51:51] local.INFO: TCP Data received {"connection_id":55275,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:51:51] local.INFO: Processing buffer {"connection_id":55275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:51:51] local.INFO: Packet analysis {"connection_id":55275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:51:51] local.INFO: Extracted packet for processing {"connection_id":55275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:51:51] 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-04-26 09:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:51: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-04-26 09: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-04-26 09:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":55275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:51:51] local.INFO: GPS data processed {"connection_id":55275,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:51:51] local.INFO: Acknowledgment sent {"connection_id":55275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:52:13] local.INFO: TCP Data received {"connection_id":54534,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:13] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:13] local.INFO: IMEI packet received {"connection_id":54534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":54534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:52:14] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:52:14] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:52:14] local.INFO: IMEI packet received {"connection_id":54360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:52:17] local.INFO: TCP Data received {"connection_id":54534,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:17] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:17] local.INFO: IMEI packet received {"connection_id":54534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":54534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:52:18] local.INFO: TCP Data received {"connection_id":54534,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:18] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:52:18] local.INFO: IMEI packet received {"connection_id":54534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:52:19] local.INFO: TCP Data received {"connection_id":54534,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8043c30012d16a280072021000026003c26..."} 
[2026-04-26 09:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8043c30012d16a280072021000026003c26..."} 
[2026-04-26 09:52:19] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8043c30012d16a280072021000026003c26..."} 
[2026-04-26 09:52:19] local.INFO: Packet analysis {"connection_id":54534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc804"} 
[2026-04-26 09:52:19] local.INFO: Extracted packet for processing {"connection_id":54534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc804"} 
[2026-04-26 09:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756458112,"raw_latitude":119546112,"longitude_deg":75.6458112,"latitude_deg":11.9546112,"altitude":38,"angle":60,"satellites":38,"speed":48,"hex_longitude":"2d16a280","hex_latitude":"07202100","is_valid_coordinates":true} 
[2026-04-26 09:52: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-04-26 09:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957364736001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114616974729805824,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1621577371432792064,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777177214000,"timestamp_ms":1777177214000,"timestamp_seconds":1777177214,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8043c30"} 
[2026-04-26 09:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:52: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-04-26 09:52: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":169,"data_length":795,"current_offset":136} 
[2026-04-26 09:52:19] 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-04-26 09:52: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-04-26 09:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957364736001,"66":14004,"122":206,"28":31744,"24":48,"16":114616974729805824,"45":1621577371432792064},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957364736001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:52:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114616974729805824,"km_value":114616974729805.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1621577371432792064,"description":"Unknown IO ID 45"} 
[2026-04-26 09:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957364736001,"power":14004,"unknown_122":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1621577371432792064}} 
[2026-04-26 09:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":54534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:52:19] local.INFO: GPS data processed {"connection_id":54534,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:52:19] local.INFO: Acknowledgment sent {"connection_id":54534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:52:20] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:52:20] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:52:20] local.INFO: IMEI packet received {"connection_id":54360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:52:20] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:52:20] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:52:20] local.INFO: Packet analysis {"connection_id":54360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:52:20] local.INFO: Extracted packet for processing {"connection_id":54360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:52:20] 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-04-26 09: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-04-26 09: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-04-26 09: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-04-26 09:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:52:20] 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-04-26 09:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:52:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":54360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:52:20] local.INFO: GPS data processed {"connection_id":54360,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:52:20] local.INFO: Acknowledgment sent {"connection_id":54360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:52:23] local.INFO: TCP Data received {"connection_id":54534,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80453a0012d16bb40072032780025002f27..."} 
[2026-04-26 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80453a0012d16bb40072032780025002f27..."} 
[2026-04-26 09:52:23] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80453a0012d16bb40072032780025002f27..."} 
[2026-04-26 09:52:23] local.INFO: Packet analysis {"connection_id":54534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc804"} 
[2026-04-26 09:52:23] local.INFO: Extracted packet for processing {"connection_id":54534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc804"} 
[2026-04-26 09:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756464448,"raw_latitude":119550584,"longitude_deg":75.6464448,"latitude_deg":11.9550584,"altitude":37,"angle":47,"satellites":39,"speed":52,"hex_longitude":"2d16bb40","hex_latitude":"07203278","is_valid_coordinates":true} 
[2026-04-26 09:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957366784001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114617344096993280,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1631006783153700864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777177220000,"timestamp_ms":1777177220000,"timestamp_seconds":1777177220,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80453a0"} 
[2026-04-26 09:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:52:23] 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-04-26 09:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 09:52:23] 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-04-26 09:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957366784001,"66":14048,"122":206,"28":31744,"24":52,"16":114617344096993280,"45":1631006783153700864},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957366784001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:52:23] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:52:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114617344096993280,"km_value":114617344096993.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1631006783153700864,"description":"Unknown IO ID 45"} 
[2026-04-26 09:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957366784001,"power":14048,"unknown_122":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1631006783153700864}} 
[2026-04-26 09:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":54534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:52:24] local.INFO: GPS data processed {"connection_id":54534,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:52:24] local.INFO: Acknowledgment sent {"connection_id":54534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:52:51] local.INFO: TCP Data received {"connection_id":54360,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:52:51] local.INFO: Processing buffer {"connection_id":54360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:52:51] local.INFO: Packet analysis {"connection_id":54360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:52:51] local.INFO: Extracted packet for processing {"connection_id":54360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:52:51] 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-04-26 09: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-04-26 09: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-04-26 09: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-04-26 09:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:52:51] local.INFO: GPS data processed {"connection_id":54360,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:52:51] local.INFO: Acknowledgment sent {"connection_id":54360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:52:55] local.INFO: TCP Data received {"connection_id":54534,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc805d658012d17ef80072178180043002928..."} 
[2026-04-26 09:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc805d658012d17ef80072178180043002928..."} 
[2026-04-26 09:52:55] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc805d658012d17ef80072178180043002928..."} 
[2026-04-26 09:52:55] local.INFO: Packet analysis {"connection_id":54534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc805"} 
[2026-04-26 09:52:55] local.INFO: Extracted packet for processing {"connection_id":54534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc805"} 
[2026-04-26 09:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756543360,"raw_latitude":119633944,"longitude_deg":75.654336,"latitude_deg":11.9633944,"altitude":67,"angle":41,"satellites":40,"speed":41,"hex_longitude":"2d17ef80","hex_latitude":"07217818","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957392640001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114622893194739712,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722134306885410816,"note":"Value kept but may cause issues"} 
[2026-04-26 09:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777177319000,"timestamp_ms":1777177319000,"timestamp_seconds":1777177319,"priority":1,"record_length":96,"hex_timestamp":"0000019dc805d658"} 
[2026-04-26 09:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-26 09:52:55] 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-04-26 09: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-04-26 09:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957392640001,"66":14396,"120":206,"28":31744,"24":41,"16":114622893194739712,"45":1722134306885410816},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 09:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957392640001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:52:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 09:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114622893194739712,"km_value":114622893194739.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722134306885410816,"description":"Unknown IO ID 45"} 
[2026-04-26 09:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957392640001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1722134306885410816}} 
[2026-04-26 09:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":54534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:52:55] local.INFO: GPS data processed {"connection_id":54534,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:52:55] local.INFO: Acknowledgment sent {"connection_id":54534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:53:13] local.INFO: TCP Data received {"connection_id":55277,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:53:13] local.INFO: Processing buffer {"connection_id":55277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:53:13] local.INFO: IMEI packet received {"connection_id":55277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":55277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:53:18] local.INFO: TCP Data received {"connection_id":55277,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:53:18] local.INFO: Processing buffer {"connection_id":55277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:53:18] local.INFO: IMEI packet received {"connection_id":55277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":55277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:53:19] local.INFO: TCP Data received {"connection_id":55277,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc805f980012d180c40072192800045002929..."} 
[2026-04-26 09:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc805f980012d180c40072192800045002929..."} 
[2026-04-26 09:53:19] local.INFO: Processing buffer {"connection_id":55277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc805f980012d180c40072192800045002929..."} 
[2026-04-26 09:53:19] local.INFO: Packet analysis {"connection_id":55277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc805"} 
[2026-04-26 09:53:19] local.INFO: Extracted packet for processing {"connection_id":55277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc805"} 
[2026-04-26 09:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756550720,"raw_latitude":119640704,"longitude_deg":75.655072,"latitude_deg":11.9640704,"altitude":69,"angle":41,"satellites":41,"speed":42,"hex_longitude":"2d180c40","hex_latitude":"07219280","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957393664001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114623374231076864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724737950420834304,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777177328000,"timestamp_ms":1777177328000,"timestamp_seconds":1777177328,"priority":1,"record_length":96,"hex_timestamp":"0000019dc805f980"} 
[2026-04-26 09:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:53: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-04-26 09:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 09:53: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-04-26 09: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-04-26 09:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957393664001,"66":14396,"120":206,"28":31744,"24":42,"16":114623374231076864,"45":1724737950420834304},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 09:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957393664001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:53:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 09:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114623374231076864,"km_value":114623374231076.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724737950420834304,"description":"Unknown IO ID 45"} 
[2026-04-26 09:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957393664001,"power":14396,"unknown_120":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1724737950420834304}} 
[2026-04-26 09:53:20] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:53:20] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:53:20] local.INFO: IMEI packet received {"connection_id":54535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":55277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:53:20] local.INFO: GPS data processed {"connection_id":55277,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:53:20] local.INFO: Acknowledgment sent {"connection_id":55277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:53:24] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:53:24] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:53:24] local.INFO: IMEI packet received {"connection_id":54535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":54535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:53:25] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:53:25] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:53:25] local.INFO: Packet analysis {"connection_id":54535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:53:25] local.INFO: Extracted packet for processing {"connection_id":54535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:53:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:53:25] 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-04-26 09:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:53: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-04-26 09:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:53:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":54535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:53:25] local.INFO: GPS data processed {"connection_id":54535,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:53:25] local.INFO: Acknowledgment sent {"connection_id":54535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:53:30] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:53:30] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:53:30] local.INFO: Packet analysis {"connection_id":54535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:53:30] local.INFO: Extracted packet for processing {"connection_id":54535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:53:30] 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-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:53:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":54535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:53:30] local.INFO: GPS data processed {"connection_id":54535,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:53:30] local.INFO: Acknowledgment sent {"connection_id":54535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:53:51] local.INFO: TCP Data received {"connection_id":55277,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc806c888012d18ab4007217288004b007b27..."} 
[2026-04-26 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc806c888012d18ab4007217288004b007b27..."} 
[2026-04-26 09:53:51] local.INFO: Processing buffer {"connection_id":55277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc806c888012d18ab4007217288004b007b27..."} 
[2026-04-26 09:53:51] local.INFO: Packet analysis {"connection_id":55277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc806"} 
[2026-04-26 09:53:51] local.INFO: Extracted packet for processing {"connection_id":55277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc806"} 
[2026-04-26 09:53:51] local.INFO: GPS Element Parsed {"raw_longitude":756591424,"raw_latitude":119632520,"longitude_deg":75.6591424,"latitude_deg":11.963252,"altitude":75,"angle":123,"satellites":39,"speed":40,"hex_longitude":"2d18ab40","hex_latitude":"07217288","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957409536001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114625599024136192,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297895424,"note":"Value kept but may cause issues"} 
[2026-04-26 09:53:51] 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-04-26 09:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177381000,"timestamp_ms":1777177381000,"timestamp_seconds":1777177381,"priority":1,"record_length":96,"hex_timestamp":"0000019dc806c888"} 
[2026-04-26 09:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 09:53: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-04-26 09: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-04-26 09:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957409536001,"66":13972,"121":206,"28":31744,"24":40,"16":114625599024136192,"45":1777584877297895424},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957409536001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:53:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:53:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114625599024136192,"km_value":114625599024136.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297895424,"description":"Unknown IO ID 45"} 
[2026-04-26 09:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957409536001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1777584877297895424}} 
[2026-04-26 09:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":55277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:53:51] local.INFO: GPS data processed {"connection_id":55277,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:53:51] local.INFO: Acknowledgment sent {"connection_id":55277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:54:13] local.INFO: TCP Data received {"connection_id":54362,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:13] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:13] local.INFO: IMEI packet received {"connection_id":54362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":54362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:54:14] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:54:14] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:54:14] local.INFO: IMEI packet received {"connection_id":54613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":54613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:54:15] local.INFO: TCP Data received {"connection_id":54362,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:15] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:15] local.INFO: IMEI packet received {"connection_id":54362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":54362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:54:18] local.INFO: TCP Data received {"connection_id":54362,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:18] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:54:18] local.INFO: IMEI packet received {"connection_id":54362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":54362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:54:20] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:54:20] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:54:20] local.INFO: IMEI packet received {"connection_id":54613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":54613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:54:20] local.INFO: TCP Data received {"connection_id":54362,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc806d058012d18b08007216dd0004b008b26..."} 
[2026-04-26 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc806d058012d18b08007216dd0004b008b26..."} 
[2026-04-26 09:54:20] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc806d058012d18b08007216dd0004b008b26..."} 
[2026-04-26 09:54:20] local.INFO: Packet analysis {"connection_id":54362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc806"} 
[2026-04-26 09:54:20] local.INFO: Extracted packet for processing {"connection_id":54362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc806"} 
[2026-04-26 09:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756592768,"raw_latitude":119631312,"longitude_deg":75.6592768,"latitude_deg":11.9631312,"altitude":75,"angle":139,"satellites":38,"speed":34,"hex_longitude":"2d18b080","hex_latitude":"07216dd0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957409536001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114625684923482112,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777584877297895424,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:20] 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-04-26 09:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177383000,"timestamp_ms":1777177383000,"timestamp_seconds":1777177383,"priority":1,"record_length":96,"hex_timestamp":"0000019dc806d058"} 
[2026-04-26 09:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:54: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-04-26 09: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 09:54:20] 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-04-26 09: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-04-26 09:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957409536001,"66":13852,"121":206,"28":31744,"24":34,"16":114625684923482112,"45":1777584877297895424},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957409536001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114625684923482112,"km_value":114625684923482.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777584877297895424,"description":"Unknown IO ID 45"} 
[2026-04-26 09:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957409536001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1777584877297895424}} 
[2026-04-26 09:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:54:20] local.INFO: GPS data processed {"connection_id":54362,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:54:20] local.INFO: Acknowledgment sent {"connection_id":54362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:54:20] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:54:20] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:54:20] local.INFO: Packet analysis {"connection_id":54613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:54:20] local.INFO: Extracted packet for processing {"connection_id":54613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 09:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:54:20] 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-04-26 09: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:54: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-04-26 09: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-04-26 09:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:54: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-04-26 09:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:54:20] local.INFO: GPS data processed {"connection_id":54613,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:54:20] local.INFO: Acknowledgment sent {"connection_id":54613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:54:51] local.INFO: TCP Data received {"connection_id":54362,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc807a730012d1938000720b6480030007a27..."} 
[2026-04-26 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc807a730012d1938000720b6480030007a27..."} 
[2026-04-26 09:54:51] local.INFO: Processing buffer {"connection_id":54362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc807a730012d1938000720b6480030007a27..."} 
[2026-04-26 09:54:51] local.INFO: Packet analysis {"connection_id":54362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc807"} 
[2026-04-26 09:54:51] local.INFO: Extracted packet for processing {"connection_id":54362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc807"} 
[2026-04-26 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756627456,"raw_latitude":119584328,"longitude_deg":75.6627456,"latitude_deg":11.9584328,"altitude":48,"angle":122,"satellites":39,"speed":50,"hex_longitude":"2d193800","hex_latitude":"0720b648","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957422848001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114628695695556608,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810447080817235968,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:51] 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-04-26 09:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177438000,"timestamp_ms":1777177438000,"timestamp_seconds":1777177438,"priority":1,"record_length":96,"hex_timestamp":"0000019dc807a730"} 
[2026-04-26 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-04-26 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 09:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 09:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957422848001,"66":13906,"121":206,"28":31744,"24":50,"16":114628695695556608,"45":1810447080817235968},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957422848001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114628695695556608,"km_value":114628695695556.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810447080817235968,"description":"Unknown IO ID 45"} 
[2026-04-26 09:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957422848001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1810447080817235968}} 
[2026-04-26 09:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:54:51] local.INFO: GPS data processed {"connection_id":54362,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:54:51] local.INFO: Acknowledgment sent {"connection_id":54362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:54:51] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:54:51] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8037cc8012cb299c007822ce0004b00122f..."} 
[2026-04-26 09:54:51] local.INFO: Packet analysis {"connection_id":54613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:54:51] local.INFO: Extracted packet for processing {"connection_id":54613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc803"} 
[2026-04-26 09:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 09:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957277184001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177165000,"timestamp_ms":1777177165000,"timestamp_seconds":1777177165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8037cc8"} 
[2026-04-26 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-04-26 09:54:51] 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-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 09:54: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-04-26 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-04-26 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-04-26 09:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 09:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957277184001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957277184001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957277184001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:54:51] local.INFO: GPS data processed {"connection_id":54613,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:54:51] local.INFO: Acknowledgment sent {"connection_id":54613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:55:16] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:55:16] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:55:16] local.INFO: IMEI packet received {"connection_id":54537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":54537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:55:18] local.INFO: TCP Data received {"connection_id":54363,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:55:18] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:55:18] local.INFO: IMEI packet received {"connection_id":54363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":54363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:55:20] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:55:20] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:55:20] local.INFO: IMEI packet received {"connection_id":54537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:55:20] local.INFO: IMEI acknowledgment sent {"connection_id":54537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:55:20] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:20] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:20] local.INFO: Packet analysis {"connection_id":54537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:20] local.INFO: Extracted packet for processing {"connection_id":54537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:55: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-04-26 09:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:55:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":54537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:55:20] local.INFO: GPS data processed {"connection_id":54537,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:55:20] local.INFO: Acknowledgment sent {"connection_id":54537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:55:23] local.INFO: TCP Data received {"connection_id":54363,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:55:23] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:55:23] local.INFO: IMEI packet received {"connection_id":54363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":54363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:55:24] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:24] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:24] local.INFO: Packet analysis {"connection_id":54537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:24] local.INFO: Extracted packet for processing {"connection_id":54537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:55:24] 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-04-26 09:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:55:24] 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-04-26 09:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:55:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":54537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:55:24] local.INFO: GPS data processed {"connection_id":54537,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:55:24] local.INFO: Acknowledgment sent {"connection_id":54537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:55:25] local.INFO: TCP Data received {"connection_id":54363,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc807bab8012d194c400720ac780031006c27..."} 
[2026-04-26 09:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc807bab8012d194c400720ac780031006c27..."} 
[2026-04-26 09:55:25] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc807bab8012d194c400720ac780031006c27..."} 
[2026-04-26 09:55:25] local.INFO: Packet analysis {"connection_id":54363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc807"} 
[2026-04-26 09:55:25] local.INFO: Extracted packet for processing {"connection_id":54363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc807"} 
[2026-04-26 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756632640,"raw_latitude":119581816,"longitude_deg":75.663264,"latitude_deg":11.9581816,"altitude":49,"angle":108,"satellites":39,"speed":37,"hex_longitude":"2d194c40","hex_latitude":"0720ac78","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957424128001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114628970573463552,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817202480257583104,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:25] 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-04-26 09:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777177443000,"timestamp_ms":1777177443000,"timestamp_seconds":1777177443,"priority":1,"record_length":96,"hex_timestamp":"0000019dc807bab8"} 
[2026-04-26 09:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 09:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957424128001,"66":14461,"121":206,"28":31744,"24":37,"16":114628970573463552,"45":1817202480257583104},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957424128001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:55:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:55:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114628970573463552,"km_value":114628970573463.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817202480257583104,"description":"Unknown IO ID 45"} 
[2026-04-26 09:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957424128001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1817202480257583104}} 
[2026-04-26 09:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":54363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:55:25] local.INFO: GPS data processed {"connection_id":54363,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:55:25] local.INFO: Acknowledgment sent {"connection_id":54363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:55:26] local.INFO: TCP Data received {"connection_id":54363,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc807c670012d1954800720aac80033005f26..."} 
[2026-04-26 09:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc807c670012d1954800720aac80033005f26..."} 
[2026-04-26 09:55:26] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc807c670012d1954800720aac80033005f26..."} 
[2026-04-26 09:55:26] local.INFO: Packet analysis {"connection_id":54363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc807"} 
[2026-04-26 09:55:26] local.INFO: Extracted packet for processing {"connection_id":54363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc807"} 
[2026-04-26 09:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756634752,"raw_latitude":119581384,"longitude_deg":75.6634752,"latitude_deg":11.9581384,"altitude":51,"angle":95,"satellites":38,"speed":24,"hex_longitude":"2d195480","hex_latitude":"0720aac8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957425408001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114629073652678656,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822902348535330816,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:26] 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-04-26 09:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777177446000,"timestamp_ms":1777177446000,"timestamp_seconds":1777177446,"priority":1,"record_length":96,"hex_timestamp":"0000019dc807c670"} 
[2026-04-26 09:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:55:26] 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-04-26 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 09:55:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957425408001,"66":14407,"121":206,"28":31744,"24":24,"16":114629073652678656,"45":1822902348535330816},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957425408001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:55:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114629073652678656,"km_value":114629073652678.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822902348535330816,"description":"Unknown IO ID 45"} 
[2026-04-26 09:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957425408001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1822902348535330816}} 
[2026-04-26 09:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":54363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:55:26] local.INFO: GPS data processed {"connection_id":54363,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:55:26] local.INFO: Acknowledgment sent {"connection_id":54363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:55:56] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:56] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:55:56] local.INFO: Packet analysis {"connection_id":54537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:56] local.INFO: Extracted packet for processing {"connection_id":54537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:55:56] 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-04-26 09: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-04-26 09:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:55:56] 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-04-26 09:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:55:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":54537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:55:56] local.INFO: GPS data processed {"connection_id":54537,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:55:56] local.INFO: Acknowledgment sent {"connection_id":54537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:55:57] local.INFO: TCP Data received {"connection_id":54363,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081878012d1955c00720aaf00032006025..."} 
[2026-04-26 09:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081878012d1955c00720aaf00032006025..."} 
[2026-04-26 09:55:57] local.INFO: Processing buffer {"connection_id":54363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081878012d1955c00720aaf00032006025..."} 
[2026-04-26 09:55:57] local.INFO: Packet analysis {"connection_id":54363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:57] local.INFO: Extracted packet for processing {"connection_id":54363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756635072,"raw_latitude":119581424,"longitude_deg":75.6635072,"latitude_deg":11.9581424,"altitude":50,"angle":96,"satellites":37,"speed":0,"hex_longitude":"2d1955c0","hex_latitude":"0720aaf0","is_valid_coordinates":true} 
[2026-04-26 09:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957426176001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114629112307384320,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517093083136,"note":"Value kept but may cause issues"} 
[2026-04-26 09:55:57] 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-04-26 09:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777177467000,"timestamp_ms":1777177467000,"timestamp_seconds":1777177467,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081878"} 
[2026-04-26 09:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-26 09:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957426176001,"66":14461,"121":206,"28":31744,"24":0,"16":114629112307384320,"45":1825224517093083136},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957426176001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:55:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:55:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114629112307384320,"km_value":114629112307384.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517093083136,"description":"Unknown IO ID 45"} 
[2026-04-26 09:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957426176001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1825224517093083136}} 
[2026-04-26 09:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":54363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:55:57] local.INFO: GPS data processed {"connection_id":54363,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:55:57] local.INFO: Acknowledgment sent {"connection_id":54363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:56:13] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:56:13] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:56:13] local.INFO: IMEI packet received {"connection_id":54614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":54614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:56:14] local.INFO: TCP Data received {"connection_id":55278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:56:14] local.INFO: Processing buffer {"connection_id":55278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:56:14] local.INFO: IMEI packet received {"connection_id":55278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":55278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:56:20] local.INFO: TCP Data received {"connection_id":55278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:56:20] local.INFO: Processing buffer {"connection_id":55278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:56:20] local.INFO: IMEI packet received {"connection_id":55278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":55278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:56:20] local.INFO: TCP Data received {"connection_id":55278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:56:20] local.INFO: Processing buffer {"connection_id":55278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:56:20] local.INFO: Packet analysis {"connection_id":55278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:20] local.INFO: Extracted packet for processing {"connection_id":55278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:56: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-04-26 09: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-04-26 09:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:56: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-04-26 09:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:56:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":55278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:56:20] local.INFO: GPS data processed {"connection_id":55278,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:56:20] local.INFO: Acknowledgment sent {"connection_id":55278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:56:21] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:56:21] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:56:21] local.INFO: IMEI packet received {"connection_id":54614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":54614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:56:23] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc808d010012d193b800720b3300031012e26..."} 
[2026-04-26 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc808d010012d193b800720b3300031012e26..."} 
[2026-04-26 09:56:23] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc808d010012d193b800720b3300031012e26..."} 
[2026-04-26 09:56:23] local.INFO: Packet analysis {"connection_id":54614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:23] local.INFO: Extracted packet for processing {"connection_id":54614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119583536,"longitude_deg":75.6628352,"latitude_deg":11.9583536,"altitude":49,"angle":302,"satellites":38,"speed":35,"hex_longitude":"2d193b80","hex_latitude":"0720b330","is_valid_coordinates":true} 
[2026-04-26 09:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957442816001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114629593343721472,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820861654954326016,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:23] 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-04-26 09:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777177514000,"timestamp_ms":1777177514000,"timestamp_seconds":1777177514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc808d010"} 
[2026-04-26 09:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:56:23] 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-04-26 09:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957442816001,"66":14070,"121":206,"28":31744,"24":35,"16":114629593343721472,"45":1820861654954326016},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957442816001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:56:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:56:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114629593343721472,"km_value":114629593343721.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820861654954326016,"description":"Unknown IO ID 45"} 
[2026-04-26 09:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957442816001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1820861654954326016}} 
[2026-04-26 09:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":54614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:56:23] local.INFO: GPS data processed {"connection_id":54614,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:56:23] local.INFO: Acknowledgment sent {"connection_id":54614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:56:51] local.INFO: TCP Data received {"connection_id":55278,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:56:51] local.INFO: Processing buffer {"connection_id":55278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:56:51] local.INFO: Packet analysis {"connection_id":55278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:51] local.INFO: Extracted packet for processing {"connection_id":55278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:56: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-04-26 09: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-04-26 09:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:56: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-04-26 09:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:56:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":55278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:56:51] local.INFO: GPS data processed {"connection_id":55278,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:56:51] local.INFO: Acknowledgment sent {"connection_id":55278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:56:54] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc808e398012d192ac00720bc000030012226..."} 
[2026-04-26 09:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc808e398012d192ac00720bc000030012226..."} 
[2026-04-26 09:56:54] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc808e398012d192ac00720bc000030012226..."} 
[2026-04-26 09:56:54] local.INFO: Packet analysis {"connection_id":54614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:54] local.INFO: Extracted packet for processing {"connection_id":54614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:56:54] local.INFO: GPS Element Parsed {"raw_longitude":756624064,"raw_latitude":119585792,"longitude_deg":75.6624064,"latitude_deg":11.9585792,"altitude":48,"angle":290,"satellites":38,"speed":39,"hex_longitude":"2d192ac0","hex_latitude":"0720bc00","is_valid_coordinates":true} 
[2026-04-26 09:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957443584001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114629825271955456,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642675867648,"note":"Value kept but may cause issues"} 
[2026-04-26 09:56:54] 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-04-26 09:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777177519000,"timestamp_ms":1777177519000,"timestamp_seconds":1777177519,"priority":1,"record_length":96,"hex_timestamp":"0000019dc808e398"} 
[2026-04-26 09:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:56:54] 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-04-26 09:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 09:56:54] 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-04-26 09:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957443584001,"66":13319,"121":206,"28":31744,"24":39,"16":114629825271955456,"45":1818187642675867648},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957443584001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:56:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:56:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114629825271955456,"km_value":114629825271955.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642675867648,"description":"Unknown IO ID 45"} 
[2026-04-26 09:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957443584001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1818187642675867648}} 
[2026-04-26 09:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":54614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:56:54] local.INFO: GPS data processed {"connection_id":54614,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:56:54] local.INFO: Acknowledgment sent {"connection_id":54614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:57:10] local.INFO: TCP Data received {"connection_id":54365,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:57:10] local.INFO: Processing buffer {"connection_id":54365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:57:10] local.INFO: IMEI packet received {"connection_id":54365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":54365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:57:11] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:11] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:11] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:57:14] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:14] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:14] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:57:14] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:14] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:14] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:57:18] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:18] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:57:18] local.INFO: IMEI packet received {"connection_id":54366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":54366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:57:19] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc809c628012d18c400072145b0003d016629..."} 
[2026-04-26 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc809c628012d18c400072145b0003d016629..."} 
[2026-04-26 09:57:19] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc809c628012d18c400072145b0003d016629..."} 
[2026-04-26 09:57:19] local.INFO: Packet analysis {"connection_id":54366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc809"} 
[2026-04-26 09:57:19] local.INFO: Extracted packet for processing {"connection_id":54366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc809"} 
[2026-04-26 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621040,"longitude_deg":75.659776,"latitude_deg":11.962104,"altitude":61,"angle":358,"satellites":41,"speed":29,"hex_longitude":"2d18c400","hex_latitude":"072145b0","is_valid_coordinates":true} 
[2026-04-26 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957459200001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114632101604622336,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200709632,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:19] 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-04-26 09:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777177577000,"timestamp_ms":1777177577000,"timestamp_seconds":1777177577,"priority":1,"record_length":96,"hex_timestamp":"0000019dc809c628"} 
[2026-04-26 09:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:57:19] 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-04-26 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957459200001,"66":13961,"121":206,"28":31744,"24":29,"16":114632101604622336,"45":1784762489200709632},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957459200001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:57:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114632101604622336,"km_value":114632101604622.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200709632,"description":"Unknown IO ID 45"} 
[2026-04-26 09:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957459200001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784762489200709632}} 
[2026-04-26 09:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":54366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:57:19] local.INFO: GPS data processed {"connection_id":54366,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:57:19] local.INFO: Acknowledgment sent {"connection_id":54366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:57:20] local.INFO: TCP Data received {"connection_id":54538,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:57:20] local.INFO: Processing buffer {"connection_id":54538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:57:20] local.INFO: IMEI packet received {"connection_id":54538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":54538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:57:24] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc809d5c8012d18c300072151b8003e015629..."} 
[2026-04-26 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc809d5c8012d18c300072151b8003e015629..."} 
[2026-04-26 09:57:24] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc809d5c8012d18c300072151b8003e015629..."} 
[2026-04-26 09:57:24] local.INFO: Packet analysis {"connection_id":54366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc809"} 
[2026-04-26 09:57:24] local.INFO: Extracted packet for processing {"connection_id":54366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc809"} 
[2026-04-26 09:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624120,"longitude_deg":75.6597504,"latitude_deg":11.962412,"altitude":62,"angle":342,"satellites":41,"speed":31,"hex_longitude":"2d18c300","hex_latitude":"072151b8","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957459712001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114632251928477696,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968545280,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:24] 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-04-26 09:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777177581000,"timestamp_ms":1777177581000,"timestamp_seconds":1777177581,"priority":1,"record_length":96,"hex_timestamp":"0000019dc809d5c8"} 
[2026-04-26 09:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:57: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-04-26 09: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:57:24] 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-04-26 09: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-04-26 09:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957459712001,"66":13961,"121":206,"28":31744,"24":31,"16":114632251928477696,"45":1784551382968545280},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957459712001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:57:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:57:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114632251928477696,"km_value":114632251928477.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968545280,"description":"Unknown IO ID 45"} 
[2026-04-26 09:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957459712001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784551382968545280}} 
[2026-04-26 09:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":54366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:57:24] local.INFO: GPS data processed {"connection_id":54366,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:57:24] local.INFO: Acknowledgment sent {"connection_id":54366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:57:24] local.INFO: TCP Data received {"connection_id":54538,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:57:24] local.INFO: Processing buffer {"connection_id":54538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:57:24] local.INFO: IMEI packet received {"connection_id":54538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":54538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:57:25] local.INFO: TCP Data received {"connection_id":54538,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:57:25] local.INFO: Processing buffer {"connection_id":54538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:57:25] local.INFO: Packet analysis {"connection_id":54538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:57:25] local.INFO: Extracted packet for processing {"connection_id":54538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:57:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":54538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:57:25] local.INFO: GPS data processed {"connection_id":54538,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:57:25] local.INFO: Acknowledgment sent {"connection_id":54538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:57:30] local.INFO: TCP Data received {"connection_id":54538,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:57:30] local.INFO: Processing buffer {"connection_id":54538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:57:30] local.INFO: Packet analysis {"connection_id":54538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:57:30] local.INFO: Extracted packet for processing {"connection_id":54538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:57:30] 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-04-26 09:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:57:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":54538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:57:30] local.INFO: GPS data processed {"connection_id":54538,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:57:30] local.INFO: Acknowledgment sent {"connection_id":54538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:57:40] local.INFO: TCP Data received {"connection_id":55279,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:57:40] local.INFO: Processing buffer {"connection_id":55279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 09:57:40] local.INFO: IMEI packet received {"connection_id":55279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 09:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":55279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:57:55] local.INFO: TCP Data received {"connection_id":54366,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc809dd98012d18c00007215738003e014726..."} 
[2026-04-26 09:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc809dd98012d18c00007215738003e014726..."} 
[2026-04-26 09:57:55] local.INFO: Processing buffer {"connection_id":54366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc809dd98012d18c00007215738003e014726..."} 
[2026-04-26 09:57:55] local.INFO: Packet analysis {"connection_id":54366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc809"} 
[2026-04-26 09:57:55] local.INFO: Extracted packet for processing {"connection_id":54366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc809"} 
[2026-04-26 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756596736,"raw_latitude":119625528,"longitude_deg":75.6596736,"latitude_deg":11.9625528,"altitude":62,"angle":327,"satellites":38,"speed":31,"hex_longitude":"2d18c000","hex_latitude":"07215738","is_valid_coordinates":true} 
[2026-04-26 09:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957460736001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114632329237889024,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992623104,"note":"Value kept but may cause issues"} 
[2026-04-26 09:57:55] 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-04-26 09:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777177583000,"timestamp_ms":1777177583000,"timestamp_seconds":1777177583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc809dd98"} 
[2026-04-26 09:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 09:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 09:57:55] 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-04-26 09:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957460736001,"66":14048,"121":206,"28":31744,"24":31,"16":114632329237889024,"45":1784269907992623104},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 09:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957460736001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:57:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 09:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114632329237889024,"km_value":114632329237889.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992623104,"description":"Unknown IO ID 45"} 
[2026-04-26 09:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957460736001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1784269907992623104}} 
[2026-04-26 09:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":54366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:57:55] local.INFO: GPS data processed {"connection_id":54366,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:57:55] local.INFO: Acknowledgment sent {"connection_id":54366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:58:16] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:58:16] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:58:16] local.INFO: IMEI packet received {"connection_id":54615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":54615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:58:20] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:58:20] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:58:20] local.INFO: IMEI packet received {"connection_id":54615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":54615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:58:20] local.INFO: TCP Data received {"connection_id":54616,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:20] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:20] local.INFO: IMEI packet received {"connection_id":54616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":54616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:58:20] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:20] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:20] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:58:20] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:58: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-04-26 09: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-04-26 09:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:58:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:58:20] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:58:20] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:58:21] local.INFO: TCP Data received {"connection_id":54616,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:21] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:21] local.INFO: IMEI packet received {"connection_id":54616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":54616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:58:23] local.INFO: TCP Data received {"connection_id":54616,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:23] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:58:23] local.INFO: IMEI packet received {"connection_id":54616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":54616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:58:24] local.INFO: TCP Data received {"connection_id":54616,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80ab858012d181bc00721a618004700f524..."} 
[2026-04-26 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80ab858012d181bc00721a618004700f524..."} 
[2026-04-26 09:58:24] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80ab858012d181bc00721a618004700f524..."} 
[2026-04-26 09:58:24] local.INFO: Packet analysis {"connection_id":54616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80a"} 
[2026-04-26 09:58:24] local.INFO: Extracted packet for processing {"connection_id":54616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80a"} 
[2026-04-26 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645720,"longitude_deg":75.6554688,"latitude_deg":11.964572,"altitude":71,"angle":245,"satellites":36,"speed":9,"hex_longitude":"2d181bc0","hex_latitude":"0721a618","is_valid_coordinates":true} 
[2026-04-26 09:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957475328001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114634648520228864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375844864,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777177639000,"timestamp_ms":1777177639000,"timestamp_seconds":1777177639,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80ab858"} 
[2026-04-26 09:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:58: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-04-26 09:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 09:58: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-04-26 09:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957475328001,"66":14483,"122":206,"28":31744,"24":9,"16":114634648520228864,"45":1737404324375844864},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957475328001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:58:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:58:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114634648520228864,"km_value":114634648520228.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375844864,"description":"Unknown IO ID 45"} 
[2026-04-26 09:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957475328001,"power":14483,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737404324375844864}} 
[2026-04-26 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":54616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:58:24] local.INFO: GPS data processed {"connection_id":54616,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:58:24] local.INFO: Acknowledgment sent {"connection_id":54616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:58:25] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:25] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:25] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:58:25] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:58:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:58:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:58:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:58:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:58:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:58:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:58:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:58:25] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:58:25] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:58:56] local.INFO: TCP Data received {"connection_id":54616,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80abc40012d181b000721a550004700e025..."} 
[2026-04-26 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80abc40012d181b000721a550004700e025..."} 
[2026-04-26 09:58:56] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80abc40012d181b000721a550004700e025..."} 
[2026-04-26 09:58:56] local.INFO: Packet analysis {"connection_id":54616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80a"} 
[2026-04-26 09:58:56] local.INFO: Extracted packet for processing {"connection_id":54616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80a"} 
[2026-04-26 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119645520,"longitude_deg":75.6554496,"latitude_deg":11.964552,"altitude":71,"angle":224,"satellites":37,"speed":13,"hex_longitude":"2d181b00","hex_latitude":"0721a550","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957475584001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114634661405130752,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143295488,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777177640000,"timestamp_ms":1777177640000,"timestamp_seconds":1777177640,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80abc40"} 
[2026-04-26 09:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:58:56] 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-04-26 09: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 09:58:56] 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-04-26 09: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-04-26 09:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957475584001,"66":14483,"122":206,"28":31744,"24":13,"16":114634661405130752,"45":1737193218143295488},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957475584001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114634661405130752,"km_value":114634661405130.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143295488,"description":"Unknown IO ID 45"} 
[2026-04-26 09:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957475584001,"power":14483,"unknown_122":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1737193218143295488}} 
[2026-04-26 09:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":54616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:58:56] local.INFO: GPS data processed {"connection_id":54616,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:58:56] local.INFO: Acknowledgment sent {"connection_id":54616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:58:56] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:56] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:58:56] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:58:56] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:58:56] 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-04-26 09: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-04-26 09:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:58:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:58:56] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:58:56] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:59:15] local.INFO: TCP Data received {"connection_id":55280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:59:15] local.INFO: Processing buffer {"connection_id":55280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:59:15] local.INFO: IMEI packet received {"connection_id":55280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 09:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":55280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:59:19] local.INFO: TCP Data received {"connection_id":55281,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:19] local.INFO: Processing buffer {"connection_id":55281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:19] local.INFO: IMEI packet received {"connection_id":55281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 09:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":55281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 09:59:20] local.INFO: TCP Data received {"connection_id":55281,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:20] local.INFO: Processing buffer {"connection_id":55281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:20] local.INFO: IMEI packet received {"connection_id":55281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":55281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:59:21] local.INFO: TCP Data received {"connection_id":55280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:59:21] local.INFO: Processing buffer {"connection_id":55280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 09:59:21] local.INFO: IMEI packet received {"connection_id":55280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 09:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":55280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:59:21] local.INFO: TCP Data received {"connection_id":55280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:59:21] local.INFO: Processing buffer {"connection_id":55280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:59:21] local.INFO: Packet analysis {"connection_id":55280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:59:21] local.INFO: Extracted packet for processing {"connection_id":55280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:59: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-04-26 09:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09: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-04-26 09:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:59:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:59:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:59:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":55280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:59:21] local.INFO: GPS data processed {"connection_id":55280,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:59:21] local.INFO: Acknowledgment sent {"connection_id":55280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:59:23] local.INFO: TCP Data received {"connection_id":55281,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:23] local.INFO: Processing buffer {"connection_id":55281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 09:59:23] local.INFO: IMEI packet received {"connection_id":55281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 09:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":55281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 09:59:24] local.INFO: TCP Data received {"connection_id":55281,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80bc1f8012d1750800720c348002f00e627..."} 
[2026-04-26 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80bc1f8012d1750800720c348002f00e627..."} 
[2026-04-26 09:59:24] local.INFO: Processing buffer {"connection_id":55281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80bc1f8012d1750800720c348002f00e627..."} 
[2026-04-26 09:59:24] local.INFO: Packet analysis {"connection_id":55281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80b"} 
[2026-04-26 09:59:24] local.INFO: Extracted packet for processing {"connection_id":55281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80b"} 
[2026-04-26 09:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756502656,"raw_latitude":119587656,"longitude_deg":75.6502656,"latitude_deg":11.9587656,"altitude":47,"angle":230,"satellites":39,"speed":56,"hex_longitude":"2d175080","hex_latitude":"0720c348","is_valid_coordinates":true} 
[2026-04-26 09:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 09:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957491200001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114638432386416640,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1687653622229053440,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777177707000,"timestamp_ms":1777177707000,"timestamp_seconds":1777177707,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80bc1f8"} 
[2026-04-26 09:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:59: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-04-26 09:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 09:59:24] 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-04-26 09:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 09:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957491200001,"66":14559,"122":206,"28":31744,"24":56,"16":114638432386416640,"45":1687653622229053440},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957491200001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:59:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114638432386416640,"km_value":114638432386416.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1687653622229053440,"description":"Unknown IO ID 45"} 
[2026-04-26 09:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957491200001,"power":14559,"unknown_122":206,"unknown_28":31744,"ignition":56,"odometer":null,"unknown_45":1687653622229053440}} 
[2026-04-26 09:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":55281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:59:24] local.INFO: GPS data processed {"connection_id":55281,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:59:24] local.INFO: Acknowledgment sent {"connection_id":55281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:59:26] local.INFO: TCP Data received {"connection_id":55281,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80bdd50012d1731400720aa90002a00e528..."} 
[2026-04-26 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80bdd50012d1731400720aa90002a00e528..."} 
[2026-04-26 09:59:26] local.INFO: Processing buffer {"connection_id":55281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80bdd50012d1731400720aa90002a00e528..."} 
[2026-04-26 09:59:26] local.INFO: Packet analysis {"connection_id":55281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80b"} 
[2026-04-26 09:59:26] local.INFO: Extracted packet for processing {"connection_id":55281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80b"} 
[2026-04-26 09:59:26] local.INFO: GPS Element Parsed {"raw_longitude":756494656,"raw_latitude":119581328,"longitude_deg":75.6494656,"latitude_deg":11.9581328,"altitude":42,"angle":229,"satellites":40,"speed":57,"hex_longitude":"2d173140","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957492992001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114638922012688384,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1679983429111990272,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777177714000,"timestamp_ms":1777177714000,"timestamp_seconds":1777177714,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80bdd50"} 
[2026-04-26 09:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:59:26] 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-04-26 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-26 09:59:26] 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-04-26 09: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-04-26 09:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957492992001,"66":14428,"122":206,"28":31744,"24":57,"16":114638922012688384,"45":1679983429111990272},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957492992001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:59:26] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:59:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114638922012688384,"km_value":114638922012688.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1679983429111990272,"description":"Unknown IO ID 45"} 
[2026-04-26 09:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957492992001,"power":14428,"unknown_122":206,"unknown_28":31744,"ignition":57,"odometer":null,"unknown_45":1679983429111990272}} 
[2026-04-26 09:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":55281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:59:26] local.INFO: GPS data processed {"connection_id":55281,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:59:26] local.INFO: Acknowledgment sent {"connection_id":55281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:59:28] local.INFO: TCP Data received {"connection_id":55281,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80bf4c0012d17170007209320002600e128..."} 
[2026-04-26 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80bf4c0012d17170007209320002600e128..."} 
[2026-04-26 09:59:28] local.INFO: Processing buffer {"connection_id":55281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80bf4c0012d17170007209320002600e128..."} 
[2026-04-26 09:59:28] local.INFO: Packet analysis {"connection_id":55281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80b"} 
[2026-04-26 09:59:28] local.INFO: Extracted packet for processing {"connection_id":55281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80b"} 
[2026-04-26 09:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756487936,"raw_latitude":119575328,"longitude_deg":75.6487936,"latitude_deg":11.9575328,"altitude":38,"angle":225,"satellites":40,"speed":59,"hex_longitude":"2d171700","hex_latitude":"07209320","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957494784001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114639351509417984,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1671187336088162304,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777177720000,"timestamp_ms":1777177720000,"timestamp_seconds":1777177720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80bf4c0"} 
[2026-04-26 09:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:59:28] 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-04-26 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 09:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 09: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-04-26 09:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 09:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 09:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 09:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 09:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957494784001,"66":14450,"122":206,"28":31744,"24":59,"16":114639351509417984,"45":1671187336088162304},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 09:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 09:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 09:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957494784001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:59:28] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 09:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 09:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114639351509417984,"km_value":114639351509417.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1671187336088162304,"description":"Unknown IO ID 45"} 
[2026-04-26 09:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957494784001,"power":14450,"unknown_122":206,"unknown_28":31744,"ignition":59,"odometer":null,"unknown_45":1671187336088162304}} 
[2026-04-26 09:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":55281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:59:28] local.INFO: GPS data processed {"connection_id":55281,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:59:28] local.INFO: Acknowledgment sent {"connection_id":55281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 09:59:52] local.INFO: TCP Data received {"connection_id":55280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:59:52] local.INFO: Processing buffer {"connection_id":55280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8081490012cb299c007822ce0004c001231..."} 
[2026-04-26 09:59:52] local.INFO: Packet analysis {"connection_id":55280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:59:52] local.INFO: Extracted packet for processing {"connection_id":55280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc808"} 
[2026-04-26 09:59:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 09: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-04-26 09:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957354240001,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 09:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 09:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777177466000,"timestamp_ms":1777177466000,"timestamp_seconds":1777177466,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8081490"} 
[2026-04-26 09:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 09:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 09: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 09:59:52] 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-04-26 09: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-04-26 09:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 09:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 09:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 09:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 09: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-04-26 09:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 09:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 09:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957354240001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 09:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 09:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 09:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957354240001,"description":"Unknown IO ID 0"} 
[2026-04-26 09:59:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 09:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 09:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 09:59:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 09:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957354240001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 09:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":55280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 09:59:52] local.INFO: GPS data processed {"connection_id":55280,"processed":1,"errors":0,"total":1} 
[2026-04-26 09:59:52] local.INFO: Acknowledgment sent {"connection_id":55280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:00:11] local.INFO: TCP Data received {"connection_id":54618,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:11] local.INFO: Processing buffer {"connection_id":54618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:11] local.INFO: IMEI packet received {"connection_id":54618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":54618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:00:13] local.INFO: TCP Data received {"connection_id":54618,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:13] local.INFO: Processing buffer {"connection_id":54618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:13] local.INFO: IMEI packet received {"connection_id":54618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":54618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:00:15] local.INFO: TCP Data received {"connection_id":55282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:00:15] local.INFO: Processing buffer {"connection_id":55282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:00:15] local.INFO: IMEI packet received {"connection_id":55282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":55282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:00:18] local.INFO: TCP Data received {"connection_id":54618,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:18] local.INFO: Processing buffer {"connection_id":54618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:00:18] local.INFO: IMEI packet received {"connection_id":54618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":54618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:00:19] local.INFO: TCP Data received {"connection_id":55282,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:00:19] local.INFO: TCP Data received {"connection_id":54618,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80c1018012d16fc8007207670002700dd28..."} 
[2026-04-26 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:00:19] local.INFO: Processing buffer {"connection_id":55282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:00:19] local.INFO: IMEI packet received {"connection_id":55282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":55282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80c1018012d16fc8007207670002700dd28..."} 
[2026-04-26 10:00:19] local.INFO: Processing buffer {"connection_id":54618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80c1018012d16fc8007207670002700dd28..."} 
[2026-04-26 10:00:19] local.INFO: Packet analysis {"connection_id":54618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:19] local.INFO: Extracted packet for processing {"connection_id":54618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756481152,"raw_latitude":119567984,"longitude_deg":75.6481152,"latitude_deg":11.9567984,"altitude":39,"angle":221,"satellites":40,"speed":54,"hex_longitude":"2d16fc80","hex_latitude":"07207670","is_valid_coordinates":true} 
[2026-04-26 10:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957496320001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114639832545755136,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1663798617947971584,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777177727000,"timestamp_ms":1777177727000,"timestamp_seconds":1777177727,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80c1018"} 
[2026-04-26 10:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:00:19] 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-04-26 10:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-26 10:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957496320001,"66":14559,"130":206,"28":31744,"24":54,"16":114639832545755136,"45":1663798617947971584},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 10:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957496320001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:00:19] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 10:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114639832545755136,"km_value":114639832545755.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1663798617947971584,"description":"Unknown IO ID 45"} 
[2026-04-26 10:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957496320001,"power":14559,"unknown_130":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1663798617947971584}} 
[2026-04-26 10:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:00:20] local.INFO: GPS data processed {"connection_id":54618,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:00:20] local.INFO: Acknowledgment sent {"connection_id":54618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:00:20] local.INFO: TCP Data received {"connection_id":55282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:00:20] local.INFO: Processing buffer {"connection_id":55282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:00:20] local.INFO: Packet analysis {"connection_id":55282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:20] local.INFO: Extracted packet for processing {"connection_id":55282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:00:20] 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-04-26 10:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:00:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":55282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:00:20] local.INFO: GPS data processed {"connection_id":55282,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:00:20] local.INFO: Acknowledgment sent {"connection_id":55282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:00:51] local.INFO: TCP Data received {"connection_id":54618,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80c2b70012d16e34007205ad0002400de27..."} 
[2026-04-26 10:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80c2b70012d16e34007205ad0002400de27..."} 
[2026-04-26 10:00:51] local.INFO: Processing buffer {"connection_id":54618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80c2b70012d16e34007205ad0002400de27..."} 
[2026-04-26 10:00:51] local.INFO: Packet analysis {"connection_id":54618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:51] local.INFO: Extracted packet for processing {"connection_id":54618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756474688,"raw_latitude":119560912,"longitude_deg":75.6474688,"latitude_deg":11.9560912,"altitude":36,"angle":222,"satellites":39,"speed":54,"hex_longitude":"2d16e340","hex_latitude":"07205ad0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957498112001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114640292107255808,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1656339531063259136,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177734000,"timestamp_ms":1777177734000,"timestamp_seconds":1777177734,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80c2b70"} 
[2026-04-26 10:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-26 10:00:51] 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-04-26 10: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-04-26 10:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957498112001,"66":13906,"130":206,"28":31744,"24":54,"16":114640292107255808,"45":1656339531063259136},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957498112001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114640292107255808,"km_value":114640292107255.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1656339531063259136,"description":"Unknown IO ID 45"} 
[2026-04-26 10:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957498112001,"power":13906,"unknown_130":206,"unknown_28":31744,"ignition":54,"odometer":null,"unknown_45":1656339531063259136}} 
[2026-04-26 10:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:00:51] local.INFO: GPS data processed {"connection_id":54618,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:00:51] local.INFO: Acknowledgment sent {"connection_id":54618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:00:51] local.INFO: TCP Data received {"connection_id":55282,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:00:51] local.INFO: Processing buffer {"connection_id":55282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:00:51] local.INFO: Packet analysis {"connection_id":55282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:51] local.INFO: Extracted packet for processing {"connection_id":55282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":55282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:00:51] local.INFO: GPS data processed {"connection_id":55282,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:00:51] local.INFO: Acknowledgment sent {"connection_id":55282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:01:12] local.INFO: TCP Data received {"connection_id":55284,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:12] local.INFO: Processing buffer {"connection_id":55284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:12] local.INFO: IMEI packet received {"connection_id":55284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":55284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:01:13] local.INFO: TCP Data received {"connection_id":55284,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:13] local.INFO: Processing buffer {"connection_id":55284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:13] local.INFO: IMEI packet received {"connection_id":55284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":55284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:01:14] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:01:14] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:01:14] local.INFO: IMEI packet received {"connection_id":54367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:01:16] local.INFO: TCP Data received {"connection_id":55284,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:16] local.INFO: Processing buffer {"connection_id":55284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:01:16] local.INFO: IMEI packet received {"connection_id":55284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":55284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:01:17] local.INFO: TCP Data received {"connection_id":55284,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80d7f48012d1588c0071fc748001e010027..."} 
[2026-04-26 10:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80d7f48012d1588c0071fc748001e010027..."} 
[2026-04-26 10:01:17] local.INFO: Processing buffer {"connection_id":55284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80d7f48012d1588c0071fc748001e010027..."} 
[2026-04-26 10:01:17] local.INFO: Packet analysis {"connection_id":55284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80d"} 
[2026-04-26 10:01:17] local.INFO: Extracted packet for processing {"connection_id":55284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80d"} 
[2026-04-26 10:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756385984,"raw_latitude":119523144,"longitude_deg":75.6385984,"latitude_deg":11.9523144,"altitude":30,"angle":256,"satellites":39,"speed":47,"hex_longitude":"2d1588c0","hex_latitude":"071fc748","is_valid_coordinates":true} 
[2026-04-26 10:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957520128001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114645012276314112,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561834307621795840,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777177821000,"timestamp_ms":1777177821000,"timestamp_seconds":1777177821,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80d7f48"} 
[2026-04-26 10:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:01: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-04-26 10:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 10:01: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-04-26 10:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957520128001,"66":13156,"133":206,"28":31744,"24":47,"16":114645012276314112,"45":1561834307621795840},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957520128001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:01:17] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:01:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114645012276314112,"km_value":114645012276314.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561834307621795840,"description":"Unknown IO ID 45"} 
[2026-04-26 10:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957520128001,"power":13156,"unknown_133":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1561834307621795840}} 
[2026-04-26 10:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":55284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:01:17] local.INFO: GPS data processed {"connection_id":55284,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:01:17] local.INFO: Acknowledgment sent {"connection_id":55284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:01:21] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:01:21] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:01:21] local.INFO: IMEI packet received {"connection_id":54367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":54367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:01:22] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:01:22] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:01:22] local.INFO: Packet analysis {"connection_id":54367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:01:22] local.INFO: Extracted packet for processing {"connection_id":54367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:01: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-04-26 10:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:01:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:01:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":54367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:01:22] local.INFO: GPS data processed {"connection_id":54367,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:01:22] local.INFO: Acknowledgment sent {"connection_id":54367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:01:53] local.INFO: TCP Data received {"connection_id":54367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:01:53] local.INFO: Processing buffer {"connection_id":54367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:01:53] local.INFO: Packet analysis {"connection_id":54367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:01:53] local.INFO: Extracted packet for processing {"connection_id":54367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:01: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-04-26 10:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":54367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:01:53] local.INFO: GPS data processed {"connection_id":54367,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:01:53] local.INFO: Acknowledgment sent {"connection_id":54367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:01:53] local.INFO: TCP Data received {"connection_id":55284,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80d92d0012d157180071fc438001f010c24..."} 
[2026-04-26 10:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80d92d0012d157180071fc438001f010c24..."} 
[2026-04-26 10:01:53] local.INFO: Processing buffer {"connection_id":55284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80d92d0012d157180071fc438001f010c24..."} 
[2026-04-26 10:01:53] local.INFO: Packet analysis {"connection_id":55284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80d"} 
[2026-04-26 10:01:53] local.INFO: Extracted packet for processing {"connection_id":55284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80d"} 
[2026-04-26 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756380032,"raw_latitude":119522360,"longitude_deg":75.6380032,"latitude_deg":11.952236,"altitude":31,"angle":268,"satellites":36,"speed":46,"hex_longitude":"2d157180","hex_latitude":"071fc438","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957522176001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114645295744155648,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1551701208459593728,"note":"Value kept but may cause issues"} 
[2026-04-26 10:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777177826000,"timestamp_ms":1777177826000,"timestamp_seconds":1777177826,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80d92d0"} 
[2026-04-26 10:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-26 10:01:53] 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-04-26 10:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957522176001,"66":14080,"133":206,"28":31744,"24":46,"16":114645295744155648,"45":1551701208459593728},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957522176001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114645295744155648,"km_value":114645295744155.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1551701208459593728,"description":"Unknown IO ID 45"} 
[2026-04-26 10:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957522176001,"power":14080,"unknown_133":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1551701208459593728}} 
[2026-04-26 10:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":55284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:01:53] local.INFO: GPS data processed {"connection_id":55284,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:01:53] local.INFO: Acknowledgment sent {"connection_id":55284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:02:13] local.INFO: TCP Data received {"connection_id":54540,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:02:13] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:02:13] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:02:18] local.INFO: TCP Data received {"connection_id":54540,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:02:18] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:02:18] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:02:19] local.INFO: TCP Data received {"connection_id":54540,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80e9888012d1466c0071f4da8002600f426..."} 
[2026-04-26 10:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80e9888012d1466c0071f4da8002600f426..."} 
[2026-04-26 10:02:19] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80e9888012d1466c0071f4da8002600f426..."} 
[2026-04-26 10:02:19] local.INFO: Packet analysis {"connection_id":54540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:02:19] local.INFO: Extracted packet for processing {"connection_id":54540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756311744,"raw_latitude":119492008,"longitude_deg":75.6311744,"latitude_deg":11.9492008,"altitude":38,"angle":244,"satellites":38,"speed":50,"hex_longitude":"2d1466c0","hex_latitude":"071f4da8","is_valid_coordinates":true} 
[2026-04-26 10:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957538560001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114648963646226432,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1479432508182587392,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777177893000,"timestamp_ms":1777177893000,"timestamp_seconds":1777177893,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80e9888"} 
[2026-04-26 10:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:02: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-04-26 10:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-26 10:02:19] 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-04-26 10:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957538560001,"66":14080,"133":206,"28":31744,"24":50,"16":114648963646226432,"45":1479432508182587392},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957538560001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:02:19] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114648963646226432,"km_value":114648963646226.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1479432508182587392,"description":"Unknown IO ID 45"} 
[2026-04-26 10:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957538560001,"power":14080,"unknown_133":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1479432508182587392}} 
[2026-04-26 10:02:19] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:02:19] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:02:19] local.INFO: IMEI packet received {"connection_id":54620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":54620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":54540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:02:20] local.INFO: GPS data processed {"connection_id":54540,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:02:20] local.INFO: Acknowledgment sent {"connection_id":54540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:02:25] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:02:25] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:02:25] local.INFO: IMEI packet received {"connection_id":54620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":54620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:02:25] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:02:25] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:02:25] local.INFO: Packet analysis {"connection_id":54620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:02:25] local.INFO: Extracted packet for processing {"connection_id":54620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:02:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:02: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-04-26 10:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:02:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":54620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:02:25] local.INFO: GPS data processed {"connection_id":54620,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:02:25] local.INFO: Acknowledgment sent {"connection_id":54620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:02:29] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:02:29] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:02:29] local.INFO: Packet analysis {"connection_id":54620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:02:29] local.INFO: Extracted packet for processing {"connection_id":54620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:02: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-04-26 10:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:02:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":54620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:02:29] local.INFO: GPS data processed {"connection_id":54620,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:02:29] local.INFO: Acknowledgment sent {"connection_id":54620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:02:52] local.INFO: TCP Data received {"connection_id":54540,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80e9888012d1466c0071f4da8002600f426..."} 
[2026-04-26 10:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80e9888012d1466c0071f4da8002600f426..."} 
[2026-04-26 10:02:52] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80e9888012d1466c0071f4da8002600f426..."} 
[2026-04-26 10:02:52] local.INFO: Packet analysis {"connection_id":54540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:02:52] local.INFO: Extracted packet for processing {"connection_id":54540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756311744,"raw_latitude":119492008,"longitude_deg":75.6311744,"latitude_deg":11.9492008,"altitude":38,"angle":244,"satellites":38,"speed":50,"hex_longitude":"2d1466c0","hex_latitude":"071f4da8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957540608001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114648963646226432,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1470073465205532672,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777177893000,"timestamp_ms":1777177893000,"timestamp_seconds":1777177893,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80e9888"} 
[2026-04-26 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-04-26 10:02: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-04-26 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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454502144,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3356359752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":238733313,"corrected_to":0} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2285371441,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884253390,"corrected_to":0} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2684431636,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2147950485,"note":"Value kept but may cause issues"} 
[2026-04-26 10:02:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,133,28,24,241,158,16,80,157,121,45,99,42,38,10,66,90,47,40,79,1,240,169,200,31,4,113,205,44,23,238,239,54,2,151,7,43,41],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":200,"original":238733313,"validated":0},{"io_id":205,"original":3884253390,"validated":0}]} 
[2026-04-26 10:02:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738457017490472960,"timestamp_seconds":2738457017490473.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 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-04-26 10:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957540608001,"66":14080,"133":206,"28":31744,"24":50,"16":114648963646226432,"45":1470073465205532672},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957540608001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:02:52] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114648963646226432,"km_value":114648963646226.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1470073465205532672,"description":"Unknown IO ID 45"} 
[2026-04-26 10:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957540608001,"power":14080,"unknown_133":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1470073465205532672}} 
[2026-04-26 10:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":54540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:02:52] local.INFO: GPS data processed {"connection_id":54540,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:02:52] local.INFO: Acknowledgment sent {"connection_id":54540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:03:00] local.INFO: TCP Data received {"connection_id":55285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:03:00] local.INFO: Processing buffer {"connection_id":55285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:03:00] local.INFO: IMEI packet received {"connection_id":55285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":55285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:03:14] local.INFO: TCP Data received {"connection_id":55286,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:03:14] local.INFO: Processing buffer {"connection_id":55286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:03:14] local.INFO: IMEI packet received {"connection_id":55286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":55286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:03:19] local.INFO: TCP Data received {"connection_id":55286,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:03:19] local.INFO: Processing buffer {"connection_id":55286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:03:19] local.INFO: IMEI packet received {"connection_id":55286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":55286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:03:20] local.INFO: TCP Data received {"connection_id":55287,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:20] local.INFO: Processing buffer {"connection_id":55287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:20] local.INFO: IMEI packet received {"connection_id":55287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":55287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:03:20] local.INFO: TCP Data received {"connection_id":55286,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:03:20] local.INFO: Processing buffer {"connection_id":55286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:03:20] local.INFO: Packet analysis {"connection_id":55286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:03:20] local.INFO: Extracted packet for processing {"connection_id":55286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:03: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-04-26 10:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":55286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:03:20] local.INFO: GPS data processed {"connection_id":55286,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:03:20] local.INFO: Acknowledgment sent {"connection_id":55286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:03:23] local.INFO: TCP Data received {"connection_id":55287,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:23] local.INFO: Processing buffer {"connection_id":55287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:23] local.INFO: IMEI packet received {"connection_id":55287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":55287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:03:28] local.INFO: TCP Data received {"connection_id":55287,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:28] local.INFO: Processing buffer {"connection_id":55287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:03:28] local.INFO: IMEI packet received {"connection_id":55287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":55287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:03:30] local.INFO: TCP Data received {"connection_id":55287,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80eb3e0012d144540071f41a0002300fc24..."} 
[2026-04-26 10:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80eb3e0012d144540071f41a0002300fc24..."} 
[2026-04-26 10:03:30] local.INFO: Processing buffer {"connection_id":55287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80eb3e0012d144540071f41a0002300fc24..."} 
[2026-04-26 10:03:30] local.INFO: Packet analysis {"connection_id":55287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:03:30] local.INFO: Extracted packet for processing {"connection_id":55287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756303168,"raw_latitude":119488928,"longitude_deg":75.6303168,"latitude_deg":11.9488928,"altitude":35,"angle":252,"satellites":36,"speed":49,"hex_longitude":"2d144540","hex_latitude":"071f41a0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957540608001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114649397437923328,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1470073465205532672,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777177900000,"timestamp_ms":1777177900000,"timestamp_seconds":1777177900,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80eb3e0"} 
[2026-04-26 10:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454502144,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3356366752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":240781313,"corrected_to":0} 
[2026-04-26 10:03:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884253390,"corrected_to":0} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3355520276,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3221692296,"corrected_to":0} 
[2026-04-26 10:03:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,133,28,24,241,158,16,80,157,152,45,192,77,38,10,66,121,99,42,90,1,240,169,79,200,31,4,113,205,49,58,202,56,40,239,54,2,151,7,46],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":200,"original":240781313,"validated":0},{"io_id":205,"original":3884253390,"validated":0},{"io_id":202,"original":3221692296,"validated":0}]} 
[2026-04-26 10:03:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738457017490472960,"timestamp_seconds":2738457017490473.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957540608001,"66":14341,"133":206,"28":31744,"24":49,"16":114649397437923328,"45":1470073465205532672},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957540608001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:03:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:03:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114649397437923328,"km_value":114649397437923.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1470073465205532672,"description":"Unknown IO ID 45"} 
[2026-04-26 10:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957540608001,"power":14341,"unknown_133":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":1470073465205532672}} 
[2026-04-26 10:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":55287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:03:30] local.INFO: GPS data processed {"connection_id":55287,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:03:30] local.INFO: Acknowledgment sent {"connection_id":55287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:03:31] local.INFO: TCP Data received {"connection_id":55287,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80ed320012d142100071f3638002400fb24..."} 
[2026-04-26 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80ed320012d142100071f3638002400fb24..."} 
[2026-04-26 10:03:31] local.INFO: Processing buffer {"connection_id":55287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80ed320012d142100071f3638002400fb24..."} 
[2026-04-26 10:03:31] local.INFO: Packet analysis {"connection_id":55287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:03:31] local.INFO: Extracted packet for processing {"connection_id":55287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80e"} 
[2026-04-26 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":756293888,"raw_latitude":119486008,"longitude_deg":75.6293888,"latitude_deg":11.9486008,"altitude":36,"angle":251,"satellites":36,"speed":47,"hex_longitude":"2d142100","hex_latitude":"071f3638","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957542400001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114649861294391296,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1460644053484937216,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777177908000,"timestamp_ms":1777177908000,"timestamp_seconds":1777177908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80ed320"} 
[2026-04-26 10:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":12948901866776576,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505349009965056,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3356375752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3080432,"corrected_to":0} 
[2026-04-26 10:03:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3884253390,"corrected_to":0} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84746982572629909,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:31] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,133,28,24,241,158,16,81,157,152,45,192,77,38,10,66,80,121,1,240,111,200,31,4,113,205,49,90,168,40,239,54,2,151,7,44,206,160],"length":529,"final_offset":659,"validated_count":38,"validation_warnings":[{"io_id":200,"original":3080432,"validated":0},{"io_id":205,"original":3884253390,"validated":0}]} 
[2026-04-26 10:03:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522293022879711232,"timestamp_seconds":2522293022879711.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957542400001,"66":14113,"133":206,"28":31744,"24":47,"16":114649861294391296,"45":1460644053484937216},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957542400001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:03:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114649861294391296,"km_value":114649861294391.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1460644053484937216,"description":"Unknown IO ID 45"} 
[2026-04-26 10:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957542400001,"power":14113,"unknown_133":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1460644053484937216}} 
[2026-04-26 10:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":55287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:03:31] local.INFO: GPS data processed {"connection_id":55287,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:03:31] local.INFO: Acknowledgment sent {"connection_id":55287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:03:40] local.INFO: TCP Data received {"connection_id":55288,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:03:40] local.INFO: Processing buffer {"connection_id":55288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:03:40] local.INFO: IMEI packet received {"connection_id":55288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":55288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:03:51] local.INFO: TCP Data received {"connection_id":55286,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:03:51] local.INFO: Processing buffer {"connection_id":55286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:03:51] local.INFO: Packet analysis {"connection_id":55286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:03:51] local.INFO: Extracted packet for processing {"connection_id":55286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:03:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":55286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:03:51] local.INFO: GPS data processed {"connection_id":55286,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:03:51] local.INFO: Acknowledgment sent {"connection_id":55286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:04:13] local.INFO: TCP Data received {"connection_id":54368,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:04:13] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:04:13] local.INFO: IMEI packet received {"connection_id":54368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":54368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:04:14] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:04:14] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:04:14] local.INFO: IMEI packet received {"connection_id":54369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":54369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:04:17] local.INFO: TCP Data received {"connection_id":54368,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:04:17] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:04:17] local.INFO: IMEI packet received {"connection_id":54368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":54368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:04:18] local.INFO: TCP Data received {"connection_id":54368,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8103e68012d12ca40071f24980026011a24..."} 
[2026-04-26 10:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8103e68012d12ca40071f24980026011a24..."} 
[2026-04-26 10:04:18] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8103e68012d12ca40071f24980026011a24..."} 
[2026-04-26 10:04:18] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:04:18] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756206144,"raw_latitude":119481496,"longitude_deg":75.6206144,"latitude_deg":11.9481496,"altitude":38,"angle":282,"satellites":36,"speed":40,"hex_longitude":"2d12ca40","hex_latitude":"071f2498","is_valid_coordinates":true} 
[2026-04-26 10:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957565696001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-26 10:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114654263635869696,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1364098136470466560,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-26 10:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777178001000,"timestamp_ms":1777178001000,"timestamp_seconds":1777178001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8103e68"} 
[2026-04-26 10:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:04: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-04-26 10:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 10:04:18] 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-04-26 10:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957565696001,"66":14070,"200":0,"28":31744,"24":40,"16":114654263635869696,"45":1364098136470466560},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-26 10:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957565696001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:04:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114654263635869696,"km_value":114654263635869.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1364098136470466560,"description":"Unknown IO ID 45"} 
[2026-04-26 10:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957565696001,"power":14070,"gsm_signal":0,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1364098136470466560}} 
[2026-04-26 10:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:04:18] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:04:18] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:04:19] local.INFO: TCP Data received {"connection_id":54368,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81055d8012d12b240071f27380029010e23..."} 
[2026-04-26 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81055d8012d12b240071f27380029010e23..."} 
[2026-04-26 10:04:19] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81055d8012d12b240071f27380029010e23..."} 
[2026-04-26 10:04:19] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:04:19] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756200000,"raw_latitude":119482168,"longitude_deg":75.62,"latitude_deg":11.9482168,"altitude":41,"angle":270,"satellites":35,"speed":37,"hex_longitude":"2d12b240","hex_latitude":"071f2738","is_valid_coordinates":true} 
[2026-04-26 10:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957568256001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-26 10:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114654555693645824,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1353965037309696000,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-26 10:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178007000,"timestamp_ms":1777178007000,"timestamp_seconds":1777178007,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81055d8"} 
[2026-04-26 10:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:04: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-04-26 10:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 10:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957568256001,"66":14004,"200":0,"28":31744,"24":37,"16":114654555693645824,"45":1353965037309696000},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-26 10:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957568256001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114654555693645824,"km_value":114654555693645.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1353965037309696000,"description":"Unknown IO ID 45"} 
[2026-04-26 10:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957568256001,"power":14004,"gsm_signal":0,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1353965037309696000}} 
[2026-04-26 10:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:04:19] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:04:19] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:04:19] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:04:19] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:04:19] local.INFO: IMEI packet received {"connection_id":54369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:04:21] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:04:21] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:04:21] local.INFO: Packet analysis {"connection_id":54369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:04:21] local.INFO: Extracted packet for processing {"connection_id":54369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 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-04-26 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:04:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 10:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:04: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-04-26 10:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:04:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:04:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:04:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":54369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:04:21] local.INFO: GPS data processed {"connection_id":54369,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:04:21] local.INFO: Acknowledgment sent {"connection_id":54369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:04:51] local.INFO: TCP Data received {"connection_id":54368,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81084b8012d128f00071f23a80030010626..."} 
[2026-04-26 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81084b8012d128f00071f23a80030010626..."} 
[2026-04-26 10:04:51] local.INFO: Processing buffer {"connection_id":54368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81084b8012d128f00071f23a80030010626..."} 
[2026-04-26 10:04:51] local.INFO: Packet analysis {"connection_id":54368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:04:51] local.INFO: Extracted packet for processing {"connection_id":54368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756190976,"raw_latitude":119481256,"longitude_deg":75.6190976,"latitude_deg":11.9481256,"altitude":48,"angle":262,"satellites":38,"speed":27,"hex_longitude":"2d128f00","hex_latitude":"071f23a8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957569792001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-26 10:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114654989485342720,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1347209637868812288,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-26 10:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178019000,"timestamp_ms":1777178019000,"timestamp_seconds":1777178019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81084b8"} 
[2026-04-26 10:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:04: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-04-26 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 10:04: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-04-26 10: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-04-26 10:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957569792001,"66":13961,"200":0,"28":31744,"24":27,"16":114654989485342720,"45":1347209637868812288},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-26 10:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957569792001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:04:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114654989485342720,"km_value":114654989485342.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1347209637868812288,"description":"Unknown IO ID 45"} 
[2026-04-26 10:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957569792001,"power":13961,"gsm_signal":0,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1347209637868812288}} 
[2026-04-26 10:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:04:51] local.INFO: GPS data processed {"connection_id":54368,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:04:51] local.INFO: Acknowledgment sent {"connection_id":54368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:04:52] local.INFO: TCP Data received {"connection_id":54369,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:04:52] local.INFO: Processing buffer {"connection_id":54369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80cac58012cb299c007822ce0004c001230..."} 
[2026-04-26 10:04:52] local.INFO: Packet analysis {"connection_id":54369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:04:52] local.INFO: Extracted packet for processing {"connection_id":54369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80c"} 
[2026-04-26 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957431296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777177767000,"timestamp_ms":1777177767000,"timestamp_seconds":1777177767,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80cac58"} 
[2026-04-26 10:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 10:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:04: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-04-26 10:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957431296001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957431296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:04:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:04:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:04:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957431296001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":54369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:04:52] local.INFO: GPS data processed {"connection_id":54369,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:04:52] local.INFO: Acknowledgment sent {"connection_id":54369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:05:14] local.INFO: TCP Data received {"connection_id":55289,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:14] local.INFO: Processing buffer {"connection_id":55289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:14] local.INFO: IMEI packet received {"connection_id":55289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":55289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:05:14] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:05:14] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:05:14] local.INFO: IMEI packet received {"connection_id":54370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:05:15] local.INFO: TCP Data received {"connection_id":55289,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:15] local.INFO: Processing buffer {"connection_id":55289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:15] local.INFO: IMEI packet received {"connection_id":55289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":55289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:05:16] local.INFO: TCP Data received {"connection_id":55289,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:16] local.INFO: Processing buffer {"connection_id":55289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:05:16] local.INFO: IMEI packet received {"connection_id":55289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":55289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:05:17] local.INFO: TCP Data received {"connection_id":55289,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc810b780012d126ac0071f1f800038010a26..."} 
[2026-04-26 10:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc810b780012d126ac0071f1f800038010a26..."} 
[2026-04-26 10:05:17] local.INFO: Processing buffer {"connection_id":55289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc810b780012d126ac0071f1f800038010a26..."} 
[2026-04-26 10:05:17] local.INFO: Packet analysis {"connection_id":55289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:05:17] local.INFO: Extracted packet for processing {"connection_id":55289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756181696,"raw_latitude":119480192,"longitude_deg":75.6181696,"latitude_deg":11.9480192,"altitude":56,"angle":266,"satellites":38,"speed":30,"hex_longitude":"2d126ac0","hex_latitude":"071f1f80","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957572864001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-26 10:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114655431866974208,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1337287644939528192,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-26 10:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777178032000,"timestamp_ms":1777178032000,"timestamp_seconds":1777178032,"priority":1,"record_length":96,"hex_timestamp":"0000019dc810b780"} 
[2026-04-26 10:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:05: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-04-26 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 10:05:17] 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-04-26 10: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-04-26 10:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957572864001,"66":13972,"200":0,"28":31744,"24":30,"16":114655431866974208,"45":1337287644939528192},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-26 10:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957572864001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:05:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114655431866974208,"km_value":114655431866974.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1337287644939528192,"description":"Unknown IO ID 45"} 
[2026-04-26 10:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957572864001,"power":13972,"gsm_signal":0,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1337287644939528192}} 
[2026-04-26 10:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":55289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:05:17] local.INFO: GPS data processed {"connection_id":55289,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:05:17] local.INFO: Acknowledgment sent {"connection_id":55289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:05:18] local.INFO: TCP Data received {"connection_id":55289,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc810e278012d1243c0071f1f78003b01121f..."} 
[2026-04-26 10:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc810e278012d1243c0071f1f78003b01121f..."} 
[2026-04-26 10:05:18] local.INFO: Processing buffer {"connection_id":55289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc810e278012d1243c0071f1f78003b01121f..."} 
[2026-04-26 10:05:18] local.INFO: Packet analysis {"connection_id":55289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:05:18] local.INFO: Extracted packet for processing {"connection_id":55289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc810"} 
[2026-04-26 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756171712,"raw_latitude":119480184,"longitude_deg":75.6171712,"latitude_deg":11.9480184,"altitude":59,"angle":274,"satellites":31,"speed":40,"hex_longitude":"2d1243c0","hex_latitude":"071f1f78","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957576192001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-26 10:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114655904313376768,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327084177033494528,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-26 10:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777178043000,"timestamp_ms":1777178043000,"timestamp_seconds":1777178043,"priority":1,"record_length":96,"hex_timestamp":"0000019dc810e278"} 
[2026-04-26 10:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:05: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-04-26 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 10:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957576192001,"66":14004,"200":0,"28":31744,"24":40,"16":114655904313376768,"45":1327084177033494528},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-26 10:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957576192001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:05:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114655904313376768,"km_value":114655904313376.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327084177033494528,"description":"Unknown IO ID 45"} 
[2026-04-26 10:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957576192001,"power":14004,"gsm_signal":0,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1327084177033494528}} 
[2026-04-26 10:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":55289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:05:18] local.INFO: GPS data processed {"connection_id":55289,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:05:18] local.INFO: Acknowledgment sent {"connection_id":55289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:05:19] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:05:19] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:05:19] local.INFO: IMEI packet received {"connection_id":54370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":54370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:05:20] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:05:20] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:05:20] local.INFO: Packet analysis {"connection_id":54370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:05:20] local.INFO: Extracted packet for processing {"connection_id":54370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:05: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-04-26 10: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-04-26 10:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:05: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-04-26 10:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:05:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":54370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:05:20] local.INFO: GPS data processed {"connection_id":54370,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:05:20] local.INFO: Acknowledgment sent {"connection_id":54370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:05:50] local.INFO: TCP Data received {"connection_id":55289,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81101b8012d122080071f2558003a01171e..."} 
[2026-04-26 10:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81101b8012d122080071f2558003a01171e..."} 
[2026-04-26 10:05:50] local.INFO: Processing buffer {"connection_id":55289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81101b8012d122080071f2558003a01171e..."} 
[2026-04-26 10:05:50] local.INFO: Packet analysis {"connection_id":55289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:05:50] local.INFO: Extracted packet for processing {"connection_id":55289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756162688,"raw_latitude":119481688,"longitude_deg":75.6162688,"latitude_deg":11.9481688,"altitude":58,"angle":279,"satellites":30,"speed":47,"hex_longitude":"2d122080","hex_latitude":"071f2558","is_valid_coordinates":true} 
[2026-04-26 10:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957579008001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-26 10:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114656338105073664,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1316106652941776896,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-26 10:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777178051000,"timestamp_ms":1777178051000,"timestamp_seconds":1777178051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81101b8"} 
[2026-04-26 10:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:05:50] 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-04-26 10:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 10:05:50] 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-04-26 10:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957579008001,"66":14396,"200":0,"28":31744,"24":47,"16":114656338105073664,"45":1316106652941776896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-26 10:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957579008001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:05:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114656338105073664,"km_value":114656338105073.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1316106652941776896,"description":"Unknown IO ID 45"} 
[2026-04-26 10:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957579008001,"power":14396,"gsm_signal":0,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1316106652941776896}} 
[2026-04-26 10:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":55289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:05:50] local.INFO: GPS data processed {"connection_id":55289,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:05:50] local.INFO: Acknowledgment sent {"connection_id":55289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:05:51] local.INFO: TCP Data received {"connection_id":54370,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:05:51] local.INFO: Processing buffer {"connection_id":54370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:05:51] local.INFO: Packet analysis {"connection_id":54370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:05:51] local.INFO: Extracted packet for processing {"connection_id":54370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:05: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-04-26 10: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-04-26 10:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:05:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:05:51] local.INFO: GPS data processed {"connection_id":54370,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:05:51] local.INFO: Acknowledgment sent {"connection_id":54370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:06:13] local.INFO: TCP Data received {"connection_id":54542,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:13] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:13] local.INFO: IMEI packet received {"connection_id":54542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":54542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:06:15] local.INFO: TCP Data received {"connection_id":54542,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:15] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:15] local.INFO: IMEI packet received {"connection_id":54542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":54542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:06:17] local.INFO: TCP Data received {"connection_id":54542,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:17] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:06:17] local.INFO: IMEI packet received {"connection_id":54542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":54542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:06:19] local.INFO: TCP Data received {"connection_id":54542,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8120770012d112280071f2af00037013d26..."} 
[2026-04-26 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8120770012d112280071f2af00037013d26..."} 
[2026-04-26 10:06:19] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8120770012d112280071f2af00037013d26..."} 
[2026-04-26 10:06:19] local.INFO: Packet analysis {"connection_id":54542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:06:19] local.INFO: Extracted packet for processing {"connection_id":54542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756097664,"raw_latitude":119483120,"longitude_deg":75.6097664,"latitude_deg":11.948312,"altitude":55,"angle":317,"satellites":38,"speed":13,"hex_longitude":"2d112280","hex_latitude":"071f2af0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957597952001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114659628050022400,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234901122161442816,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178118000,"timestamp_ms":1777178118000,"timestamp_seconds":1777178118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8120770"} 
[2026-04-26 10:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:06:19] 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-04-26 10: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-04-26 10:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957597952001,"66":13993,"202":206,"28":31744,"24":13,"16":114659628050022400,"45":1234901122161442816},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-04-26 10:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957597952001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114659628050022400,"km_value":114659628050022.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234901122161442816,"description":"Unknown IO ID 45"} 
[2026-04-26 10:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957597952001,"power":13993,"mcc":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1234901122161442816}} 
[2026-04-26 10:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":54542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:06:19] local.INFO: GPS data processed {"connection_id":54542,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:06:19] local.INFO: Acknowledgment sent {"connection_id":54542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:06:19] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:06:19] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:06:19] local.INFO: IMEI packet received {"connection_id":54543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":54543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:06:20] local.INFO: TCP Data received {"connection_id":54542,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8120b58012d1121c0071f2c000037015026..."} 
[2026-04-26 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8120b58012d1121c0071f2c000037015026..."} 
[2026-04-26 10:06:20] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8120b58012d1121c0071f2c000037015026..."} 
[2026-04-26 10:06:20] local.INFO: Packet analysis {"connection_id":54542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:06:20] local.INFO: Extracted packet for processing {"connection_id":54542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756097472,"raw_latitude":119483392,"longitude_deg":75.6097472,"latitude_deg":11.9483392,"altitude":55,"angle":336,"satellites":38,"speed":12,"hex_longitude":"2d1121c0","hex_latitude":"071f2c00","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957598208001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114659645229891584,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234690015928971264,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178119000,"timestamp_ms":1777178119000,"timestamp_seconds":1777178119,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8120b58"} 
[2026-04-26 10:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:06:20] 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-04-26 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 10:06: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-04-26 10: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-04-26 10:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957598208001,"66":13993,"202":206,"28":31744,"24":12,"16":114659645229891584,"45":1234690015928971264},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-04-26 10:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957598208001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:06:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114659645229891584,"km_value":114659645229891.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234690015928971264,"description":"Unknown IO ID 45"} 
[2026-04-26 10:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957598208001,"power":13993,"mcc":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1234690015928971264}} 
[2026-04-26 10:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":54542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:06:20] local.INFO: GPS data processed {"connection_id":54542,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:06:20] local.INFO: Acknowledgment sent {"connection_id":54542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:06:24] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:06:24] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:06:24] local.INFO: IMEI packet received {"connection_id":54543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":54543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:06:25] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:06:25] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:06:25] local.INFO: Packet analysis {"connection_id":54543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:06:25] local.INFO: Extracted packet for processing {"connection_id":54543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:06:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":54543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:06:25] local.INFO: GPS data processed {"connection_id":54543,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:06:25] local.INFO: Acknowledgment sent {"connection_id":54543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:06:29] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:06:29] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:06:29] local.INFO: Packet analysis {"connection_id":54543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:06:29] local.INFO: Extracted packet for processing {"connection_id":54543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:06:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:06:29] 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-04-26 10: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-04-26 10:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:06:29] 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-04-26 10:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:06:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":54543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:06:29] local.INFO: GPS data processed {"connection_id":54543,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:06:29] local.INFO: Acknowledgment sent {"connection_id":54543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:06:51] local.INFO: TCP Data received {"connection_id":54542,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8120f40012d112180071f2cf80037015c26..."} 
[2026-04-26 10:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8120f40012d112180071f2cf80037015c26..."} 
[2026-04-26 10:06:51] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8120f40012d112180071f2cf80037015c26..."} 
[2026-04-26 10:06:51] local.INFO: Packet analysis {"connection_id":54542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:06:51] local.INFO: Extracted packet for processing {"connection_id":54542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756097408,"raw_latitude":119483640,"longitude_deg":75.6097408,"latitude_deg":11.948364,"altitude":55,"angle":348,"satellites":38,"speed":8,"hex_longitude":"2d112180","hex_latitude":"071f2cf8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957598464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114659658114793472,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234478909696507904,"note":"Value kept but may cause issues"} 
[2026-04-26 10:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178120000,"timestamp_ms":1777178120000,"timestamp_seconds":1777178120,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8120f40"} 
[2026-04-26 10:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 10:06: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-04-26 10: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-04-26 10:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957598464001,"66":13993,"202":206,"28":31744,"24":8,"16":114659658114793472,"45":1234478909696507904},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-04-26 10:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957598464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114659658114793472,"km_value":114659658114793.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234478909696507904,"description":"Unknown IO ID 45"} 
[2026-04-26 10:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957598464001,"power":13993,"mcc":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1234478909696507904}} 
[2026-04-26 10:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":54542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:06:51] local.INFO: GPS data processed {"connection_id":54542,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:06:51] local.INFO: Acknowledgment sent {"connection_id":54542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:07:13] local.INFO: TCP Data received {"connection_id":54622,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:07:13] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:07:13] local.INFO: IMEI packet received {"connection_id":54622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:07:14] local.INFO: TCP Data received {"connection_id":55291,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:07:14] local.INFO: Processing buffer {"connection_id":55291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:07:14] local.INFO: IMEI packet received {"connection_id":55291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":55291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:07:18] local.INFO: TCP Data received {"connection_id":54622,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:07:18] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:07:18] local.INFO: IMEI packet received {"connection_id":54622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":54622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:07:19] local.INFO: TCP Data received {"connection_id":54622,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8121af8012d112140071f2f800037016727..."} 
[2026-04-26 10:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8121af8012d112140071f2f800037016727..."} 
[2026-04-26 10:07:19] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8121af8012d112140071f2f800037016727..."} 
[2026-04-26 10:07:19] local.INFO: Packet analysis {"connection_id":54622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:07:19] local.INFO: Extracted packet for processing {"connection_id":54622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756097344,"raw_latitude":119484288,"longitude_deg":75.6097344,"latitude_deg":11.9484288,"altitude":55,"angle":359,"satellites":39,"speed":11,"hex_longitude":"2d112140","hex_latitude":"071f2f80","is_valid_coordinates":true} 
[2026-04-26 10:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957598720001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114659688179564544,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234408540952393728,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178123000,"timestamp_ms":1777178123000,"timestamp_seconds":1777178123,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8121af8"} 
[2026-04-26 10:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:07:19] 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-04-26 10:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 10:07:19] 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-04-26 10:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957598720001,"66":13330,"202":206,"28":31744,"24":11,"16":114659688179564544,"45":1234408540952393728},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-04-26 10:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957598720001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114659688179564544,"km_value":114659688179564.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234408540952393728,"description":"Unknown IO ID 45"} 
[2026-04-26 10:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957598720001,"power":13330,"mcc":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1234408540952393728}} 
[2026-04-26 10:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":54622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:07:19] local.INFO: GPS data processed {"connection_id":54622,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:07:19] local.INFO: Acknowledgment sent {"connection_id":54622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:07:20] local.INFO: TCP Data received {"connection_id":55291,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:07:20] local.INFO: Processing buffer {"connection_id":55291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:07:20] local.INFO: IMEI packet received {"connection_id":55291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":55291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:07:20] local.INFO: TCP Data received {"connection_id":55291,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:07:20] local.INFO: Processing buffer {"connection_id":55291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:07:20] local.INFO: Packet analysis {"connection_id":55291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:07:20] local.INFO: Extracted packet for processing {"connection_id":55291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:07: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-04-26 10: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-04-26 10:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:07:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":55291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:07:21] local.INFO: GPS data processed {"connection_id":55291,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:07:21] local.INFO: Acknowledgment sent {"connection_id":55291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:07:50] local.INFO: TCP Data received {"connection_id":54622,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81251a8012d112100071f50100036015a25..."} 
[2026-04-26 10:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81251a8012d112100071f50100036015a25..."} 
[2026-04-26 10:07:50] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81251a8012d112100071f50100036015a25..."} 
[2026-04-26 10:07:50] local.INFO: Packet analysis {"connection_id":54622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:07:50] local.INFO: Extracted packet for processing {"connection_id":54622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc812"} 
[2026-04-26 10:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756097280,"raw_latitude":119492624,"longitude_deg":75.609728,"latitude_deg":11.9492624,"altitude":54,"angle":346,"satellites":37,"speed":26,"hex_longitude":"2d112100","hex_latitude":"071f5010","is_valid_coordinates":true} 
[2026-04-26 10:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957599488001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114660091906490368,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234338172208381952,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777178137000,"timestamp_ms":1777178137000,"timestamp_seconds":1777178137,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81251a8"} 
[2026-04-26 10:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:07:50] 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-04-26 10:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13507708,"corrected_to":0} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":24,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3356621752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3247428758354734992,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":169,"raw_value":57957225008602236,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":302221313,"corrected_to":0} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3226829364954604544,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3888775374,"corrected_to":0} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":255,"raw_value":2684431633,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971815,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-1997345141665710073,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-3890883456313321472,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,202,28,24,241,158,16,90,157,15,45,128,44,55,38,10,66,11,192,7,1,240,169,200,31,4,113,205,12,255,36,104,239,51,2,151,9,17,231,58],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":202,"original":13507708,"validated":0},{"io_id":200,"original":302221313,"validated":0},{"io_id":205,"original":3888775374,"validated":0}]} 
[2026-04-26 10:07:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963562564264853504,"timestamp_seconds":3963562564264853.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957599488001,"66":13472,"202":206,"28":31744,"24":26,"16":114660091906490368,"45":1234338172208381952},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-04-26 10:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957599488001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114660091906490368,"km_value":114660091906490.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234338172208381952,"description":"Unknown IO ID 45"} 
[2026-04-26 10:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957599488001,"power":13472,"mcc":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1234338172208381952}} 
[2026-04-26 10:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":54622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:07:50] local.INFO: GPS data processed {"connection_id":54622,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:07:50] local.INFO: Acknowledgment sent {"connection_id":54622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:07:52] local.INFO: TCP Data received {"connection_id":55291,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:07:52] local.INFO: Processing buffer {"connection_id":55291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:07:52] local.INFO: Packet analysis {"connection_id":55291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:07:52] local.INFO: Extracted packet for processing {"connection_id":55291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 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-04-26 10:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:07:52] 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-04-26 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-04-26 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-04-26 10:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:07:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:07:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":55291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:07:52] local.INFO: GPS data processed {"connection_id":55291,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:07:52] local.INFO: Acknowledgment sent {"connection_id":55291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:08:13] local.INFO: TCP Data received {"connection_id":54545,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:08:13] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:08:13] local.INFO: IMEI packet received {"connection_id":54545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":54545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:08:14] local.INFO: TCP Data received {"connection_id":54544,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:08:14] local.INFO: Processing buffer {"connection_id":54544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:08:14] local.INFO: IMEI packet received {"connection_id":54544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":54544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:08:18] local.INFO: TCP Data received {"connection_id":54545,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:08:18] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:08:18] local.INFO: IMEI packet received {"connection_id":54545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":54545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:08:19] local.INFO: TCP Data received {"connection_id":54544,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:08:19] local.INFO: Processing buffer {"connection_id":54544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:08:19] local.INFO: IMEI packet received {"connection_id":54544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:08:20] local.INFO: TCP Data received {"connection_id":54544,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:08:20] local.INFO: Processing buffer {"connection_id":54544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:08:20] local.INFO: Packet analysis {"connection_id":54544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:08:20] local.INFO: Extracted packet for processing {"connection_id":54544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:08: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-04-26 10: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-04-26 10:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:08:20] 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-04-26 10:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:08:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":54544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:08:20] local.INFO: GPS data processed {"connection_id":54544,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:08:20] local.INFO: Acknowledgment sent {"connection_id":54544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:08:22] local.INFO: TCP Data received {"connection_id":54545,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc813b908012d10ff40071fc708003b013c26..."} 
[2026-04-26 10:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc813b908012d10ff40071fc708003b013c26..."} 
[2026-04-26 10:08:22] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc813b908012d10ff40071fc708003b013c26..."} 
[2026-04-26 10:08:22] local.INFO: Packet analysis {"connection_id":54545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc813"} 
[2026-04-26 10:08:22] local.INFO: Extracted packet for processing {"connection_id":54545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc813"} 
[2026-04-26 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756088640,"raw_latitude":119523080,"longitude_deg":75.608864,"latitude_deg":11.952308,"altitude":59,"angle":316,"satellites":38,"speed":0,"hex_longitude":"2d10ff40","hex_latitude":"071fc708","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957621248001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114661758353801216,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1224908760498458624,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777178229000,"timestamp_ms":1777178229000,"timestamp_seconds":1777178229,"priority":1,"record_length":96,"hex_timestamp":"0000019dc813b908"} 
[2026-04-26 10:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 10:08:22] 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-04-26 10: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-04-26 10:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957621248001,"66":14157,"202":206,"28":31744,"24":0,"16":114661758353801216,"45":1224908760498458624},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,28,24,16,45]} 
[2026-04-26 10:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957621248001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:08:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114661758353801216,"km_value":114661758353801.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1224908760498458624,"description":"Unknown IO ID 45"} 
[2026-04-26 10:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957621248001,"power":14157,"mcc":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1224908760498458624}} 
[2026-04-26 10:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":54545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:08:22] local.INFO: GPS data processed {"connection_id":54545,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:08:22] local.INFO: Acknowledgment sent {"connection_id":54545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:08:52] local.INFO: TCP Data received {"connection_id":54544,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:08:52] local.INFO: Processing buffer {"connection_id":54544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:08:52] local.INFO: Packet analysis {"connection_id":54544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:08:52] local.INFO: Extracted packet for processing {"connection_id":54544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:08:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:08:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:08:52] 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-04-26 10: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-04-26 10:08:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:08: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-04-26 10:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:08:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:08:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:08:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":54544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:08:52] local.INFO: GPS data processed {"connection_id":54544,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:08:52] local.INFO: Acknowledgment sent {"connection_id":54544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:08:56] local.INFO: TCP Data received {"connection_id":54545,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8148fe0012d10e900072027380044014e25..."} 
[2026-04-26 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8148fe0012d10e900072027380044014e25..."} 
[2026-04-26 10:08:56] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8148fe0012d10e900072027380044014e25..."} 
[2026-04-26 10:08:56] local.INFO: Packet analysis {"connection_id":54545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc814"} 
[2026-04-26 10:08:56] local.INFO: Extracted packet for processing {"connection_id":54545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc814"} 
[2026-04-26 10:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756082944,"raw_latitude":119547704,"longitude_deg":75.6082944,"latitude_deg":11.9547704,"altitude":68,"angle":334,"satellites":37,"speed":19,"hex_longitude":"2d10e900","hex_latitude":"07202738","is_valid_coordinates":true} 
[2026-04-26 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957639936001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114663059728891904,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1219701473435346944,"note":"Value kept but may cause issues"} 
[2026-04-26 10:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777178284000,"timestamp_ms":1777178284000,"timestamp_seconds":1777178284,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8148fe0"} 
[2026-04-26 10:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:08:56] 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-04-26 10:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-26 10:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957639936001,"66":13798,"237":206,"28":26880,"24":19,"16":114663059728891904,"45":1219701473435346944},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957639936001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114663059728891904,"km_value":114663059728891.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1219701473435346944,"description":"Unknown IO ID 45"} 
[2026-04-26 10:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957639936001,"power":13798,"unknown_237":206,"unknown_28":26880,"ignition":19,"odometer":null,"unknown_45":1219701473435346944}} 
[2026-04-26 10:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":54545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:08:56] local.INFO: GPS data processed {"connection_id":54545,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:08:56] local.INFO: Acknowledgment sent {"connection_id":54545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:09:05] local.INFO: TCP Data received {"connection_id":54372,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:09:05] local.INFO: Processing buffer {"connection_id":54372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:09:05] local.INFO: IMEI packet received {"connection_id":54372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":54372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:09:14] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:09:14] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:09:14] local.INFO: IMEI packet received {"connection_id":54623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":54623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:09:18] local.INFO: TCP Data received {"connection_id":54373,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:09:18] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:09:18] local.INFO: IMEI packet received {"connection_id":54373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":54373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:09:19] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:09:19] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:09:19] local.INFO: IMEI packet received {"connection_id":54623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:09:20] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:09:20] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:09:20] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:09:20] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:09: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-04-26 10:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:09:20] 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-04-26 10:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:09:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:09:20] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:09:20] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:09:23] local.INFO: TCP Data received {"connection_id":54373,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:09:23] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:09:23] local.INFO: IMEI packet received {"connection_id":54373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":54373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:09:26] local.INFO: TCP Data received {"connection_id":54373,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81493c8012d10e880072029100044016125..."} 
[2026-04-26 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81493c8012d10e880072029100044016125..."} 
[2026-04-26 10:09:26] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81493c8012d10e880072029100044016125..."} 
[2026-04-26 10:09:26] local.INFO: Packet analysis {"connection_id":54373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc814"} 
[2026-04-26 10:09:26] local.INFO: Extracted packet for processing {"connection_id":54373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc814"} 
[2026-04-26 10:09:26] local.INFO: GPS Element Parsed {"raw_longitude":756082816,"raw_latitude":119548176,"longitude_deg":75.6082816,"latitude_deg":11.9548176,"altitude":68,"angle":353,"satellites":37,"speed":18,"hex_longitude":"2d10e880","hex_latitude":"07202910","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:09:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957640704001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114663085498695680,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218505204784642048,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:09:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777178285000,"timestamp_ms":1777178285000,"timestamp_seconds":1777178285,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81493c8"} 
[2026-04-26 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-04-26 10:09:26] 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-04-26 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 10:09: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-04-26 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-04-26 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-04-26 10:09:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:09:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:09:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:09:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:09:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:09:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:09:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:09:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957640704001,"66":13798,"237":206,"28":26880,"24":18,"16":114663085498695680,"45":1218505204784642048},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:09:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:09:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:09:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957640704001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:09:26] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:09:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:09:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114663085498695680,"km_value":114663085498695.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:09:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218505204784642048,"description":"Unknown IO ID 45"} 
[2026-04-26 10:09:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957640704001,"power":13798,"unknown_237":206,"unknown_28":26880,"ignition":18,"odometer":null,"unknown_45":1218505204784642048}} 
[2026-04-26 10:09:26] local.INFO: DEBUG: GPS processor result {"connection_id":54373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:09:26] local.INFO: GPS data processed {"connection_id":54373,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:09:26] local.INFO: Acknowledgment sent {"connection_id":54373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:09:40] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:09:40] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:09:40] local.INFO: IMEI packet received {"connection_id":54624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":54624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:09:51] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:09:51] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8114420012cb299c007822ce0004d001230..."} 
[2026-04-26 10:09:51] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:09:51] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc811"} 
[2026-04-26 10:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957508352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178068000,"timestamp_ms":1777178068000,"timestamp_seconds":1777178068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8114420"} 
[2026-04-26 10:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:09: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-04-26 10: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-04-26 10:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957508352001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957508352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957508352001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:09:51] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:09:51] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:09:58] local.INFO: TCP Data received {"connection_id":54373,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8154778012d10cb8007205cd00037014d23..."} 
[2026-04-26 10:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8154778012d10cb8007205cd00037014d23..."} 
[2026-04-26 10:09:58] local.INFO: Processing buffer {"connection_id":54373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8154778012d10cb8007205cd00037014d23..."} 
[2026-04-26 10:09:58] local.INFO: Packet analysis {"connection_id":54373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:09:58] local.INFO: Extracted packet for processing {"connection_id":54373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756075392,"raw_latitude":119561424,"longitude_deg":75.6075392,"latitude_deg":11.9561424,"altitude":55,"angle":333,"satellites":35,"speed":12,"hex_longitude":"2d10cb80","hex_latitude":"07205cd0","is_valid_coordinates":true} 
[2026-04-26 10:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957652224001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664034686468096,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210694274184290304,"note":"Value kept but may cause issues"} 
[2026-04-26 10:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777178331000,"timestamp_ms":1777178331000,"timestamp_seconds":1777178331,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8154778"} 
[2026-04-26 10:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:09:58] 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-04-26 10:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 10:09:58] 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-04-26 10:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957652224001,"66":13863,"237":206,"28":26880,"24":12,"16":114664034686468096,"45":1210694274184290304},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957652224001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:09:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664034686468096,"km_value":114664034686468.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210694274184290304,"description":"Unknown IO ID 45"} 
[2026-04-26 10:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957652224001,"power":13863,"unknown_237":206,"unknown_28":26880,"ignition":12,"odometer":null,"unknown_45":1210694274184290304}} 
[2026-04-26 10:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":54373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:09:58] local.INFO: GPS data processed {"connection_id":54373,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:09:58] local.INFO: Acknowledgment sent {"connection_id":54373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:10:13] local.INFO: TCP Data received {"connection_id":54546,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:10:13] local.INFO: Processing buffer {"connection_id":54546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:10:13] local.INFO: IMEI packet received {"connection_id":54546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":54546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:10:14] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:10:14] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:10:14] local.INFO: IMEI packet received {"connection_id":54547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:10:19] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:10:19] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:10:19] local.INFO: IMEI packet received {"connection_id":54547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":54547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:10:20] local.INFO: TCP Data received {"connection_id":54546,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:10:20] local.INFO: Processing buffer {"connection_id":54546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:10:20] local.INFO: IMEI packet received {"connection_id":54546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":54546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:10:20] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:10:20] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:10:20] local.INFO: Packet analysis {"connection_id":54547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:20] local.INFO: Extracted packet for processing {"connection_id":54547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:10:20] 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-04-26 10: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-04-26 10:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:10:20] 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-04-26 10:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:10:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":54547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:10:20] local.INFO: GPS data processed {"connection_id":54547,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:10:20] local.INFO: Acknowledgment sent {"connection_id":54547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:10:21] local.INFO: TCP Data received {"connection_id":54546,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81562d0012d10c980072063000036001222..."} 
[2026-04-26 10:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81562d0012d10c980072063000036001222..."} 
[2026-04-26 10:10:21] local.INFO: Processing buffer {"connection_id":54546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81562d0012d10c980072063000036001222..."} 
[2026-04-26 10:10:21] local.INFO: Packet analysis {"connection_id":54546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:21] local.INFO: Extracted packet for processing {"connection_id":54546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:21] local.INFO: GPS Element Parsed {"raw_longitude":756074880,"raw_latitude":119563008,"longitude_deg":75.607488,"latitude_deg":11.9563008,"altitude":54,"angle":18,"satellites":34,"speed":5,"hex_longitude":"2d10c980","hex_latitude":"07206300","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957652736001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664116290846720,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210201692975190016,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777178338000,"timestamp_ms":1777178338000,"timestamp_seconds":1777178338,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81562d0"} 
[2026-04-26 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-04-26 10:10:21] 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-04-26 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 10:10: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-04-26 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-04-26 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-04-26 10:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:10:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957652736001,"66":13820,"237":206,"28":26880,"24":5,"16":114664116290846720,"45":1210201692975190016},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957652736001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:10:21] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:10:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664116290846720,"km_value":114664116290846.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210201692975190016,"description":"Unknown IO ID 45"} 
[2026-04-26 10:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957652736001,"power":13820,"unknown_237":206,"unknown_28":26880,"ignition":5,"odometer":null,"unknown_45":1210201692975190016}} 
[2026-04-26 10:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":54546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:10:22] local.INFO: GPS data processed {"connection_id":54546,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:10:22] local.INFO: Acknowledgment sent {"connection_id":54546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:10:51] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:10:51] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:10:51] local.INFO: Packet analysis {"connection_id":54547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:51] local.INFO: Extracted packet for processing {"connection_id":54547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:10:51] 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-04-26 10: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-04-26 10:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":54547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:10:51] local.INFO: GPS data processed {"connection_id":54547,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:10:51] local.INFO: Acknowledgment sent {"connection_id":54547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:10:53] local.INFO: TCP Data received {"connection_id":54546,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815b4d8012d10ca00072065500034000b23..."} 
[2026-04-26 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815b4d8012d10ca00072065500034000b23..."} 
[2026-04-26 10:10:53] local.INFO: Processing buffer {"connection_id":54546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815b4d8012d10ca00072065500034000b23..."} 
[2026-04-26 10:10:53] local.INFO: Packet analysis {"connection_id":54546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:53] local.INFO: Extracted packet for processing {"connection_id":54546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756075008,"raw_latitude":119563600,"longitude_deg":75.6075008,"latitude_deg":11.95636,"altitude":52,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d10ca00","hex_latitude":"07206550","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957654528001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664150650585088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209638743022174208,"note":"Value kept but may cause issues"} 
[2026-04-26 10:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777178359000,"timestamp_ms":1777178359000,"timestamp_seconds":1777178359,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815b4d8"} 
[2026-04-26 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-04-26 10:10:53] 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-04-26 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:10:53] 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-04-26 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-04-26 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-04-26 10:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957654528001,"66":13820,"237":206,"28":26880,"24":0,"16":114664150650585088,"45":1209638743022174208},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957654528001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:10:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:10:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664150650585088,"km_value":114664150650585.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209638743022174208,"description":"Unknown IO ID 45"} 
[2026-04-26 10:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957654528001,"power":13820,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1209638743022174208}} 
[2026-04-26 10:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":54546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:10:53] local.INFO: GPS data processed {"connection_id":54546,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:10:53] local.INFO: Acknowledgment sent {"connection_id":54546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:11:14] local.INFO: TCP Data received {"connection_id":54625,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:11:14] local.INFO: Processing buffer {"connection_id":54625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:11:14] local.INFO: IMEI packet received {"connection_id":54625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":54625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:11:19] local.INFO: TCP Data received {"connection_id":54625,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:11:19] local.INFO: Processing buffer {"connection_id":54625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:11:19] local.INFO: IMEI packet received {"connection_id":54625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":54625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:11:20] local.INFO: TCP Data received {"connection_id":54625,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:11:20] local.INFO: Processing buffer {"connection_id":54625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:11:20] local.INFO: Packet analysis {"connection_id":54625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:20] local.INFO: Extracted packet for processing {"connection_id":54625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:11:20] 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-04-26 10: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-04-26 10:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:11:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":54625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:11:20] local.INFO: GPS data processed {"connection_id":54625,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:11:20] local.INFO: Acknowledgment sent {"connection_id":54625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:11:22] local.INFO: TCP Data received {"connection_id":55292,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:11:22] local.INFO: Processing buffer {"connection_id":55292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:11:22] local.INFO: IMEI packet received {"connection_id":55292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":55292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:11:23] local.INFO: TCP Data received {"connection_id":55292,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:11:23] local.INFO: Processing buffer {"connection_id":55292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:11:23] local.INFO: IMEI packet received {"connection_id":55292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":55292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:11:24] local.INFO: TCP Data received {"connection_id":55292,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815d030012d10ca00072065b80034002223..."} 
[2026-04-26 10:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815d030012d10ca00072065b80034002223..."} 
[2026-04-26 10:11:24] local.INFO: Processing buffer {"connection_id":55292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815d030012d10ca00072065b80034002223..."} 
[2026-04-26 10:11:24] local.INFO: Packet analysis {"connection_id":55292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:24] local.INFO: Extracted packet for processing {"connection_id":55292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756075008,"raw_latitude":119563704,"longitude_deg":75.6075008,"latitude_deg":11.9563704,"altitude":52,"angle":34,"satellites":35,"speed":2,"hex_longitude":"2d10ca00","hex_latitude":"072065b8","is_valid_coordinates":true} 
[2026-04-26 10:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957659904001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664154945552384,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209779480510681088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777178366000,"timestamp_ms":1777178366000,"timestamp_seconds":1777178366,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815d030"} 
[2026-04-26 10:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:11:24] 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-04-26 10:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957659904001,"66":13863,"237":206,"28":26880,"24":2,"16":114664154945552384,"45":1209779480510681088},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957659904001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:11:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:11:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664154945552384,"km_value":114664154945552.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209779480510681088,"description":"Unknown IO ID 45"} 
[2026-04-26 10:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957659904001,"power":13863,"unknown_237":206,"unknown_28":26880,"ignition":2,"odometer":null,"unknown_45":1209779480510681088}} 
[2026-04-26 10:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":55292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:11:24] local.INFO: GPS data processed {"connection_id":55292,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:11:24] local.INFO: Acknowledgment sent {"connection_id":55292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:11:29] local.INFO: TCP Data received {"connection_id":55292,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815e3b8012d10ca80072066400034001424..."} 
[2026-04-26 10:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815e3b8012d10ca80072066400034001424..."} 
[2026-04-26 10:11:29] local.INFO: Processing buffer {"connection_id":55292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815e3b8012d10ca80072066400034001424..."} 
[2026-04-26 10:11:29] local.INFO: Packet analysis {"connection_id":55292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:29] local.INFO: Extracted packet for processing {"connection_id":55292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:29] local.INFO: GPS Element Parsed {"raw_longitude":756075136,"raw_latitude":119563840,"longitude_deg":75.6075136,"latitude_deg":11.956384,"altitude":52,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d10ca80","hex_latitude":"07206640","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957661696001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664163535486976,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209779480510707712,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777178371000,"timestamp_ms":1777178371000,"timestamp_seconds":1777178371,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815e3b8"} 
[2026-04-26 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-04-26 10:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 10:11:29] 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-04-26 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-04-26 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-04-26 10:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957661696001,"66":13928,"237":206,"28":26880,"24":0,"16":114664163535486976,"45":1209779480510707712},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957661696001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:11:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664163535486976,"km_value":114664163535486.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209779480510707712,"description":"Unknown IO ID 45"} 
[2026-04-26 10:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957661696001,"power":13928,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1209779480510707712}} 
[2026-04-26 10:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":55292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:11:29] local.INFO: GPS data processed {"connection_id":55292,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:11:29] local.INFO: Acknowledgment sent {"connection_id":55292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:11:51] local.INFO: TCP Data received {"connection_id":54625,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:11:51] local.INFO: Processing buffer {"connection_id":54625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:11:51] local.INFO: Packet analysis {"connection_id":54625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:51] local.INFO: Extracted packet for processing {"connection_id":54625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:11:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:11:51] 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-04-26 10: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-04-26 10:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:11:51] 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-04-26 10:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:11:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":54625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:11:51] local.INFO: GPS data processed {"connection_id":54625,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:11:51] local.INFO: Acknowledgment sent {"connection_id":54625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:12:13] local.INFO: TCP Data received {"connection_id":54626,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:12:13] local.INFO: Processing buffer {"connection_id":54626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:12:13] local.INFO: IMEI packet received {"connection_id":54626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":54626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:12:14] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:12:14] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:12:14] local.INFO: IMEI packet received {"connection_id":54627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":54627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:12:18] local.INFO: TCP Data received {"connection_id":54626,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:12:18] local.INFO: Processing buffer {"connection_id":54626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:12:18] local.INFO: IMEI packet received {"connection_id":54626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":54626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:12:19] local.INFO: TCP Data received {"connection_id":54626,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81635c0012d10cac0072066500034001424..."} 
[2026-04-26 10:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81635c0012d10cac0072066500034001424..."} 
[2026-04-26 10:12:19] local.INFO: Processing buffer {"connection_id":54626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81635c0012d10cac0072066500034001424..."} 
[2026-04-26 10:12:19] local.INFO: Packet analysis {"connection_id":54626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:12:19] local.INFO: Extracted packet for processing {"connection_id":54626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756075200,"raw_latitude":119563856,"longitude_deg":75.60752,"latitude_deg":11.9563856,"altitude":52,"angle":20,"satellites":36,"speed":0,"hex_longitude":"2d10cac0","hex_latitude":"07206650","is_valid_coordinates":true} 
[2026-04-26 10:12: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-04-26 10:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662976001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664167830454272,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209920217999097856,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178392000,"timestamp_ms":1777178392000,"timestamp_seconds":1777178392,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81635c0"} 
[2026-04-26 10:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:12:19] 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-04-26 10:12: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":104,"data_length":795,"current_offset":136} 
[2026-04-26 10:12:19] 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-04-26 10:12: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-04-26 10:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662976001,"66":13972,"237":206,"28":26880,"24":0,"16":114664167830454272,"45":1209920217999097856},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662976001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:12:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664167830454272,"km_value":114664167830454.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209920217999097856,"description":"Unknown IO ID 45"} 
[2026-04-26 10:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662976001,"power":13972,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1209920217999097856}} 
[2026-04-26 10:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":54626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:12:19] local.INFO: GPS data processed {"connection_id":54626,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:12:19] local.INFO: Acknowledgment sent {"connection_id":54626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:12:20] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:12:20] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:12:20] local.INFO: IMEI packet received {"connection_id":54627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":54627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:12:22] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:12:22] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:12:22] local.INFO: Packet analysis {"connection_id":54627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:12:22] local.INFO: Extracted packet for processing {"connection_id":54627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 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-04-26 10:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:12:22] 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-04-26 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-04-26 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-04-26 10:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10: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-04-26 10:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:12:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":54627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:12:22] local.INFO: GPS data processed {"connection_id":54627,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:12:22] local.INFO: Acknowledgment sent {"connection_id":54627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:12:51] local.INFO: TCP Data received {"connection_id":54626,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8164d30012d10cbc0072066300033006524..."} 
[2026-04-26 10:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8164d30012d10cbc0072066300033006524..."} 
[2026-04-26 10:12:51] local.INFO: Processing buffer {"connection_id":54626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8164d30012d10cbc0072066300033006524..."} 
[2026-04-26 10:12:51] local.INFO: Packet analysis {"connection_id":54626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:12:51] local.INFO: Extracted packet for processing {"connection_id":54626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756075456,"raw_latitude":119563824,"longitude_deg":75.6075456,"latitude_deg":11.9563824,"altitude":51,"angle":101,"satellites":36,"speed":2,"hex_longitude":"2d10cbc0","hex_latitude":"07206630","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957668352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664180715356160,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1209990586743279616,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178398000,"timestamp_ms":1777178398000,"timestamp_seconds":1777178398,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8164d30"} 
[2026-04-26 10:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 10:12: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-04-26 10: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-04-26 10:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957668352001,"66":14428,"237":206,"28":26880,"24":2,"16":114664180715356160,"45":1209990586743279616},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957668352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:12:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:12:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664180715356160,"km_value":114664180715356.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1209990586743279616,"description":"Unknown IO ID 45"} 
[2026-04-26 10:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957668352001,"power":14428,"unknown_237":206,"unknown_28":26880,"ignition":2,"odometer":null,"unknown_45":1209990586743279616}} 
[2026-04-26 10:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":54626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:12:51] local.INFO: GPS data processed {"connection_id":54626,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:12:51] local.INFO: Acknowledgment sent {"connection_id":54626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:12:53] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:12:53] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:12:53] local.INFO: Packet analysis {"connection_id":54627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:12:53] local.INFO: Extracted packet for processing {"connection_id":54627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:12:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:12:53] 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-04-26 10: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-04-26 10:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10: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-04-26 10:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:12:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":54627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:12:53] local.INFO: GPS data processed {"connection_id":54627,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:12:53] local.INFO: Acknowledgment sent {"connection_id":54627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:13:13] local.INFO: TCP Data received {"connection_id":55294,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:13:13] local.INFO: Processing buffer {"connection_id":55294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:13:13] local.INFO: IMEI packet received {"connection_id":55294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":55294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:13:14] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:13:14] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:13:14] local.INFO: IMEI packet received {"connection_id":54375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:13:18] local.INFO: TCP Data received {"connection_id":55294,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:13:18] local.INFO: Processing buffer {"connection_id":55294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:13:18] local.INFO: IMEI packet received {"connection_id":55294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":55294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:13:19] local.INFO: TCP Data received {"connection_id":55294,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8165500012d10cd80072066580033005824..."} 
[2026-04-26 10:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8165500012d10cd80072066580033005824..."} 
[2026-04-26 10:13:19] local.INFO: Processing buffer {"connection_id":55294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8165500012d10cd80072066580033005824..."} 
[2026-04-26 10:13:19] local.INFO: Packet analysis {"connection_id":55294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:13:19] local.INFO: Extracted packet for processing {"connection_id":55294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756075904,"raw_latitude":119563864,"longitude_deg":75.6075904,"latitude_deg":11.9563864,"altitude":51,"angle":88,"satellites":36,"speed":10,"hex_longitude":"2d10cd80","hex_latitude":"07206658","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957669888001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664202190192640,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210272061719982080,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178400000,"timestamp_ms":1777178400000,"timestamp_seconds":1777178400,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8165500"} 
[2026-04-26 10:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:13:19] 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-04-26 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957669888001,"66":14233,"237":206,"28":26880,"24":10,"16":114664202190192640,"45":1210272061719982080},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957669888001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:13:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664202190192640,"km_value":114664202190192.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210272061719982080,"description":"Unknown IO ID 45"} 
[2026-04-26 10:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957669888001,"power":14233,"unknown_237":206,"unknown_28":26880,"ignition":10,"odometer":null,"unknown_45":1210272061719982080}} 
[2026-04-26 10:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":55294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:13:19] local.INFO: GPS data processed {"connection_id":55294,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:13:19] local.INFO: Acknowledgment sent {"connection_id":55294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:13:19] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:13:19] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:13:19] local.INFO: IMEI packet received {"connection_id":54375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:13:20] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:13:20] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:13:20] local.INFO: Packet analysis {"connection_id":54375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:13:20] local.INFO: Extracted packet for processing {"connection_id":54375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:13:20] 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-04-26 10: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-04-26 10:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:13: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-04-26 10:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:13:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":54375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:13:20] local.INFO: GPS data processed {"connection_id":54375,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:13:20] local.INFO: Acknowledgment sent {"connection_id":54375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:13:51] local.INFO: TCP Data received {"connection_id":55294,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8169768012d10d600072066500034010824..."} 
[2026-04-26 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8169768012d10d600072066500034010824..."} 
[2026-04-26 10:13:51] local.INFO: Processing buffer {"connection_id":55294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8169768012d10d600072066500034010824..."} 
[2026-04-26 10:13:51] local.INFO: Packet analysis {"connection_id":55294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:13:51] local.INFO: Extracted packet for processing {"connection_id":55294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756078080,"raw_latitude":119563856,"longitude_deg":75.607808,"latitude_deg":11.9563856,"altitude":52,"angle":264,"satellites":36,"speed":2,"hex_longitude":"2d10d600","hex_latitude":"07206650","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957670400001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664331039211520,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1210764642929235968,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178417000,"timestamp_ms":1777178417000,"timestamp_seconds":1777178417,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8169768"} 
[2026-04-26 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-04-26 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-26 10:13: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-04-26 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-04-26 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-04-26 10:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957670400001,"66":13852,"237":206,"28":26880,"24":2,"16":114664331039211520,"45":1210764642929235968},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957670400001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664331039211520,"km_value":114664331039211.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1210764642929235968,"description":"Unknown IO ID 45"} 
[2026-04-26 10:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957670400001,"power":13852,"unknown_237":206,"unknown_28":26880,"ignition":2,"odometer":null,"unknown_45":1210764642929235968}} 
[2026-04-26 10:13:51] local.INFO: TCP Data received {"connection_id":54375,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:13:51] local.INFO: Processing buffer {"connection_id":54375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:13:51] local.INFO: Packet analysis {"connection_id":54375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:13:51] local.INFO: Extracted packet for processing {"connection_id":54375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 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-04-26 10:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:13:51] 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-04-26 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-04-26 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-04-26 10:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":54375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:13:51] local.INFO: GPS data processed {"connection_id":54375,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:13:51] local.INFO: Acknowledgment sent {"connection_id":54375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":55294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:13:51] local.INFO: GPS data processed {"connection_id":55294,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:13:51] local.INFO: Acknowledgment sent {"connection_id":55294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:14:14] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:14:14] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:14:14] local.INFO: IMEI packet received {"connection_id":54377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":54377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:14:18] local.INFO: TCP Data received {"connection_id":54376,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:14:18] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:14:18] local.INFO: IMEI packet received {"connection_id":54376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":54376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:14:19] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:14:19] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:14:19] local.INFO: IMEI packet received {"connection_id":54377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":54377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:14:20] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:14:20] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:14:20] local.INFO: Packet analysis {"connection_id":54377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:14:20] local.INFO: Extracted packet for processing {"connection_id":54377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:14:20] 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-04-26 10: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-04-26 10:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:14:20] 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-04-26 10:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:14:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":54377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:14:20] local.INFO: GPS data processed {"connection_id":54377,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:14:20] local.INFO: Acknowledgment sent {"connection_id":54377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:14:23] local.INFO: TCP Data received {"connection_id":54376,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:14:23] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:14:23] local.INFO: IMEI packet received {"connection_id":54376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":54376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:14:24] local.INFO: TCP Data received {"connection_id":54376,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc816aaf0012d10d600072066600034004723..."} 
[2026-04-26 10:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc816aaf0012d10d600072066600034004723..."} 
[2026-04-26 10:14:24] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc816aaf0012d10d600072066600034004723..."} 
[2026-04-26 10:14:24] local.INFO: Packet analysis {"connection_id":54376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:14:24] local.INFO: Extracted packet for processing {"connection_id":54376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756078080,"raw_latitude":119563872,"longitude_deg":75.607808,"latitude_deg":11.9563872,"altitude":52,"angle":71,"satellites":35,"speed":0,"hex_longitude":"2d10d600","hex_latitude":"07206660","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957674752001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664339629146112,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213157180231274496,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777178422000,"timestamp_ms":1777178422000,"timestamp_seconds":1777178422,"priority":1,"record_length":96,"hex_timestamp":"0000019dc816aaf0"} 
[2026-04-26 10:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 10:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957674752001,"66":14396,"237":206,"28":26880,"24":0,"16":114664339629146112,"45":1213157180231274496},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957674752001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:14:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:14:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664339629146112,"km_value":114664339629146.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213157180231274496,"description":"Unknown IO ID 45"} 
[2026-04-26 10:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957674752001,"power":14396,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1213157180231274496}} 
[2026-04-26 10:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":54376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:14:24] local.INFO: GPS data processed {"connection_id":54376,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:14:24] local.INFO: Acknowledgment sent {"connection_id":54376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:14:29] local.INFO: TCP Data received {"connection_id":54376,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc816d9d0012d10d800072066600034006023..."} 
[2026-04-26 10:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc816d9d0012d10d800072066600034006023..."} 
[2026-04-26 10:14:29] local.INFO: Processing buffer {"connection_id":54376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc816d9d0012d10d800072066600034006023..."} 
[2026-04-26 10:14:29] local.INFO: Packet analysis {"connection_id":54376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:14:29] local.INFO: Extracted packet for processing {"connection_id":54376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756078592,"raw_latitude":119563872,"longitude_deg":75.6078592,"latitude_deg":11.9563872,"altitude":52,"angle":96,"satellites":35,"speed":2,"hex_longitude":"2d10d800","hex_latitude":"07206660","is_valid_coordinates":true} 
[2026-04-26 10:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664361103982592,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213157180231278592,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777178434000,"timestamp_ms":1777178434000,"timestamp_seconds":1777178434,"priority":1,"record_length":96,"hex_timestamp":"0000019dc816d9d0"} 
[2026-04-26 10:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 10:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957676032001,"66":13852,"237":206,"28":26880,"24":2,"16":114664361103982592,"45":1213157180231278592},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:14:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:14:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664361103982592,"km_value":114664361103982.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213157180231278592,"description":"Unknown IO ID 45"} 
[2026-04-26 10:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957676032001,"power":13852,"unknown_237":206,"unknown_28":26880,"ignition":2,"odometer":null,"unknown_45":1213157180231278592}} 
[2026-04-26 10:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":54376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:14:29] local.INFO: GPS data processed {"connection_id":54376,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:14:29] local.INFO: Acknowledgment sent {"connection_id":54376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:14:51] local.INFO: TCP Data received {"connection_id":54377,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:14:51] local.INFO: Processing buffer {"connection_id":54377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc815dbe8012cb299c007822ce0004c001231..."} 
[2026-04-26 10:14:51] local.INFO: Packet analysis {"connection_id":54377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:14:51] local.INFO: Extracted packet for processing {"connection_id":54377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc815"} 
[2026-04-26 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957585408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178369000,"timestamp_ms":1777178369000,"timestamp_seconds":1777178369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc815dbe8"} 
[2026-04-26 10:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:14:51] 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-04-26 10: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-04-26 10:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957585408001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957585408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:14:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957585408001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":54377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:14:51] local.INFO: GPS data processed {"connection_id":54377,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:14:51] local.INFO: Acknowledgment sent {"connection_id":54377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:15:05] local.INFO: TCP Data received {"connection_id":54549,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:05] local.INFO: Processing buffer {"connection_id":54549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:05] local.INFO: IMEI packet received {"connection_id":54549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":54549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:15:13] local.INFO: TCP Data received {"connection_id":55295,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:15:13] local.INFO: Processing buffer {"connection_id":55295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:15:13] local.INFO: IMEI packet received {"connection_id":55295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":55295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:15:14] local.INFO: TCP Data received {"connection_id":55296,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:15:14] local.INFO: Processing buffer {"connection_id":55296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:15:14] local.INFO: IMEI packet received {"connection_id":55296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":55296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:15:18] local.INFO: TCP Data received {"connection_id":55295,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55295,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:15:18] local.INFO: Processing buffer {"connection_id":55295,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:15:18] local.INFO: IMEI packet received {"connection_id":55295,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":55295,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:15:19] local.INFO: TCP Data received {"connection_id":55295,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc816ddb8012d10d880072066800034005223..."} 
[2026-04-26 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc816ddb8012d10d880072066800034005223..."} 
[2026-04-26 10:15:19] local.INFO: Processing buffer {"connection_id":55295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc816ddb8012d10d880072066800034005223..."} 
[2026-04-26 10:15:19] local.INFO: Packet analysis {"connection_id":55295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:15:19] local.INFO: Extracted packet for processing {"connection_id":55295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc816"} 
[2026-04-26 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756078720,"raw_latitude":119563904,"longitude_deg":75.607872,"latitude_deg":11.9563904,"altitude":52,"angle":82,"satellites":35,"speed":8,"hex_longitude":"2d10d880","hex_latitude":"07206680","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957679104001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664365398949888,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213720130184699904,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178435000,"timestamp_ms":1777178435000,"timestamp_seconds":1777178435,"priority":1,"record_length":96,"hex_timestamp":"0000019dc816ddb8"} 
[2026-04-26 10:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:15:19] 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-04-26 10: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 10:15:19] 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-04-26 10: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-04-26 10:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957679104001,"66":13852,"237":206,"28":26880,"24":8,"16":114664365398949888,"45":1213720130184699904},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957679104001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:15:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:15:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664365398949888,"km_value":114664365398949.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213720130184699904,"description":"Unknown IO ID 45"} 
[2026-04-26 10:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957679104001,"power":13852,"unknown_237":206,"unknown_28":26880,"ignition":8,"odometer":null,"unknown_45":1213720130184699904}} 
[2026-04-26 10:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":55295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:15:19] local.INFO: GPS data processed {"connection_id":55295,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:15:19] local.INFO: Acknowledgment sent {"connection_id":55295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:15:19] local.INFO: TCP Data received {"connection_id":55296,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:15:19] local.INFO: Processing buffer {"connection_id":55296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:15:19] local.INFO: IMEI packet received {"connection_id":55296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":55296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:15:20] local.INFO: TCP Data received {"connection_id":55296,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:15:20] local.INFO: Processing buffer {"connection_id":55296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:15:20] local.INFO: Packet analysis {"connection_id":55296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:15:20] local.INFO: Extracted packet for processing {"connection_id":55296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:15: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-04-26 10: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-04-26 10:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:15: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-04-26 10:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:15:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":55296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:15:20] local.INFO: GPS data processed {"connection_id":55296,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:15:20] local.INFO: Acknowledgment sent {"connection_id":55296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:15:40] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:40] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:40] local.INFO: IMEI packet received {"connection_id":54629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":54629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:15:45] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:45] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:15:45] local.INFO: IMEI packet received {"connection_id":54629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 10:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":54629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:15:46] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc7edce00012cb29ac007822f68004d009627..."} 
[2026-04-26 10:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc7edce00012cb29ac007822f68004d009627..."} 
[2026-04-26 10:15:46] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc7edce00012cb29ac007822f68004d009627..."} 
[2026-04-26 10:15:46] local.INFO: Packet analysis {"connection_id":54629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc7ed"} 
[2026-04-26 10:15:46] local.INFO: Extracted packet for processing {"connection_id":54629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc7ed"} 
[2026-04-26 10:15:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972328,"longitude_deg":74.9902528,"latitude_deg":12.5972328,"altitude":77,"angle":150,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822f68","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454956913408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063489024,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777175744000,"timestamp_ms":1777175744000,"timestamp_seconds":1777175744,"priority":1,"record_length":96,"hex_timestamp":"0000019dc7edce00"} 
[2026-04-26 10:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 10:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 10:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 10:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 10:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 10:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454956913408001,"66":25125,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063489024},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 10:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 10:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 10:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454956913408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:15:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 10:15:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 10:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:15:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063489024,"description":"Unknown IO ID 44"} 
[2026-04-26 10:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454956913408001,"power":25125,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063489024}} 
[2026-04-26 10:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":54629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:15:46] local.INFO: GPS data processed {"connection_id":54629,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:15:46] local.INFO: Acknowledgment sent {"connection_id":54629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:15:51] local.INFO: TCP Data received {"connection_id":55295,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8172408012d10f040072068a80032003823..."} 
[2026-04-26 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8172408012d10f040072068a80032003823..."} 
[2026-04-26 10:15:51] local.INFO: Processing buffer {"connection_id":55295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8172408012d10f040072068a80032003823..."} 
[2026-04-26 10:15:51] local.INFO: Packet analysis {"connection_id":55295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:15:51] local.INFO: Extracted packet for processing {"connection_id":55295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756084800,"raw_latitude":119564456,"longitude_deg":75.60848,"latitude_deg":11.9564456,"altitude":50,"angle":56,"satellites":35,"speed":6,"hex_longitude":"2d10f040","hex_latitude":"072068a8","is_valid_coordinates":true} 
[2026-04-26 10:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957679360001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664657456726016,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1213860867673063424,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178453000,"timestamp_ms":1777178453000,"timestamp_seconds":1777178453,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8172408"} 
[2026-04-26 10:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 10:15:51] 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-04-26 10:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55295,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957679360001,"66":12765,"237":206,"28":26880,"24":6,"16":114664657456726016,"45":1213860867673063424},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957679360001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664657456726016,"km_value":114664657456726.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1213860867673063424,"description":"Unknown IO ID 45"} 
[2026-04-26 10:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957679360001,"power":12765,"unknown_237":206,"unknown_28":26880,"ignition":6,"odometer":null,"unknown_45":1213860867673063424}} 
[2026-04-26 10:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":55295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:15:51] local.INFO: GPS data processed {"connection_id":55295,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:15:51] local.INFO: Acknowledgment sent {"connection_id":55295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:15:51] local.INFO: TCP Data received {"connection_id":55296,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:15:51] local.INFO: Processing buffer {"connection_id":55296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:15:51] local.INFO: Packet analysis {"connection_id":55296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:15:51] local.INFO: Extracted packet for processing {"connection_id":55296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:15: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-04-26 10:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":55296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:15:51] local.INFO: GPS data processed {"connection_id":55296,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:15:51] local.INFO: Acknowledgment sent {"connection_id":55296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:16:13] local.INFO: TCP Data received {"connection_id":54550,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:16:13] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:16:13] local.INFO: IMEI packet received {"connection_id":54550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":54550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:16:14] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:16:14] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:16:14] local.INFO: IMEI packet received {"connection_id":54630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":54630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:16:18] local.INFO: TCP Data received {"connection_id":54550,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:16:18] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:16:18] local.INFO: IMEI packet received {"connection_id":54550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":54550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:16:19] local.INFO: TCP Data received {"connection_id":54550,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:16:19] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:16:19] local.INFO: Packet analysis {"connection_id":54550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:16:19] local.INFO: Extracted packet for processing {"connection_id":54550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756085376,"raw_latitude":119564720,"longitude_deg":75.6085376,"latitude_deg":11.956472,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10f280","hex_latitude":"072069b0","is_valid_coordinates":true} 
[2026-04-26 10:16:19] 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-04-26 10:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957683968001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220545898370082816,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178457000,"timestamp_ms":1777178457000,"timestamp_seconds":1777178457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81733a8"} 
[2026-04-26 10:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:16:19] 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-04-26 10:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-26 10:16:19] 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-04-26 10:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957683968001,"66":12841,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220545898370082816},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957683968001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:16:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220545898370082816,"description":"Unknown IO ID 45"} 
[2026-04-26 10:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957683968001,"power":12841,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220545898370082816}} 
[2026-04-26 10:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":54550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:16:19] local.INFO: GPS data processed {"connection_id":54550,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:16:19] local.INFO: Acknowledgment sent {"connection_id":54550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:16:19] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:16:19] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:16:19] local.INFO: IMEI packet received {"connection_id":54630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:16:20] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:16:20] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:16:20] local.INFO: Packet analysis {"connection_id":54630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:16:20] local.INFO: Extracted packet for processing {"connection_id":54630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:16: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-04-26 10: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-04-26 10:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:16:20] 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-04-26 10:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:16:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:16:20] local.INFO: GPS data processed {"connection_id":54630,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:16:20] local.INFO: Acknowledgment sent {"connection_id":54630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:16:30] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:16:30] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:16:30] local.INFO: IMEI packet received {"connection_id":54551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":54551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:16:50] local.INFO: TCP Data received {"connection_id":54550,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:16:50] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:16:50] local.INFO: Packet analysis {"connection_id":54550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:16:50] local.INFO: Extracted packet for processing {"connection_id":54550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756085376,"raw_latitude":119564720,"longitude_deg":75.6085376,"latitude_deg":11.956472,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10f280","hex_latitude":"072069b0","is_valid_coordinates":true} 
[2026-04-26 10:16:50] 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-04-26 10:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777178457000,"timestamp_ms":1777178457000,"timestamp_seconds":1777178457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81733a8"} 
[2026-04-26 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-04-26 10:16:50] 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-04-26 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:16:50] 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-04-26 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-04-26 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-04-26 10:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":12841,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:16:50] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:16:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":12841,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":54550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:16:50] local.INFO: GPS data processed {"connection_id":54550,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:16:50] local.INFO: Acknowledgment sent {"connection_id":54550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:16:51] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:16:51] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:16:51] local.INFO: Packet analysis {"connection_id":54630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:16:51] local.INFO: Extracted packet for processing {"connection_id":54630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:16: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-04-26 10: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-04-26 10:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:16:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":54630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:16:51] local.INFO: GPS data processed {"connection_id":54630,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:16:51] local.INFO: Acknowledgment sent {"connection_id":54630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:17:14] local.INFO: TCP Data received {"connection_id":55298,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:17:14] local.INFO: Processing buffer {"connection_id":55298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:17:14] local.INFO: IMEI packet received {"connection_id":55298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":55298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:17:18] local.INFO: TCP Data received {"connection_id":55297,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:17:18] local.INFO: Processing buffer {"connection_id":55297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:17:18] local.INFO: IMEI packet received {"connection_id":55297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":55297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:17:19] local.INFO: TCP Data received {"connection_id":55298,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:17:19] local.INFO: Processing buffer {"connection_id":55298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:17:19] local.INFO: IMEI packet received {"connection_id":55298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":55298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:17:20] local.INFO: TCP Data received {"connection_id":55298,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:17:20] local.INFO: Processing buffer {"connection_id":55298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:17:20] local.INFO: Packet analysis {"connection_id":55298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:17:20] local.INFO: Extracted packet for processing {"connection_id":55298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:17: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-04-26 10: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-04-26 10:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:17:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":55298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:17:20] local.INFO: GPS data processed {"connection_id":55298,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:17:20] local.INFO: Acknowledgment sent {"connection_id":55298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:17:23] local.INFO: TCP Data received {"connection_id":55297,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55297,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:17:23] local.INFO: Processing buffer {"connection_id":55297,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:17:23] local.INFO: IMEI packet received {"connection_id":55297,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":55297,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:17:24] local.INFO: TCP Data received {"connection_id":55297,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:17:24] local.INFO: Processing buffer {"connection_id":55297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81733a8012d10f280072069b00031003b23..."} 
[2026-04-26 10:17:24] local.INFO: Packet analysis {"connection_id":55297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:17:24] local.INFO: Extracted packet for processing {"connection_id":55297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc817"} 
[2026-04-26 10:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756085376,"raw_latitude":119564720,"longitude_deg":75.6085376,"latitude_deg":11.956472,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10f280","hex_latitude":"072069b0","is_valid_coordinates":true} 
[2026-04-26 10:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777178457000,"timestamp_ms":1777178457000,"timestamp_seconds":1777178457,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81733a8"} 
[2026-04-26 10:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:17: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-04-26 10:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:17:24] 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-04-26 10:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":12841,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:17:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:17:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":12841,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":55297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:17:24] local.INFO: GPS data processed {"connection_id":55297,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:17:24] local.INFO: Acknowledgment sent {"connection_id":55297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:17:29] local.INFO: TCP Data received {"connection_id":55297,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:17:29] local.INFO: Processing buffer {"connection_id":55297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:17:29] local.INFO: Packet analysis {"connection_id":55297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:17:29] local.INFO: Extracted packet for processing {"connection_id":55297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:17:29] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:17:29] 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-04-26 10:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55297,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:17:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:17:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":55297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:17:29] local.INFO: GPS data processed {"connection_id":55297,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:17:29] local.INFO: Acknowledgment sent {"connection_id":55297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:17:51] local.INFO: TCP Data received {"connection_id":55298,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:17:51] local.INFO: Processing buffer {"connection_id":55298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:17:51] local.INFO: Packet analysis {"connection_id":55298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:17:51] local.INFO: Extracted packet for processing {"connection_id":55298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:17: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-04-26 10: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-04-26 10:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":55298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:17:51] local.INFO: GPS data processed {"connection_id":55298,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:17:51] local.INFO: Acknowledgment sent {"connection_id":55298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:18:13] local.INFO: TCP Data received {"connection_id":54552,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:18:13] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:18:13] local.INFO: IMEI packet received {"connection_id":54552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":54552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:18:14] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:18:14] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:18:14] local.INFO: IMEI packet received {"connection_id":54553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:18:18] local.INFO: TCP Data received {"connection_id":54552,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:18:18] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:18:18] local.INFO: IMEI packet received {"connection_id":54552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":54552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:18:19] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:18:19] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:18:19] local.INFO: IMEI packet received {"connection_id":54553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":54553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:18:19] local.INFO: TCP Data received {"connection_id":54552,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:18:19] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:18:19] local.INFO: Packet analysis {"connection_id":54552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:18:19] local.INFO: Extracted packet for processing {"connection_id":54552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:18:19] 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-04-26 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:18:19] 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-04-26 10: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-04-26 10:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:18:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:18:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":54552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:18:19] local.INFO: GPS data processed {"connection_id":54552,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:18:19] local.INFO: Acknowledgment sent {"connection_id":54552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:18:20] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:18:20] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:18:20] local.INFO: Packet analysis {"connection_id":54553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:18:20] local.INFO: Extracted packet for processing {"connection_id":54553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:18: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-04-26 10: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-04-26 10:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10: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-04-26 10:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:18:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":54553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:18:20] local.INFO: GPS data processed {"connection_id":54553,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:18:20] local.INFO: Acknowledgment sent {"connection_id":54553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:18:51] local.INFO: TCP Data received {"connection_id":54552,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:18:51] local.INFO: Processing buffer {"connection_id":54552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:18:51] local.INFO: Packet analysis {"connection_id":54552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:18:51] local.INFO: Extracted packet for processing {"connection_id":54552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:18:51] 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-04-26 10: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:18:51] 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-04-26 10: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-04-26 10:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":54552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:18:51] local.INFO: GPS data processed {"connection_id":54552,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:18:51] local.INFO: Acknowledgment sent {"connection_id":54552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:18:51] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:18:51] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:18:51] local.INFO: Packet analysis {"connection_id":54553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:18:51] local.INFO: Extracted packet for processing {"connection_id":54553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:18: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-04-26 10: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-04-26 10:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:18: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-04-26 10:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":54553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:18:51] local.INFO: GPS data processed {"connection_id":54553,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:18:51] local.INFO: Acknowledgment sent {"connection_id":54553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:19:11] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:11] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:11] local.INFO: IMEI packet received {"connection_id":54378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":54378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:19:12] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:12] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:12] local.INFO: IMEI packet received {"connection_id":54378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":54378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:19:13] local.INFO: TCP Data received {"connection_id":55299,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:19:13] local.INFO: Processing buffer {"connection_id":55299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:19:13] local.INFO: IMEI packet received {"connection_id":55299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":55299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:19:16] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:16] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:19:16] local.INFO: IMEI packet received {"connection_id":54378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":54378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:19:18] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 10:19:18] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 10:19:18] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 10:19:18] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 10:19:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 10:19:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:19:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 10:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 10:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 10:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 10:19:18] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 10:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 10:19:18] local.ERROR: GPS data processing failed {"connection_id":54378,"error":"No valid data to process"} 
[2026-04-26 10:19:18] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 10:19:18] local.INFO: TCP Data received {"connection_id":55299,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:19:18] local.INFO: Processing buffer {"connection_id":55299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:19:18] local.INFO: IMEI packet received {"connection_id":55299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":55299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:19:19] local.INFO: TCP Data received {"connection_id":55299,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:19:19] local.INFO: Processing buffer {"connection_id":55299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:19:19] local.INFO: Packet analysis {"connection_id":55299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:19:19] local.INFO: Extracted packet for processing {"connection_id":55299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:19:19] 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-04-26 10:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:19:19] 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-04-26 10:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:19:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":55299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:19:19] local.INFO: GPS data processed {"connection_id":55299,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:19:19] local.INFO: Acknowledgment sent {"connection_id":55299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:19:19] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:19:19] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:19:19] local.INFO: IMEI packet received {"connection_id":54379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":54379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:19:24] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:19:24] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:19:24] local.INFO: IMEI packet received {"connection_id":54379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":54379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:19:25] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:19:25] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:19:25] local.INFO: Packet analysis {"connection_id":54379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:19:25] local.INFO: Extracted packet for processing {"connection_id":54379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:19:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10: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-04-26 10:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:19:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":54379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:19:25] local.INFO: GPS data processed {"connection_id":54379,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:19:25] local.INFO: Acknowledgment sent {"connection_id":54379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:19:30] local.INFO: TCP Data received {"connection_id":54379,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:19:30] local.INFO: Processing buffer {"connection_id":54379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81a73b0012cb299c007822ce0004e001232..."} 
[2026-04-26 10:19:30] local.INFO: Packet analysis {"connection_id":54379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:19:30] local.INFO: Extracted packet for processing {"connection_id":54379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81a"} 
[2026-04-26 10:19:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957662464001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777178670000,"timestamp_ms":1777178670000,"timestamp_seconds":1777178670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81a73b0"} 
[2026-04-26 10:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957662464001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957662464001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:19:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957662464001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":54379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:19:30] local.INFO: GPS data processed {"connection_id":54379,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:19:30] local.INFO: Acknowledgment sent {"connection_id":54379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:19:49] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 10:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 10:19:49] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 10:19:49] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 10:19:49] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 10:19:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 10:19:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:19:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 10:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 10:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 10:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 10:19:49] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 10:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 10:19:49] local.ERROR: GPS data processing failed {"connection_id":54378,"error":"No valid data to process"} 
[2026-04-26 10:19:49] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 10:19:50] local.INFO: TCP Data received {"connection_id":55299,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:19:50] local.INFO: Processing buffer {"connection_id":55299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:19:50] local.INFO: Packet analysis {"connection_id":55299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:19:50] local.INFO: Extracted packet for processing {"connection_id":55299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:19:50] 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-04-26 10:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:19:50] 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-04-26 10:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:19:50] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":55299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:19:50] local.INFO: GPS data processed {"connection_id":55299,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:19:50] local.INFO: Acknowledgment sent {"connection_id":55299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:20:13] local.INFO: TCP Data received {"connection_id":54555,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:20:13] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:20:13] local.INFO: IMEI packet received {"connection_id":54555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:20:14] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:20:14] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:20:14] local.INFO: IMEI packet received {"connection_id":54556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":54556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:20:18] local.INFO: TCP Data received {"connection_id":54555,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:20:18] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:20:18] local.INFO: IMEI packet received {"connection_id":54555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:20:19] local.INFO: TCP Data received {"connection_id":54555,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:20:19] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:20:19] local.INFO: Packet analysis {"connection_id":54555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:20:19] local.INFO: Extracted packet for processing {"connection_id":54555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:20:19] 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-04-26 10:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:20:19] 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-04-26 10:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:20:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:20:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:20:19] local.INFO: GPS data processed {"connection_id":54555,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:20:19] local.INFO: Acknowledgment sent {"connection_id":54555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:20:19] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:20:19] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:20:19] local.INFO: IMEI packet received {"connection_id":54556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":54556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:20:20] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:20:20] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:20:20] local.INFO: Packet analysis {"connection_id":54556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:20] local.INFO: Extracted packet for processing {"connection_id":54556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:20: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-04-26 10:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:20:20] 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-04-26 10:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:20:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":54556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:20:20] local.INFO: GPS data processed {"connection_id":54556,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:20:20] local.INFO: Acknowledgment sent {"connection_id":54556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:20:21] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f3288012d78ce0005d3c0080012016608..."} 
[2026-04-26 10:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f3288012d78ce0005d3c0080012016608..."} 
[2026-04-26 10:20:21] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f3288012d78ce0005d3c0080012016608..."} 
[2026-04-26 10:20:21] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:21] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":762891776,"raw_latitude":97763336,"longitude_deg":76.2891776,"latitude_deg":9.7763336,"altitude":18,"angle":358,"satellites":8,"speed":0,"hex_longitude":"2d78ce00","hex_latitude":"05d3c008","is_valid_coordinates":true} 
[2026-04-26 10:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76417810477088768,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 10:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777178981000,"timestamp_ms":1777178981000,"timestamp_seconds":1777178981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f3288"} 
[2026-04-26 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-04-26 10:20:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-04-26 10:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 10:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13559,"5":206,"85":15104,"24":0,"16":76417810477088768},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16]} 
[2026-04-26 10:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-26 10:20:21] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 10:20:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76417810477088768,"km_value":76417810477088.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:20:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13559,"unknown_5":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-04-26 10:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:20:21] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:20:21] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:20:51] local.INFO: TCP Data received {"connection_id":54555,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:20:51] local.INFO: Processing buffer {"connection_id":54555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:20:51] local.INFO: Packet analysis {"connection_id":54555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:20:51] local.INFO: Extracted packet for processing {"connection_id":54555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:20:51] 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-04-26 10:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:20:51] 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-04-26 10:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:20:51] local.INFO: GPS data processed {"connection_id":54555,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:20:51] local.INFO: Acknowledgment sent {"connection_id":54555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:20:51] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:20:51] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:20:51] local.INFO: Packet analysis {"connection_id":54556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:51] local.INFO: Extracted packet for processing {"connection_id":54556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:20: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-04-26 10:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:20:51] local.INFO: GPS data processed {"connection_id":54556,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:20:51] local.INFO: Acknowledgment sent {"connection_id":54556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:20:52] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81fd2b0012d787f8005d3cf28000b010b0b..."} 
[2026-04-26 10:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81fd2b0012d787f8005d3cf28000b010b0b..."} 
[2026-04-26 10:20:52] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81fd2b0012d787f8005d3cf28000b010b0b..."} 
[2026-04-26 10:20:52] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:52] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:20:52] local.INFO: GPS Element Parsed {"raw_longitude":762871680,"raw_latitude":97767208,"longitude_deg":76.287168,"latitude_deg":9.7767208,"altitude":11,"angle":267,"satellites":11,"speed":33,"hex_longitude":"2d787f80","hex_latitude":"05d3cf28","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957827840001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76418871334010880,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8689554768551383040,"note":"Value kept but may cause issues"} 
[2026-04-26 10:20: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-04-26 10:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777179022000,"timestamp_ms":1777179022000,"timestamp_seconds":1777179022,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81fd2b0"} 
[2026-04-26 10:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:20:52] 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-04-26 10: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 10:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957827840001,"66":13450,"53":206,"85":15104,"24":33,"16":76418871334010880,"45":8689554768551383040},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 10:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957827840001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:20:52] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 10:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76418871334010880,"km_value":76418871334010.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8689554768551383040,"description":"Unknown IO ID 45"} 
[2026-04-26 10:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957827840001,"power":13450,"unknown_53":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8689554768551383040}} 
[2026-04-26 10:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:20:52] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:20:52] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:21:13] local.INFO: TCP Data received {"connection_id":55301,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:21:13] local.INFO: Processing buffer {"connection_id":55301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:21:13] local.INFO: IMEI packet received {"connection_id":55301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":55301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:21:14] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:21:14] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:21:14] local.INFO: IMEI packet received {"connection_id":54380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:21:18] local.INFO: TCP Data received {"connection_id":55301,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:21:18] local.INFO: Processing buffer {"connection_id":55301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:21:18] local.INFO: IMEI packet received {"connection_id":55301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":55301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:21:19] local.INFO: TCP Data received {"connection_id":55301,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:21:19] local.INFO: Processing buffer {"connection_id":55301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81bd728012d10ef40072069e00031003b22..."} 
[2026-04-26 10:21:19] local.INFO: Packet analysis {"connection_id":55301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:21:19] local.INFO: Extracted packet for processing {"connection_id":55301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81b"} 
[2026-04-26 10:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957684992001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1221179217067749376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777178761000,"timestamp_ms":1777178761000,"timestamp_seconds":1777178761,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81bd728"} 
[2026-04-26 10:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:21:19] 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-04-26 10:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 10:21:19] 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-04-26 10:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957684992001,"66":2177,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1221179217067749376},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957684992001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:21:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1221179217067749376,"description":"Unknown IO ID 45"} 
[2026-04-26 10:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957684992001,"power":2177,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1221179217067749376}} 
[2026-04-26 10:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":55301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:21:19] local.INFO: GPS data processed {"connection_id":55301,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:21:19] local.INFO: Acknowledgment sent {"connection_id":55301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:21:19] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:21:19] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:21:19] local.INFO: IMEI packet received {"connection_id":54380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:21:20] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:21:20] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:21:20] local.INFO: Packet analysis {"connection_id":54380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:21:20] local.INFO: Extracted packet for processing {"connection_id":54380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:21: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-04-26 10:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:21:20] 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-04-26 10:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:21:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:21:20] local.INFO: GPS data processed {"connection_id":54380,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:21:20] local.INFO: Acknowledgment sent {"connection_id":54380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:21:24] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8200960012d785c4005d3ce080009010d0b..."} 
[2026-04-26 10:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8200960012d785c4005d3ce080009010d0b..."} 
[2026-04-26 10:21:24] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8200960012d785c4005d3ce080009010d0b..."} 
[2026-04-26 10:21:24] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:21:24] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:21:24] local.INFO: GPS Element Parsed {"raw_longitude":762862656,"raw_latitude":97766920,"longitude_deg":76.2862656,"latitude_deg":9.776692,"altitude":9,"angle":269,"satellites":11,"speed":32,"hex_longitude":"2d785c40","hex_latitude":"05d3ce08","is_valid_coordinates":true} 
[2026-04-26 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957829632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76419305125707776,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8682799369110366208,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:24] 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-04-26 10:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777179036000,"timestamp_ms":1777179036000,"timestamp_seconds":1777179036,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8200960"} 
[2026-04-26 10:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:21:24] 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-04-26 10:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-26 10:21:24] 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-04-26 10:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957829632001,"66":13678,"53":206,"85":15104,"24":32,"16":76419305125707776,"45":8682799369110366208},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 10:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957829632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:21:24] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 10:21:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76419305125707776,"km_value":76419305125707.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8682799369110366208,"description":"Unknown IO ID 45"} 
[2026-04-26 10:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957829632001,"power":13678,"unknown_53":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8682799369110366208}} 
[2026-04-26 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:21:24] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:21:24] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:21:45] local.INFO: TCP Data received {"connection_id":54558,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:21:45] local.INFO: Processing buffer {"connection_id":54558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:21:45] local.INFO: IMEI packet received {"connection_id":54558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":54558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:21:51] local.INFO: TCP Data received {"connection_id":55301,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:21:51] local.INFO: Processing buffer {"connection_id":55301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:21:51] local.INFO: Packet analysis {"connection_id":55301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:21:51] local.INFO: Extracted packet for processing {"connection_id":55301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 10:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:21: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-04-26 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:21: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-04-26 10:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":55301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:21:51] local.INFO: GPS data processed {"connection_id":55301,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:21:51] local.INFO: Acknowledgment sent {"connection_id":55301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:21:51] local.INFO: TCP Data received {"connection_id":54380,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:21:51] local.INFO: Processing buffer {"connection_id":54380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:21:51] local.INFO: Packet analysis {"connection_id":54380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:21:51] local.INFO: Extracted packet for processing {"connection_id":54380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:21: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-04-26 10:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:21:51] local.INFO: GPS data processed {"connection_id":54380,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:21:51] local.INFO: Acknowledgment sent {"connection_id":54380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:21:55] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8202c88012d78380005d3cf70000901120d..."} 
[2026-04-26 10:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8202c88012d78380005d3cf70000901120d..."} 
[2026-04-26 10:21:55] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8202c88012d78380005d3cf70000901120d..."} 
[2026-04-26 10:21:55] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:21:55] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":762853376,"raw_latitude":97767280,"longitude_deg":76.2853376,"latitude_deg":9.776728,"altitude":9,"angle":274,"satellites":13,"speed":42,"hex_longitude":"2d783800","hex_latitude":"05d3cf70","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957833216001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76419747507339264,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8672877376181241856,"note":"Value kept but may cause issues"} 
[2026-04-26 10:21:55] 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-04-26 10:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777179045000,"timestamp_ms":1777179045000,"timestamp_seconds":1777179045,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8202c88"} 
[2026-04-26 10:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 10:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957833216001,"66":13406,"53":206,"85":15104,"24":42,"16":76419747507339264,"45":8672877376181241856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 10:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957833216001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:21:55] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 10:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76419747507339264,"km_value":76419747507339.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8672877376181241856,"description":"Unknown IO ID 45"} 
[2026-04-26 10:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957833216001,"power":13406,"unknown_53":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8672877376181241856}} 
[2026-04-26 10:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:21:55] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:21:55] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:22:19] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:22:19] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:22:19] local.INFO: IMEI packet received {"connection_id":54632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":54632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:22:23] local.INFO: TCP Data received {"connection_id":54559,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:22:23] local.INFO: Processing buffer {"connection_id":54559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:22:23] local.INFO: IMEI packet received {"connection_id":54559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":54559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:22:25] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:22:25] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:22:25] local.INFO: IMEI packet received {"connection_id":54632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":54632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:22:26] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:22:26] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:22:26] local.INFO: Packet analysis {"connection_id":54632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:22:26] local.INFO: Extracted packet for processing {"connection_id":54632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:22:26] 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-04-26 10:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":54632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:22:26] local.INFO: GPS data processed {"connection_id":54632,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:22:26] local.INFO: Acknowledgment sent {"connection_id":54632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:22:26] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8218060012d776c4005d3e6280000000d0e..."} 
[2026-04-26 10:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8218060012d776c4005d3e6280000000d0e..."} 
[2026-04-26 10:22:26] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8218060012d776c4005d3e6280000000d0e..."} 
[2026-04-26 10:22:26] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:22:26] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":762801216,"raw_latitude":97773096,"longitude_deg":76.2801216,"latitude_deg":9.7773096,"altitude":0,"angle":13,"satellites":14,"speed":16,"hex_longitude":"2d776c40","hex_latitude":"05d3e628","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957857024001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76422938668040192,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605323381771933696,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777179132000,"timestamp_ms":1777179132000,"timestamp_seconds":1777179132,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8218060"} 
[2026-04-26 10:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-26 10:22:26] 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-04-26 10: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-04-26 10:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957857024001,"66":13820,"54":206,"85":15104,"24":16,"16":76422938668040192,"45":8605323381771933696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-04-26 10:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957857024001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76422938668040192,"km_value":76422938668040.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605323381771933696,"description":"Unknown IO ID 45"} 
[2026-04-26 10:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957857024001,"power":13820,"unknown_54":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8605323381771933696}} 
[2026-04-26 10:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:22:26] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:22:26] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:22:28] local.INFO: TCP Data received {"connection_id":54559,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:22:28] local.INFO: Processing buffer {"connection_id":54559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:22:28] local.INFO: IMEI packet received {"connection_id":54559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":54559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:22:29] local.INFO: TCP Data received {"connection_id":54559,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:22:29] local.INFO: Processing buffer {"connection_id":54559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:22:29] local.INFO: Packet analysis {"connection_id":54559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:22:29] local.INFO: Extracted packet for processing {"connection_id":54559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 10:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:22:29] 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-04-26 10:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:22:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":54559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:22:29] local.INFO: GPS data processed {"connection_id":54559,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:22:29] local.INFO: Acknowledgment sent {"connection_id":54559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:22:57] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:22:57] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:22:57] local.INFO: Packet analysis {"connection_id":54632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:22:57] local.INFO: Extracted packet for processing {"connection_id":54632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:22:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:22:57] 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-04-26 10: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-04-26 10:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:22: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-04-26 10:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":54632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:22:57] local.INFO: GPS data processed {"connection_id":54632,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:22:57] local.INFO: Acknowledgment sent {"connection_id":54632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:22:57] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8218830012d776c4005d3eaa8000000010e..."} 
[2026-04-26 10:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8218830012d776c4005d3eaa8000000010e..."} 
[2026-04-26 10:22:57] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8218830012d776c4005d3eaa8000000010e..."} 
[2026-04-26 10:22:57] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:22:57] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:22:57] local.INFO: GPS Element Parsed {"raw_longitude":762801216,"raw_latitude":97774248,"longitude_deg":76.2801216,"latitude_deg":9.7774248,"altitude":0,"angle":1,"satellites":14,"speed":23,"hex_longitude":"2d776c40","hex_latitude":"05d3eaa8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957857792001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76422994502615040,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605323381772265472,"note":"Value kept but may cause issues"} 
[2026-04-26 10:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179134000,"timestamp_ms":1777179134000,"timestamp_seconds":1777179134,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8218830"} 
[2026-04-26 10:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:22:57] 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-04-26 10: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-04-26 10:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957857792001,"66":13678,"54":206,"85":15104,"24":23,"16":76422994502615040,"45":8605323381772265472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-04-26 10:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957857792001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76422994502615040,"km_value":76422994502615.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605323381772265472,"description":"Unknown IO ID 45"} 
[2026-04-26 10:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957857792001,"power":13678,"unknown_54":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8605323381772265472}} 
[2026-04-26 10:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:22:57] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:22:57] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:23:13] local.INFO: TCP Data received {"connection_id":54633,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:23:13] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:23:13] local.INFO: IMEI packet received {"connection_id":54633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":54633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:23:18] local.INFO: TCP Data received {"connection_id":54633,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:23:18] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:23:18] local.INFO: IMEI packet received {"connection_id":54633,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":54633,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:23:19] local.INFO: TCP Data received {"connection_id":54633,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:23:19] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:23:19] local.INFO: Packet analysis {"connection_id":54633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:23:19] local.INFO: Extracted packet for processing {"connection_id":54633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 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-04-26 10:23: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-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:23:19] 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-04-26 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-04-26 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-04-26 10:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:23:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:23:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":54633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:23:19] local.INFO: GPS data processed {"connection_id":54633,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:23:19] local.INFO: Acknowledgment sent {"connection_id":54633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:23:19] local.INFO: TCP Data received {"connection_id":54561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:23:19] local.INFO: Processing buffer {"connection_id":54561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:23:19] local.INFO: IMEI packet received {"connection_id":54561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:23:24] local.INFO: TCP Data received {"connection_id":54561,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:23:24] local.INFO: Processing buffer {"connection_id":54561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:23:24] local.INFO: IMEI packet received {"connection_id":54561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":54561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:23:25] local.INFO: TCP Data received {"connection_id":54561,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:23:25] local.INFO: Processing buffer {"connection_id":54561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:23:25] local.INFO: Packet analysis {"connection_id":54561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:23:25] local.INFO: Extracted packet for processing {"connection_id":54561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:23:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:23: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-04-26 10:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:23:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:23:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:23:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":54561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:23:25] local.INFO: GPS data processed {"connection_id":54561,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:23:25] local.INFO: Acknowledgment sent {"connection_id":54561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:23:28] local.INFO: TCP Data received {"connection_id":54378,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc821af40012d776e4005d40f600000000510..."} 
[2026-04-26 10:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc821af40012d776e4005d40f600000000510..."} 
[2026-04-26 10:23:28] local.INFO: Processing buffer {"connection_id":54378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc821af40012d776e4005d40f600000000510..."} 
[2026-04-26 10:23:28] local.INFO: Packet analysis {"connection_id":54378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:23:28] local.INFO: Extracted packet for processing {"connection_id":54378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:23:28] local.INFO: GPS Element Parsed {"raw_longitude":762801728,"raw_latitude":97783648,"longitude_deg":76.2801728,"latitude_deg":9.7783648,"altitude":0,"angle":5,"satellites":16,"speed":41,"hex_longitude":"2d776e40","hex_latitude":"05d40f60","is_valid_coordinates":true} 
[2026-04-26 10:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957858304001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76423454064115712,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605323381772560384,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777179144000,"timestamp_ms":1777179144000,"timestamp_seconds":1777179144,"priority":1,"record_length":96,"hex_timestamp":"0000019dc821af40"} 
[2026-04-26 10:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 10:23:28] 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-04-26 10:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957858304001,"66":13526,"55":206,"85":15104,"24":41,"16":76423454064115712,"45":8605323381772560384},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957858304001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:23:28] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76423454064115712,"km_value":76423454064115.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605323381772560384,"description":"Unknown IO ID 45"} 
[2026-04-26 10:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957858304001,"power":13526,"unknown_55":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8605323381772560384}} 
[2026-04-26 10:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":54378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:23:28] local.INFO: GPS data processed {"connection_id":54378,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:23:28] local.INFO: Acknowledgment sent {"connection_id":54378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:23:30] local.INFO: TCP Data received {"connection_id":54561,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:23:30] local.INFO: Processing buffer {"connection_id":54561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:23:30] local.INFO: Packet analysis {"connection_id":54561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:23:30] local.INFO: Extracted packet for processing {"connection_id":54561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:23: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-04-26 10:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:23:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":54561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:23:30] local.INFO: GPS data processed {"connection_id":54561,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:23:30] local.INFO: Acknowledgment sent {"connection_id":54561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:23:50] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:50] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:50] local.INFO: IMEI packet received {"connection_id":54634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":54634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:23:51] local.INFO: TCP Data received {"connection_id":54633,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:23:51] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:23:51] local.INFO: Packet analysis {"connection_id":54633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:23:51] local.INFO: Extracted packet for processing {"connection_id":54633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 10:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:23: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-04-26 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:23: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-04-26 10: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-04-26 10:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54633,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:23:51] local.INFO: GPS data processed {"connection_id":54633,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:23:51] local.INFO: Acknowledgment sent {"connection_id":54633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:23:51] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:51] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:51] local.INFO: IMEI packet received {"connection_id":54634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":54634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:23:56] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:56] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:23:56] local.INFO: IMEI packet received {"connection_id":54634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":54634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:23:57] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc821bee0012d776f0005d420800000016310..."} 
[2026-04-26 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc821bee0012d776f0005d420800000016310..."} 
[2026-04-26 10:23:57] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc821bee0012d776f0005d420800000016310..."} 
[2026-04-26 10:23:57] local.INFO: Packet analysis {"connection_id":54634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:23:57] local.INFO: Extracted packet for processing {"connection_id":54634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":762801920,"raw_latitude":97788032,"longitude_deg":76.280192,"latitude_deg":9.7788032,"altitude":0,"angle":355,"satellites":16,"speed":43,"hex_longitude":"2d776f00","hex_latitude":"05d42080","is_valid_coordinates":true} 
[2026-04-26 10:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957860864001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76423664517513216,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605886331728388096,"note":"Value kept but may cause issues"} 
[2026-04-26 10:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179148000,"timestamp_ms":1777179148000,"timestamp_seconds":1777179148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc821bee0"} 
[2026-04-26 10:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-26 10:23:57] 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-04-26 10:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957860864001,"66":13472,"55":206,"85":15104,"24":43,"16":76423664517513216,"45":8605886331728388096},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957860864001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:23:57] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76423664517513216,"km_value":76423664517513.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605886331728388096,"description":"Unknown IO ID 45"} 
[2026-04-26 10:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957860864001,"power":13472,"unknown_55":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8605886331728388096}} 
[2026-04-26 10:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":54634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:23:57] local.INFO: GPS data processed {"connection_id":54634,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:23:57] local.INFO: Acknowledgment sent {"connection_id":54634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:24:13] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:24:13] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:24:13] local.INFO: IMEI packet received {"connection_id":54635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":54635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:24:14] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:24:14] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:24:14] local.INFO: IMEI packet received {"connection_id":54382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":54382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:24:18] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:24:18] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:24:18] local.INFO: IMEI packet received {"connection_id":54635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":54635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:24:19] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:24:19] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:24:19] local.INFO: Packet analysis {"connection_id":54635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:24:19] local.INFO: Extracted packet for processing {"connection_id":54635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 10:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:24: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-04-26 10:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:24:19] 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-04-26 10:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:24:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":54635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:24:19] local.INFO: GPS data processed {"connection_id":54635,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:24:19] local.INFO: Acknowledgment sent {"connection_id":54635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:24:19] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:24:19] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:24:19] local.INFO: IMEI packet received {"connection_id":54382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:24:20] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:24:20] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:24:20] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:24:20] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:24: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-04-26 10: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-04-26 10:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:24:20] 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-04-26 10:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:24:20] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:24:20] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:24:29] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc821f1a8012d776b0005d443980000015c10..."} 
[2026-04-26 10:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc821f1a8012d776b0005d443980000015c10..."} 
[2026-04-26 10:24:29] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc821f1a8012d776b0005d443980000015c10..."} 
[2026-04-26 10:24:29] local.INFO: Packet analysis {"connection_id":54634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:24:29] local.INFO: Extracted packet for processing {"connection_id":54634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc821"} 
[2026-04-26 10:24:29] local.INFO: GPS Element Parsed {"raw_longitude":762800896,"raw_latitude":97797016,"longitude_deg":76.2800896,"latitude_deg":9.7797016,"altitude":0,"angle":348,"satellites":16,"speed":28,"hex_longitude":"2d776b00","hex_latitude":"05d44398","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957861888001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76424106899144704,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8606097437962043392,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777179161000,"timestamp_ms":1777179161000,"timestamp_seconds":1777179161,"priority":1,"record_length":96,"hex_timestamp":"0000019dc821f1a8"} 
[2026-04-26 10:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 10:24:29] 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-04-26 10: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-04-26 10:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957861888001,"66":13906,"55":206,"85":15104,"24":28,"16":76424106899144704,"45":8606097437962043392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957861888001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:24:29] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76424106899144704,"km_value":76424106899144.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8606097437962043392,"description":"Unknown IO ID 45"} 
[2026-04-26 10:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957861888001,"power":13906,"unknown_55":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8606097437962043392}} 
[2026-04-26 10:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":54634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:24:29] local.INFO: GPS data processed {"connection_id":54634,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:24:29] local.INFO: Acknowledgment sent {"connection_id":54634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:24:50] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:24:50] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:24:50] local.INFO: Packet analysis {"connection_id":54635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:24:50] local.INFO: Extracted packet for processing {"connection_id":54635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 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-04-26 10:24:50] 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-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:24:50] 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-04-26 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-04-26 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-04-26 10:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:24:50] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:24:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:24:51] local.INFO: GPS data processed {"connection_id":54635,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:24:51] local.INFO: Acknowledgment sent {"connection_id":54635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:24:51] local.INFO: TCP Data received {"connection_id":54382,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:24:51] local.INFO: Processing buffer {"connection_id":54382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc81f0b78012cb299c007822ce00052001230..."} 
[2026-04-26 10:24:51] local.INFO: Packet analysis {"connection_id":54382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:24:51] local.INFO: Extracted packet for processing {"connection_id":54382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc81f"} 
[2026-04-26 10:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957739520001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777178971000,"timestamp_ms":1777178971000,"timestamp_seconds":1777178971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc81f0b78"} 
[2026-04-26 10:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:24: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-04-26 10: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-04-26 10:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957739520001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957739520001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:24:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957739520001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:24:51] local.INFO: GPS data processed {"connection_id":54382,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:24:51] local.INFO: Acknowledgment sent {"connection_id":54382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:01] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823ce38012d770fc005d5cbe00006001010..."} 
[2026-04-26 10:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823ce38012d770fc005d5cbe00006001010..."} 
[2026-04-26 10:25:01] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823ce38012d770fc005d5cbe00006001010..."} 
[2026-04-26 10:25:01] local.INFO: Packet analysis {"connection_id":54634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:01] local.INFO: Extracted packet for processing {"connection_id":54634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:01] local.INFO: GPS Element Parsed {"raw_longitude":762777536,"raw_latitude":97897440,"longitude_deg":76.2777536,"latitude_deg":9.789744,"altitude":6,"angle":16,"satellites":16,"speed":35,"hex_longitude":"2d770fc0","hex_latitude":"05d5cbe0","is_valid_coordinates":true} 
[2026-04-26 10:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957894912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76429170665586688,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8578020309061758976,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777179283000,"timestamp_ms":1777179283000,"timestamp_seconds":1777179283,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823ce38"} 
[2026-04-26 10:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:25:01] 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-04-26 10:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-26 10:25:01] 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-04-26 10:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":54634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957894912001,"66":13559,"55":206,"85":15104,"24":35,"16":76429170665586688,"45":8578020309061758976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957894912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:01] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76429170665586688,"km_value":76429170665586.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8578020309061758976,"description":"Unknown IO ID 45"} 
[2026-04-26 10:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957894912001,"power":13559,"unknown_55":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8578020309061758976}} 
[2026-04-26 10:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":54634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64518,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:01] local.INFO: GPS data processed {"connection_id":54634,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:01] local.INFO: Acknowledgment sent {"connection_id":54634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:13] local.INFO: TCP Data received {"connection_id":55303,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:25:13] local.INFO: Processing buffer {"connection_id":55303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:25:13] local.INFO: IMEI packet received {"connection_id":55303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":55303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:25:14] local.INFO: TCP Data received {"connection_id":55302,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:25:14] local.INFO: Processing buffer {"connection_id":55302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:25:14] local.INFO: IMEI packet received {"connection_id":55302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":55302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:25:19] local.INFO: TCP Data received {"connection_id":55302,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:25:19] local.INFO: Processing buffer {"connection_id":55302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:25:19] local.INFO: IMEI packet received {"connection_id":55302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":55302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:25:20] local.INFO: TCP Data received {"connection_id":55302,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:25:20] local.INFO: Processing buffer {"connection_id":55302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:25:20] local.INFO: Packet analysis {"connection_id":55302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:20] local.INFO: Extracted packet for processing {"connection_id":55302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:25: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-04-26 10: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-04-26 10:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:25:20] 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-04-26 10:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":55302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:20] local.INFO: GPS data processed {"connection_id":55302,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:20] local.INFO: Acknowledgment sent {"connection_id":55302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:20] local.INFO: TCP Data received {"connection_id":55303,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:25:20] local.INFO: Processing buffer {"connection_id":55303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:25:20] local.INFO: IMEI packet received {"connection_id":55303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":55303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:25:22] local.INFO: TCP Data received {"connection_id":55303,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:25:22] local.INFO: Processing buffer {"connection_id":55303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:25:22] local.INFO: Packet analysis {"connection_id":55303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:25:22] local.INFO: Extracted packet for processing {"connection_id":55303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 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-04-26 10:25:22] 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-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:25:22] 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-04-26 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-04-26 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-04-26 10:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:22] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:25:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":55303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:22] local.INFO: GPS data processed {"connection_id":55303,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:22] local.INFO: Acknowledgment sent {"connection_id":55303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:34] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823e990012d7713c005d5dfa00006000210..."} 
[2026-04-26 10:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823e990012d7713c005d5dfa00006000210..."} 
[2026-04-26 10:25:34] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823e990012d7713c005d5dfa00006000210..."} 
[2026-04-26 10:25:34] local.INFO: Packet analysis {"connection_id":54634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:34] local.INFO: Extracted packet for processing {"connection_id":54634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762778560,"raw_latitude":97902496,"longitude_deg":76.277856,"latitude_deg":9.7902496,"altitude":6,"angle":2,"satellites":16,"speed":20,"hex_longitude":"2d7713c0","hex_latitude":"05d5dfa0","is_valid_coordinates":true} 
[2026-04-26 10:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957896448001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76429424068657152,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8579286946458361856,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777179290000,"timestamp_ms":1777179290000,"timestamp_seconds":1777179290,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823e990"} 
[2026-04-26 10:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:25:34] 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-04-26 10:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 10:25:34] 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-04-26 10:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957896448001,"66":13820,"55":206,"85":15104,"24":20,"16":76429424068657152,"45":8579286946458361856},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957896448001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:34] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76429424068657152,"km_value":76429424068657.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8579286946458361856,"description":"Unknown IO ID 45"} 
[2026-04-26 10:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957896448001,"power":13820,"unknown_55":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8579286946458361856}} 
[2026-04-26 10:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":54634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:34] local.INFO: GPS data processed {"connection_id":54634,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:34] local.INFO: Acknowledgment sent {"connection_id":54634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:51] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:51] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:51] local.INFO: IMEI packet received {"connection_id":54563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":54563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:25:51] local.INFO: TCP Data received {"connection_id":55302,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:25:51] local.INFO: Processing buffer {"connection_id":55302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:25:51] local.INFO: Packet analysis {"connection_id":55302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:51] local.INFO: Extracted packet for processing {"connection_id":55302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 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-04-26 10:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:25: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-04-26 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-04-26 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-04-26 10:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":55302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:51] local.INFO: GPS data processed {"connection_id":55302,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:51] local.INFO: Acknowledgment sent {"connection_id":55302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:53] local.INFO: TCP Data received {"connection_id":55303,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:25:53] local.INFO: Processing buffer {"connection_id":55303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:25:53] local.INFO: Packet analysis {"connection_id":55303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:25:53] local.INFO: Extracted packet for processing {"connection_id":55303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 10:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:25:53] 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-04-26 10:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:25:53] 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-04-26 10:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:25:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":55303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:53] local.INFO: GPS data processed {"connection_id":55303,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:53] local.INFO: Acknowledgment sent {"connection_id":55303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:25:54] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:54] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:54] local.INFO: IMEI packet received {"connection_id":54563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":54563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:25:56] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:56] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:25:56] local.INFO: IMEI packet received {"connection_id":54563,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":54563,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:25:57] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823f930012d7712c005d5e7680006016010..."} 
[2026-04-26 10:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823f930012d7712c005d5e7680006016010..."} 
[2026-04-26 10:25:57] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823f930012d7712c005d5e7680006016010..."} 
[2026-04-26 10:25:57] local.INFO: Packet analysis {"connection_id":54563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:57] local.INFO: Extracted packet for processing {"connection_id":54563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:25:57] local.INFO: GPS Element Parsed {"raw_longitude":762778304,"raw_latitude":97904488,"longitude_deg":76.2778304,"latitude_deg":9.7904488,"altitude":6,"angle":352,"satellites":16,"speed":19,"hex_longitude":"2d7712c0","hex_latitude":"05d5e768","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957898240001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76429518557937664,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8580412846366498816,"note":"Value kept but may cause issues"} 
[2026-04-26 10:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179294000,"timestamp_ms":1777179294000,"timestamp_seconds":1777179294,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823f930"} 
[2026-04-26 10:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:25:57] 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-04-26 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:25:57] 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-04-26 10: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-04-26 10:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957898240001,"66":13798,"55":206,"85":15104,"24":19,"16":76429518557937664,"45":8580412846366498816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957898240001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:25:57] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76429518557937664,"km_value":76429518557937.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8580412846366498816,"description":"Unknown IO ID 45"} 
[2026-04-26 10:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957898240001,"power":13798,"unknown_55":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8580412846366498816}} 
[2026-04-26 10:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":54563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:25:57] local.INFO: GPS data processed {"connection_id":54563,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:25:57] local.INFO: Acknowledgment sent {"connection_id":54563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:26:14] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:26:14] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:26:14] local.INFO: IMEI packet received {"connection_id":54564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":54564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:26:18] local.INFO: TCP Data received {"connection_id":55305,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:26:18] local.INFO: Processing buffer {"connection_id":55305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:26:18] local.INFO: IMEI packet received {"connection_id":55305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":55305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:26:19] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:26:19] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:26:19] local.INFO: IMEI packet received {"connection_id":54564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:26:20] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:26:20] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:26:20] local.INFO: Packet analysis {"connection_id":54564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:26:20] local.INFO: Extracted packet for processing {"connection_id":54564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:26:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:26: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-04-26 10: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-04-26 10:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10: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-04-26 10:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:26:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":54564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:26:20] local.INFO: GPS data processed {"connection_id":54564,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:26:20] local.INFO: Acknowledgment sent {"connection_id":54564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:26:23] local.INFO: TCP Data received {"connection_id":55305,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:26:23] local.INFO: Processing buffer {"connection_id":55305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:26:23] local.INFO: IMEI packet received {"connection_id":55305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":55305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:26:24] local.INFO: TCP Data received {"connection_id":55305,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:26:24] local.INFO: Processing buffer {"connection_id":55305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8206ef0012d10ef40072069e00031003b23..."} 
[2026-04-26 10:26:24] local.INFO: Packet analysis {"connection_id":55305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:26:24] local.INFO: Extracted packet for processing {"connection_id":55305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc820"} 
[2026-04-26 10:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957762816001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777179062000,"timestamp_ms":1777179062000,"timestamp_seconds":1777179062,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8206ef0"} 
[2026-04-26 10:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:26: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-04-26 10:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 10:26: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-04-26 10:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957762816001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957762816001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:26:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:26:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957762816001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":55305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:26:24] local.INFO: GPS data processed {"connection_id":55305,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:26:24] local.INFO: Acknowledgment sent {"connection_id":55305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:26:32] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8243b98012d77108005d60c280006016210..."} 
[2026-04-26 10:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8243b98012d77108005d60c280006016210..."} 
[2026-04-26 10:26:32] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8243b98012d77108005d60c280006016210..."} 
[2026-04-26 10:26:32] local.INFO: Packet analysis {"connection_id":54563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc824"} 
[2026-04-26 10:26:32] local.INFO: Extracted packet for processing {"connection_id":54563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc824"} 
[2026-04-26 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":762777728,"raw_latitude":97913896,"longitude_deg":76.2777728,"latitude_deg":9.7913896,"altitude":6,"angle":354,"satellites":16,"speed":27,"hex_longitude":"2d771080","hex_latitude":"05d60c28","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957899264001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76429978119438336,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8580131371390298112,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777179311000,"timestamp_ms":1777179311000,"timestamp_seconds":1777179311,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8243b98"} 
[2026-04-26 10:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 10:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54563,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957899264001,"66":13624,"55":206,"85":15104,"24":27,"16":76429978119438336,"45":8580131371390298112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957899264001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:26:32] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76429978119438336,"km_value":76429978119438.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8580131371390298112,"description":"Unknown IO ID 45"} 
[2026-04-26 10:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957899264001,"power":13624,"unknown_55":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8580131371390298112}} 
[2026-04-26 10:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":54563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:26:32] local.INFO: GPS data processed {"connection_id":54563,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:26:32] local.INFO: Acknowledgment sent {"connection_id":54563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:26:51] local.INFO: TCP Data received {"connection_id":54383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:51] local.INFO: Processing buffer {"connection_id":54383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:51] local.INFO: IMEI packet received {"connection_id":54383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":54383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:26:52] local.INFO: TCP Data received {"connection_id":54383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:52] local.INFO: Processing buffer {"connection_id":54383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:52] local.INFO: IMEI packet received {"connection_id":54383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":54383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:26:52] local.INFO: TCP Data received {"connection_id":54564,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:26:52] local.INFO: Processing buffer {"connection_id":54564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:26:52] local.INFO: Packet analysis {"connection_id":54564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:26:52] local.INFO: Extracted packet for processing {"connection_id":54564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:26:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 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-04-26 10:26:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:26:52] 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-04-26 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-04-26 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-04-26 10:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:26: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-04-26 10:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:26:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:26:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":54564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:26:52] local.INFO: GPS data processed {"connection_id":54564,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:26:52] local.INFO: Acknowledgment sent {"connection_id":54564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:26:56] local.INFO: TCP Data received {"connection_id":55305,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:26:56] local.INFO: Processing buffer {"connection_id":55305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:26:56] local.INFO: Packet analysis {"connection_id":55305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:26:56] local.INFO: Extracted packet for processing {"connection_id":55305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:26:56] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:26:56] 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-04-26 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:26:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":55305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:26:56] local.INFO: GPS data processed {"connection_id":55305,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:26:56] local.INFO: Acknowledgment sent {"connection_id":55305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:26:56] local.INFO: TCP Data received {"connection_id":54383,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:56] local.INFO: Processing buffer {"connection_id":54383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:26:56] local.INFO: IMEI packet received {"connection_id":54383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":54383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:26:57] local.INFO: TCP Data received {"connection_id":54383,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8246e60012d770f0005d631480006016610..."} 
[2026-04-26 10:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8246e60012d770f0005d631480006016610..."} 
[2026-04-26 10:26:57] local.INFO: Processing buffer {"connection_id":54383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8246e60012d770f0005d631480006016610..."} 
[2026-04-26 10:26:57] local.INFO: Packet analysis {"connection_id":54383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc824"} 
[2026-04-26 10:26:57] local.INFO: Extracted packet for processing {"connection_id":54383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc824"} 
[2026-04-26 10:26:57] local.INFO: GPS Element Parsed {"raw_longitude":762777344,"raw_latitude":97923400,"longitude_deg":76.2777344,"latitude_deg":9.79234,"altitude":6,"angle":358,"satellites":16,"speed":28,"hex_longitude":"2d770f00","hex_latitude":"05d63148","is_valid_coordinates":true} 
[2026-04-26 10:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957903616001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76430437680939008,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8579498052695107584,"note":"Value kept but may cause issues"} 
[2026-04-26 10:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179324000,"timestamp_ms":1777179324000,"timestamp_seconds":1777179324,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8246e60"} 
[2026-04-26 10:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:26:57] 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-04-26 10:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 10:26:57] 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-04-26 10:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957903616001,"66":13820,"55":206,"85":15104,"24":28,"16":76430437680939008,"45":8579498052695107584},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957903616001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:26:57] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76430437680939008,"km_value":76430437680939.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8579498052695107584,"description":"Unknown IO ID 45"} 
[2026-04-26 10:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957903616001,"power":13820,"unknown_55":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8579498052695107584}} 
[2026-04-26 10:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":54383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:26:57] local.INFO: GPS data processed {"connection_id":54383,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:26:57] local.INFO: Acknowledgment sent {"connection_id":54383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:27:13] local.INFO: TCP Data received {"connection_id":55306,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:27:13] local.INFO: Processing buffer {"connection_id":55306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:27:13] local.INFO: IMEI packet received {"connection_id":55306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":55306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:27:14] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:27:14] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:27:14] local.INFO: IMEI packet received {"connection_id":54566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:27:18] local.INFO: TCP Data received {"connection_id":55306,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:27:18] local.INFO: Processing buffer {"connection_id":55306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:27:18] local.INFO: IMEI packet received {"connection_id":55306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":55306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:27:19] local.INFO: TCP Data received {"connection_id":55306,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:27:19] local.INFO: Processing buffer {"connection_id":55306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:27:19] local.INFO: Packet analysis {"connection_id":55306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:27:19] local.INFO: Extracted packet for processing {"connection_id":55306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 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-04-26 10:27:19] 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-04-26 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:27: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-04-26 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-04-26 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-04-26 10:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:27:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:27:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":55306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:27:19] local.INFO: GPS data processed {"connection_id":55306,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:27:19] local.INFO: Acknowledgment sent {"connection_id":55306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:27:19] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:27:19] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:27:19] local.INFO: IMEI packet received {"connection_id":54566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":54566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:27:20] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:27:20] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:27:20] local.INFO: Packet analysis {"connection_id":54566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:27:20] local.INFO: Extracted packet for processing {"connection_id":54566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:27: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-04-26 10:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:27:20] 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-04-26 10:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:27:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":54566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:27:20] local.INFO: GPS data processed {"connection_id":54566,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:27:20] local.INFO: Acknowledgment sent {"connection_id":54566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:27:20] local.INFO: TCP Data received {"connection_id":54565,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:27:20] local.INFO: Processing buffer {"connection_id":54565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:27:20] local.INFO: IMEI packet received {"connection_id":54565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:27:40] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:27:40] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:27:40] local.INFO: IMEI packet received {"connection_id":54636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":54636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:27:47] local.INFO: TCP Data received {"connection_id":54383,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8249d40012d770dc005d655a00006000110..."} 
[2026-04-26 10:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8249d40012d770dc005d655a00006000110..."} 
[2026-04-26 10:27:47] local.INFO: Processing buffer {"connection_id":54383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8249d40012d770dc005d655a00006000110..."} 
[2026-04-26 10:27:47] local.INFO: Packet analysis {"connection_id":54383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc824"} 
[2026-04-26 10:27:47] local.INFO: Extracted packet for processing {"connection_id":54383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc824"} 
[2026-04-26 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":762777024,"raw_latitude":97932704,"longitude_deg":76.2777024,"latitude_deg":9.7932704,"altitude":6,"angle":1,"satellites":16,"speed":33,"hex_longitude":"2d770dc0","hex_latitude":"05d655a0","is_valid_coordinates":true} 
[2026-04-26 10:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957906944001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76430892947472384,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8579075840232474624,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777179336000,"timestamp_ms":1777179336000,"timestamp_seconds":1777179336,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8249d40"} 
[2026-04-26 10:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:27:47] 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-04-26 10:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957906944001,"66":13678,"55":206,"85":15104,"24":33,"16":76430892947472384,"45":8579075840232474624},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957906944001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:27:47] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:27:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76430892947472384,"km_value":76430892947472.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8579075840232474624,"description":"Unknown IO ID 45"} 
[2026-04-26 10:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957906944001,"power":13678,"unknown_55":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8579075840232474624}} 
[2026-04-26 10:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":54383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:27:47] local.INFO: GPS data processed {"connection_id":54383,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:27:47] local.INFO: Acknowledgment sent {"connection_id":54383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:27:50] local.INFO: TCP Data received {"connection_id":55306,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:27:50] local.INFO: Processing buffer {"connection_id":55306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:27:50] local.INFO: Packet analysis {"connection_id":55306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:27:50] local.INFO: Extracted packet for processing {"connection_id":55306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:27:50] 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-04-26 10:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:27:50] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:27:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":55306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:27:50] local.INFO: GPS data processed {"connection_id":55306,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:27:50] local.INFO: Acknowledgment sent {"connection_id":55306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:27:51] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:27:51] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:27:51] local.INFO: Packet analysis {"connection_id":54566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:27:51] local.INFO: Extracted packet for processing {"connection_id":54566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:27: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-04-26 10:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:27:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:27:51] local.INFO: GPS data processed {"connection_id":54566,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:27:51] local.INFO: Acknowledgment sent {"connection_id":54566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:28:01] local.INFO: TCP Data received {"connection_id":54637,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:01] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:01] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:28:03] local.INFO: TCP Data received {"connection_id":54637,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:03] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:03] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:28:06] local.INFO: TCP Data received {"connection_id":54637,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:06] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:28:06] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:28:08] local.INFO: TCP Data received {"connection_id":54637,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8263b50012d76fd0005d7ab680000015c11..."} 
[2026-04-26 10:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8263b50012d76fd0005d7ab680000015c11..."} 
[2026-04-26 10:28:08] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8263b50012d76fd0005d7ab680000015c11..."} 
[2026-04-26 10:28:08] local.INFO: Packet analysis {"connection_id":54637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:28:08] local.INFO: Extracted packet for processing {"connection_id":54637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:28:08] local.INFO: GPS Element Parsed {"raw_longitude":762772736,"raw_latitude":98020200,"longitude_deg":76.2772736,"latitude_deg":9.80202,"altitude":0,"angle":348,"satellites":17,"speed":34,"hex_longitude":"2d76fd00","hex_latitude":"05d7ab68","is_valid_coordinates":true} 
[2026-04-26 10:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957934336001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76435260929212416,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8576261090487836672,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:08] 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-04-26 10:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777179442000,"timestamp_ms":1777179442000,"timestamp_seconds":1777179442,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8263b50"} 
[2026-04-26 10:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-26 10:28:08] 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-04-26 10:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54637,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957934336001,"66":13515,"244":206,"85":15104,"24":34,"16":76435260929212416,"45":8576261090487836672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-26 10:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957934336001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:28:08] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-26 10:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76435260929212416,"km_value":76435260929212.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8576261090487836672,"description":"Unknown IO ID 45"} 
[2026-04-26 10:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957934336001,"power":13515,"unknown_244":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8576261090487836672}} 
[2026-04-26 10:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":54637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:28:08] local.INFO: GPS data processed {"connection_id":54637,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:28:08] local.INFO: Acknowledgment sent {"connection_id":54637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:28:13] local.INFO: TCP Data received {"connection_id":54384,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:28:13] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:28:13] local.INFO: IMEI packet received {"connection_id":54384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":54384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:28:18] local.INFO: TCP Data received {"connection_id":54384,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:28:18] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:28:18] local.INFO: IMEI packet received {"connection_id":54384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":54384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:28:19] local.INFO: TCP Data received {"connection_id":54384,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:28:19] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:28:19] local.INFO: Packet analysis {"connection_id":54384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:28:19] local.INFO: Extracted packet for processing {"connection_id":54384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:28:19] 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-04-26 10:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:28: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-04-26 10:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:28:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:28:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":54384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:28:19] local.INFO: GPS data processed {"connection_id":54384,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:28:19] local.INFO: Acknowledgment sent {"connection_id":54384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:28:19] local.INFO: TCP Data received {"connection_id":54638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:28:19] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:28:19] local.INFO: IMEI packet received {"connection_id":54638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":54638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:28:24] local.INFO: TCP Data received {"connection_id":54638,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:28:24] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:28:24] local.INFO: IMEI packet received {"connection_id":54638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":54638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:28:25] local.INFO: TCP Data received {"connection_id":54638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:28:25] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:28:25] local.INFO: Packet analysis {"connection_id":54638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:28:25] local.INFO: Extracted packet for processing {"connection_id":54638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:28:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:28:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:28:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:28:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":54638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:28:25] local.INFO: GPS data processed {"connection_id":54638,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:28:25] local.INFO: Acknowledgment sent {"connection_id":54638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:28:30] local.INFO: TCP Data received {"connection_id":54638,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:28:30] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:28:30] local.INFO: Packet analysis {"connection_id":54638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:28:30] local.INFO: Extracted packet for processing {"connection_id":54638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:28:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:28: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-04-26 10:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:28:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":54638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:28:30] local.INFO: GPS data processed {"connection_id":54638,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:28:30] local.INFO: Acknowledgment sent {"connection_id":54638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:28:51] local.INFO: TCP Data received {"connection_id":54384,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:28:51] local.INFO: Processing buffer {"connection_id":54384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:28:51] local.INFO: Packet analysis {"connection_id":54384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:28:51] local.INFO: Extracted packet for processing {"connection_id":54384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:28:51] 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-04-26 10:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:28: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-04-26 10:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":54384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:28:51] local.INFO: GPS data processed {"connection_id":54384,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:28:51] local.INFO: Acknowledgment sent {"connection_id":54384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:29:13] local.INFO: TCP Data received {"connection_id":55309,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:29:13] local.INFO: Processing buffer {"connection_id":55309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:29:13] local.INFO: IMEI packet received {"connection_id":55309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":55309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:29:14] local.INFO: TCP Data received {"connection_id":55308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:29:14] local.INFO: Processing buffer {"connection_id":55308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:29:14] local.INFO: IMEI packet received {"connection_id":55308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":55308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:29:18] local.INFO: TCP Data received {"connection_id":55309,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:29:18] local.INFO: Processing buffer {"connection_id":55309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:29:18] local.INFO: IMEI packet received {"connection_id":55309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":55309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:29:19] local.INFO: TCP Data received {"connection_id":55308,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:29:19] local.INFO: Processing buffer {"connection_id":55308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:29:19] local.INFO: IMEI packet received {"connection_id":55308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":55308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:29:20] local.INFO: TCP Data received {"connection_id":55309,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:29:20] local.INFO: Processing buffer {"connection_id":55309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:29:20] local.INFO: Packet analysis {"connection_id":55309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:29:20] local.INFO: Extracted packet for processing {"connection_id":55309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:29: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-04-26 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:29: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-04-26 10: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-04-26 10:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":55309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:29:20] local.INFO: GPS data processed {"connection_id":55309,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:29:20] local.INFO: Acknowledgment sent {"connection_id":55309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:29:20] local.INFO: TCP Data received {"connection_id":55308,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:29:20] local.INFO: Processing buffer {"connection_id":55308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:29:20] local.INFO: Packet analysis {"connection_id":55308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:29:20] local.INFO: Extracted packet for processing {"connection_id":55308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:29: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-04-26 10: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-04-26 10:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:29: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-04-26 10:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":55308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:29:20] local.INFO: GPS data processed {"connection_id":55308,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:29:20] local.INFO: Acknowledgment sent {"connection_id":55308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:29:26] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:29:26] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:29:26] local.INFO: IMEI packet received {"connection_id":54385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":54385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:29:31] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:29:32] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:29:32] local.INFO: IMEI packet received {"connection_id":54385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":54385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:29:33] local.INFO: TCP Data received {"connection_id":54385,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8267200012d76f68005d7cee80000015e12..."} 
[2026-04-26 10:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8267200012d76f68005d7cee80000015e12..."} 
[2026-04-26 10:29:33] local.INFO: Processing buffer {"connection_id":54385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8267200012d76f68005d7cee80000015e12..."} 
[2026-04-26 10:29:33] local.INFO: Packet analysis {"connection_id":54385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:29:33] local.INFO: Extracted packet for processing {"connection_id":54385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:29:33] local.INFO: GPS Element Parsed {"raw_longitude":762771072,"raw_latitude":98029288,"longitude_deg":76.2771072,"latitude_deg":9.8029288,"altitude":0,"angle":350,"satellites":18,"speed":22,"hex_longitude":"2d76f680","hex_latitude":"05d7cee8","is_valid_coordinates":true} 
[2026-04-26 10:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957937152001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76435707605811200,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8574009290676463616,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:33] 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-04-26 10:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777179456000,"timestamp_ms":1777179456000,"timestamp_seconds":1777179456,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8267200"} 
[2026-04-26 10:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 10:29:33] 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-04-26 10:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957937152001,"66":13678,"244":206,"85":15104,"24":22,"16":76435707605811200,"45":8574009290676463616},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-26 10:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957937152001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:29:33] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-26 10:29:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76435707605811200,"km_value":76435707605811.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8574009290676463616,"description":"Unknown IO ID 45"} 
[2026-04-26 10:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957937152001,"power":13678,"unknown_244":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8574009290676463616}} 
[2026-04-26 10:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":54385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:29:33] local.INFO: GPS data processed {"connection_id":54385,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:29:33] local.INFO: Acknowledgment sent {"connection_id":54385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:29:51] local.INFO: TCP Data received {"connection_id":55309,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:29:51] local.INFO: Processing buffer {"connection_id":55309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:29:51] local.INFO: Packet analysis {"connection_id":55309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:29:51] local.INFO: Extracted packet for processing {"connection_id":55309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:29:51] 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-04-26 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:29: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-04-26 10: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-04-26 10:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":55309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:29:51] local.INFO: GPS data processed {"connection_id":55309,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:29:51] local.INFO: Acknowledgment sent {"connection_id":55309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:29:51] local.INFO: TCP Data received {"connection_id":55308,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:29:51] local.INFO: Processing buffer {"connection_id":55308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc823a340012cb299c007822ce0004f001230..."} 
[2026-04-26 10:29:51] local.INFO: Packet analysis {"connection_id":55308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:29:51] local.INFO: Extracted packet for processing {"connection_id":55308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc823"} 
[2026-04-26 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957816576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179272000,"timestamp_ms":1777179272000,"timestamp_seconds":1777179272,"priority":1,"record_length":96,"hex_timestamp":"0000019dc823a340"} 
[2026-04-26 10:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:29: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-04-26 10: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-04-26 10:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:29: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-04-26 10:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957816576001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957816576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957816576001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":55308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:29:51] local.INFO: GPS data processed {"connection_id":55308,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:29:51] local.INFO: Acknowledgment sent {"connection_id":55308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:30:01] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:01] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:01] local.INFO: IMEI packet received {"connection_id":54639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":54639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:30:06] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:06] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:06] local.INFO: IMEI packet received {"connection_id":54639,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":54639,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:30:07] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc826a0e0012d76f1c005d7f3780000015d12..."} 
[2026-04-26 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc826a0e0012d76f1c005d7f3780000015d12..."} 
[2026-04-26 10:30:07] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc826a0e0012d76f1c005d7f3780000015d12..."} 
[2026-04-26 10:30:07] local.INFO: Packet analysis {"connection_id":54639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:30:07] local.INFO: Extracted packet for processing {"connection_id":54639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:30:07] local.INFO: GPS Element Parsed {"raw_longitude":762769856,"raw_latitude":98038648,"longitude_deg":76.2769856,"latitude_deg":9.8038648,"altitude":0,"angle":349,"satellites":18,"speed":36,"hex_longitude":"2d76f1c0","hex_latitude":"05d7f378","is_valid_coordinates":true} 
[2026-04-26 10:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957940736001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76436167167311872,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8572179703330170880,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777179468000,"timestamp_ms":1777179468000,"timestamp_seconds":1777179468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc826a0e0"} 
[2026-04-26 10:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 10:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54639,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957940736001,"66":13091,"168":206,"87":12288,"24":36,"16":76436167167311872,"45":8572179703330170880},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957940736001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:30:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:30:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76436167167311872,"km_value":76436167167311.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8572179703330170880,"description":"Unknown IO ID 45"} 
[2026-04-26 10:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957940736001,"power":13091,"unknown_168":206,"unknown_87":12288,"ignition":36,"odometer":null,"unknown_45":8572179703330170880}} 
[2026-04-26 10:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":54639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:30:07] local.INFO: GPS data processed {"connection_id":54639,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:30:07] local.INFO: Acknowledgment sent {"connection_id":54639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:30:14] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:30:14] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:30:14] local.INFO: IMEI packet received {"connection_id":54386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":54386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:30:18] local.INFO: TCP Data received {"connection_id":54387,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:30:18] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:30:18] local.INFO: IMEI packet received {"connection_id":54387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":54387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:30:19] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:30:19] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:30:19] local.INFO: IMEI packet received {"connection_id":54386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":54386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:30:20] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:30:20] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:30:20] local.INFO: Packet analysis {"connection_id":54386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:30:20] local.INFO: Extracted packet for processing {"connection_id":54386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:30: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-04-26 10: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-04-26 10:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:30: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-04-26 10:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:30:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":54386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:30:20] local.INFO: GPS data processed {"connection_id":54386,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:30:20] local.INFO: Acknowledgment sent {"connection_id":54386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:30:23] local.INFO: TCP Data received {"connection_id":54387,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:30:23] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:30:23] local.INFO: IMEI packet received {"connection_id":54387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":54387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:30:24] local.INFO: TCP Data received {"connection_id":54387,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:30:24] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:30:24] local.INFO: Packet analysis {"connection_id":54387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:30:24] local.INFO: Extracted packet for processing {"connection_id":54387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:30: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-04-26 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:30:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:30:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":54387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:30:24] local.INFO: GPS data processed {"connection_id":54387,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:30:24] local.INFO: Acknowledgment sent {"connection_id":54387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:30:29] local.INFO: TCP Data received {"connection_id":54387,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:30:29] local.INFO: Processing buffer {"connection_id":54387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:30:29] local.INFO: Packet analysis {"connection_id":54387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:30:29] local.INFO: Extracted packet for processing {"connection_id":54387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:30:29] 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-04-26 10:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:30:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":54387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:30:29] local.INFO: GPS data processed {"connection_id":54387,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:30:29] local.INFO: Acknowledgment sent {"connection_id":54387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:30:51] local.INFO: TCP Data received {"connection_id":54386,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:30:51] local.INFO: Processing buffer {"connection_id":54386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:30:51] local.INFO: Packet analysis {"connection_id":54386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:30:51] local.INFO: Extracted packet for processing {"connection_id":54386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:30: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-04-26 10: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-04-26 10:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:30: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-04-26 10:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:30:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":54386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:30:51] local.INFO: GPS data processed {"connection_id":54386,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:30:51] local.INFO: Acknowledgment sent {"connection_id":54386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:30:51] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:51] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:51] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:30:56] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:56] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:30:56] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:30:57] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc826cbd8012d76ebc005d817080000016112..."} 
[2026-04-26 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc826cbd8012d76ebc005d817080000016112..."} 
[2026-04-26 10:30:57] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc826cbd8012d76ebc005d817080000016112..."} 
[2026-04-26 10:30:57] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:30:57] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc826"} 
[2026-04-26 10:30:57] local.INFO: GPS Element Parsed {"raw_longitude":762768320,"raw_latitude":98047752,"longitude_deg":76.276832,"latitude_deg":9.8047752,"altitude":0,"angle":353,"satellites":18,"speed":22,"hex_longitude":"2d76ebc0","hex_latitude":"05d81708","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957943808001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76436613843910656,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8570842697193191424,"note":"Value kept but may cause issues"} 
[2026-04-26 10:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179479000,"timestamp_ms":1777179479000,"timestamp_seconds":1777179479,"priority":1,"record_length":96,"hex_timestamp":"0000019dc826cbd8"} 
[2026-04-26 10:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-26 10:30:57] 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-04-26 10: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-04-26 10:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957943808001,"66":13341,"168":206,"87":12288,"24":22,"16":76436613843910656,"45":8570842697193191424},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957943808001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:30:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:30:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76436613843910656,"km_value":76436613843910.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8570842697193191424,"description":"Unknown IO ID 45"} 
[2026-04-26 10:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957943808001,"power":13341,"unknown_168":206,"unknown_87":12288,"ignition":22,"odometer":null,"unknown_45":8570842697193191424}} 
[2026-04-26 10:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:30:57] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:30:57] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:31:13] local.INFO: TCP Data received {"connection_id":55311,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:31:13] local.INFO: Processing buffer {"connection_id":55311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:31:13] local.INFO: IMEI packet received {"connection_id":55311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":55311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:31:14] local.INFO: TCP Data received {"connection_id":55312,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:31:14] local.INFO: Processing buffer {"connection_id":55312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:31:14] local.INFO: IMEI packet received {"connection_id":55312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":55312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:31:18] local.INFO: TCP Data received {"connection_id":55311,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:31:18] local.INFO: Processing buffer {"connection_id":55311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:31:18] local.INFO: IMEI packet received {"connection_id":55311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":55311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:31:19] local.INFO: TCP Data received {"connection_id":55311,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:31:19] local.INFO: Processing buffer {"connection_id":55311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82506b8012d10ef40072069e00031003b21..."} 
[2026-04-26 10:31:19] local.INFO: Packet analysis {"connection_id":55311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:31:19] local.INFO: Extracted packet for processing {"connection_id":55311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc825"} 
[2026-04-26 10:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957839872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777179363000,"timestamp_ms":1777179363000,"timestamp_seconds":1777179363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82506b8"} 
[2026-04-26 10:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:31:19] 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-04-26 10:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:31: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-04-26 10:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957839872001,"66":2166,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957839872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:31:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:31:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957839872001,"power":2166,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":55311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:31:19] local.INFO: GPS data processed {"connection_id":55311,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:31:19] local.INFO: Acknowledgment sent {"connection_id":55311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:31:19] local.INFO: TCP Data received {"connection_id":55312,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:31:19] local.INFO: Processing buffer {"connection_id":55312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:31:19] local.INFO: IMEI packet received {"connection_id":55312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":55312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:31:20] local.INFO: TCP Data received {"connection_id":55312,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:31:20] local.INFO: Processing buffer {"connection_id":55312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:31:20] local.INFO: Packet analysis {"connection_id":55312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:31:20] local.INFO: Extracted packet for processing {"connection_id":55312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:31: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-04-26 10: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-04-26 10:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:31: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-04-26 10:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":55312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:31:20] local.INFO: GPS data processed {"connection_id":55312,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:31:20] local.INFO: Acknowledgment sent {"connection_id":55312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:31:28] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82719f8012d76e58005d838d80000015e14..."} 
[2026-04-26 10:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82719f8012d76e58005d838d80000015e14..."} 
[2026-04-26 10:31:28] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82719f8012d76e58005d838d80000015e14..."} 
[2026-04-26 10:31:28] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc827"} 
[2026-04-26 10:31:28] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc827"} 
[2026-04-26 10:31:28] local.INFO: GPS Element Parsed {"raw_longitude":762766720,"raw_latitude":98056408,"longitude_deg":76.276672,"latitude_deg":9.8056408,"altitude":0,"angle":350,"satellites":20,"speed":16,"hex_longitude":"2d76e580","hex_latitude":"05d838d8","is_valid_coordinates":true} 
[2026-04-26 10:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957946624001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76437043340640256,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8569153847335258112,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777179499000,"timestamp_ms":1777179499000,"timestamp_seconds":1777179499,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82719f8"} 
[2026-04-26 10:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 10:31:28] 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-04-26 10:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957946624001,"66":13624,"168":206,"87":12288,"24":16,"16":76437043340640256,"45":8569153847335258112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957946624001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:31:28] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:31:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76437043340640256,"km_value":76437043340640.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8569153847335258112,"description":"Unknown IO ID 45"} 
[2026-04-26 10:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957946624001,"power":13624,"unknown_168":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8569153847335258112}} 
[2026-04-26 10:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:31:28] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:31:28] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:31:51] local.INFO: TCP Data received {"connection_id":55311,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8299e80012d10ef40072069e00031003b23..."} 
[2026-04-26 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8299e80012d10ef40072069e00031003b23..."} 
[2026-04-26 10:31:51] local.INFO: Processing buffer {"connection_id":55311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8299e80012d10ef40072069e00031003b23..."} 
[2026-04-26 10:31:51] local.INFO: Packet analysis {"connection_id":55311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc829"} 
[2026-04-26 10:31:51] local.INFO: Extracted packet for processing {"connection_id":55311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc829"} 
[2026-04-26 10:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":35,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957916928001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179664000,"timestamp_ms":1777179664000,"timestamp_seconds":1777179664,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8299e80"} 
[2026-04-26 10:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 10:31: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-04-26 10: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-04-26 10:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957916928001,"66":2155,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957916928001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957916928001,"power":2155,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":55311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:31:51] local.INFO: GPS data processed {"connection_id":55311,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:31:51] local.INFO: Acknowledgment sent {"connection_id":55311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:31:51] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:31:51] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:31:51] local.INFO: IMEI packet received {"connection_id":54568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":54568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:31:51] local.INFO: TCP Data received {"connection_id":55312,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:31:51] local.INFO: Processing buffer {"connection_id":55312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:31:51] local.INFO: Packet analysis {"connection_id":55312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:31:51] local.INFO: Extracted packet for processing {"connection_id":55312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:31:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:31: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-04-26 10: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-04-26 10:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:31: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-04-26 10:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":55312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:31:51] local.INFO: GPS data processed {"connection_id":55312,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:31:51] local.INFO: Acknowledgment sent {"connection_id":55312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:31:56] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:31:56] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:31:56] local.INFO: IMEI packet received {"connection_id":54568,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":54568,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:31:57] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8276c00012d76df0005d856d80000015b14..."} 
[2026-04-26 10:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8276c00012d76df0005d856d80000015b14..."} 
[2026-04-26 10:31:57] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8276c00012d76df0005d856d80000015b14..."} 
[2026-04-26 10:31:57] local.INFO: Packet analysis {"connection_id":54568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc827"} 
[2026-04-26 10:31:57] local.INFO: Extracted packet for processing {"connection_id":54568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc827"} 
[2026-04-26 10:31:57] local.INFO: GPS Element Parsed {"raw_longitude":762765056,"raw_latitude":98064088,"longitude_deg":76.2765056,"latitude_deg":9.8064088,"altitude":0,"angle":347,"satellites":20,"speed":20,"hex_longitude":"2d76df00","hex_latitude":"05d856d8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957951744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76437421297762304,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8567394628733032448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179520000,"timestamp_ms":1777179520000,"timestamp_seconds":1777179520,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8276c00"} 
[2026-04-26 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-04-26 10:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 10:31:57] 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-04-26 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-04-26 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-04-26 10:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957951744001,"66":13406,"168":206,"87":12288,"24":20,"16":76437421297762304,"45":8567394628733032448},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957951744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:31:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:31:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76437421297762304,"km_value":76437421297762.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8567394628733032448,"description":"Unknown IO ID 45"} 
[2026-04-26 10:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957951744001,"power":13406,"unknown_168":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8567394628733032448}} 
[2026-04-26 10:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":54568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:31:57] local.INFO: GPS data processed {"connection_id":54568,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:31:57] local.INFO: Acknowledgment sent {"connection_id":54568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:32:13] local.INFO: TCP Data received {"connection_id":55313,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:32:13] local.INFO: Processing buffer {"connection_id":55313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:32:13] local.INFO: IMEI packet received {"connection_id":55313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":55313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:32:14] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:32:14] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:32:14] local.INFO: IMEI packet received {"connection_id":54642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:32:18] local.INFO: TCP Data received {"connection_id":55313,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:32:18] local.INFO: Processing buffer {"connection_id":55313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:32:18] local.INFO: IMEI packet received {"connection_id":55313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":55313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:32:19] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:32:19] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:32:19] local.INFO: IMEI packet received {"connection_id":54642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":54642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:32:20] local.INFO: TCP Data received {"connection_id":55313,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:32:20] local.INFO: Processing buffer {"connection_id":55313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:32:20] local.INFO: Packet analysis {"connection_id":55313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:32:20] local.INFO: Extracted packet for processing {"connection_id":55313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:32:20] 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-04-26 10:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957993984001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179693000,"timestamp_ms":1777179693000,"timestamp_seconds":1777179693,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82a0fc8"} 
[2026-04-26 10:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10: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-04-26 10: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-04-26 10:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957993984001,"66":2155,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957993984001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957993984001,"power":2155,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":55313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:32:20] local.INFO: GPS data processed {"connection_id":55313,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:32:20] local.INFO: Acknowledgment sent {"connection_id":55313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:32:20] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:32:20] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:32:20] local.INFO: Packet analysis {"connection_id":54642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:32:20] local.INFO: Extracted packet for processing {"connection_id":54642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:32: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-04-26 10: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-04-26 10:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:32: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-04-26 10:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":54642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:32:20] local.INFO: GPS data processed {"connection_id":54642,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:32:20] local.INFO: Acknowledgment sent {"connection_id":54642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:32:28] local.INFO: TCP Data received {"connection_id":54568,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc827aa80012d76d70005d87ab80000015a14..."} 
[2026-04-26 10:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc827aa80012d76d70005d87ab80000015a14..."} 
[2026-04-26 10:32:28] local.INFO: Processing buffer {"connection_id":54568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc827aa80012d76d70005d87ab80000015a14..."} 
[2026-04-26 10:32:28] local.INFO: Packet analysis {"connection_id":54568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc827"} 
[2026-04-26 10:32:28] local.INFO: Extracted packet for processing {"connection_id":54568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc827"} 
[2026-04-26 10:32:28] local.INFO: GPS Element Parsed {"raw_longitude":762763008,"raw_latitude":98073272,"longitude_deg":76.2763008,"latitude_deg":9.8073272,"altitude":0,"angle":346,"satellites":20,"speed":24,"hex_longitude":"2d76d700","hex_latitude":"05d87ab8","is_valid_coordinates":true} 
[2026-04-26 10:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957957120001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76437880859262976,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8565565041386379264,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777179536000,"timestamp_ms":1777179536000,"timestamp_seconds":1777179536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc827aa80"} 
[2026-04-26 10:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:32:28] 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-04-26 10:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-26 10:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54568,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957957120001,"66":12722,"55":206,"85":15104,"24":24,"16":76437880859262976,"45":8565565041386379264},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,85,24,16,45]} 
[2026-04-26 10:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957957120001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:32:28] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-26 10:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76437880859262976,"km_value":76437880859262.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8565565041386379264,"description":"Unknown IO ID 45"} 
[2026-04-26 10:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957957120001,"power":12722,"unknown_55":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8565565041386379264}} 
[2026-04-26 10:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":54568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:32:28] local.INFO: GPS data processed {"connection_id":54568,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:32:28] local.INFO: Acknowledgment sent {"connection_id":54568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:32:51] local.INFO: TCP Data received {"connection_id":55315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:51] local.INFO: Processing buffer {"connection_id":55315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:51] local.INFO: IMEI packet received {"connection_id":55315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":55315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:32:51] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:32:51] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:32:51] local.INFO: Packet analysis {"connection_id":54642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:32:51] local.INFO: Extracted packet for processing {"connection_id":54642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:32: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-04-26 10:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:32: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-04-26 10:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":54642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:32:51] local.INFO: GPS data processed {"connection_id":54642,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:32:51] local.INFO: Acknowledgment sent {"connection_id":54642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:32:51] local.INFO: TCP Data received {"connection_id":55313,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:32:51] local.INFO: Processing buffer {"connection_id":55313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:32:51] local.INFO: Packet analysis {"connection_id":55313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:32:51] local.INFO: Extracted packet for processing {"connection_id":55313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:32:51] 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-04-26 10:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958001408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179693000,"timestamp_ms":1777179693000,"timestamp_seconds":1777179693,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82a0fc8"} 
[2026-04-26 10:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 10:32: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-04-26 10:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958001408001,"66":2155,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958001408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958001408001,"power":2155,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":55313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:32:51] local.INFO: GPS data processed {"connection_id":55313,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:32:51] local.INFO: Acknowledgment sent {"connection_id":55313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:32:52] local.INFO: TCP Data received {"connection_id":55315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:52] local.INFO: Processing buffer {"connection_id":55315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:52] local.INFO: IMEI packet received {"connection_id":55315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":55315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:32:56] local.INFO: TCP Data received {"connection_id":55315,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55315,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:56] local.INFO: Processing buffer {"connection_id":55315,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:32:56] local.INFO: IMEI packet received {"connection_id":55315,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":55315,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:32:57] local.INFO: TCP Data received {"connection_id":55315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82a9c68012d76b84005d95c980002015c16..."} 
[2026-04-26 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82a9c68012d76b84005d95c980002015c16..."} 
[2026-04-26 10:32:57] local.INFO: Processing buffer {"connection_id":55315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82a9c68012d76b84005d95c980002015c16..."} 
[2026-04-26 10:32:57] local.INFO: Packet analysis {"connection_id":55315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:32:57] local.INFO: Extracted packet for processing {"connection_id":55315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":762755136,"raw_latitude":98131096,"longitude_deg":76.2755136,"latitude_deg":9.8131096,"altitude":2,"angle":348,"satellites":22,"speed":0,"hex_longitude":"2d76b840","hex_latitude":"05d95c98","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958005248001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76440728422580224,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8554657886055995392,"note":"Value kept but may cause issues"} 
[2026-04-26 10:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777179729000,"timestamp_ms":1777179729000,"timestamp_seconds":1777179729,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82a9c68"} 
[2026-04-26 10:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:32:57] 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-04-26 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 10:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958005248001,"66":13472,"168":206,"87":12288,"24":0,"16":76440728422580224,"45":8554657886055995392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958005248001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:32:57] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:32:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76440728422580224,"km_value":76440728422580.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8554657886055995392,"description":"Unknown IO ID 45"} 
[2026-04-26 10:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958005248001,"power":13472,"unknown_168":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8554657886055995392}} 
[2026-04-26 10:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":55315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64563,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:32:57] local.INFO: GPS data processed {"connection_id":55315,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:32:57] local.INFO: Acknowledgment sent {"connection_id":55315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:10] local.INFO: TCP Data received {"connection_id":55314,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55314,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:33:10] local.INFO: Processing buffer {"connection_id":55314,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:33:10] local.INFO: IMEI packet received {"connection_id":55314,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":55314,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:33:18] local.INFO: TCP Data received {"connection_id":54643,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:33:18] local.INFO: Processing buffer {"connection_id":54643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:33:18] local.INFO: IMEI packet received {"connection_id":54643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":54643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:33:19] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:33:19] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:33:19] local.INFO: IMEI packet received {"connection_id":54569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":54569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:33:23] local.INFO: TCP Data received {"connection_id":54643,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:33:23] local.INFO: Processing buffer {"connection_id":54643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:33:23] local.INFO: IMEI packet received {"connection_id":54643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":54643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:33:24] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:33:24] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:33:24] local.INFO: IMEI packet received {"connection_id":54569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":54569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:33:24] local.INFO: TCP Data received {"connection_id":54643,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:33:24] local.INFO: Processing buffer {"connection_id":54643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82a0fc8012d10ef40072069e00031003b22..."} 
[2026-04-26 10:33:24] local.INFO: Packet analysis {"connection_id":54643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:24] local.INFO: Extracted packet for processing {"connection_id":54643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756084544,"raw_latitude":119564768,"longitude_deg":75.6084544,"latitude_deg":11.9564768,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10ef40","hex_latitude":"072069e0","is_valid_coordinates":true} 
[2026-04-26 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958001408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777179693000,"timestamp_ms":1777179693000,"timestamp_seconds":1777179693,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82a0fc8"} 
[2026-04-26 10:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 10:33: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-04-26 10:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958001408001,"66":2155,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958001408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:24] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:33:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958001408001,"power":2155,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":54643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:25] local.INFO: GPS data processed {"connection_id":54643,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:25] local.INFO: Acknowledgment sent {"connection_id":54643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:25] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:33:25] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:33:25] local.INFO: Packet analysis {"connection_id":54569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:33:25] local.INFO: Extracted packet for processing {"connection_id":54569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:33:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:33:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:33:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:33: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-04-26 10:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:33:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":54569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:25] local.INFO: GPS data processed {"connection_id":54569,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:25] local.INFO: Acknowledgment sent {"connection_id":54569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:26] local.INFO: TCP Data received {"connection_id":54643,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82a69a0012d10f180072069a80031003b22..."} 
[2026-04-26 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82a69a0012d10f180072069a80031003b22..."} 
[2026-04-26 10:33:26] local.INFO: Processing buffer {"connection_id":54643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82a69a0012d10f180072069a80031003b22..."} 
[2026-04-26 10:33:26] local.INFO: Packet analysis {"connection_id":54643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:26] local.INFO: Extracted packet for processing {"connection_id":54643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756085120,"raw_latitude":119564712,"longitude_deg":75.608512,"latitude_deg":11.9564712,"altitude":49,"angle":59,"satellites":34,"speed":0,"hex_longitude":"2d10f180","hex_latitude":"072069a8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958001408001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220264423393452032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777179716000,"timestamp_ms":1777179716000,"timestamp_seconds":1777179716,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82a69a0"} 
[2026-04-26 10:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 10:33: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-04-26 10: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-04-26 10:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958001408001,"66":13830,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220264423393452032},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958001408001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:26] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:33:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220264423393452032,"description":"Unknown IO ID 45"} 
[2026-04-26 10:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958001408001,"power":13830,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220264423393452032}} 
[2026-04-26 10:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":54643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:26] local.INFO: GPS data processed {"connection_id":54643,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:26] local.INFO: Acknowledgment sent {"connection_id":54643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:28] local.INFO: TCP Data received {"connection_id":55315,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82aee70012d76b84005d95c980002015c17..."} 
[2026-04-26 10:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82aee70012d76b84005d95c980002015c17..."} 
[2026-04-26 10:33:28] local.INFO: Processing buffer {"connection_id":55315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82aee70012d76b84005d95c980002015c17..."} 
[2026-04-26 10:33:28] local.INFO: Packet analysis {"connection_id":55315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:28] local.INFO: Extracted packet for processing {"connection_id":55315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:28] local.INFO: GPS Element Parsed {"raw_longitude":762755136,"raw_latitude":98131096,"longitude_deg":76.2755136,"latitude_deg":9.8131096,"altitude":2,"angle":348,"satellites":23,"speed":0,"hex_longitude":"2d76b840","hex_latitude":"05d95c98","is_valid_coordinates":true} 
[2026-04-26 10:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958010624001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76440728422580224,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8554657886055995392,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777179750000,"timestamp_ms":1777179750000,"timestamp_seconds":1777179750,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82aee70"} 
[2026-04-26 10:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 10:33:28] 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-04-26 10:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55315,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958010624001,"66":13526,"168":206,"87":12288,"24":0,"16":76440728422580224,"45":8554657886055995392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958010624001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:28] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:33:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76440728422580224,"km_value":76440728422580.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8554657886055995392,"description":"Unknown IO ID 45"} 
[2026-04-26 10:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958010624001,"power":13526,"unknown_168":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8554657886055995392}} 
[2026-04-26 10:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":55315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:28] local.INFO: GPS data processed {"connection_id":55315,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:28] local.INFO: Acknowledgment sent {"connection_id":55315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:30] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:33:30] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:33:30] local.INFO: Packet analysis {"connection_id":54569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:33:30] local.INFO: Extracted packet for processing {"connection_id":54569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:33: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-04-26 10:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":54569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:30] local.INFO: GPS data processed {"connection_id":54569,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:30] local.INFO: Acknowledgment sent {"connection_id":54569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:40] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:33:40] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:33:40] local.INFO: IMEI packet received {"connection_id":54570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":54570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:33:56] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:33:56] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:33:56] local.INFO: IMEI packet received {"connection_id":54388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":54388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:33:57] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:33:57] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:33:57] local.INFO: IMEI packet received {"connection_id":54388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":54388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:33:58] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82b4078012d76b84005d95c980002015c18..."} 
[2026-04-26 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82b4078012d76b84005d95c980002015c18..."} 
[2026-04-26 10:33:58] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82b4078012d76b84005d95c980002015c18..."} 
[2026-04-26 10:33:58] local.INFO: Packet analysis {"connection_id":54388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82b"} 
[2026-04-26 10:33:58] local.INFO: Extracted packet for processing {"connection_id":54388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82b"} 
[2026-04-26 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":762755136,"raw_latitude":98131096,"longitude_deg":76.2755136,"latitude_deg":9.8131096,"altitude":2,"angle":348,"satellites":24,"speed":0,"hex_longitude":"2d76b840","hex_latitude":"05d95c98","is_valid_coordinates":true} 
[2026-04-26 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958016000001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76440728422580224,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8554657886055995392,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777179771000,"timestamp_ms":1777179771000,"timestamp_seconds":1777179771,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82b4078"} 
[2026-04-26 10:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:58] 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-04-26 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-26 10:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958016000001,"66":13396,"168":206,"87":12288,"24":0,"16":76440728422580224,"45":8554657886055995392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958016000001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76440728422580224,"km_value":76440728422580.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8554657886055995392,"description":"Unknown IO ID 45"} 
[2026-04-26 10:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958016000001,"power":13396,"unknown_168":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8554657886055995392}} 
[2026-04-26 10:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":54388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:58] local.INFO: GPS data processed {"connection_id":54388,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:58] local.INFO: Acknowledgment sent {"connection_id":54388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:33:58] local.INFO: TCP Data received {"connection_id":54643,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82abba8012d10f180072069a80031003b21..."} 
[2026-04-26 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82abba8012d10f180072069a80031003b21..."} 
[2026-04-26 10:33:58] local.INFO: Processing buffer {"connection_id":54643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82abba8012d10f180072069a80031003b21..."} 
[2026-04-26 10:33:58] local.INFO: Packet analysis {"connection_id":54643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:58] local.INFO: Extracted packet for processing {"connection_id":54643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:33:58] local.INFO: GPS Element Parsed {"raw_longitude":756085120,"raw_latitude":119564712,"longitude_deg":75.608512,"latitude_deg":11.9564712,"altitude":49,"angle":59,"satellites":33,"speed":0,"hex_longitude":"2d10f180","hex_latitude":"072069a8","is_valid_coordinates":true} 
[2026-04-26 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958007296001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664687521497088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220897742091036672,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777179737000,"timestamp_ms":1777179737000,"timestamp_seconds":1777179737,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82abba8"} 
[2026-04-26 10:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:33:58] 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-04-26 10:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855930862848,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3357568752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-2305789132151848960,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":698253313,"corrected_to":0} 
[2026-04-26 10:33:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1777139918,"corrected_to":0} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":6,"raw_value":3087084816,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2882634787250505504,"note":"Value kept but may cause issues"} 
[2026-04-26 10:33:58] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,237,28,24,241,158,16,94,157,15,45,64,105,49,34,10,66,1,240,107,200,32,4,113,205,6,239,224,33,8,2,151,7,215],"length":528,"final_offset":658,"validated_count":34,"validation_warnings":[{"io_id":200,"original":698253313,"validated":0},{"io_id":205,"original":1777139918,"validated":0}]} 
[2026-04-26 10:33:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530887125073395712,"timestamp_seconds":3530887125073395.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958007296001,"66":14102,"237":206,"28":26880,"24":0,"16":114664687521497088,"45":1220897742091036672},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958007296001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664687521497088,"km_value":114664687521497.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220897742091036672,"description":"Unknown IO ID 45"} 
[2026-04-26 10:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958007296001,"power":14102,"unknown_237":206,"unknown_28":26880,"ignition":0,"odometer":null,"unknown_45":1220897742091036672}} 
[2026-04-26 10:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":54643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:33:58] local.INFO: GPS data processed {"connection_id":54643,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:33:58] local.INFO: Acknowledgment sent {"connection_id":54643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:02] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82b9280012d76b58005d96a580001015d18..."} 
[2026-04-26 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82b9280012d76b58005d96a580001015d18..."} 
[2026-04-26 10:34:02] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82b9280012d76b58005d96a580001015d18..."} 
[2026-04-26 10:34:02] local.INFO: Packet analysis {"connection_id":54388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82b"} 
[2026-04-26 10:34:02] local.INFO: Extracted packet for processing {"connection_id":54388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82b"} 
[2026-04-26 10:34:02] local.INFO: GPS Element Parsed {"raw_longitude":762754432,"raw_latitude":98134616,"longitude_deg":76.2754432,"latitude_deg":9.8134616,"altitude":1,"angle":349,"satellites":24,"speed":12,"hex_longitude":"2d76b580","hex_latitude":"05d96a58","is_valid_coordinates":true} 
[2026-04-26 10:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958021376001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76440908811206656,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8554657886055995392,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777179792000,"timestamp_ms":1777179792000,"timestamp_seconds":1777179792,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82b9280"} 
[2026-04-26 10:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34:02] 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-04-26 10:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-26 10:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":54388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":54388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":54388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958021376001,"66":13319,"168":206,"87":12288,"24":12,"16":76440908811206656,"45":8554657886055995392},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958021376001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:02] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76440908811206656,"km_value":76440908811206.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8554657886055995392,"description":"Unknown IO ID 45"} 
[2026-04-26 10:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958021376001,"power":13319,"unknown_168":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8554657886055995392}} 
[2026-04-26 10:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":54388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:02] local.INFO: GPS data processed {"connection_id":54388,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:02] local.INFO: Acknowledgment sent {"connection_id":54388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:13] local.INFO: TCP Data received {"connection_id":54644,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:13] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:13] local.INFO: IMEI packet received {"connection_id":54644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":54644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:34:14] local.INFO: TCP Data received {"connection_id":54644,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:14] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:14] local.INFO: IMEI packet received {"connection_id":54644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":54644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:34:14] local.INFO: TCP Data received {"connection_id":55316,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:34:14] local.INFO: Processing buffer {"connection_id":55316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:34:14] local.INFO: IMEI packet received {"connection_id":55316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":55316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:34:18] local.INFO: TCP Data received {"connection_id":54644,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:18] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:34:18] local.INFO: IMEI packet received {"connection_id":54644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":54644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:34:19] local.INFO: TCP Data received {"connection_id":54644,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82aded0012d10f1c007206a50003a009722..."} 
[2026-04-26 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82aded0012d10f1c007206a50003a009722..."} 
[2026-04-26 10:34:19] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82aded0012d10f1c007206a50003a009722..."} 
[2026-04-26 10:34:19] local.INFO: Packet analysis {"connection_id":54644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:34:19] local.INFO: Extracted packet for processing {"connection_id":54644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756085184,"raw_latitude":119564880,"longitude_deg":75.6085184,"latitude_deg":11.956488,"altitude":58,"angle":151,"satellites":34,"speed":5,"hex_longitude":"2d10f1c0","hex_latitude":"07206a50","is_valid_coordinates":true} 
[2026-04-26 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664696111431680,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220897742091036672,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777179746000,"timestamp_ms":1777179746000,"timestamp_seconds":1777179746,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82aded0"} 
[2026-04-26 10:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34:19] 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-04-26 10:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 10:34:19] 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-04-26 10:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958012672001,"66":14135,"237":206,"28":26880,"24":5,"16":114664696111431680,"45":1220897742091036672},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:19] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:34:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664696111431680,"km_value":114664696111431.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220897742091036672,"description":"Unknown IO ID 45"} 
[2026-04-26 10:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958012672001,"power":14135,"unknown_237":206,"unknown_28":26880,"ignition":5,"odometer":null,"unknown_45":1220897742091036672}} 
[2026-04-26 10:34:19] local.INFO: TCP Data received {"connection_id":55316,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:34:19] local.INFO: Processing buffer {"connection_id":55316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:34:19] local.INFO: IMEI packet received {"connection_id":55316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":55316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":54644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:19] local.INFO: GPS data processed {"connection_id":54644,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:19] local.INFO: Acknowledgment sent {"connection_id":54644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:20] local.INFO: TCP Data received {"connection_id":55316,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:34:20] local.INFO: Processing buffer {"connection_id":55316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:34:20] local.INFO: Packet analysis {"connection_id":55316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:34:20] local.INFO: Extracted packet for processing {"connection_id":55316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:34: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-04-26 10: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-04-26 10:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:20] local.INFO: GPS data processed {"connection_id":55316,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:20] local.INFO: Acknowledgment sent {"connection_id":55316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:21] local.INFO: TCP Data received {"connection_id":54644,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82ae2b8012d10f1c0072069f0003a00a722..."} 
[2026-04-26 10:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82ae2b8012d10f1c0072069f0003a00a722..."} 
[2026-04-26 10:34:21] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82ae2b8012d10f1c0072069f0003a00a722..."} 
[2026-04-26 10:34:21] local.INFO: Packet analysis {"connection_id":54644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:34:21] local.INFO: Extracted packet for processing {"connection_id":54644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82a"} 
[2026-04-26 10:34:21] local.INFO: GPS Element Parsed {"raw_longitude":756085184,"raw_latitude":119564784,"longitude_deg":75.6085184,"latitude_deg":11.9564784,"altitude":58,"angle":167,"satellites":34,"speed":3,"hex_longitude":"2d10f1c0","hex_latitude":"072069f0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:34:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958014976001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114664700406398976,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220968110835257344,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777179747000,"timestamp_ms":1777179747000,"timestamp_seconds":1777179747,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82ae2b8"} 
[2026-04-26 10:34:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34: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-04-26 10: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-26 10:34:21] 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-04-26 10: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-04-26 10:34:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:34:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:34:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:34:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:34:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958014976001,"66":14135,"237":206,"28":26880,"24":3,"16":114664700406398976,"45":1220968110835257344},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:34:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:34:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:34:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958014976001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:21] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:34:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:34:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114664700406398976,"km_value":114664700406398.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220968110835257344,"description":"Unknown IO ID 45"} 
[2026-04-26 10:34:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958014976001,"power":14135,"unknown_237":206,"unknown_28":26880,"ignition":3,"odometer":null,"unknown_45":1220968110835257344}} 
[2026-04-26 10:34:21] local.INFO: DEBUG: GPS processor result {"connection_id":54644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:21] local.INFO: GPS data processed {"connection_id":54644,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:21] local.INFO: Acknowledgment sent {"connection_id":54644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:51] local.INFO: TCP Data received {"connection_id":55316,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:34:51] local.INFO: Processing buffer {"connection_id":55316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8283b08012cb299c007822ce0004f001230..."} 
[2026-04-26 10:34:51] local.INFO: Packet analysis {"connection_id":55316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:34:51] local.INFO: Extracted packet for processing {"connection_id":55316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc828"} 
[2026-04-26 10:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957893632001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179573000,"timestamp_ms":1777179573000,"timestamp_seconds":1777179573,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8283b08"} 
[2026-04-26 10:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:34: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-04-26 10: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-04-26 10:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957893632001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957893632001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957893632001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:51] local.INFO: GPS data processed {"connection_id":55316,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:51] local.INFO: Acknowledgment sent {"connection_id":55316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:53] local.INFO: TCP Data received {"connection_id":54644,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82c6958012d10e6c0072055d8003f008923..."} 
[2026-04-26 10:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82c6958012d10e6c0072055d8003f008923..."} 
[2026-04-26 10:34:53] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82c6958012d10e6c0072055d8003f008923..."} 
[2026-04-26 10:34:53] local.INFO: Packet analysis {"connection_id":54644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:34:53] local.INFO: Extracted packet for processing {"connection_id":54644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756082368,"raw_latitude":119559640,"longitude_deg":75.6082368,"latitude_deg":11.955964,"altitude":63,"angle":137,"satellites":35,"speed":17,"hex_longitude":"2d10e6c0","hex_latitude":"072055d8","is_valid_coordinates":true} 
[2026-04-26 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958040576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114665701133778944,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1217520042369294336,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777179847000,"timestamp_ms":1777179847000,"timestamp_seconds":1777179847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82c6958"} 
[2026-04-26 10:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34:53] 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-04-26 10:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 10:34:53] 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-04-26 10:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958040576001,"66":14483,"237":206,"28":26880,"24":17,"16":114665701133778944,"45":1217520042369294336},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,28,24,16,45]} 
[2026-04-26 10:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958040576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:53] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-26 10:34:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-26 10:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114665701133778944,"km_value":114665701133778.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1217520042369294336,"description":"Unknown IO ID 45"} 
[2026-04-26 10:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958040576001,"power":14483,"unknown_237":206,"unknown_28":26880,"ignition":17,"odometer":null,"unknown_45":1217520042369294336}} 
[2026-04-26 10:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":54644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:53] local.INFO: GPS data processed {"connection_id":54644,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:53] local.INFO: Acknowledgment sent {"connection_id":54644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:34:58] local.INFO: TCP Data received {"connection_id":54388,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82c6570012d76c18005d91ff0000000ad18..."} 
[2026-04-26 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82c6570012d76c18005d91ff0000000ad18..."} 
[2026-04-26 10:34:58] local.INFO: Processing buffer {"connection_id":54388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82c6570012d76c18005d91ff0000000ad18..."} 
[2026-04-26 10:34:58] local.INFO: Packet analysis {"connection_id":54388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:34:58] local.INFO: Extracted packet for processing {"connection_id":54388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":762757504,"raw_latitude":98115568,"longitude_deg":76.2757504,"latitude_deg":9.8115568,"altitude":0,"angle":173,"satellites":24,"speed":46,"hex_longitude":"2d76c180","hex_latitude":"05d91ff0","is_valid_coordinates":true} 
[2026-04-26 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958038016001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76441935308390400,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8555994892193789952,"note":"Value kept but may cause issues"} 
[2026-04-26 10:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777179846000,"timestamp_ms":1777179846000,"timestamp_seconds":1777179846,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82c6570"} 
[2026-04-26 10:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 10:34:58] 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-04-26 10:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958038016001,"66":13678,"168":206,"87":12288,"24":46,"16":76441935308390400,"45":8555994892193789952},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958038016001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:34:58] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76441935308390400,"km_value":76441935308390.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8555994892193789952,"description":"Unknown IO ID 45"} 
[2026-04-26 10:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958038016001,"power":13678,"unknown_168":206,"unknown_87":12288,"ignition":46,"odometer":null,"unknown_45":8555994892193789952}} 
[2026-04-26 10:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":54388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:34:58] local.INFO: GPS data processed {"connection_id":54388,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:34:58] local.INFO: Acknowledgment sent {"connection_id":54388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:35:11] local.INFO: TCP Data received {"connection_id":54389,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:11] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:11] local.INFO: IMEI packet received {"connection_id":54389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":54389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:35:13] local.INFO: TCP Data received {"connection_id":54389,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:13] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:13] local.INFO: IMEI packet received {"connection_id":54389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":54389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:35:13] local.INFO: TCP Data received {"connection_id":54389,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:13] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:13] local.INFO: IMEI packet received {"connection_id":54389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":54389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:35:14] local.INFO: TCP Data received {"connection_id":54389,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:14] local.INFO: Processing buffer {"connection_id":54389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:35:14] local.INFO: IMEI packet received {"connection_id":54389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:35:14] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:35:14] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:35:14] local.INFO: IMEI packet received {"connection_id":54390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:35:19] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:35:19] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:35:19] local.INFO: IMEI packet received {"connection_id":54390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:35:20] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:35:20] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:35:20] local.INFO: Packet analysis {"connection_id":54390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:35:20] local.INFO: Extracted packet for processing {"connection_id":54390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:35: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-04-26 10: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-04-26 10:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":54390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:35:20] local.INFO: GPS data processed {"connection_id":54390,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:35:20] local.INFO: Acknowledgment sent {"connection_id":54390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:35:51] local.INFO: TCP Data received {"connection_id":54390,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:35:51] local.INFO: Processing buffer {"connection_id":54390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:35:51] local.INFO: Packet analysis {"connection_id":54390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:35:51] local.INFO: Extracted packet for processing {"connection_id":54390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:35: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-04-26 10: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-04-26 10:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:35:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:35:51] local.INFO: GPS data processed {"connection_id":54390,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:35:51] local.INFO: Acknowledgment sent {"connection_id":54390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:36:07] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:07] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:07] local.INFO: IMEI packet received {"connection_id":54571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":54571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:36:16] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:16] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:16] local.INFO: IMEI packet received {"connection_id":54571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":54571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:36:19] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:36:19] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:36:19] local.INFO: IMEI packet received {"connection_id":54645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":54645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:36:25] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:36:25] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:36:25] local.INFO: IMEI packet received {"connection_id":54645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":54645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:36:25] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:36:25] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:36:25] local.INFO: Packet analysis {"connection_id":54645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:36:25] local.INFO: Extracted packet for processing {"connection_id":54645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:36: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-04-26 10:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:36:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":54645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:36:25] local.INFO: GPS data processed {"connection_id":54645,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:36:25] local.INFO: Acknowledgment sent {"connection_id":54645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:36:29] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:36:29] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:36:29] local.INFO: Packet analysis {"connection_id":54645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:36:29] local.INFO: Extracted packet for processing {"connection_id":54645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:36: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-04-26 10:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:36:29] 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-04-26 10:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:36:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":54645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:36:29] local.INFO: GPS data processed {"connection_id":54645,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:36:29] local.INFO: Acknowledgment sent {"connection_id":54645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:36:41] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:41] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:36:41] local.INFO: IMEI packet received {"connection_id":54571,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:36:41] local.INFO: IMEI acknowledgment sent {"connection_id":54571,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:37:04] local.INFO: TCP Data received {"connection_id":55321,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55321,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:37:04] local.INFO: Processing buffer {"connection_id":55321,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:37:04] local.INFO: IMEI packet received {"connection_id":55321,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":55321,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:37:14] local.INFO: TCP Data received {"connection_id":54391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:37:14] local.INFO: Processing buffer {"connection_id":54391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:37:14] local.INFO: IMEI packet received {"connection_id":54391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":54391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:37:19] local.INFO: TCP Data received {"connection_id":54391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:37:19] local.INFO: Processing buffer {"connection_id":54391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:37:19] local.INFO: IMEI packet received {"connection_id":54391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":54391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:37:20] local.INFO: TCP Data received {"connection_id":54391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:37:20] local.INFO: Processing buffer {"connection_id":54391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:37:20] local.INFO: Packet analysis {"connection_id":54391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:37:20] local.INFO: Extracted packet for processing {"connection_id":54391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:37: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-04-26 10: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-04-26 10:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:37:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:37:20] local.INFO: GPS data processed {"connection_id":54391,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:37:20] local.INFO: Acknowledgment sent {"connection_id":54391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:37:51] local.INFO: TCP Data received {"connection_id":54391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:37:51] local.INFO: Processing buffer {"connection_id":54391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:37:51] local.INFO: Packet analysis {"connection_id":54391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:37:51] local.INFO: Extracted packet for processing {"connection_id":54391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:37: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-04-26 10: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-04-26 10:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:37:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":54391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:37:51] local.INFO: GPS data processed {"connection_id":54391,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:37:51] local.INFO: Acknowledgment sent {"connection_id":54391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:38:14] local.INFO: TCP Data received {"connection_id":54572,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:38:14] local.INFO: Processing buffer {"connection_id":54572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:38:14] local.INFO: IMEI packet received {"connection_id":54572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:38:19] local.INFO: TCP Data received {"connection_id":54572,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:38:19] local.INFO: Processing buffer {"connection_id":54572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:38:19] local.INFO: IMEI packet received {"connection_id":54572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":54572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:38:20] local.INFO: TCP Data received {"connection_id":54572,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:38:20] local.INFO: Processing buffer {"connection_id":54572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:38:20] local.INFO: Packet analysis {"connection_id":54572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:38:20] local.INFO: Extracted packet for processing {"connection_id":54572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:38: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-04-26 10: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-04-26 10:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:38:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":54572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:38:20] local.INFO: GPS data processed {"connection_id":54572,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:38:20] local.INFO: Acknowledgment sent {"connection_id":54572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:38:51] local.INFO: TCP Data received {"connection_id":54572,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:38:51] local.INFO: Processing buffer {"connection_id":54572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:38:51] local.INFO: Packet analysis {"connection_id":54572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:38:51] local.INFO: Extracted packet for processing {"connection_id":54572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:38: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-04-26 10: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-04-26 10:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:38:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":54572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:38:51] local.INFO: GPS data processed {"connection_id":54572,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:38:51] local.INFO: Acknowledgment sent {"connection_id":54572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:39:05] local.INFO: TCP Data received {"connection_id":55323,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:39:05] local.INFO: Processing buffer {"connection_id":55323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:39:05] local.INFO: IMEI packet received {"connection_id":55323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":55323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:39:14] local.INFO: TCP Data received {"connection_id":54574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:39:14] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:39:14] local.INFO: IMEI packet received {"connection_id":54574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":54574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:39:19] local.INFO: TCP Data received {"connection_id":54574,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:39:19] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:39:19] local.INFO: IMEI packet received {"connection_id":54574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":54574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:39:20] local.INFO: TCP Data received {"connection_id":54574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:39:20] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:39:20] local.INFO: Packet analysis {"connection_id":54574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:39:20] local.INFO: Extracted packet for processing {"connection_id":54574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:39: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-04-26 10: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-04-26 10:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:39: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-04-26 10:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:39:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":54574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:39:20] local.INFO: GPS data processed {"connection_id":54574,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:39:20] local.INFO: Acknowledgment sent {"connection_id":54574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:39:40] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:39:40] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:39:40] local.INFO: IMEI packet received {"connection_id":54649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":54649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:39:51] local.INFO: TCP Data received {"connection_id":54574,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:39:51] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc82cd2d0012cb299c007822ce0004d001230..."} 
[2026-04-26 10:39:51] local.INFO: Packet analysis {"connection_id":54574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:39:51] local.INFO: Extracted packet for processing {"connection_id":54574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc82c"} 
[2026-04-26 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957970688001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777179874000,"timestamp_ms":1777179874000,"timestamp_seconds":1777179874,"priority":1,"record_length":96,"hex_timestamp":"0000019dc82cd2d0"} 
[2026-04-26 10:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 10:39: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-04-26 10: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-04-26 10:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957970688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957970688001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:39:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957970688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":54574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:39:51] local.INFO: GPS data processed {"connection_id":54574,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:39:51] local.INFO: Acknowledgment sent {"connection_id":54574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:40:14] local.INFO: TCP Data received {"connection_id":54650,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:40:14] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:40:14] local.INFO: IMEI packet received {"connection_id":54650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":54650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:40:18] local.INFO: TCP Data received {"connection_id":55324,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:40:18] local.INFO: Processing buffer {"connection_id":55324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:40:18] local.INFO: IMEI packet received {"connection_id":55324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":55324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:40:19] local.INFO: TCP Data received {"connection_id":54650,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:40:19] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:40:19] local.INFO: IMEI packet received {"connection_id":54650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":54650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:40:20] local.INFO: TCP Data received {"connection_id":55324,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc830f950012d13d440071f1dc0002d004527..."} 
[2026-04-26 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc830f950012d13d440071f1dc0002d004527..."} 
[2026-04-26 10:40:20] local.INFO: Processing buffer {"connection_id":55324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc830f950012d13d440071f1dc0002d004527..."} 
[2026-04-26 10:40:20] local.INFO: Packet analysis {"connection_id":55324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc830"} 
[2026-04-26 10:40:20] local.INFO: Extracted packet for processing {"connection_id":55324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc830"} 
[2026-04-26 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":756274240,"raw_latitude":119479744,"longitude_deg":75.627424,"latitude_deg":11.9479744,"altitude":45,"angle":69,"satellites":39,"speed":50,"hex_longitude":"2d13d440","hex_latitude":"071f1dc0","is_valid_coordinates":true} 
[2026-04-26 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958115328001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114678397057105920,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1419267231905067008,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180146000,"timestamp_ms":1777180146000,"timestamp_seconds":1777180146,"priority":1,"record_length":96,"hex_timestamp":"0000019dc830f950"} 
[2026-04-26 10:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:40:20] 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-04-26 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 10:40: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-04-26 10:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958115328001,"66":14265,"50":206,"28":31744,"24":50,"16":114678397057105920,"45":1419267231905067008},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958115328001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114678397057105920,"km_value":114678397057105.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1419267231905067008,"description":"Unknown IO ID 45"} 
[2026-04-26 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958115328001,"power":14265,"unknown_50":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":1419267231905067008}} 
[2026-04-26 10:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":55324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:40:20] local.INFO: GPS data processed {"connection_id":55324,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:40:20] local.INFO: Acknowledgment sent {"connection_id":55324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:40:20] local.INFO: TCP Data received {"connection_id":54650,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:40:20] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:40:20] local.INFO: Packet analysis {"connection_id":54650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:40:20] local.INFO: Extracted packet for processing {"connection_id":54650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:40:20] 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-04-26 10:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:40:20] 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-04-26 10:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":54650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:40:20] local.INFO: GPS data processed {"connection_id":54650,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:40:20] local.INFO: Acknowledgment sent {"connection_id":54650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:40:51] local.INFO: TCP Data received {"connection_id":54650,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:40:51] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:40:51] local.INFO: Packet analysis {"connection_id":54650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:40:51] local.INFO: Extracted packet for processing {"connection_id":54650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:40:51] 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-04-26 10:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:40:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":54650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:40:51] local.INFO: GPS data processed {"connection_id":54650,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:40:51] local.INFO: Acknowledgment sent {"connection_id":54650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:41:05] local.INFO: TCP Data received {"connection_id":55324,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83114a8012d13f700071f29d8002b004624..."} 
[2026-04-26 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83114a8012d13f700071f29d8002b004624..."} 
[2026-04-26 10:41:05] local.INFO: Processing buffer {"connection_id":55324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83114a8012d13f700071f29d8002b004624..."} 
[2026-04-26 10:41:05] local.INFO: Packet analysis {"connection_id":55324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:41:05] local.INFO: Extracted packet for processing {"connection_id":55324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:41:05] local.INFO: GPS Element Parsed {"raw_longitude":756283136,"raw_latitude":119482840,"longitude_deg":75.6283136,"latitude_deg":11.948284,"altitude":43,"angle":70,"satellites":36,"speed":52,"hex_longitude":"2d13f700","hex_latitude":"071f29d8","is_valid_coordinates":true} 
[2026-04-26 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958117376001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114678843733704704,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428837381114281984,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777180153000,"timestamp_ms":1777180153000,"timestamp_seconds":1777180153,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83114a8"} 
[2026-04-26 10:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:41:05] 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-04-26 10:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 10:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958117376001,"66":14407,"50":206,"28":31744,"24":52,"16":114678843733704704,"45":1428837381114281984},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-26 10:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958117376001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:41:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-26 10:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114678843733704704,"km_value":114678843733704.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428837381114281984,"description":"Unknown IO ID 45"} 
[2026-04-26 10:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958117376001,"power":14407,"unknown_50":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":1428837381114281984}} 
[2026-04-26 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":55324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:41:06] local.INFO: GPS data processed {"connection_id":55324,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:41:06] local.INFO: Acknowledgment sent {"connection_id":55324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:41:14] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:41:14] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:41:14] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:41:18] local.INFO: TCP Data received {"connection_id":54651,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:41:18] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:41:18] local.INFO: IMEI packet received {"connection_id":54651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":54651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:41:19] local.INFO: TCP Data received {"connection_id":54651,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:41:19] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:41:19] local.INFO: IMEI packet received {"connection_id":54651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":54651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:41:19] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:41:19] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:41:19] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:41:20] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:41:20] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:41:20] local.INFO: Packet analysis {"connection_id":54576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:41:20] local.INFO: Extracted packet for processing {"connection_id":54576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:41:20] 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-04-26 10: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-04-26 10:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:41:20] 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-04-26 10:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:41:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":54576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:41:20] local.INFO: GPS data processed {"connection_id":54576,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:41:20] local.INFO: Acknowledgment sent {"connection_id":54576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:41:21] local.INFO: TCP Data received {"connection_id":54651,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8324170012d153600071fc5e8002c004926..."} 
[2026-04-26 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8324170012d153600071fc5e8002c004926..."} 
[2026-04-26 10:41:21] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8324170012d153600071fc5e8002c004926..."} 
[2026-04-26 10:41:21] local.INFO: Packet analysis {"connection_id":54651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:41:21] local.INFO: Extracted packet for processing {"connection_id":54651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756364800,"raw_latitude":119522792,"longitude_deg":75.63648,"latitude_deg":11.9522792,"altitude":44,"angle":73,"satellites":38,"speed":46,"hex_longitude":"2d153600","hex_latitude":"071fc5e8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958138112001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114683220305379328,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1524820348183267328,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777180230000,"timestamp_ms":1777180230000,"timestamp_seconds":1777180230,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8324170"} 
[2026-04-26 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-04-26 10:41:21] 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-04-26 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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 10:41:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 10:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958138112001,"66":14070,"133":206,"28":31744,"24":46,"16":114683220305379328,"45":1524820348183267328},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958138112001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:41:21] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114683220305379328,"km_value":114683220305379.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1524820348183267328,"description":"Unknown IO ID 45"} 
[2026-04-26 10:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958138112001,"power":14070,"unknown_133":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1524820348183267328}} 
[2026-04-26 10:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":54651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:41:21] local.INFO: GPS data processed {"connection_id":54651,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:41:21] local.INFO: Acknowledgment sent {"connection_id":54651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:41:23] local.INFO: TCP Data received {"connection_id":54651,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8324d28012d1543c0071fc8100029005726..."} 
[2026-04-26 10:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8324d28012d1543c0071fc8100029005726..."} 
[2026-04-26 10:41:23] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8324d28012d1543c0071fc8100029005726..."} 
[2026-04-26 10:41:23] local.INFO: Packet analysis {"connection_id":54651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:41:23] local.INFO: Extracted packet for processing {"connection_id":54651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756368320,"raw_latitude":119523344,"longitude_deg":75.636832,"latitude_deg":11.9523344,"altitude":41,"angle":87,"satellites":38,"speed":47,"hex_longitude":"2d1543c0","hex_latitude":"071fc810","is_valid_coordinates":true} 
[2026-04-26 10:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958138880001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114683392104071168,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1528409154136696832,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777180233000,"timestamp_ms":1777180233000,"timestamp_seconds":1777180233,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8324d28"} 
[2026-04-26 10:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:41:23] 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-04-26 10:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 10:41: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-04-26 10:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958138880001,"66":14233,"133":206,"28":31744,"24":47,"16":114683392104071168,"45":1528409154136696832},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958138880001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:41:23] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:41:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114683392104071168,"km_value":114683392104071.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1528409154136696832,"description":"Unknown IO ID 45"} 
[2026-04-26 10:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958138880001,"power":14233,"unknown_133":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1528409154136696832}} 
[2026-04-26 10:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":54651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:41:23] local.INFO: GPS data processed {"connection_id":54651,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:41:23] local.INFO: Acknowledgment sent {"connection_id":54651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:41:51] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:41:51] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:41:51] local.INFO: Packet analysis {"connection_id":54576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:41:51] local.INFO: Extracted packet for processing {"connection_id":54576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:41:51] 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-04-26 10: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-04-26 10:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:41:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:41:51] local.INFO: GPS data processed {"connection_id":54576,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:41:51] local.INFO: Acknowledgment sent {"connection_id":54576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:41:55] local.INFO: TCP Data received {"connection_id":54651,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8326c68012d156a40071fc5f00025005c25..."} 
[2026-04-26 10:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8326c68012d156a40071fc5f00025005c25..."} 
[2026-04-26 10:41:55] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8326c68012d156a40071fc5f00025005c25..."} 
[2026-04-26 10:41:55] local.INFO: Packet analysis {"connection_id":54651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:41:55] local.INFO: Extracted packet for processing {"connection_id":54651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756378176,"raw_latitude":119522800,"longitude_deg":75.6378176,"latitude_deg":11.95228,"altitude":37,"angle":92,"satellites":37,"speed":45,"hex_longitude":"2d156a40","hex_latitude":"071fc5f0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958139648001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114683860255506432,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1532279435066609664,"note":"Value kept but may cause issues"} 
[2026-04-26 10:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777180241000,"timestamp_ms":1777180241000,"timestamp_seconds":1777180241,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8326c68"} 
[2026-04-26 10:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10: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-04-26 10: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-04-26 10:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958139648001,"66":14428,"133":206,"28":31744,"24":45,"16":114683860255506432,"45":1532279435066609664},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958139648001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:41:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114683860255506432,"km_value":114683860255506.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1532279435066609664,"description":"Unknown IO ID 45"} 
[2026-04-26 10:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958139648001,"power":14428,"unknown_133":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1532279435066609664}} 
[2026-04-26 10:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":54651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:41:55] local.INFO: GPS data processed {"connection_id":54651,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:41:55] local.INFO: Acknowledgment sent {"connection_id":54651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:42:04] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:42:04] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:42:04] local.INFO: IMEI packet received {"connection_id":54577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":54577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:42:05] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8331848012d77a00005d8ace00001015c20..."} 
[2026-04-26 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8331848012d77a00005d8ace00001015c20..."} 
[2026-04-26 10:42:05] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8331848012d77a00005d8ace00001015c20..."} 
[2026-04-26 10:42:05] local.INFO: Packet analysis {"connection_id":54577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc833"} 
[2026-04-26 10:42:05] local.INFO: Extracted packet for processing {"connection_id":54577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc833"} 
[2026-04-26 10:42:05] local.INFO: GPS Element Parsed {"raw_longitude":762814464,"raw_latitude":98086112,"longitude_deg":76.2814464,"latitude_deg":9.8086112,"altitude":1,"angle":348,"satellites":32,"speed":8,"hex_longitude":"2d77a000","hex_latitude":"05d8ace0","is_valid_coordinates":true} 
[2026-04-26 10:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958151680001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76449954012332032,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619960080641320960,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777180285000,"timestamp_ms":1777180285000,"timestamp_seconds":1777180285,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8331848"} 
[2026-04-26 10:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:42:05] 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-04-26 10:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 10:42:05] 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-04-26 10:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958151680001,"66":13526,"188":206,"85":15104,"24":8,"16":76449954012332032,"45":8619960080641320960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 10:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958151680001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:42:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 10:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76449954012332032,"km_value":76449954012332.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619960080641320960,"description":"Unknown IO ID 45"} 
[2026-04-26 10:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958151680001,"power":13526,"unknown_188":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8619960080641320960}} 
[2026-04-26 10:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":54577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:42:05] local.INFO: GPS data processed {"connection_id":54577,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:42:05] local.INFO: Acknowledgment sent {"connection_id":54577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:42:13] local.INFO: TCP Data received {"connection_id":54578,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:42:13] local.INFO: Processing buffer {"connection_id":54578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:42:13] local.INFO: IMEI packet received {"connection_id":54578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":54578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:42:14] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:42:14] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:42:14] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:42:17] local.INFO: TCP Data received {"connection_id":54578,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:42:17] local.INFO: Processing buffer {"connection_id":54578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:42:17] local.INFO: IMEI packet received {"connection_id":54578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":54578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:42:18] local.INFO: TCP Data received {"connection_id":54578,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83287c0012d158440071fc7380022005024..."} 
[2026-04-26 10:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83287c0012d158440071fc7380022005024..."} 
[2026-04-26 10:42:18] local.INFO: Processing buffer {"connection_id":54578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83287c0012d158440071fc7380022005024..."} 
[2026-04-26 10:42:18] local.INFO: Packet analysis {"connection_id":54578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:42:18] local.INFO: Extracted packet for processing {"connection_id":54578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756384832,"raw_latitude":119523128,"longitude_deg":75.6384832,"latitude_deg":11.9523128,"altitude":34,"angle":80,"satellites":36,"speed":35,"hex_longitude":"2d158440","hex_latitude":"071fc738","is_valid_coordinates":true} 
[2026-04-26 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958141696001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114684173788119040,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1543116221669830656,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777180248000,"timestamp_ms":1777180248000,"timestamp_seconds":1777180248,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83287c0"} 
[2026-04-26 10:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958141696001,"66":14428,"133":206,"28":31744,"24":35,"16":114684173788119040,"45":1543116221669830656},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-26 10:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958141696001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:42:18] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-26 10:42:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114684173788119040,"km_value":114684173788119.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1543116221669830656,"description":"Unknown IO ID 45"} 
[2026-04-26 10:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958141696001,"power":14428,"unknown_133":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1543116221669830656}} 
[2026-04-26 10:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":54578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:42:19] local.INFO: GPS data processed {"connection_id":54578,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:42:19] local.INFO: Acknowledgment sent {"connection_id":54578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:42:19] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:42:19] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:42:19] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:42:20] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:42:20] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:42:20] local.INFO: Packet analysis {"connection_id":54579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:42:20] local.INFO: Extracted packet for processing {"connection_id":54579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 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-04-26 10:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:42:20] 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-04-26 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-04-26 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-04-26 10:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:42:20] 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-04-26 10:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:42:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:42:20] local.INFO: GPS data processed {"connection_id":54579,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:42:20] local.INFO: Acknowledgment sent {"connection_id":54579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:42:50] local.INFO: TCP Data received {"connection_id":54578,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc832aed0012d15a6c0071fcf600021004a27..."} 
[2026-04-26 10:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc832aed0012d15a6c0071fcf600021004a27..."} 
[2026-04-26 10:42:50] local.INFO: Processing buffer {"connection_id":54578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc832aed0012d15a6c0071fcf600021004a27..."} 
[2026-04-26 10:42:50] local.INFO: Packet analysis {"connection_id":54578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:42:50] local.INFO: Extracted packet for processing {"connection_id":54578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756393664,"raw_latitude":119525216,"longitude_deg":75.6393664,"latitude_deg":11.9525216,"altitude":33,"angle":74,"satellites":39,"speed":33,"hex_longitude":"2d15a6c0","hex_latitude":"071fcf60","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958143488001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114684607579815936,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1550434571064391680,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777180258000,"timestamp_ms":1777180258000,"timestamp_seconds":1777180258,"priority":1,"record_length":96,"hex_timestamp":"0000019dc832aed0"} 
[2026-04-26 10:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:42:50] 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-04-26 10: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:42: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-04-26 10: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-04-26 10:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958143488001,"66":13961,"132":206,"28":31744,"24":33,"16":114684607579815936,"45":1550434571064391680},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-04-26 10:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958143488001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:42:50] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-04-26 10:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114684607579815936,"km_value":114684607579815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1550434571064391680,"description":"Unknown IO ID 45"} 
[2026-04-26 10:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958143488001,"power":13961,"unknown_132":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1550434571064391680}} 
[2026-04-26 10:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":54578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:42:50] local.INFO: GPS data processed {"connection_id":54578,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:42:50] local.INFO: Acknowledgment sent {"connection_id":54578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:42:51] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:42:51] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:42:51] local.INFO: Packet analysis {"connection_id":54579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:42:51] local.INFO: Extracted packet for processing {"connection_id":54579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:42:51] 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-04-26 10: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-04-26 10:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:42:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:42:51] local.INFO: GPS data processed {"connection_id":54579,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:42:51] local.INFO: Acknowledgment sent {"connection_id":54579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:43:11] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8333b70012d779e8005d8b8400001000220..."} 
[2026-04-26 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8333b70012d779e8005d8b8400001000220..."} 
[2026-04-26 10:43:11] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8333b70012d779e8005d8b8400001000220..."} 
[2026-04-26 10:43:11] local.INFO: Packet analysis {"connection_id":54577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc833"} 
[2026-04-26 10:43:11] local.INFO: Extracted packet for processing {"connection_id":54577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc833"} 
[2026-04-26 10:43:11] local.INFO: GPS Element Parsed {"raw_longitude":762814080,"raw_latitude":98089024,"longitude_deg":76.281408,"latitude_deg":9.8089024,"altitude":1,"angle":2,"satellites":32,"speed":21,"hex_longitude":"2d779e80","hex_latitude":"05d8b840","is_valid_coordinates":true} 
[2026-04-26 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958152960001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76450100041220096,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619889711897174016,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777180294000,"timestamp_ms":1777180294000,"timestamp_seconds":1777180294,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8333b70"} 
[2026-04-26 10:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-26 10:43: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-04-26 10:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958152960001,"66":13428,"188":206,"85":15104,"24":21,"16":76450100041220096,"45":8619889711897174016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 10:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958152960001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:43:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 10:43:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76450100041220096,"km_value":76450100041220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619889711897174016,"description":"Unknown IO ID 45"} 
[2026-04-26 10:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958152960001,"power":13428,"unknown_188":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8619889711897174016}} 
[2026-04-26 10:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":54577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:43:11] local.INFO: GPS data processed {"connection_id":54577,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:43:11] local.INFO: Acknowledgment sent {"connection_id":54577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:43:11] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:11] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:11] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:43:13] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:13] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:13] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:43:14] local.INFO: TCP Data received {"connection_id":55326,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:43:14] local.INFO: Processing buffer {"connection_id":55326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:43:14] local.INFO: IMEI packet received {"connection_id":55326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":55326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:43:18] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:18] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:43:18] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:43:19] local.INFO: TCP Data received {"connection_id":55326,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:43:19] local.INFO: Processing buffer {"connection_id":55326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:43:19] local.INFO: IMEI packet received {"connection_id":55326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":55326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:43:19] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc832d9c8012d15cb80071fd7e8001f004e28..."} 
[2026-04-26 10:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc832d9c8012d15cb80071fd7e8001f004e28..."} 
[2026-04-26 10:43:19] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc832d9c8012d15cb80071fd7e8001f004e28..."} 
[2026-04-26 10:43:19] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:43:19] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc832"} 
[2026-04-26 10:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756403072,"raw_latitude":119527400,"longitude_deg":75.6403072,"latitude_deg":11.95274,"altitude":31,"angle":78,"satellites":40,"speed":33,"hex_longitude":"2d15cb80","hex_latitude":"071fd7e8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958146048001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114685062846349312,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1560145457761443840,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180269000,"timestamp_ms":1777180269000,"timestamp_seconds":1777180269,"priority":1,"record_length":96,"hex_timestamp":"0000019dc832d9c8"} 
[2026-04-26 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-04-26 10:43: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-04-26 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 10:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 10:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958146048001,"66":14428,"132":206,"28":31744,"24":33,"16":114685062846349312,"45":1560145457761443840},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-04-26 10:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958146048001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:43:19] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-04-26 10:43:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114685062846349312,"km_value":114685062846349.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1560145457761443840,"description":"Unknown IO ID 45"} 
[2026-04-26 10:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958146048001,"power":14428,"unknown_132":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1560145457761443840}} 
[2026-04-26 10:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:43:20] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:43:20] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:43:20] local.INFO: TCP Data received {"connection_id":55326,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:43:20] local.INFO: Processing buffer {"connection_id":55326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:43:20] local.INFO: Packet analysis {"connection_id":55326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:43:20] local.INFO: Extracted packet for processing {"connection_id":55326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:43:20] 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-04-26 10: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-04-26 10:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:43:20] 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-04-26 10:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:43:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":55326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:43:20] local.INFO: GPS data processed {"connection_id":55326,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:43:20] local.INFO: Acknowledgment sent {"connection_id":55326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:43:29] local.INFO: TCP Data received {"connection_id":54395,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:29] local.INFO: Processing buffer {"connection_id":54395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:29] local.INFO: IMEI packet received {"connection_id":54395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":54395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:43:30] local.INFO: TCP Data received {"connection_id":54395,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:30] local.INFO: Processing buffer {"connection_id":54395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:30] local.INFO: IMEI packet received {"connection_id":54395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":54395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:43:31] local.INFO: TCP Data received {"connection_id":54395,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:31] local.INFO: Processing buffer {"connection_id":54395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:31] local.INFO: IMEI packet received {"connection_id":54395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":54395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:43:31] local.INFO: TCP Data received {"connection_id":54395,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:31] local.INFO: Processing buffer {"connection_id":54395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:43:31] local.INFO: IMEI packet received {"connection_id":54395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":54395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:43:51] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8347bc0012d17100007208da8002c002a27..."} 
[2026-04-26 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8347bc0012d17100007208da8002c002a27..."} 
[2026-04-26 10:43:51] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8347bc0012d17100007208da8002c002a27..."} 
[2026-04-26 10:43:51] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:43:51] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756486144,"raw_latitude":119573928,"longitude_deg":75.6486144,"latitude_deg":11.9573928,"altitude":44,"angle":42,"satellites":39,"speed":48,"hex_longitude":"2d171000","hex_latitude":"07208da8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958174208001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114689770130505728,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1654650681202683904,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180376000,"timestamp_ms":1777180376000,"timestamp_seconds":1777180376,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8347bc0"} 
[2026-04-26 10:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:43: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-04-26 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 10:43: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-04-26 10: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-04-26 10:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958174208001,"66":13624,"122":206,"28":31744,"24":48,"16":114689770130505728,"45":1654650681202683904},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958174208001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114689770130505728,"km_value":114689770130505.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1654650681202683904,"description":"Unknown IO ID 45"} 
[2026-04-26 10:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958174208001,"power":13624,"unknown_122":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1654650681202683904}} 
[2026-04-26 10:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:43:51] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:43:51] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:43:51] local.INFO: TCP Data received {"connection_id":55326,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:43:51] local.INFO: Processing buffer {"connection_id":55326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:43:51] local.INFO: Packet analysis {"connection_id":55326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:43:51] local.INFO: Extracted packet for processing {"connection_id":55326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:43:51] 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-04-26 10: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-04-26 10:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":55326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:43:51] local.INFO: GPS data processed {"connection_id":55326,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:43:51] local.INFO: Acknowledgment sent {"connection_id":55326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:44:13] local.INFO: TCP Data received {"connection_id":54396,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:44:13] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:44:13] local.INFO: IMEI packet received {"connection_id":54396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":54396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:44:14] local.INFO: TCP Data received {"connection_id":54397,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:44:14] local.INFO: Processing buffer {"connection_id":54397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:44:14] local.INFO: IMEI packet received {"connection_id":54397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":54397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:44:17] local.INFO: TCP Data received {"connection_id":54396,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:44:17] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:44:17] local.INFO: IMEI packet received {"connection_id":54396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":54396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:44:18] local.INFO: TCP Data received {"connection_id":54396,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8349b00012d172b400720a778002e003027..."} 
[2026-04-26 10:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8349b00012d172b400720a778002e003027..."} 
[2026-04-26 10:44:18] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8349b00012d172b400720a778002e003027..."} 
[2026-04-26 10:44:18] local.INFO: Packet analysis {"connection_id":54396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:44:18] local.INFO: Extracted packet for processing {"connection_id":54396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756493120,"raw_latitude":119580536,"longitude_deg":75.649312,"latitude_deg":11.9580536,"altitude":46,"angle":48,"satellites":39,"speed":46,"hex_longitude":"2d172b40","hex_latitude":"0720a778","is_valid_coordinates":true} 
[2026-04-26 10:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958176256001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114690233986973696,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1661828293110638592,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777180384000,"timestamp_ms":1777180384000,"timestamp_seconds":1777180384,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8349b00"} 
[2026-04-26 10:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 10:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958176256001,"66":14080,"122":206,"28":31744,"24":46,"16":114690233986973696,"45":1661828293110638592},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 10:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958176256001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:44:18] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 10:44:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114690233986973696,"km_value":114690233986973.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1661828293110638592,"description":"Unknown IO ID 45"} 
[2026-04-26 10:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958176256001,"power":14080,"unknown_122":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1661828293110638592}} 
[2026-04-26 10:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":54396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:44:19] local.INFO: GPS data processed {"connection_id":54396,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:44:19] local.INFO: Acknowledgment sent {"connection_id":54396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:44:19] local.INFO: TCP Data received {"connection_id":54397,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:44:19] local.INFO: Processing buffer {"connection_id":54397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:44:19] local.INFO: IMEI packet received {"connection_id":54397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:44:20] local.INFO: TCP Data received {"connection_id":54397,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:44:20] local.INFO: Processing buffer {"connection_id":54397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:44:20] local.INFO: Packet analysis {"connection_id":54397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:44:20] local.INFO: Extracted packet for processing {"connection_id":54397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:44:20] 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-04-26 10: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-04-26 10:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:44:20] 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-04-26 10:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:44:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:44:20] local.INFO: GPS data processed {"connection_id":54397,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:44:20] local.INFO: Acknowledgment sent {"connection_id":54397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:44:50] local.INFO: TCP Data received {"connection_id":54396,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc834ba40012d1747800720be480030003224..."} 
[2026-04-26 10:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc834ba40012d1747800720be480030003224..."} 
[2026-04-26 10:44:50] local.INFO: Processing buffer {"connection_id":54396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc834ba40012d1747800720be480030003224..."} 
[2026-04-26 10:44:50] local.INFO: Packet analysis {"connection_id":54396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:44:50] local.INFO: Extracted packet for processing {"connection_id":54396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756500352,"raw_latitude":119586376,"longitude_deg":75.6500352,"latitude_deg":11.9586376,"altitude":48,"angle":50,"satellites":36,"speed":43,"hex_longitude":"2d174780","hex_latitude":"0720be48","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958178304001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114690676368605184,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669498486227695616,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777180392000,"timestamp_ms":1777180392000,"timestamp_seconds":1777180392,"priority":1,"record_length":96,"hex_timestamp":"0000019dc834ba40"} 
[2026-04-26 10:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:44:50] 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-04-26 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454501376,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3358844752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13494138,"corrected_to":0} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":874637313,"corrected_to":0} 
[2026-04-26 10:44:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2415996182,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,122,28,24,241,158,16,118,157,123,45,141,44,39,10,66,117,92,128,113,43,61,1,240,246,116,200,32,4,205,50,6,173,37,239,54,2,151,7],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":246,"original":13494138,"validated":0},{"io_id":200,"original":874637313,"validated":0},{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-04-26 10:44:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314702269809557504,"timestamp_seconds":3314702269809557.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958178304001,"66":14070,"122":206,"28":31744,"24":43,"16":114690676368605184,"45":1669498486227695616},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 10:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958178304001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:44:50] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 10:44:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114690676368605184,"km_value":114690676368605.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669498486227695616,"description":"Unknown IO ID 45"} 
[2026-04-26 10:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958178304001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1669498486227695616}} 
[2026-04-26 10:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":54396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:44:50] local.INFO: GPS data processed {"connection_id":54396,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:44:50] local.INFO: Acknowledgment sent {"connection_id":54396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:44:51] local.INFO: TCP Data received {"connection_id":54397,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:44:51] local.INFO: Processing buffer {"connection_id":54397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8316a98012cb299c007822ce0004d001231..."} 
[2026-04-26 10:44:51] local.INFO: Packet analysis {"connection_id":54397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:44:51] local.INFO: Extracted packet for processing {"connection_id":54397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc831"} 
[2026-04-26 10:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958047744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180175000,"timestamp_ms":1777180175000,"timestamp_seconds":1777180175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8316a98"} 
[2026-04-26 10:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 10:44:51] 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-04-26 10: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-04-26 10:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958047744001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958047744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:44:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958047744001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:44:51] local.INFO: GPS data processed {"connection_id":54397,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:44:51] local.INFO: Acknowledgment sent {"connection_id":54397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:44:55] local.INFO: TCP Data received {"connection_id":54398,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:44:55] local.INFO: Processing buffer {"connection_id":54398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:44:55] local.INFO: IMEI packet received {"connection_id":54398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":54398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:45:13] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:13] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:13] local.INFO: IMEI packet received {"connection_id":54653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":54653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:45:14] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:14] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:14] local.INFO: IMEI packet received {"connection_id":54654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":54654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:45:14] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:14] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:14] local.INFO: IMEI packet received {"connection_id":54654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":54654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:45:17] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:17] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:17] local.INFO: IMEI packet received {"connection_id":54653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":54653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:45:18] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:18] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:45:18] local.INFO: IMEI packet received {"connection_id":54653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":54653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:45:19] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc834dd68012d1763000720d7000034002c24..."} 
[2026-04-26 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc834dd68012d1763000720d7000034002c24..."} 
[2026-04-26 10:45:19] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc834dd68012d1763000720d7000034002c24..."} 
[2026-04-26 10:45:19] local.INFO: Packet analysis {"connection_id":54653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:45:19] local.INFO: Extracted packet for processing {"connection_id":54653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc834"} 
[2026-04-26 10:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756507392,"raw_latitude":119592704,"longitude_deg":75.6507392,"latitude_deg":11.9592704,"altitude":52,"angle":44,"satellites":36,"speed":39,"hex_longitude":"2d176300","hex_latitude":"0720d700","is_valid_coordinates":true} 
[2026-04-26 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958180352001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114691131635138560,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1677450154321266688,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180401000,"timestamp_ms":1777180401000,"timestamp_seconds":1777180401,"priority":1,"record_length":96,"hex_timestamp":"0000019dc834dd68"} 
[2026-04-26 10:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:45: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-04-26 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 10:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958180352001,"66":14080,"122":206,"28":31744,"24":39,"16":114691131635138560,"45":1677450154321266688},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 10:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958180352001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:45:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 10:45:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114691131635138560,"km_value":114691131635138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1677450154321266688,"description":"Unknown IO ID 45"} 
[2026-04-26 10:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958180352001,"power":14080,"unknown_122":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1677450154321266688}} 
[2026-04-26 10:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":54653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:45:19] local.INFO: GPS data processed {"connection_id":54653,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:45:19] local.INFO: Acknowledgment sent {"connection_id":54653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:45:19] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:19] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:45:19] local.INFO: IMEI packet received {"connection_id":54654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":54654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:45:20] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:45:20] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:45:20] local.INFO: Packet analysis {"connection_id":54654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:45:20] local.INFO: Extracted packet for processing {"connection_id":54654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:45:20] 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-04-26 10:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:45:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":54654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:45:20] local.INFO: GPS data processed {"connection_id":54654,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:45:20] local.INFO: Acknowledgment sent {"connection_id":54654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:45:24] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83523b8012d177ac00720f130003b002528..."} 
[2026-04-26 10:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83523b8012d177ac00720f130003b002528..."} 
[2026-04-26 10:45:24] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83523b8012d177ac00720f130003b002528..."} 
[2026-04-26 10:45:24] local.INFO: Packet analysis {"connection_id":54653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc835"} 
[2026-04-26 10:45:24] local.INFO: Extracted packet for processing {"connection_id":54653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc835"} 
[2026-04-26 10:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756513472,"raw_latitude":119599408,"longitude_deg":75.6513472,"latitude_deg":11.9599408,"altitude":59,"angle":37,"satellites":40,"speed":0,"hex_longitude":"2d177ac0","hex_latitude":"0720f130","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958182656001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114691569721802752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685190716182429696,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777180419000,"timestamp_ms":1777180419000,"timestamp_seconds":1777180419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83523b8"} 
[2026-04-26 10:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499328,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3358859752,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":878477313,"corrected_to":0} 
[2026-04-26 10:45:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-04-26 10:45:24] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:24] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,122,28,24,241,158,16,118,157,186,45,128,190,48,36,10,66,155,64,167,46,39,123,1,240,56,117,200,32,4,113,205,61,222,160,40,239,54,2,151,7,50],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":200,"original":878477313,"validated":0},{"io_id":205,"original":3883532494,"validated":0}]} 
[2026-04-26 10:45:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747043423105253376,"timestamp_seconds":3747043423105253.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 10:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958182656001,"66":13993,"122":206,"28":31744,"24":0,"16":114691569721802752,"45":1685190716182429696},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 10:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958182656001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:45:24] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 10:45:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114691569721802752,"km_value":114691569721802.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685190716182429696,"description":"Unknown IO ID 45"} 
[2026-04-26 10:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958182656001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1685190716182429696}} 
[2026-04-26 10:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":54653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:45:24] local.INFO: GPS data processed {"connection_id":54653,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:45:24] local.INFO: Acknowledgment sent {"connection_id":54653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:45:40] local.INFO: TCP Data received {"connection_id":54399,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54399,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:45:40] local.INFO: Processing buffer {"connection_id":54399,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:45:40] local.INFO: IMEI packet received {"connection_id":54399,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":54399,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:45:51] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:45:51] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:45:51] local.INFO: Packet analysis {"connection_id":54654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:45:51] local.INFO: Extracted packet for processing {"connection_id":54654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:45:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:45:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":54654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:45:51] local.INFO: GPS data processed {"connection_id":54654,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:45:51] local.INFO: Acknowledgment sent {"connection_id":54654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:45:56] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8366020012d1821400721a700004a007926..."} 
[2026-04-26 10:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8366020012d1821400721a700004a007926..."} 
[2026-04-26 10:45:56] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8366020012d1821400721a700004a007926..."} 
[2026-04-26 10:45:56] local.INFO: Packet analysis {"connection_id":54653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:45:56] local.INFO: Extracted packet for processing {"connection_id":54653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119645952,"longitude_deg":75.6556096,"latitude_deg":11.9645952,"altitude":74,"angle":121,"satellites":38,"speed":8,"hex_longitude":"2d182140","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958207744001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114694662098255872,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026934784,"note":"Value kept but may cause issues"} 
[2026-04-26 10:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777180500000,"timestamp_ms":1777180500000,"timestamp_seconds":1777180500,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8366020"} 
[2026-04-26 10:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:45:56] 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-04-26 10: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 10:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958207744001,"66":13015,"120":206,"28":31744,"24":8,"16":114694662098255872,"45":1738600593026934784},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 10:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958207744001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:45:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 10:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114694662098255872,"km_value":114694662098255.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026934784,"description":"Unknown IO ID 45"} 
[2026-04-26 10:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958207744001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738600593026934784}} 
[2026-04-26 10:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":54653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:45:56] local.INFO: GPS data processed {"connection_id":54653,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:45:56] local.INFO: Acknowledgment sent {"connection_id":54653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:46:12] local.INFO: TCP Data received {"connection_id":54655,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:13] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:13] local.INFO: IMEI packet received {"connection_id":54655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":54655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:46:14] local.INFO: TCP Data received {"connection_id":55329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:46:14] local.INFO: Processing buffer {"connection_id":55329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:46:14] local.INFO: IMEI packet received {"connection_id":55329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":55329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:46:17] local.INFO: TCP Data received {"connection_id":54655,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:17] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:17] local.INFO: IMEI packet received {"connection_id":54655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":54655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:46:18] local.INFO: TCP Data received {"connection_id":54655,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:18] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:46:18] local.INFO: IMEI packet received {"connection_id":54655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":54655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:46:19] local.INFO: TCP Data received {"connection_id":54655,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8366408012d1821c00721a660004a008624..."} 
[2026-04-26 10:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8366408012d1821c00721a660004a008624..."} 
[2026-04-26 10:46:19] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8366408012d1821c00721a660004a008624..."} 
[2026-04-26 10:46:19] local.INFO: Packet analysis {"connection_id":54655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:19] local.INFO: Extracted packet for processing {"connection_id":54655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119645792,"longitude_deg":75.6556224,"latitude_deg":11.9645792,"altitude":74,"angle":134,"satellites":36,"speed":9,"hex_longitude":"2d1821c0","hex_latitude":"0721a660","is_valid_coordinates":true} 
[2026-04-26 10:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958208000001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114694670688190464,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515263488,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180501000,"timestamp_ms":1777180501000,"timestamp_seconds":1777180501,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8366408"} 
[2026-04-26 10:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:46: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-04-26 10:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 10:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958208000001,"66":13015,"120":206,"28":31744,"24":9,"16":114694670688190464,"45":1738741330515263488},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 10:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958208000001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:46:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 10:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114694670688190464,"km_value":114694670688190.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515263488,"description":"Unknown IO ID 45"} 
[2026-04-26 10:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958208000001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738741330515263488}} 
[2026-04-26 10:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":54655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:46:19] local.INFO: GPS data processed {"connection_id":54655,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:46:19] local.INFO: Acknowledgment sent {"connection_id":54655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:46:19] local.INFO: TCP Data received {"connection_id":55329,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:46:19] local.INFO: Processing buffer {"connection_id":55329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:46:19] local.INFO: IMEI packet received {"connection_id":55329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":55329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:46:20] local.INFO: TCP Data received {"connection_id":55329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:46:20] local.INFO: Processing buffer {"connection_id":55329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:46:20] local.INFO: Packet analysis {"connection_id":55329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:20] local.INFO: Extracted packet for processing {"connection_id":55329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:46:20] 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-04-26 10:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:46:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":55329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:46:20] local.INFO: GPS data processed {"connection_id":55329,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:46:20] local.INFO: Acknowledgment sent {"connection_id":55329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:46:24] local.INFO: TCP Data received {"connection_id":54655,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83692e8012d183140072198a8004b007a23..."} 
[2026-04-26 10:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83692e8012d183140072198a8004b007a23..."} 
[2026-04-26 10:46:24] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83692e8012d183140072198a8004b007a23..."} 
[2026-04-26 10:46:24] local.INFO: Packet analysis {"connection_id":54655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:24] local.INFO: Extracted packet for processing {"connection_id":54655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756560192,"raw_latitude":119642280,"longitude_deg":75.6560192,"latitude_deg":11.964228,"altitude":75,"angle":122,"satellites":35,"speed":22,"hex_longitude":"2d183140","hex_latitude":"072198a8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958208256001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114694928386228224,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003577856,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777180513000,"timestamp_ms":1777180513000,"timestamp_seconds":1777180513,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83692e8"} 
[2026-04-26 10:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 10:46:24] 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-04-26 10: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-04-26 10:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958208256001,"66":13015,"120":206,"28":31744,"24":22,"16":114694928386228224,"45":1738882068003577856},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 10:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958208256001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:46:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 10:46:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114694928386228224,"km_value":114694928386228.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003577856,"description":"Unknown IO ID 45"} 
[2026-04-26 10:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958208256001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1738882068003577856}} 
[2026-04-26 10:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":54655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:46:24] local.INFO: GPS data processed {"connection_id":54655,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:46:24] local.INFO: Acknowledgment sent {"connection_id":54655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:46:51] local.INFO: TCP Data received {"connection_id":55329,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:46:51] local.INFO: Processing buffer {"connection_id":55329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:46:51] local.INFO: Packet analysis {"connection_id":55329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:51] local.INFO: Extracted packet for processing {"connection_id":55329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:46:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:46:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":55329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:46:51] local.INFO: GPS data processed {"connection_id":55329,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:46:51] local.INFO: Acknowledgment sent {"connection_id":55329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:46:55] local.INFO: TCP Data received {"connection_id":54655,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc836a670012d183840072194a8004c006e25..."} 
[2026-04-26 10:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc836a670012d183840072194a8004c006e25..."} 
[2026-04-26 10:46:55] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc836a670012d183840072194a8004c006e25..."} 
[2026-04-26 10:46:55] local.INFO: Packet analysis {"connection_id":54655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:55] local.INFO: Extracted packet for processing {"connection_id":54655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756561984,"raw_latitude":119641256,"longitude_deg":75.6561984,"latitude_deg":11.9641256,"altitude":76,"angle":110,"satellites":37,"speed":10,"hex_longitude":"2d183840","hex_latitude":"072194a8","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958211328001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114695022875508736,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743244930141693952,"note":"Value kept but may cause issues"} 
[2026-04-26 10:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777180518000,"timestamp_ms":1777180518000,"timestamp_seconds":1777180518,"priority":1,"record_length":96,"hex_timestamp":"0000019dc836a670"} 
[2026-04-26 10:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 10:46:55] 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-04-26 10: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-04-26 10:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958211328001,"66":12982,"120":206,"28":31744,"24":10,"16":114695022875508736,"45":1743244930141693952},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 10:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958211328001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:46:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 10:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114695022875508736,"km_value":114695022875508.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743244930141693952,"description":"Unknown IO ID 45"} 
[2026-04-26 10:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958211328001,"power":12982,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1743244930141693952}} 
[2026-04-26 10:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":54655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:46:56] local.INFO: GPS data processed {"connection_id":54655,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:46:56] local.INFO: Acknowledgment sent {"connection_id":54655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:47:14] local.INFO: TCP Data received {"connection_id":55330,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:47:14] local.INFO: Processing buffer {"connection_id":55330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:47:14] local.INFO: IMEI packet received {"connection_id":55330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":55330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:47:14] local.INFO: TCP Data received {"connection_id":55331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:14] local.INFO: Processing buffer {"connection_id":55331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:14] local.INFO: IMEI packet received {"connection_id":55331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":55331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:47:16] local.INFO: TCP Data received {"connection_id":55331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:16] local.INFO: Processing buffer {"connection_id":55331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:16] local.INFO: IMEI packet received {"connection_id":55331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":55331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:47:17] local.INFO: TCP Data received {"connection_id":55331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:18] local.INFO: Processing buffer {"connection_id":55331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:18] local.INFO: IMEI packet received {"connection_id":55331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":55331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:47:19] local.INFO: TCP Data received {"connection_id":55331,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:19] local.INFO: Processing buffer {"connection_id":55331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:47:19] local.INFO: IMEI packet received {"connection_id":55331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":55331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:47:19] local.INFO: TCP Data received {"connection_id":55330,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:47:19] local.INFO: Processing buffer {"connection_id":55330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:47:19] local.INFO: IMEI packet received {"connection_id":55330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":55330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:47:20] local.INFO: TCP Data received {"connection_id":55331,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc836f878012d18390007219448004c006e23..."} 
[2026-04-26 10:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc836f878012d18390007219448004c006e23..."} 
[2026-04-26 10:47:20] local.INFO: Processing buffer {"connection_id":55331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc836f878012d18390007219448004c006e23..."} 
[2026-04-26 10:47:20] local.INFO: Packet analysis {"connection_id":55331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:47:20] local.INFO: Extracted packet for processing {"connection_id":55331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756562176,"raw_latitude":119641160,"longitude_deg":75.6562176,"latitude_deg":11.964116,"altitude":76,"angle":110,"satellites":35,"speed":0,"hex_longitude":"2d183900","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-04-26 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958212608001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114695035760410624,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745215254978406400,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180539000,"timestamp_ms":1777180539000,"timestamp_seconds":1777180539,"priority":1,"record_length":96,"hex_timestamp":"0000019dc836f878"} 
[2026-04-26 10:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-26 10:47: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-04-26 10:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958212608001,"66":12776,"120":206,"28":31744,"24":0,"16":114695035760410624,"45":1745215254978406400},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958212608001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114695035760410624,"km_value":114695035760410.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745215254978406400,"description":"Unknown IO ID 45"} 
[2026-04-26 10:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958212608001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1745215254978406400}} 
[2026-04-26 10:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":55331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:47:20] local.INFO: GPS data processed {"connection_id":55331,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:47:20] local.INFO: Acknowledgment sent {"connection_id":55331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:47:20] local.INFO: TCP Data received {"connection_id":55330,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:47:20] local.INFO: Processing buffer {"connection_id":55330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:47:20] local.INFO: Packet analysis {"connection_id":55330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:47:20] local.INFO: Extracted packet for processing {"connection_id":55330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:47:20] 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-04-26 10:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":55330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:47:20] local.INFO: GPS data processed {"connection_id":55330,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:47:20] local.INFO: Acknowledgment sent {"connection_id":55330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:47:51] local.INFO: TCP Data received {"connection_id":55330,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:47:51] local.INFO: Processing buffer {"connection_id":55330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:47:51] local.INFO: Packet analysis {"connection_id":55330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:47:51] local.INFO: Extracted packet for processing {"connection_id":55330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":55330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:47:51] local.INFO: GPS data processed {"connection_id":55330,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:47:51] local.INFO: Acknowledgment sent {"connection_id":55330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:47:51] local.INFO: TCP Data received {"connection_id":55331,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8374a80012d18390007219448004c006e24..."} 
[2026-04-26 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8374a80012d18390007219448004c006e24..."} 
[2026-04-26 10:47:51] local.INFO: Processing buffer {"connection_id":55331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8374a80012d18390007219448004c006e24..."} 
[2026-04-26 10:47:51] local.INFO: Packet analysis {"connection_id":55331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc837"} 
[2026-04-26 10:47:51] local.INFO: Extracted packet for processing {"connection_id":55331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc837"} 
[2026-04-26 10:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756562176,"raw_latitude":119641160,"longitude_deg":75.6562176,"latitude_deg":11.964116,"altitude":76,"angle":110,"satellites":36,"speed":0,"hex_longitude":"2d183900","hex_latitude":"07219448","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958217984001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114695035760410624,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745426361210914816,"note":"Value kept but may cause issues"} 
[2026-04-26 10:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180560000,"timestamp_ms":1777180560000,"timestamp_seconds":1777180560,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8374a80"} 
[2026-04-26 10:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:47: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-04-26 10: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":232,"data_length":795,"current_offset":136} 
[2026-04-26 10:47:51] 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-04-26 10: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-04-26 10:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958217984001,"66":14233,"120":206,"28":31744,"24":0,"16":114695035760410624,"45":1745426361210914816},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 10:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958217984001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114695035760410624,"km_value":114695035760410.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745426361210914816,"description":"Unknown IO ID 45"} 
[2026-04-26 10:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958217984001,"power":14233,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1745426361210914816}} 
[2026-04-26 10:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":55331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:47:51] local.INFO: GPS data processed {"connection_id":55331,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:47:51] local.INFO: Acknowledgment sent {"connection_id":55331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:48:11] local.INFO: TCP Data received {"connection_id":54402,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:11] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:11] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:48:12] local.INFO: TCP Data received {"connection_id":54402,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:12] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:12] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:48:14] local.INFO: TCP Data received {"connection_id":54403,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:48:14] local.INFO: Processing buffer {"connection_id":54403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:48:14] local.INFO: IMEI packet received {"connection_id":54403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":54403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:48:15] local.INFO: TCP Data received {"connection_id":54402,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:15] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:48:15] local.INFO: IMEI packet received {"connection_id":54402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":54402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:48:16] local.INFO: TCP Data received {"connection_id":54402,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8386b90012d18c5c007214a08004300b125..."} 
[2026-04-26 10:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8386b90012d18c5c007214a08004300b125..."} 
[2026-04-26 10:48:16] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8386b90012d18c5c007214a08004300b125..."} 
[2026-04-26 10:48:16] local.INFO: Packet analysis {"connection_id":54402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:48:16] local.INFO: Extracted packet for processing {"connection_id":54402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756598208,"raw_latitude":119622152,"longitude_deg":75.6598208,"latitude_deg":11.9622152,"altitude":67,"angle":177,"satellites":37,"speed":35,"hex_longitude":"2d18c5c0","hex_latitude":"07214a08","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958241792001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114697123114516480,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457631744,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:16] 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-04-26 10:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777180634000,"timestamp_ms":1777180634000,"timestamp_seconds":1777180634,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8386b90"} 
[2026-04-26 10:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:48: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-04-26 10:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 10:48: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-04-26 10: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-04-26 10:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958241792001,"66":14559,"121":206,"28":31744,"24":35,"16":114697123114516480,"45":1784692120457631744},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958241792001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:48:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:48:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114697123114516480,"km_value":114697123114516.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457631744,"description":"Unknown IO ID 45"} 
[2026-04-26 10:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958241792001,"power":14559,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1784692120457631744}} 
[2026-04-26 10:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":54402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:48:16] local.INFO: GPS data processed {"connection_id":54402,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:48:16] local.INFO: Acknowledgment sent {"connection_id":54402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:48:19] local.INFO: TCP Data received {"connection_id":54403,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:48:19] local.INFO: Processing buffer {"connection_id":54403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:48:19] local.INFO: IMEI packet received {"connection_id":54403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":54403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:48:20] local.INFO: TCP Data received {"connection_id":54403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:48:20] local.INFO: Processing buffer {"connection_id":54403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:48:20] local.INFO: Packet analysis {"connection_id":54403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:48:20] local.INFO: Extracted packet for processing {"connection_id":54403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:48:20] 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-04-26 10:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:48:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":54403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:48:20] local.INFO: GPS data processed {"connection_id":54403,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:48:20] local.INFO: Acknowledgment sent {"connection_id":54403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:48:47] local.INFO: TCP Data received {"connection_id":54402,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8387b30012d18c74007213c400042009e26..."} 
[2026-04-26 10:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8387b30012d18c74007213c400042009e26..."} 
[2026-04-26 10:48:47] local.INFO: Processing buffer {"connection_id":54402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8387b30012d18c74007213c400042009e26..."} 
[2026-04-26 10:48:47] local.INFO: Packet analysis {"connection_id":54402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:48:47] local.INFO: Extracted packet for processing {"connection_id":54402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:48:47] local.INFO: GPS Element Parsed {"raw_longitude":756598592,"raw_latitude":119618624,"longitude_deg":75.6598592,"latitude_deg":11.9618624,"altitude":66,"angle":158,"satellites":38,"speed":35,"hex_longitude":"2d18c740","hex_latitude":"07213c40","is_valid_coordinates":true} 
[2026-04-26 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958242304001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114697294913208320,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785043964178073600,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:47] 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-04-26 10:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777180638000,"timestamp_ms":1777180638000,"timestamp_seconds":1777180638,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8387b30"} 
[2026-04-26 10:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:48: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-04-26 10:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-26 10:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958242304001,"66":14483,"121":206,"28":31744,"24":35,"16":114697294913208320,"45":1785043964178073600},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958242304001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:48:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:48:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114697294913208320,"km_value":114697294913208.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785043964178073600,"description":"Unknown IO ID 45"} 
[2026-04-26 10:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958242304001,"power":14483,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1785043964178073600}} 
[2026-04-26 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":54402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:48:47] local.INFO: GPS data processed {"connection_id":54402,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:48:47] local.INFO: Acknowledgment sent {"connection_id":54402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:48:51] local.INFO: TCP Data received {"connection_id":54403,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:48:51] local.INFO: Processing buffer {"connection_id":54403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:48:51] local.INFO: Packet analysis {"connection_id":54403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:48:51] local.INFO: Extracted packet for processing {"connection_id":54403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 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-04-26 10:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 10:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:48:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":54403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:48:51] local.INFO: GPS data processed {"connection_id":54403,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:48:51] local.INFO: Acknowledgment sent {"connection_id":54403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:48:57] local.INFO: TCP Data received {"connection_id":54656,"ip":"117.225.254.152","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:48:57] local.INFO: Processing buffer {"connection_id":54656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:48:57] local.INFO: IMEI packet received {"connection_id":54656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":54656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:49:01] local.INFO: TCP Data received {"connection_id":54656,"ip":"117.225.254.152","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:01] local.INFO: Processing buffer {"connection_id":54656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:01] local.INFO: IMEI packet received {"connection_id":54656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":54656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:49:04] local.INFO: TCP Data received {"connection_id":54656,"ip":"117.225.254.152","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:04] local.INFO: Processing buffer {"connection_id":54656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:04] local.INFO: IMEI packet received {"connection_id":54656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":54656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:49:07] local.INFO: TCP Data received {"connection_id":54656,"ip":"117.225.254.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8386b90012d775e0005d88a100006005b24..."} 
[2026-04-26 10:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8386b90012d775e0005d88a100006005b24..."} 
[2026-04-26 10:49:07] local.INFO: Processing buffer {"connection_id":54656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8386b90012d775e0005d88a100006005b24..."} 
[2026-04-26 10:49:07] local.INFO: Packet analysis {"connection_id":54656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:49:07] local.INFO: Extracted packet for processing {"connection_id":54656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":762797568,"raw_latitude":98077200,"longitude_deg":76.2797568,"latitude_deg":9.80772,"altitude":6,"angle":91,"satellites":36,"speed":2,"hex_longitude":"2d775e00","hex_latitude":"05d88a10","is_valid_coordinates":true} 
[2026-04-26 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958240768001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76452900359897088,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8600890150966910976,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777180634000,"timestamp_ms":1777180634000,"timestamp_seconds":1777180634,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8386b90"} 
[2026-04-26 10:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.254.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958240768001,"66":13559,"168":206,"87":12288,"24":2,"16":76452900359897088,"45":8600890150966910976},"client_ip":"117.225.254.152","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958240768001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76452900359897088,"km_value":76452900359897.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8600890150966910976,"description":"Unknown IO ID 45"} 
[2026-04-26 10:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958240768001,"power":13559,"unknown_168":206,"unknown_87":12288,"ignition":2,"odometer":null,"unknown_45":8600890150966910976}} 
[2026-04-26 10:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":54656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:07] local.INFO: GPS data processed {"connection_id":54656,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:07] local.INFO: Acknowledgment sent {"connection_id":54656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:49:11] local.INFO: TCP Data received {"connection_id":54656,"ip":"117.225.254.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8387f18012d775ec005d88a380006005025..."} 
[2026-04-26 10:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8387f18012d775ec005d88a380006005025..."} 
[2026-04-26 10:49:11] local.INFO: Processing buffer {"connection_id":54656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8387f18012d775ec005d88a380006005025..."} 
[2026-04-26 10:49:11] local.INFO: Packet analysis {"connection_id":54656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:49:11] local.INFO: Extracted packet for processing {"connection_id":54656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:49:11] local.INFO: GPS Element Parsed {"raw_longitude":762797760,"raw_latitude":98077240,"longitude_deg":76.279776,"latitude_deg":9.807724,"altitude":6,"angle":80,"satellites":37,"speed":1,"hex_longitude":"2d775ec0","hex_latitude":"05d88a38","is_valid_coordinates":true} 
[2026-04-26 10:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958242304001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76452913244798976,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8601312363431989248,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777180639000,"timestamp_ms":1777180639000,"timestamp_seconds":1777180639,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8387f18"} 
[2026-04-26 10:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:11] 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-04-26 10:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.254.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958242304001,"66":13656,"168":206,"87":12288,"24":1,"16":76452913244798976,"45":8601312363431989248},"client_ip":"117.225.254.152","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 10:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958242304001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:11] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 10:49:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 10:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76452913244798976,"km_value":76452913244798.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8601312363431989248,"description":"Unknown IO ID 45"} 
[2026-04-26 10:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958242304001,"power":13656,"unknown_168":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8601312363431989248}} 
[2026-04-26 10:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":54656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:11] local.INFO: GPS data processed {"connection_id":54656,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:11] local.INFO: Acknowledgment sent {"connection_id":54656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:49:13] local.INFO: TCP Data received {"connection_id":54657,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:13] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:13] local.INFO: IMEI packet received {"connection_id":54657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":54657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:49:13] local.INFO: TCP Data received {"connection_id":54657,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:13] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:13] local.INFO: IMEI packet received {"connection_id":54657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":54657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:49:14] local.INFO: TCP Data received {"connection_id":54658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:49:14] local.INFO: Processing buffer {"connection_id":54658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:49:14] local.INFO: IMEI packet received {"connection_id":54658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:49:18] local.INFO: TCP Data received {"connection_id":54657,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:18] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:49:18] local.INFO: IMEI packet received {"connection_id":54657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":54657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:49:19] local.INFO: TCP Data received {"connection_id":54658,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:49:19] local.INFO: Processing buffer {"connection_id":54658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:49:19] local.INFO: IMEI packet received {"connection_id":54658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:49:19] local.INFO: TCP Data received {"connection_id":54657,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8394e20012d194e400720ac28002b006624..."} 
[2026-04-26 10:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8394e20012d194e400720ac28002b006624..."} 
[2026-04-26 10:49:19] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8394e20012d194e400720ac28002b006624..."} 
[2026-04-26 10:49:19] local.INFO: Packet analysis {"connection_id":54657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:49:19] local.INFO: Extracted packet for processing {"connection_id":54657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119581736,"longitude_deg":75.6633152,"latitude_deg":11.9581736,"altitude":43,"angle":102,"satellites":36,"speed":30,"hex_longitude":"2d194e40","hex_latitude":"0720ac28","is_valid_coordinates":true} 
[2026-04-26 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958255104001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114699914843258880,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814387730490781696,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:19] 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-04-26 10:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180692000,"timestamp_ms":1777180692000,"timestamp_seconds":1777180692,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8394e20"} 
[2026-04-26 10:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49: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-04-26 10:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:19] 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-04-26 10:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958255104001,"66":13928,"121":206,"28":31744,"24":30,"16":114699914843258880,"45":1814387730490781696},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958255104001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:49:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114699914843258880,"km_value":114699914843258.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814387730490781696,"description":"Unknown IO ID 45"} 
[2026-04-26 10:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958255104001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1814387730490781696}} 
[2026-04-26 10:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":54657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:20] local.INFO: GPS data processed {"connection_id":54657,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:20] local.INFO: Acknowledgment sent {"connection_id":54657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:49:20] local.INFO: TCP Data received {"connection_id":54658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:49:20] local.INFO: Processing buffer {"connection_id":54658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:49:20] local.INFO: Packet analysis {"connection_id":54658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:49:20] local.INFO: Extracted packet for processing {"connection_id":54658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:49:20] 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-04-26 10:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":54658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:20] local.INFO: GPS data processed {"connection_id":54658,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:20] local.INFO: Acknowledgment sent {"connection_id":54658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:49:51] local.INFO: TCP Data received {"connection_id":54657,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8394e20012d194e400720ac28002b006624..."} 
[2026-04-26 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8394e20012d194e400720ac28002b006624..."} 
[2026-04-26 10:49:51] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8394e20012d194e400720ac28002b006624..."} 
[2026-04-26 10:49:51] local.INFO: Packet analysis {"connection_id":54657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:49:51] local.INFO: Extracted packet for processing {"connection_id":54657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119581736,"longitude_deg":75.6633152,"latitude_deg":11.9581736,"altitude":43,"angle":102,"satellites":36,"speed":30,"hex_longitude":"2d194e40","hex_latitude":"0720ac28","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958257152001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114699914843258880,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298488731648,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:51] 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-04-26 10:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180692000,"timestamp_ms":1777180692000,"timestamp_seconds":1777180692,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8394e20"} 
[2026-04-26 10:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49: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-04-26 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958257152001,"66":13928,"121":206,"28":31744,"24":30,"16":114699914843258880,"45":1823465298488731648},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958257152001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114699914843258880,"km_value":114699914843258.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298488731648,"description":"Unknown IO ID 45"} 
[2026-04-26 10:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958257152001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1823465298488731648}} 
[2026-04-26 10:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":54657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:51] local.INFO: GPS data processed {"connection_id":54657,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:51] local.INFO: Acknowledgment sent {"connection_id":54657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:49:51] local.INFO: TCP Data received {"connection_id":54583,"ip":"117.225.254.152","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:51] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:51] local.INFO: IMEI packet received {"connection_id":54583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 10:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":54583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:49:51] local.INFO: TCP Data received {"connection_id":54658,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:49:51] local.INFO: Processing buffer {"connection_id":54658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8360260012cb299c007822ce0004c001231..."} 
[2026-04-26 10:49:51] local.INFO: Packet analysis {"connection_id":54658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:49:51] local.INFO: Extracted packet for processing {"connection_id":54658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc836"} 
[2026-04-26 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958124800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180476000,"timestamp_ms":1777180476000,"timestamp_seconds":1777180476,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8360260"} 
[2026-04-26 10:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958124800001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958124800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958124800001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":54658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:51] local.INFO: GPS data processed {"connection_id":54658,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:51] local.INFO: Acknowledgment sent {"connection_id":54658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:49:56] local.INFO: TCP Data received {"connection_id":54583,"ip":"117.225.254.152","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:56] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 10:49:56] local.INFO: IMEI packet received {"connection_id":54583,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 10:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":54583,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:49:59] local.INFO: TCP Data received {"connection_id":54583,"ip":"117.225.254.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc838cd38012d77634005d88b100007005225..."} 
[2026-04-26 10:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc838cd38012d77634005d88b100007005225..."} 
[2026-04-26 10:49:59] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc838cd38012d77634005d88b100007005225..."} 
[2026-04-26 10:49:59] local.INFO: Packet analysis {"connection_id":54583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:49:59] local.INFO: Extracted packet for processing {"connection_id":54583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc838"} 
[2026-04-26 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":762798912,"raw_latitude":98077456,"longitude_deg":76.2798912,"latitude_deg":9.8077456,"altitude":7,"angle":82,"satellites":37,"speed":2,"hex_longitude":"2d776340","hex_latitude":"05d88b10","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958243584001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76452969079373824,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8601523469664532480,"note":"Value kept but may cause issues"} 
[2026-04-26 10:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777180659000,"timestamp_ms":1777180659000,"timestamp_seconds":1777180659,"priority":1,"record_length":96,"hex_timestamp":"0000019dc838cd38"} 
[2026-04-26 10:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 10:49:59] 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-04-26 10: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-04-26 10:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":54583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":54583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":54583,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 10:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"117.225.254.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 10:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 10:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958243584001,"66":13515,"188":206,"85":15104,"24":2,"16":76452969079373824,"45":8601523469664532480},"client_ip":"117.225.254.152","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 10:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 10:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 10:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958243584001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:49:59] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 10:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 10:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76452969079373824,"km_value":76452969079373.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8601523469664532480,"description":"Unknown IO ID 45"} 
[2026-04-26 10:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958243584001,"power":13515,"unknown_188":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8601523469664532480}} 
[2026-04-26 10:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":54583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:49:59] local.INFO: GPS data processed {"connection_id":54583,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:49:59] local.INFO: Acknowledgment sent {"connection_id":54583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:50:13] local.INFO: TCP Data received {"connection_id":55333,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:50:13] local.INFO: Processing buffer {"connection_id":55333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:50:13] local.INFO: IMEI packet received {"connection_id":55333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":55333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:50:15] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:15] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:15] local.INFO: IMEI packet received {"connection_id":54659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":54659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:50:16] local.INFO: TCP Data received {"connection_id":55333,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:50:16] local.INFO: Processing buffer {"connection_id":55333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:50:16] local.INFO: IMEI packet received {"connection_id":55333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":55333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:50:17] local.INFO: TCP Data received {"connection_id":55333,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83955f0012d1953400720ab90002a005a23..."} 
[2026-04-26 10:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83955f0012d1953400720ab90002a005a23..."} 
[2026-04-26 10:50:17] local.INFO: Processing buffer {"connection_id":55333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83955f0012d1953400720ab90002a005a23..."} 
[2026-04-26 10:50:17] local.INFO: Packet analysis {"connection_id":55333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:50:17] local.INFO: Extracted packet for processing {"connection_id":55333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756634432,"raw_latitude":119581584,"longitude_deg":75.6634432,"latitude_deg":11.9581584,"altitude":42,"angle":90,"satellites":35,"speed":21,"hex_longitude":"2d195340","hex_latitude":"0720ab90","is_valid_coordinates":true} 
[2026-04-26 10:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958257152001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114699979267768320,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298488731648,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50: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-04-26 10:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777180694000,"timestamp_ms":1777180694000,"timestamp_seconds":1777180694,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83955f0"} 
[2026-04-26 10:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:50: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-04-26 10:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 10:50: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-04-26 10:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958257152001,"66":13341,"121":206,"28":31744,"24":21,"16":114699979267768320,"45":1823465298488731648},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958257152001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:50:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:50:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114699979267768320,"km_value":114699979267768.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298488731648,"description":"Unknown IO ID 45"} 
[2026-04-26 10:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958257152001,"power":13341,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1823465298488731648}} 
[2026-04-26 10:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":55333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:50:17] local.INFO: GPS data processed {"connection_id":55333,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:50:17] local.INFO: Acknowledgment sent {"connection_id":55333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:50:19] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:19] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:19] local.INFO: IMEI packet received {"connection_id":54659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:50:24] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:24] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:50:24] local.INFO: IMEI packet received {"connection_id":54659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":54659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:50:25] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:50:25] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:50:25] local.INFO: Packet analysis {"connection_id":54659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:50:25] local.INFO: Extracted packet for processing {"connection_id":54659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:50: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-04-26 10: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-04-26 10:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:50:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":54659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:50:25] local.INFO: GPS data processed {"connection_id":54659,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:50:25] local.INFO: Acknowledgment sent {"connection_id":54659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:50:29] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:50:29] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:50:29] local.INFO: Packet analysis {"connection_id":54659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:50:29] local.INFO: Extracted packet for processing {"connection_id":54659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:50:29] 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-04-26 10: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-04-26 10:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:50:29] 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-04-26 10:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:50:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":54659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:50:29] local.INFO: GPS data processed {"connection_id":54659,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:50:29] local.INFO: Acknowledgment sent {"connection_id":54659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:50:51] local.INFO: TCP Data received {"connection_id":55333,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc839a7f8012d1957800720ab80002b005120..."} 
[2026-04-26 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc839a7f8012d1957800720ab80002b005120..."} 
[2026-04-26 10:50:51] local.INFO: Processing buffer {"connection_id":55333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc839a7f8012d1957800720ab80002b005120..."} 
[2026-04-26 10:50:51] local.INFO: Packet analysis {"connection_id":55333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:50:51] local.INFO: Extracted packet for processing {"connection_id":55333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119581568,"longitude_deg":75.663552,"latitude_deg":11.9581568,"altitude":43,"angle":81,"satellites":32,"speed":0,"hex_longitude":"2d195780","hex_latitude":"0720ab80","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958257664001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700035102343168,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673372246016,"note":"Value kept but may cause issues"} 
[2026-04-26 10:50:51] 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-04-26 10:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180715000,"timestamp_ms":1777180715000,"timestamp_seconds":1777180715,"priority":1,"record_length":96,"hex_timestamp":"0000019dc839a7f8"} 
[2026-04-26 10:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:50: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-04-26 10: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 10:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958257664001,"66":13820,"121":206,"28":31744,"24":0,"16":114700035102343168,"45":1824872673372246016},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958257664001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:50:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700035102343168,"km_value":114700035102343.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673372246016,"description":"Unknown IO ID 45"} 
[2026-04-26 10:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958257664001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824872673372246016}} 
[2026-04-26 10:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":55333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:50:51] local.INFO: GPS data processed {"connection_id":55333,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:50:51] local.INFO: Acknowledgment sent {"connection_id":55333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:50:55] local.INFO: TCP Data received {"connection_id":54405,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:50:55] local.INFO: Processing buffer {"connection_id":54405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:50:55] local.INFO: IMEI packet received {"connection_id":54405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":54405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:51:13] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:13] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:13] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:51:14] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:14] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:14] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:51:14] local.INFO: TCP Data received {"connection_id":54660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:51:14] local.INFO: Processing buffer {"connection_id":54660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:51:14] local.INFO: IMEI packet received {"connection_id":54660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":54660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:51:16] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:16] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:16] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:51:17] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:17] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:51:17] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:51:17] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc839fa00012d1957800720ab80002b005124..."} 
[2026-04-26 10:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc839fa00012d1957800720ab80002b005124..."} 
[2026-04-26 10:51:17] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc839fa00012d1957800720ab80002b005124..."} 
[2026-04-26 10:51:17] local.INFO: Packet analysis {"connection_id":54661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:51:17] local.INFO: Extracted packet for processing {"connection_id":54661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc839"} 
[2026-04-26 10:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119581568,"longitude_deg":75.663552,"latitude_deg":11.9581568,"altitude":43,"angle":81,"satellites":36,"speed":0,"hex_longitude":"2d195780","hex_latitude":"0720ab80","is_valid_coordinates":true} 
[2026-04-26 10:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958263040001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700035102343168,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942023262208,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51: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-04-26 10:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777180736000,"timestamp_ms":1777180736000,"timestamp_seconds":1777180736,"priority":1,"record_length":96,"hex_timestamp":"0000019dc839fa00"} 
[2026-04-26 10:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:51: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-04-26 10:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958263040001,"66":13917,"121":206,"28":31744,"24":0,"16":114700035102343168,"45":1826068942023262208},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958263040001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:51:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700035102343168,"km_value":114700035102343.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942023262208,"description":"Unknown IO ID 45"} 
[2026-04-26 10:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958263040001,"power":13917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1826068942023262208}} 
[2026-04-26 10:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":54661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:51:18] local.INFO: GPS data processed {"connection_id":54661,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:51:18] local.INFO: Acknowledgment sent {"connection_id":54661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:51:19] local.INFO: TCP Data received {"connection_id":54660,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:51:19] local.INFO: Processing buffer {"connection_id":54660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:51:19] local.INFO: IMEI packet received {"connection_id":54660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":54660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:51:20] local.INFO: TCP Data received {"connection_id":54660,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:51:20] local.INFO: Processing buffer {"connection_id":54660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:51:20] local.INFO: Packet analysis {"connection_id":54660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:51:20] local.INFO: Extracted packet for processing {"connection_id":54660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:51: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-04-26 10: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-04-26 10:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:51:20] 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-04-26 10:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:51:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":54660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:51:20] local.INFO: GPS data processed {"connection_id":54660,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:51:20] local.INFO: Acknowledgment sent {"connection_id":54660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:51:40] local.INFO: TCP Data received {"connection_id":55334,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:51:40] local.INFO: Processing buffer {"connection_id":55334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:51:40] local.INFO: IMEI packet received {"connection_id":55334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":55334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:51:45] local.INFO: TCP Data received {"connection_id":55334,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:51:45] local.INFO: Processing buffer {"connection_id":55334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:51:45] local.INFO: IMEI packet received {"connection_id":55334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 10:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":55334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:51:46] local.INFO: TCP Data received {"connection_id":55334,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc80df478012cb29ac007822f68004d009627..."} 
[2026-04-26 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc80df478012cb29ac007822f68004d009627..."} 
[2026-04-26 10:51:46] local.INFO: Processing buffer {"connection_id":55334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc80df478012cb29ac007822f68004d009627..."} 
[2026-04-26 10:51:46] local.INFO: Packet analysis {"connection_id":55334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc80d"} 
[2026-04-26 10:51:46] local.INFO: Extracted packet for processing {"connection_id":55334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc80d"} 
[2026-04-26 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972328,"longitude_deg":74.9902528,"latitude_deg":12.5972328,"altitude":77,"angle":150,"satellites":39,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822f68","is_valid_coordinates":true} 
[2026-04-26 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454957452800001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063489024,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777177851000,"timestamp_ms":1777177851000,"timestamp_seconds":1777177851,"priority":1,"record_length":96,"hex_timestamp":"0000019dc80df478"} 
[2026-04-26 10:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 10:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":55334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":55334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 10:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":55334,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 10:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 10:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 10:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454957452800001,"66":25125,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063489024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 10:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 10:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 10:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454957452800001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:51:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 10:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 10:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063489024,"description":"Unknown IO ID 44"} 
[2026-04-26 10:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454957452800001,"power":25125,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063489024}} 
[2026-04-26 10:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":55334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:51:46] local.INFO: GPS data processed {"connection_id":55334,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:51:46] local.INFO: Acknowledgment sent {"connection_id":55334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:51:49] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83bd2a8012d19514007209d60002a00e223..."} 
[2026-04-26 10:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83bd2a8012d19514007209d60002a00e223..."} 
[2026-04-26 10:51:49] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83bd2a8012d19514007209d60002a00e223..."} 
[2026-04-26 10:51:49] local.INFO: Packet analysis {"connection_id":54661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83b"} 
[2026-04-26 10:51:49] local.INFO: Extracted packet for processing {"connection_id":54661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83b"} 
[2026-04-26 10:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119577952,"longitude_deg":75.663392,"latitude_deg":11.9577952,"altitude":42,"angle":226,"satellites":35,"speed":13,"hex_longitude":"2d195140","hex_latitude":"07209d60","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958299136001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700318570184704,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824661567138842624,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:49] 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-04-26 10:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777180857000,"timestamp_ms":1777180857000,"timestamp_seconds":1777180857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83bd2a8"} 
[2026-04-26 10:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:51: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-04-26 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958299136001,"66":14428,"121":206,"28":31744,"24":13,"16":114700318570184704,"45":1824661567138842624},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958299136001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:51:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700318570184704,"km_value":114700318570184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824661567138842624,"description":"Unknown IO ID 45"} 
[2026-04-26 10:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958299136001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1824661567138842624}} 
[2026-04-26 10:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":54661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:51:49] local.INFO: GPS data processed {"connection_id":54661,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:51:49] local.INFO: Acknowledgment sent {"connection_id":54661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:51:51] local.INFO: TCP Data received {"connection_id":54660,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:51:51] local.INFO: Processing buffer {"connection_id":54660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:51:51] local.INFO: Packet analysis {"connection_id":54660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:51:51] local.INFO: Extracted packet for processing {"connection_id":54660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:51: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-04-26 10: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-04-26 10:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:51:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":54660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:51:51] local.INFO: GPS data processed {"connection_id":54660,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:51:51] local.INFO: Acknowledgment sent {"connection_id":54660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:52:12] local.INFO: TCP Data received {"connection_id":55335,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:12] local.INFO: Processing buffer {"connection_id":55335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:12] local.INFO: IMEI packet received {"connection_id":55335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":55335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:52:14] local.INFO: TCP Data received {"connection_id":55336,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:52:14] local.INFO: Processing buffer {"connection_id":55336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:52:14] local.INFO: IMEI packet received {"connection_id":55336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":55336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:52:17] local.INFO: TCP Data received {"connection_id":55335,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:17] local.INFO: Processing buffer {"connection_id":55335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:17] local.INFO: IMEI packet received {"connection_id":55335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":55335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:52:17] local.INFO: TCP Data received {"connection_id":55335,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:17] local.INFO: Processing buffer {"connection_id":55335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:52:17] local.INFO: IMEI packet received {"connection_id":55335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":55335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:52:19] local.INFO: TCP Data received {"connection_id":55335,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83bd690012d19508007209c48002a00ca22..."} 
[2026-04-26 10:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83bd690012d19508007209c48002a00ca22..."} 
[2026-04-26 10:52:19] local.INFO: Processing buffer {"connection_id":55335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83bd690012d19508007209c48002a00ca22..."} 
[2026-04-26 10:52:19] local.INFO: Packet analysis {"connection_id":55335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83b"} 
[2026-04-26 10:52:19] local.INFO: Extracted packet for processing {"connection_id":55335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83b"} 
[2026-04-26 10:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119577672,"longitude_deg":75.6633728,"latitude_deg":11.9577672,"altitude":42,"angle":202,"satellites":34,"speed":12,"hex_longitude":"2d195080","hex_latitude":"07209c48","is_valid_coordinates":true} 
[2026-04-26 10:52: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-04-26 10:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958299392001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700335750053888,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723417894912,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:19] 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-04-26 10:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180858000,"timestamp_ms":1777180858000,"timestamp_seconds":1777180858,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83bd690"} 
[2026-04-26 10:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:52:19] 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-04-26 10:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:52: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-04-26 10:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958299392001,"66":14428,"121":206,"28":31744,"24":12,"16":114700335750053888,"45":1824309723417894912},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958299392001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:52:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700335750053888,"km_value":114700335750053.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723417894912,"description":"Unknown IO ID 45"} 
[2026-04-26 10:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958299392001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1824309723417894912}} 
[2026-04-26 10:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":55335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:52:19] local.INFO: GPS data processed {"connection_id":55335,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:52:19] local.INFO: Acknowledgment sent {"connection_id":55335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:52:19] local.INFO: TCP Data received {"connection_id":55336,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:52:19] local.INFO: Processing buffer {"connection_id":55336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:52:19] local.INFO: IMEI packet received {"connection_id":55336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":55336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:52:20] local.INFO: TCP Data received {"connection_id":55336,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:52:20] local.INFO: Processing buffer {"connection_id":55336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:52:20] local.INFO: Packet analysis {"connection_id":55336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:52:20] local.INFO: Extracted packet for processing {"connection_id":55336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:52: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-04-26 10: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-04-26 10:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:52:20] 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-04-26 10:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:52:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":55336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:52:20] local.INFO: GPS data processed {"connection_id":55336,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:52:20] local.INFO: Acknowledgment sent {"connection_id":55336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:52:24] local.INFO: TCP Data received {"connection_id":55335,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83bda78012d19508007209b10002a00b821..."} 
[2026-04-26 10:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83bda78012d19508007209b10002a00b821..."} 
[2026-04-26 10:52:24] local.INFO: Processing buffer {"connection_id":55335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83bda78012d19508007209b10002a00b821..."} 
[2026-04-26 10:52:24] local.INFO: Packet analysis {"connection_id":55335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83b"} 
[2026-04-26 10:52:24] local.INFO: Extracted packet for processing {"connection_id":55335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83b"} 
[2026-04-26 10:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119577360,"longitude_deg":75.6633728,"latitude_deg":11.957736,"altitude":42,"angle":184,"satellites":33,"speed":13,"hex_longitude":"2d195080","hex_latitude":"07209b10","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958299648001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700348634955776,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617185290240,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:24] 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-04-26 10:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777180859000,"timestamp_ms":1777180859000,"timestamp_seconds":1777180859,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83bda78"} 
[2026-04-26 10:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958299648001,"66":14428,"121":206,"28":31744,"24":13,"16":114700348634955776,"45":1824098617185290240},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958299648001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:52:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700348634955776,"km_value":114700348634955.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617185290240,"description":"Unknown IO ID 45"} 
[2026-04-26 10:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958299648001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1824098617185290240}} 
[2026-04-26 10:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":55335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:52:24] local.INFO: GPS data processed {"connection_id":55335,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:52:24] local.INFO: Acknowledgment sent {"connection_id":55335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:52:39] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:52:39] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:52:39] local.INFO: IMEI packet received {"connection_id":54662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":54662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:52:51] local.INFO: TCP Data received {"connection_id":55336,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:52:51] local.INFO: Processing buffer {"connection_id":55336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:52:51] local.INFO: Packet analysis {"connection_id":55336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:52:51] local.INFO: Extracted packet for processing {"connection_id":55336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:52: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-04-26 10: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-04-26 10:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:52:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":55336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:52:51] local.INFO: GPS data processed {"connection_id":55336,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:52:51] local.INFO: Acknowledgment sent {"connection_id":55336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:52:58] local.INFO: TCP Data received {"connection_id":55335,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83c20c8012d19508007209420002a000f21..."} 
[2026-04-26 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83c20c8012d19508007209420002a000f21..."} 
[2026-04-26 10:52:58] local.INFO: Processing buffer {"connection_id":55335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83c20c8012d19508007209420002a000f21..."} 
[2026-04-26 10:52:58] local.INFO: Packet analysis {"connection_id":55335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83c"} 
[2026-04-26 10:52:58] local.INFO: Extracted packet for processing {"connection_id":55335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83c"} 
[2026-04-26 10:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119575584,"longitude_deg":75.6633728,"latitude_deg":11.9575584,"altitude":42,"angle":15,"satellites":33,"speed":2,"hex_longitude":"2d195080","hex_latitude":"07209420","is_valid_coordinates":true} 
[2026-04-26 10:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958299904001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700456009138176,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617185210368,"note":"Value kept but may cause issues"} 
[2026-04-26 10:52:58] 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-04-26 10:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777180877000,"timestamp_ms":1777180877000,"timestamp_seconds":1777180877,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83c20c8"} 
[2026-04-26 10:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:52:58] 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-04-26 10:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:52:58] 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-04-26 10:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":55335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":55335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":55335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958299904001,"66":13559,"121":206,"28":31744,"24":2,"16":114700456009138176,"45":1824098617185210368},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958299904001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:52:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700456009138176,"km_value":114700456009138.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617185210368,"description":"Unknown IO ID 45"} 
[2026-04-26 10:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958299904001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1824098617185210368}} 
[2026-04-26 10:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":55335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:52:58] local.INFO: GPS data processed {"connection_id":55335,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:52:58] local.INFO: Acknowledgment sent {"connection_id":55335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:53:14] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:53:14] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:53:14] local.INFO: IMEI packet received {"connection_id":54584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":54584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:53:19] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:53:19] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:53:19] local.INFO: IMEI packet received {"connection_id":54584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":54584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:53:20] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:53:20] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:53:20] local.INFO: Packet analysis {"connection_id":54584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:53:20] local.INFO: Extracted packet for processing {"connection_id":54584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:53: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-04-26 10:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:53:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":54584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:53:20] local.INFO: GPS data processed {"connection_id":54584,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:53:20] local.INFO: Acknowledgment sent {"connection_id":54584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:53:40] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:53:40] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:53:40] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:53:41] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:53:41] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:53:41] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:53:42] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83c3450012d19510007209488002a007a22..."} 
[2026-04-26 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83c3450012d19510007209488002a007a22..."} 
[2026-04-26 10:53:42] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83c3450012d19510007209488002a007a22..."} 
[2026-04-26 10:53:42] local.INFO: Packet analysis {"connection_id":54585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83c"} 
[2026-04-26 10:53:42] local.INFO: Extracted packet for processing {"connection_id":54585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83c"} 
[2026-04-26 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119575688,"longitude_deg":75.6633856,"latitude_deg":11.9575688,"altitude":42,"angle":122,"satellites":34,"speed":0,"hex_longitude":"2d195100","hex_latitude":"07209488","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958304512001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114700473189007360,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617184755712,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:42] 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-04-26 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777180882000,"timestamp_ms":1777180882000,"timestamp_seconds":1777180882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83c3450"} 
[2026-04-26 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 10:53:42] 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-04-26 10: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-04-26 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958304512001,"66":14396,"121":206,"28":31744,"24":0,"16":114700473189007360,"45":1824098617184755712},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958304512001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:53:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114700473189007360,"km_value":114700473189007.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617184755712,"description":"Unknown IO ID 45"} 
[2026-04-26 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958304512001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1824098617184755712}} 
[2026-04-26 10:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":54585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:53:43] local.INFO: GPS data processed {"connection_id":54585,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:53:43] local.INFO: Acknowledgment sent {"connection_id":54585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:53:44] local.INFO: TCP Data received {"connection_id":54585,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83d8c10012d1960c0072031b0002d010725..."} 
[2026-04-26 10:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83d8c10012d1960c0072031b0002d010725..."} 
[2026-04-26 10:53:44] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83d8c10012d1960c0072031b0002d010725..."} 
[2026-04-26 10:53:44] local.INFO: Packet analysis {"connection_id":54585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:53:44] local.INFO: Extracted packet for processing {"connection_id":54585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756637888,"raw_latitude":119550384,"longitude_deg":75.6637888,"latitude_deg":11.9550384,"altitude":45,"angle":263,"satellites":37,"speed":10,"hex_longitude":"2d1960c0","hex_latitude":"072031b0","is_valid_coordinates":true} 
[2026-04-26 10:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958327552001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114701916298018816,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829305904247470080,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:44] 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-04-26 10:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777180970000,"timestamp_ms":1777180970000,"timestamp_seconds":1777180970,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83d8c10"} 
[2026-04-26 10:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 10:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":54585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958327552001,"66":13820,"121":206,"28":31744,"24":10,"16":114701916298018816,"45":1829305904247470080},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958327552001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:53:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114701916298018816,"km_value":114701916298018.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829305904247470080,"description":"Unknown IO ID 45"} 
[2026-04-26 10:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958327552001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1829305904247470080}} 
[2026-04-26 10:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":54585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:53:44] local.INFO: GPS data processed {"connection_id":54585,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:53:44] local.INFO: Acknowledgment sent {"connection_id":54585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:53:51] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:53:51] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:53:51] local.INFO: Packet analysis {"connection_id":54584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:53:51] local.INFO: Extracted packet for processing {"connection_id":54584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:53:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:53: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-04-26 10: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-04-26 10:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:53:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":54584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:53:51] local.INFO: GPS data processed {"connection_id":54584,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:53:51] local.INFO: Acknowledgment sent {"connection_id":54584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:54:12] local.INFO: TCP Data received {"connection_id":55337,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:12] local.INFO: Processing buffer {"connection_id":55337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:12] local.INFO: IMEI packet received {"connection_id":55337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":55337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:54:12] local.INFO: TCP Data received {"connection_id":55337,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:12] local.INFO: Processing buffer {"connection_id":55337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:12] local.INFO: IMEI packet received {"connection_id":55337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":55337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:54:14] local.INFO: TCP Data received {"connection_id":54406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:54:14] local.INFO: Processing buffer {"connection_id":54406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:54:14] local.INFO: IMEI packet received {"connection_id":54406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":54406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:54:18] local.INFO: TCP Data received {"connection_id":55337,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:18] local.INFO: Processing buffer {"connection_id":55337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:54:18] local.INFO: IMEI packet received {"connection_id":55337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":55337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:54:19] local.INFO: TCP Data received {"connection_id":55337,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83d8ff8012d195fc007203150002d00f926..."} 
[2026-04-26 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83d8ff8012d195fc007203150002d00f926..."} 
[2026-04-26 10:54:19] local.INFO: Processing buffer {"connection_id":55337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83d8ff8012d195fc007203150002d00f926..."} 
[2026-04-26 10:54:19] local.INFO: Packet analysis {"connection_id":55337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:54:19] local.INFO: Extracted packet for processing {"connection_id":55337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756637632,"raw_latitude":119550288,"longitude_deg":75.6637632,"latitude_deg":11.9550288,"altitude":45,"angle":249,"satellites":38,"speed":11,"hex_longitude":"2d195fc0","hex_latitude":"07203150","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958328320001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114701929182920704,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828672585549852672,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:19] 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-04-26 10:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180971000,"timestamp_ms":1777180971000,"timestamp_seconds":1777180971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83d8ff8"} 
[2026-04-26 10:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:54:19] 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-04-26 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:54:19] 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-04-26 10: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-04-26 10:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958328320001,"66":13820,"121":206,"28":31744,"24":11,"16":114701929182920704,"45":1828672585549852672},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958328320001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:54:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114701929182920704,"km_value":114701929182920.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828672585549852672,"description":"Unknown IO ID 45"} 
[2026-04-26 10:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958328320001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1828672585549852672}} 
[2026-04-26 10:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":55337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:54:19] local.INFO: GPS data processed {"connection_id":55337,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:54:19] local.INFO: Acknowledgment sent {"connection_id":55337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:54:19] local.INFO: TCP Data received {"connection_id":54406,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:54:19] local.INFO: Processing buffer {"connection_id":54406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:54:19] local.INFO: IMEI packet received {"connection_id":54406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":54406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:54:20] local.INFO: TCP Data received {"connection_id":54406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:54:20] local.INFO: Processing buffer {"connection_id":54406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:54:20] local.INFO: Packet analysis {"connection_id":54406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:54:20] local.INFO: Extracted packet for processing {"connection_id":54406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:54: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-04-26 10: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-04-26 10:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:54:20] 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-04-26 10:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:54:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:54:20] local.INFO: GPS data processed {"connection_id":54406,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:54:20] local.INFO: Acknowledgment sent {"connection_id":54406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:54:51] local.INFO: TCP Data received {"connection_id":54406,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:54:51] local.INFO: Processing buffer {"connection_id":54406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83a9a28012cb299c007822ce00051001231..."} 
[2026-04-26 10:54:51] local.INFO: Packet analysis {"connection_id":54406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:54:51] local.INFO: Extracted packet for processing {"connection_id":54406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83a"} 
[2026-04-26 10:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958201856001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180777000,"timestamp_ms":1777180777000,"timestamp_seconds":1777180777,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83a9a28"} 
[2026-04-26 10:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 10:54: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-04-26 10: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-04-26 10:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958201856001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958201856001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958201856001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:54:51] local.INFO: GPS data processed {"connection_id":54406,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:54:51] local.INFO: Acknowledgment sent {"connection_id":54406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:54:51] local.INFO: TCP Data received {"connection_id":55337,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83d93e0012d195ec0072030c0002d00ea26..."} 
[2026-04-26 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83d93e0012d195ec0072030c0002d00ea26..."} 
[2026-04-26 10:54:51] local.INFO: Processing buffer {"connection_id":55337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83d93e0012d195ec0072030c0002d00ea26..."} 
[2026-04-26 10:54:51] local.INFO: Packet analysis {"connection_id":55337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:54:51] local.INFO: Extracted packet for processing {"connection_id":55337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756637376,"raw_latitude":119550144,"longitude_deg":75.6637376,"latitude_deg":11.9550144,"altitude":45,"angle":234,"satellites":38,"speed":9,"hex_longitude":"2d195ec0","hex_latitude":"072030c0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958328576001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114701942067822592,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828391110573117440,"note":"Value kept but may cause issues"} 
[2026-04-26 10:54:51] 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-04-26 10:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777180972000,"timestamp_ms":1777180972000,"timestamp_seconds":1777180972,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83d93e0"} 
[2026-04-26 10:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958328576001,"66":13820,"121":206,"28":31744,"24":9,"16":114701942067822592,"45":1828391110573117440},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958328576001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114701942067822592,"km_value":114701942067822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828391110573117440,"description":"Unknown IO ID 45"} 
[2026-04-26 10:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958328576001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1828391110573117440}} 
[2026-04-26 10:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":55337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:54:51] local.INFO: GPS data processed {"connection_id":55337,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:54:51] local.INFO: Acknowledgment sent {"connection_id":55337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:55:13] local.INFO: TCP Data received {"connection_id":55338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:13] local.INFO: Processing buffer {"connection_id":55338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:13] local.INFO: IMEI packet received {"connection_id":55338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":55338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:55:13] local.INFO: TCP Data received {"connection_id":55338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:13] local.INFO: Processing buffer {"connection_id":55338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:13] local.INFO: IMEI packet received {"connection_id":55338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":55338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:55:14] local.INFO: TCP Data received {"connection_id":55338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:14] local.INFO: Processing buffer {"connection_id":55338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:14] local.INFO: IMEI packet received {"connection_id":55338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":55338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:55:16] local.INFO: TCP Data received {"connection_id":55339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:16] local.INFO: Processing buffer {"connection_id":55339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:16] local.INFO: IMEI packet received {"connection_id":55339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":55339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:55:18] local.INFO: TCP Data received {"connection_id":55338,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:18] local.INFO: Processing buffer {"connection_id":55338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:55:18] local.INFO: IMEI packet received {"connection_id":55338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":55338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:55:19] local.INFO: TCP Data received {"connection_id":55338,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83de5e8012d195e0007203010002d00e221..."} 
[2026-04-26 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83de5e8012d195e0007203010002d00e221..."} 
[2026-04-26 10:55:19] local.INFO: Processing buffer {"connection_id":55338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83de5e8012d195e0007203010002d00e221..."} 
[2026-04-26 10:55:19] local.INFO: Packet analysis {"connection_id":55338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:55:19] local.INFO: Extracted packet for processing {"connection_id":55338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83d"} 
[2026-04-26 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756637184,"raw_latitude":119549968,"longitude_deg":75.6637184,"latitude_deg":11.9549968,"altitude":45,"angle":226,"satellites":33,"speed":0,"hex_longitude":"2d195e00","hex_latitude":"07203010","is_valid_coordinates":true} 
[2026-04-26 10:55: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-04-26 10:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958328832001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114701954952724480,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635596369920,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:19] 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-04-26 10:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777180993000,"timestamp_ms":1777180993000,"timestamp_seconds":1777180993,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83de5e8"} 
[2026-04-26 10:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:55:19] 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-04-26 10:55: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":252,"data_length":795,"current_offset":136} 
[2026-04-26 10:55:19] 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-04-26 10:55: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-04-26 10:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958328832001,"66":14428,"121":206,"28":31744,"24":0,"16":114701954952724480,"45":1828109635596369920},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958328832001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:55:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:55:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114701954952724480,"km_value":114701954952724.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635596369920,"description":"Unknown IO ID 45"} 
[2026-04-26 10:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958328832001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828109635596369920}} 
[2026-04-26 10:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":55338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:55:19] local.INFO: GPS data processed {"connection_id":55338,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:55:19] local.INFO: Acknowledgment sent {"connection_id":55338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:55:19] local.INFO: TCP Data received {"connection_id":55339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:19] local.INFO: Processing buffer {"connection_id":55339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:19] local.INFO: IMEI packet received {"connection_id":55339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":55339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:55:24] local.INFO: TCP Data received {"connection_id":55339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:24] local.INFO: Processing buffer {"connection_id":55339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:55:24] local.INFO: IMEI packet received {"connection_id":55339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":55339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:55:25] local.INFO: TCP Data received {"connection_id":55339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:55:25] local.INFO: Processing buffer {"connection_id":55339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:55:25] local.INFO: Packet analysis {"connection_id":55339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:55:25] local.INFO: Extracted packet for processing {"connection_id":55339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:55:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:55: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-04-26 10:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:55:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:55:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:55:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":55339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:55:25] local.INFO: GPS data processed {"connection_id":55339,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:55:25] local.INFO: Acknowledgment sent {"connection_id":55339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:55:30] local.INFO: TCP Data received {"connection_id":55339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:55:30] local.INFO: Processing buffer {"connection_id":55339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:55:30] local.INFO: Packet analysis {"connection_id":55339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:55:30] local.INFO: Extracted packet for processing {"connection_id":55339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:55:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:55: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-04-26 10:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:55:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":55339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:55:30] local.INFO: GPS data processed {"connection_id":55339,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:55:30] local.INFO: Acknowledgment sent {"connection_id":55339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:55:52] local.INFO: TCP Data received {"connection_id":55338,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f9780012d196d40072036c00032001a26..."} 
[2026-04-26 10:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f9780012d196d40072036c00032001a26..."} 
[2026-04-26 10:55:52] local.INFO: Processing buffer {"connection_id":55338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f9780012d196d40072036c00032001a26..."} 
[2026-04-26 10:55:52] local.INFO: Packet analysis {"connection_id":55338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:55:52] local.INFO: Extracted packet for processing {"connection_id":55338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":756641088,"raw_latitude":119551680,"longitude_deg":75.6641088,"latitude_deg":11.955168,"altitude":50,"angle":26,"satellites":38,"speed":15,"hex_longitude":"2d196d40","hex_latitude":"072036c0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 10:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958362368001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114702624967622656,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547782266880,"note":"Value kept but may cause issues"} 
[2026-04-26 10:55:52] 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-04-26 10:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777181104000,"timestamp_ms":1777181104000,"timestamp_seconds":1777181104,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f9780"} 
[2026-04-26 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-04-26 10:55:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 10:55:52] 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-04-26 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-04-26 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-04-26 10:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:55:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958362368001,"66":14048,"121":206,"28":31744,"24":15,"16":114702624967622656,"45":1831909547782266880},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958362368001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:55:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:55:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114702624967622656,"km_value":114702624967622.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:55:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547782266880,"description":"Unknown IO ID 45"} 
[2026-04-26 10:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958362368001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1831909547782266880}} 
[2026-04-26 10:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":55338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:55:52] local.INFO: GPS data processed {"connection_id":55338,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:55:52] local.INFO: Acknowledgment sent {"connection_id":55338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:56:14] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:56:14] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:56:14] local.INFO: IMEI packet received {"connection_id":54407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:56:18] local.INFO: TCP Data received {"connection_id":54664,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:56:18] local.INFO: Processing buffer {"connection_id":54664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:56:18] local.INFO: IMEI packet received {"connection_id":54664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":54664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:56:19] local.INFO: TCP Data received {"connection_id":54664,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:56:19] local.INFO: Processing buffer {"connection_id":54664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:56:19] local.INFO: IMEI packet received {"connection_id":54664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:56:19] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:56:19] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:56:19] local.INFO: IMEI packet received {"connection_id":54407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:56:20] local.INFO: TCP Data received {"connection_id":54664,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f9f50012d196dc007203a180032000625..."} 
[2026-04-26 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f9f50012d196dc007203a180032000625..."} 
[2026-04-26 10:56:20] local.INFO: Processing buffer {"connection_id":54664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f9f50012d196dc007203a180032000625..."} 
[2026-04-26 10:56:20] local.INFO: Packet analysis {"connection_id":54664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:20] local.INFO: Extracted packet for processing {"connection_id":54664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119552536,"longitude_deg":75.6641216,"latitude_deg":11.9552536,"altitude":50,"angle":6,"satellites":37,"speed":19,"hex_longitude":"2d196dc0","hex_latitude":"07203a18","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958362624001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114702667917295616,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832191022759067648,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:20] 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-04-26 10:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181106000,"timestamp_ms":1777181106000,"timestamp_seconds":1777181106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f9f50"} 
[2026-04-26 10:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-26 10:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958362624001,"66":13417,"121":206,"28":31744,"24":19,"16":114702667917295616,"45":1832191022759067648},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958362624001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114702667917295616,"km_value":114702667917295.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832191022759067648,"description":"Unknown IO ID 45"} 
[2026-04-26 10:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958362624001,"power":13417,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1832191022759067648}} 
[2026-04-26 10:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:56:20] local.INFO: GPS data processed {"connection_id":54664,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:56:20] local.INFO: Acknowledgment sent {"connection_id":54664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:56:20] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:56:20] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:56:20] local.INFO: Packet analysis {"connection_id":54407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:20] local.INFO: Extracted packet for processing {"connection_id":54407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:56: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-04-26 10: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-04-26 10:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:56:20] 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-04-26 10:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:56:20] local.INFO: GPS data processed {"connection_id":54407,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:56:20] local.INFO: Acknowledgment sent {"connection_id":54407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:56:24] local.INFO: TCP Data received {"connection_id":54664,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83fb6c0012d196f4007204a08002f016423..."} 
[2026-04-26 10:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83fb6c0012d196f4007204a08002f016423..."} 
[2026-04-26 10:56:24] local.INFO: Processing buffer {"connection_id":54664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83fb6c0012d196f4007204a08002f016423..."} 
[2026-04-26 10:56:24] local.INFO: Packet analysis {"connection_id":54664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:24] local.INFO: Extracted packet for processing {"connection_id":54664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119556616,"longitude_deg":75.66416,"latitude_deg":11.9556616,"altitude":47,"angle":356,"satellites":35,"speed":31,"hex_longitude":"2d196f40","hex_latitude":"07204a08","is_valid_coordinates":true} 
[2026-04-26 10:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958363136001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114702869780758528,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760247642112,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:24] 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-04-26 10:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777181112000,"timestamp_ms":1777181112000,"timestamp_seconds":1777181112,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83fb6c0"} 
[2026-04-26 10:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-04-26 10:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958363136001,"66":14102,"121":206,"28":31744,"24":31,"16":114702869780758528,"45":1832331760247642112},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958363136001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:56:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:56:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114702869780758528,"km_value":114702869780758.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760247642112,"description":"Unknown IO ID 45"} 
[2026-04-26 10:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958363136001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1832331760247642112}} 
[2026-04-26 10:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":54664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:56:24] local.INFO: GPS data processed {"connection_id":54664,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:56:24] local.INFO: Acknowledgment sent {"connection_id":54664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:56:51] local.INFO: TCP Data received {"connection_id":54407,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:56:51] local.INFO: Processing buffer {"connection_id":54407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:56:51] local.INFO: Packet analysis {"connection_id":54407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:51] local.INFO: Extracted packet for processing {"connection_id":54407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:56: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-04-26 10: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-04-26 10:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:56:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":54407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:56:51] local.INFO: GPS data processed {"connection_id":54407,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:56:51] local.INFO: Acknowledgment sent {"connection_id":54407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:56:55] local.INFO: TCP Data received {"connection_id":54664,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83fe988012d196d0007206208002d000b27..."} 
[2026-04-26 10:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83fe988012d196d0007206208002d000b27..."} 
[2026-04-26 10:56:55] local.INFO: Processing buffer {"connection_id":54664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83fe988012d196d0007206208002d000b27..."} 
[2026-04-26 10:56:55] local.INFO: Packet analysis {"connection_id":54664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:55] local.INFO: Extracted packet for processing {"connection_id":54664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756641024,"raw_latitude":119562760,"longitude_deg":75.6641024,"latitude_deg":11.956276,"altitude":45,"angle":11,"satellites":39,"speed":17,"hex_longitude":"2d196d00","hex_latitude":"07206208","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958364672001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114703170428469248,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972713752576,"note":"Value kept but may cause issues"} 
[2026-04-26 10:56:55] 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-04-26 10:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777181125000,"timestamp_ms":1777181125000,"timestamp_seconds":1777181125,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83fe988"} 
[2026-04-26 10:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:56:55] 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-04-26 10: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 10:56:55] 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-04-26 10:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958364672001,"66":13798,"121":206,"28":31744,"24":17,"16":114703170428469248,"45":1832753972713752576},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958364672001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:56:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114703170428469248,"km_value":114703170428469.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972713752576,"description":"Unknown IO ID 45"} 
[2026-04-26 10:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958364672001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1832753972713752576}} 
[2026-04-26 10:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":54664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:56:55] local.INFO: GPS data processed {"connection_id":54664,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:56:55] local.INFO: Acknowledgment sent {"connection_id":54664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:57:13] local.INFO: TCP Data received {"connection_id":54587,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:13] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:13] local.INFO: IMEI packet received {"connection_id":54587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":54587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:57:14] local.INFO: TCP Data received {"connection_id":54587,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:14] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:14] local.INFO: IMEI packet received {"connection_id":54587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:57:14] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:57:14] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:57:14] local.INFO: IMEI packet received {"connection_id":54588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:57:15] local.INFO: TCP Data received {"connection_id":54587,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:15] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:57:15] local.INFO: IMEI packet received {"connection_id":54587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":54587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:57:16] local.INFO: TCP Data received {"connection_id":54587,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc840e388012d19578007208de0002f01332a..."} 
[2026-04-26 10:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc840e388012d19578007208de0002f01332a..."} 
[2026-04-26 10:57:16] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc840e388012d19578007208de0002f01332a..."} 
[2026-04-26 10:57:16] local.INFO: Packet analysis {"connection_id":54587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc840"} 
[2026-04-26 10:57:16] local.INFO: Extracted packet for processing {"connection_id":54587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc840"} 
[2026-04-26 10:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756635520,"raw_latitude":119573984,"longitude_deg":75.663552,"latitude_deg":11.9573984,"altitude":47,"angle":307,"satellites":42,"speed":8,"hex_longitude":"2d195780","hex_latitude":"07208de0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958383872001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114703793198727168,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826491154486319104,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:16] 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-04-26 10:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777181189000,"timestamp_ms":1777181189000,"timestamp_seconds":1777181189,"priority":1,"record_length":96,"hex_timestamp":"0000019dc840e388"} 
[2026-04-26 10:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:57: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-04-26 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:57: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-04-26 10: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-04-26 10:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958383872001,"66":14265,"121":206,"28":31744,"24":8,"16":114703793198727168,"45":1826491154486319104},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958383872001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:57:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:57:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114703793198727168,"km_value":114703793198727.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826491154486319104,"description":"Unknown IO ID 45"} 
[2026-04-26 10:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958383872001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1826491154486319104}} 
[2026-04-26 10:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":54587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:57:17] local.INFO: GPS data processed {"connection_id":54587,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:57:17] local.INFO: Acknowledgment sent {"connection_id":54587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:57:18] local.INFO: TCP Data received {"connection_id":54587,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc840fee0012d195080072094680031015128..."} 
[2026-04-26 10:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc840fee0012d195080072094680031015128..."} 
[2026-04-26 10:57:18] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc840fee0012d195080072094680031015128..."} 
[2026-04-26 10:57:18] local.INFO: Packet analysis {"connection_id":54587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc840"} 
[2026-04-26 10:57:18] local.INFO: Extracted packet for processing {"connection_id":54587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc840"} 
[2026-04-26 10:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756633728,"raw_latitude":119575656,"longitude_deg":75.6633728,"latitude_deg":11.9575656,"altitude":49,"angle":337,"satellites":40,"speed":14,"hex_longitude":"2d195080","hex_latitude":"07209468","is_valid_coordinates":true} 
[2026-04-26 10:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958384384001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114703909162844160,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826068942021320704,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:18] 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-04-26 10:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777181196000,"timestamp_ms":1777181196000,"timestamp_seconds":1777181196,"priority":1,"record_length":96,"hex_timestamp":"0000019dc840fee0"} 
[2026-04-26 10:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:57: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-04-26 10:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 10:57: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-04-26 10:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958384384001,"66":14428,"121":206,"28":31744,"24":14,"16":114703909162844160,"45":1826068942021320704},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958384384001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:57:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114703909162844160,"km_value":114703909162844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826068942021320704,"description":"Unknown IO ID 45"} 
[2026-04-26 10:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958384384001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1826068942021320704}} 
[2026-04-26 10:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":54587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:57:18] local.INFO: GPS data processed {"connection_id":54587,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:57:18] local.INFO: Acknowledgment sent {"connection_id":54587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:57:19] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:57:19] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:57:19] local.INFO: IMEI packet received {"connection_id":54588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":54588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:57:20] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:57:20] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:57:20] local.INFO: Packet analysis {"connection_id":54588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:57:20] local.INFO: Extracted packet for processing {"connection_id":54588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:57:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:57: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-04-26 10: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-04-26 10:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:57:20] 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-04-26 10:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:57:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":54588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:57:20] local.INFO: GPS data processed {"connection_id":54588,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:57:20] local.INFO: Acknowledgment sent {"connection_id":54588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:57:49] local.INFO: TCP Data received {"connection_id":54587,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84102c8012d195040072095e00031016528..."} 
[2026-04-26 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84102c8012d195040072095e00031016528..."} 
[2026-04-26 10:57:49] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84102c8012d195040072095e00031016528..."} 
[2026-04-26 10:57:49] local.INFO: Packet analysis {"connection_id":54587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:57:49] local.INFO: Extracted packet for processing {"connection_id":54587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756633664,"raw_latitude":119576032,"longitude_deg":75.6633664,"latitude_deg":11.9576032,"altitude":49,"angle":357,"satellites":40,"speed":14,"hex_longitude":"2d195040","hex_latitude":"072095e0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958386176001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114703926342713344,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824098617184774144,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:49] 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-04-26 10:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777181197000,"timestamp_ms":1777181197000,"timestamp_seconds":1777181197,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84102c8"} 
[2026-04-26 10:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:57:49] 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-04-26 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 10:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958386176001,"66":14428,"121":206,"28":31744,"24":14,"16":114703926342713344,"45":1824098617184774144},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958386176001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:57:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:57:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114703926342713344,"km_value":114703926342713.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824098617184774144,"description":"Unknown IO ID 45"} 
[2026-04-26 10:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958386176001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1824098617184774144}} 
[2026-04-26 10:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":54587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:57:49] local.INFO: GPS data processed {"connection_id":54587,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:57:49] local.INFO: Acknowledgment sent {"connection_id":54587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:57:51] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:57:51] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:57:51] local.INFO: Packet analysis {"connection_id":54588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:57:51] local.INFO: Extracted packet for processing {"connection_id":54588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:57: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-04-26 10: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-04-26 10:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:57:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":54588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:57:51] local.INFO: GPS data processed {"connection_id":54588,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:57:51] local.INFO: Acknowledgment sent {"connection_id":54588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:57:55] local.INFO: TCP Data received {"connection_id":55342,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:57:55] local.INFO: Processing buffer {"connection_id":55342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:57:55] local.INFO: IMEI packet received {"connection_id":55342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":55342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:58:13] local.INFO: TCP Data received {"connection_id":54665,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:58:13] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:58:13] local.INFO: IMEI packet received {"connection_id":54665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":54665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:58:18] local.INFO: TCP Data received {"connection_id":54665,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:58:18] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:58:18] local.INFO: IMEI packet received {"connection_id":54665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":54665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:58:19] local.INFO: TCP Data received {"connection_id":54665,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8418798012d196ec00720ad700034004526..."} 
[2026-04-26 10:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8418798012d196ec00720ad700034004526..."} 
[2026-04-26 10:58:19] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8418798012d196ec00720ad700034004526..."} 
[2026-04-26 10:58:19] local.INFO: Packet analysis {"connection_id":54665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:58:19] local.INFO: Extracted packet for processing {"connection_id":54665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:58:19] local.INFO: GPS Element Parsed {"raw_longitude":756641472,"raw_latitude":119582064,"longitude_deg":75.6641472,"latitude_deg":11.9582064,"altitude":52,"angle":69,"satellites":38,"speed":29,"hex_longitude":"2d196ec0","hex_latitude":"0720ad70","is_valid_coordinates":true} 
[2026-04-26 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958393344001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704501868331008,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828109635604381696,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:19] 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-04-26 10:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181231000,"timestamp_ms":1777181231000,"timestamp_seconds":1777181231,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8418798"} 
[2026-04-26 10:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:58:19] 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-04-26 10:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 10:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958393344001,"66":12743,"121":206,"28":31744,"24":29,"16":114704501868331008,"45":1828109635604381696},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958393344001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:58:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:58:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704501868331008,"km_value":114704501868331.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828109635604381696,"description":"Unknown IO ID 45"} 
[2026-04-26 10:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958393344001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1828109635604381696}} 
[2026-04-26 10:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":54665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:58:20] local.INFO: GPS data processed {"connection_id":54665,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:58:20] local.INFO: Acknowledgment sent {"connection_id":54665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:58:24] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:58:24] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:58:24] local.INFO: IMEI packet received {"connection_id":54589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":54589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:58:29] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:58:29] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:58:29] local.INFO: IMEI packet received {"connection_id":54589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":54589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:58:30] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:58:30] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:58:30] local.INFO: Packet analysis {"connection_id":54589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:58:30] local.INFO: Extracted packet for processing {"connection_id":54589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:58:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10: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-04-26 10:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:58:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":54589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:58:30] local.INFO: GPS data processed {"connection_id":54589,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:58:30] local.INFO: Acknowledgment sent {"connection_id":54589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:58:40] local.INFO: TCP Data received {"connection_id":55343,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:58:40] local.INFO: Processing buffer {"connection_id":55343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 10:58:40] local.INFO: IMEI packet received {"connection_id":55343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 10:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":55343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:58:51] local.INFO: TCP Data received {"connection_id":54665,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc841a2f0012d1983000720b2900034005227..."} 
[2026-04-26 10:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc841a2f0012d1983000720b2900034005227..."} 
[2026-04-26 10:58:51] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc841a2f0012d1983000720b2900034005227..."} 
[2026-04-26 10:58:51] local.INFO: Packet analysis {"connection_id":54665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:58:51] local.INFO: Extracted packet for processing {"connection_id":54665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119583376,"longitude_deg":75.6646656,"latitude_deg":11.9583376,"altitude":52,"angle":82,"satellites":39,"speed":23,"hex_longitude":"2d198300","hex_latitude":"0720b290","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958395136001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704755271401472,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832613235231911936,"note":"Value kept but may cause issues"} 
[2026-04-26 10:58:51] 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-04-26 10:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181238000,"timestamp_ms":1777181238000,"timestamp_seconds":1777181238,"priority":1,"record_length":96,"hex_timestamp":"0000019dc841a2f0"} 
[2026-04-26 10:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":199,"data_length":795,"current_offset":136} 
[2026-04-26 10:58: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-04-26 10: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-04-26 10:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958395136001,"66":12711,"121":206,"28":31744,"24":23,"16":114704755271401472,"45":1832613235231911936},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958395136001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:58:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:58:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704755271401472,"km_value":114704755271401.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832613235231911936,"description":"Unknown IO ID 45"} 
[2026-04-26 10:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958395136001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1832613235231911936}} 
[2026-04-26 10:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":54665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:58:51] local.INFO: GPS data processed {"connection_id":54665,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:58:51] local.INFO: Acknowledgment sent {"connection_id":54665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:59:12] local.INFO: TCP Data received {"connection_id":55344,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:59:12] local.INFO: Processing buffer {"connection_id":55344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:59:12] local.INFO: IMEI packet received {"connection_id":55344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 10:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":55344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:59:18] local.INFO: TCP Data received {"connection_id":55344,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:59:18] local.INFO: Processing buffer {"connection_id":55344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 10:59:18] local.INFO: IMEI packet received {"connection_id":55344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 10:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":55344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:59:19] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:59:19] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:59:19] local.INFO: IMEI packet received {"connection_id":54591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 10:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":54591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 10:59:20] local.INFO: TCP Data received {"connection_id":55344,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc841a6d8012d1985000720b2880034005e28..."} 
[2026-04-26 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc841a6d8012d1985000720b2880034005e28..."} 
[2026-04-26 10:59:20] local.INFO: Processing buffer {"connection_id":55344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc841a6d8012d1985000720b2880034005e28..."} 
[2026-04-26 10:59:20] local.INFO: Packet analysis {"connection_id":55344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:59:20] local.INFO: Extracted packet for processing {"connection_id":55344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119583368,"longitude_deg":75.6647168,"latitude_deg":11.9583368,"altitude":52,"angle":94,"satellites":40,"speed":18,"hex_longitude":"2d198500","hex_latitude":"0720b288","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958396928001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704781041205248,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103510638592,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:20] 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-04-26 10:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181239000,"timestamp_ms":1777181239000,"timestamp_seconds":1777181239,"priority":1,"record_length":96,"hex_timestamp":"0000019dc841a6d8"} 
[2026-04-26 10:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:59:20] 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-04-26 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-26 10:59:20] 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-04-26 10: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-04-26 10:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958396928001,"66":12711,"121":206,"28":31744,"24":18,"16":114704781041205248,"45":1838313103510638592},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958396928001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:59:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704781041205248,"km_value":114704781041205.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103510638592,"description":"Unknown IO ID 45"} 
[2026-04-26 10:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958396928001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1838313103510638592}} 
[2026-04-26 10:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":55344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:59:20] local.INFO: GPS data processed {"connection_id":55344,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:59:20] local.INFO: Acknowledgment sent {"connection_id":55344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:59:24] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:59:24] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 10:59:24] local.INFO: IMEI packet received {"connection_id":54591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 10:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":54591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 10:59:25] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:59:25] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:59:25] local.INFO: Packet analysis {"connection_id":54591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:59:25] local.INFO: Extracted packet for processing {"connection_id":54591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:59:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 10:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:59:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":54591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:59:25] local.INFO: GPS data processed {"connection_id":54591,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:59:25] local.INFO: Acknowledgment sent {"connection_id":54591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:59:29] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:59:29] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc83f31f0012cb299c007822ce00055001232..."} 
[2026-04-26 10:59:29] local.INFO: Packet analysis {"connection_id":54591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:59:29] local.INFO: Extracted packet for processing {"connection_id":54591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc83f"} 
[2026-04-26 10:59:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 10:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 10:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958278912001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 10:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777181078000,"timestamp_ms":1777181078000,"timestamp_seconds":1777181078,"priority":1,"record_length":96,"hex_timestamp":"0000019dc83f31f0"} 
[2026-04-26 10:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 10:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 10:59:29] 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-04-26 10:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 10:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 10:59: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-04-26 10:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 10:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 10:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958278912001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 10:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 10:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 10:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958278912001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:59:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 10:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 10:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 10:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958278912001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 10:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":54591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:59:29] local.INFO: GPS data processed {"connection_id":54591,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:59:29] local.INFO: Acknowledgment sent {"connection_id":54591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 10:59:51] local.INFO: TCP Data received {"connection_id":55344,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc841f8e0012d1989800720b1f00034006425..."} 
[2026-04-26 10:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc841f8e0012d1989800720b1f00034006425..."} 
[2026-04-26 10:59:51] local.INFO: Processing buffer {"connection_id":55344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc841f8e0012d1989800720b1f00034006425..."} 
[2026-04-26 10:59:51] local.INFO: Packet analysis {"connection_id":55344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:59:51] local.INFO: Extracted packet for processing {"connection_id":55344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc841"} 
[2026-04-26 10:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":37,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 10: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-04-26 10:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958397184001,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053464057856,"note":"Value kept but may cause issues"} 
[2026-04-26 10:59:51] 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-04-26 10:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181260000,"timestamp_ms":1777181260000,"timestamp_seconds":1777181260,"priority":1,"record_length":96,"hex_timestamp":"0000019dc841f8e0"} 
[2026-04-26 10:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 10:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 10: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-26 10:59:51] 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-04-26 10: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-04-26 10:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 10:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 10:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 10:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 10:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 10:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 10:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 10:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958397184001,"66":12461,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1838876053464057856},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 10:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 10:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 10:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958397184001,"description":"Unknown IO ID 0"} 
[2026-04-26 10:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 10:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 10:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 10:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053464057856,"description":"Unknown IO ID 45"} 
[2026-04-26 10:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958397184001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053464057856}} 
[2026-04-26 10:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":55344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 10:59:51] local.INFO: GPS data processed {"connection_id":55344,"processed":1,"errors":0,"total":1} 
[2026-04-26 10:59:51] local.INFO: Acknowledgment sent {"connection_id":55344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:00:12] local.INFO: TCP Data received {"connection_id":54409,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:00:12] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:00:12] local.INFO: IMEI packet received {"connection_id":54409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":54409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:00:14] local.INFO: TCP Data received {"connection_id":54593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:00:14] local.INFO: Processing buffer {"connection_id":54593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:00:14] local.INFO: IMEI packet received {"connection_id":54593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:00:17] local.INFO: TCP Data received {"connection_id":54593,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:00:17] local.INFO: Processing buffer {"connection_id":54593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:00:17] local.INFO: IMEI packet received {"connection_id":54593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":54593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:00:18] local.INFO: TCP Data received {"connection_id":54409,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:00:18] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:00:18] local.INFO: IMEI packet received {"connection_id":54409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":54409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:00:18] local.INFO: TCP Data received {"connection_id":54593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:00:18] local.INFO: Processing buffer {"connection_id":54593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:00:18] local.INFO: Packet analysis {"connection_id":54593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:00:18] local.INFO: Extracted packet for processing {"connection_id":54593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:00:18] 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-04-26 11:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:00:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:00:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":54593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:00:18] local.INFO: GPS data processed {"connection_id":54593,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:00:18] local.INFO: Acknowledgment sent {"connection_id":54593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:00:19] local.INFO: TCP Data received {"connection_id":54409,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8424ae8012d1989800720b1f00034006427..."} 
[2026-04-26 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8424ae8012d1989800720b1f00034006427..."} 
[2026-04-26 11:00:19] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8424ae8012d1989800720b1f00034006427..."} 
[2026-04-26 11:00:19] local.INFO: Packet analysis {"connection_id":54409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc842"} 
[2026-04-26 11:00:19] local.INFO: Extracted packet for processing {"connection_id":54409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc842"} 
[2026-04-26 11:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":39,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958402560001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:19] 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-04-26 11:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181281000,"timestamp_ms":1777181281000,"timestamp_seconds":1777181281,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8424ae8"} 
[2026-04-26 11:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:00: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-04-26 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 11:00: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-04-26 11:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958402560001,"66":12341,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958402560001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:00:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958402560001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":54409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:00:19] local.INFO: GPS data processed {"connection_id":54409,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:00:19] local.INFO: Acknowledgment sent {"connection_id":54409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:00:49] local.INFO: TCP Data received {"connection_id":54593,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:00:49] local.INFO: Processing buffer {"connection_id":54593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:00:49] local.INFO: Packet analysis {"connection_id":54593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:00:49] local.INFO: Extracted packet for processing {"connection_id":54593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:00:49] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:00:49] 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-04-26 11:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:00:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:00:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:00:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":54593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:00:49] local.INFO: GPS data processed {"connection_id":54593,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:00:49] local.INFO: Acknowledgment sent {"connection_id":54593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:00:51] local.INFO: TCP Data received {"connection_id":54409,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8429cf0012d1989800720b1f00034006427..."} 
[2026-04-26 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8429cf0012d1989800720b1f00034006427..."} 
[2026-04-26 11:00:51] local.INFO: Processing buffer {"connection_id":54409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8429cf0012d1989800720b1f00034006427..."} 
[2026-04-26 11:00:51] local.INFO: Packet analysis {"connection_id":54409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc842"} 
[2026-04-26 11:00:51] local.INFO: Extracted packet for processing {"connection_id":54409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc842"} 
[2026-04-26 11:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":39,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958407936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:00:51] 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-04-26 11:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181302000,"timestamp_ms":1777181302000,"timestamp_seconds":1777181302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8429cf0"} 
[2026-04-26 11:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 11:00:51] 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-04-26 11: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-04-26 11:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958407936001,"66":12178,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958407936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:00:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958407936001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:00:51] local.INFO: GPS data processed {"connection_id":54409,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:00:51] local.INFO: Acknowledgment sent {"connection_id":54409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:01:14] local.INFO: TCP Data received {"connection_id":55345,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:01:14] local.INFO: Processing buffer {"connection_id":55345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:01:14] local.INFO: IMEI packet received {"connection_id":55345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":55345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:01:18] local.INFO: TCP Data received {"connection_id":54410,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:01:18] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:01:18] local.INFO: IMEI packet received {"connection_id":54410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":54410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:01:19] local.INFO: TCP Data received {"connection_id":55345,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:01:19] local.INFO: Processing buffer {"connection_id":55345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:01:19] local.INFO: IMEI packet received {"connection_id":55345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":55345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:01:20] local.INFO: TCP Data received {"connection_id":55345,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:01:20] local.INFO: Processing buffer {"connection_id":55345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:01:20] local.INFO: Packet analysis {"connection_id":55345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:01:20] local.INFO: Extracted packet for processing {"connection_id":55345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:01:20] 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-04-26 11: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-04-26 11:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:01:20] 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-04-26 11:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:01:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":55345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:01:20] local.INFO: GPS data processed {"connection_id":55345,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:01:20] local.INFO: Acknowledgment sent {"connection_id":55345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:01:23] local.INFO: TCP Data received {"connection_id":54410,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:01:23] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:01:23] local.INFO: IMEI packet received {"connection_id":54410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":54410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:01:24] local.INFO: TCP Data received {"connection_id":54410,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc842eef8012d1989800720b1f00034006427..."} 
[2026-04-26 11:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc842eef8012d1989800720b1f00034006427..."} 
[2026-04-26 11:01:24] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc842eef8012d1989800720b1f00034006427..."} 
[2026-04-26 11:01:24] local.INFO: Packet analysis {"connection_id":54410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc842"} 
[2026-04-26 11:01:24] local.INFO: Extracted packet for processing {"connection_id":54410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc842"} 
[2026-04-26 11:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":39,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958413312001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:24] 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-04-26 11:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777181323000,"timestamp_ms":1777181323000,"timestamp_seconds":1777181323,"priority":1,"record_length":96,"hex_timestamp":"0000019dc842eef8"} 
[2026-04-26 11:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-26 11:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958413312001,"66":12145,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958413312001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:01:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:01:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958413312001,"power":12145,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":54410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:01:24] local.INFO: GPS data processed {"connection_id":54410,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:01:24] local.INFO: Acknowledgment sent {"connection_id":54410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:01:27] local.INFO: TCP Data received {"connection_id":54410,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8434100012d1989800720b1f00034006429..."} 
[2026-04-26 11:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8434100012d1989800720b1f00034006429..."} 
[2026-04-26 11:01:27] local.INFO: Processing buffer {"connection_id":54410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8434100012d1989800720b1f00034006429..."} 
[2026-04-26 11:01:27] local.INFO: Packet analysis {"connection_id":54410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:01:27] local.INFO: Extracted packet for processing {"connection_id":54410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":41,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958418688001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:27] 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-04-26 11:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777181344000,"timestamp_ms":1777181344000,"timestamp_seconds":1777181344,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8434100"} 
[2026-04-26 11:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-26 11:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958418688001,"66":12156,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958418688001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:01:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958418688001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":54410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:01:27] local.INFO: GPS data processed {"connection_id":54410,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:01:27] local.INFO: Acknowledgment sent {"connection_id":54410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:01:51] local.INFO: TCP Data received {"connection_id":55345,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:01:51] local.INFO: Processing buffer {"connection_id":55345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:01:51] local.INFO: Packet analysis {"connection_id":55345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:01:51] local.INFO: Extracted packet for processing {"connection_id":55345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:01:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:01:51] 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-04-26 11: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-04-26 11:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:01:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:01:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":55345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:01:51] local.INFO: GPS data processed {"connection_id":55345,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:01:51] local.INFO: Acknowledgment sent {"connection_id":55345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:02:13] local.INFO: TCP Data received {"connection_id":54594,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:02:13] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:02:13] local.INFO: IMEI packet received {"connection_id":54594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":54594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:02:14] local.INFO: TCP Data received {"connection_id":55346,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:02:14] local.INFO: Processing buffer {"connection_id":55346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:02:14] local.INFO: IMEI packet received {"connection_id":55346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":55346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:02:18] local.INFO: TCP Data received {"connection_id":54594,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:02:18] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:02:18] local.INFO: IMEI packet received {"connection_id":54594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":54594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:02:20] local.INFO: TCP Data received {"connection_id":54594,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8439308012d1989800720b1f00034006427..."} 
[2026-04-26 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8439308012d1989800720b1f00034006427..."} 
[2026-04-26 11:02:20] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8439308012d1989800720b1f00034006427..."} 
[2026-04-26 11:02:20] local.INFO: Packet analysis {"connection_id":54594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:20] local.INFO: Extracted packet for processing {"connection_id":54594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:20] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":39,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958424064001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:20] 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-04-26 11:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181365000,"timestamp_ms":1777181365000,"timestamp_seconds":1777181365,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8439308"} 
[2026-04-26 11:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-26 11:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958424064001,"66":12287,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958424064001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:02:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:02:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958424064001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":54594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:02:20] local.INFO: GPS data processed {"connection_id":54594,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:02:20] local.INFO: Acknowledgment sent {"connection_id":54594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:02:20] local.INFO: TCP Data received {"connection_id":55346,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:02:20] local.INFO: Processing buffer {"connection_id":55346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:02:20] local.INFO: IMEI packet received {"connection_id":55346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":55346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:02:21] local.INFO: TCP Data received {"connection_id":55346,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:02:21] local.INFO: Processing buffer {"connection_id":55346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:02:21] local.INFO: Packet analysis {"connection_id":55346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:21] local.INFO: Extracted packet for processing {"connection_id":55346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 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-04-26 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:02:21] 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-04-26 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-04-26 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-04-26 11:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:02: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-04-26 11:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:02:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:02:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":55346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:02:21] local.INFO: GPS data processed {"connection_id":55346,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:02:21] local.INFO: Acknowledgment sent {"connection_id":55346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:02:52] local.INFO: TCP Data received {"connection_id":54594,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843e510012d1989800720b1f00034006429..."} 
[2026-04-26 11:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843e510012d1989800720b1f00034006429..."} 
[2026-04-26 11:02:52] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843e510012d1989800720b1f00034006429..."} 
[2026-04-26 11:02:52] local.INFO: Packet analysis {"connection_id":54594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:52] local.INFO: Extracted packet for processing {"connection_id":54594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":41,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958429440001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:52] 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-04-26 11:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777181386000,"timestamp_ms":1777181386000,"timestamp_seconds":1777181386,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843e510"} 
[2026-04-26 11:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-26 11:02:52] 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-04-26 11: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-04-26 11:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958429440001,"66":12287,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958429440001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958429440001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":54594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:02:52] local.INFO: GPS data processed {"connection_id":54594,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:02:52] local.INFO: Acknowledgment sent {"connection_id":54594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:02:52] local.INFO: TCP Data received {"connection_id":55346,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:02:52] local.INFO: Processing buffer {"connection_id":55346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:02:52] local.INFO: Packet analysis {"connection_id":55346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:52] local.INFO: Extracted packet for processing {"connection_id":55346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:02:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:02:52] 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-04-26 11: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-04-26 11:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:02: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-04-26 11:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:02:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":55346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:02:52] local.INFO: GPS data processed {"connection_id":55346,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:02:52] local.INFO: Acknowledgment sent {"connection_id":55346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:03:12] local.INFO: TCP Data received {"connection_id":54411,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:12] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:12] local.INFO: IMEI packet received {"connection_id":54411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":54411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:03:12] local.INFO: TCP Data received {"connection_id":54411,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:12] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:12] local.INFO: IMEI packet received {"connection_id":54411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":54411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:03:14] local.INFO: TCP Data received {"connection_id":55347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:03:14] local.INFO: Processing buffer {"connection_id":55347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:03:14] local.INFO: IMEI packet received {"connection_id":55347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":55347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:03:17] local.INFO: TCP Data received {"connection_id":54411,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:17] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:03:17] local.INFO: IMEI packet received {"connection_id":54411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":54411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:03:19] local.INFO: TCP Data received {"connection_id":54411,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8443718012d1989800720b1f00034006428..."} 
[2026-04-26 11:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8443718012d1989800720b1f00034006428..."} 
[2026-04-26 11:03:19] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8443718012d1989800720b1f00034006428..."} 
[2026-04-26 11:03:19] local.INFO: Packet analysis {"connection_id":54411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc844"} 
[2026-04-26 11:03:19] local.INFO: Extracted packet for processing {"connection_id":54411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc844"} 
[2026-04-26 11:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583216,"longitude_deg":75.664832,"latitude_deg":11.9583216,"altitude":52,"angle":100,"satellites":40,"speed":0,"hex_longitude":"2d198980","hex_latitude":"0720b1f0","is_valid_coordinates":true} 
[2026-04-26 11:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958434816001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114704836875780096,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840142690859216896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:19] 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-04-26 11:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181407000,"timestamp_ms":1777181407000,"timestamp_seconds":1777181407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8443718"} 
[2026-04-26 11:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:03: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-04-26 11:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-26 11:03:19] 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-04-26 11:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958434816001,"66":12319,"121":206,"28":31744,"24":0,"16":114704836875780096,"45":1840142690859216896},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958434816001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:03:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:03:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114704836875780096,"km_value":114704836875780.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840142690859216896,"description":"Unknown IO ID 45"} 
[2026-04-26 11:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958434816001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840142690859216896}} 
[2026-04-26 11:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":54411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:03:19] local.INFO: GPS data processed {"connection_id":54411,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:03:19] local.INFO: Acknowledgment sent {"connection_id":54411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:03:19] local.INFO: TCP Data received {"connection_id":55347,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:03:19] local.INFO: Processing buffer {"connection_id":55347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:03:19] local.INFO: IMEI packet received {"connection_id":55347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":55347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:03:20] local.INFO: TCP Data received {"connection_id":55347,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:03:20] local.INFO: Processing buffer {"connection_id":55347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:03:20] local.INFO: Packet analysis {"connection_id":55347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:03:20] local.INFO: Extracted packet for processing {"connection_id":55347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:03:20] 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-04-26 11: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-04-26 11:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:03:20] 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-04-26 11:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":55347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:03:20] local.INFO: GPS data processed {"connection_id":55347,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:03:20] local.INFO: Acknowledgment sent {"connection_id":55347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:03:50] local.INFO: TCP Data received {"connection_id":54411,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84701f0012d19bc400720a4d0003200a428..."} 
[2026-04-26 11:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84701f0012d19bc400720a4d0003200a428..."} 
[2026-04-26 11:03:50] local.INFO: Processing buffer {"connection_id":54411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84701f0012d19bc400720a4d0003200a428..."} 
[2026-04-26 11:03:50] local.INFO: Packet analysis {"connection_id":54411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:03:50] local.INFO: Extracted packet for processing {"connection_id":54411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119579856,"longitude_deg":75.6661312,"latitude_deg":11.9579856,"altitude":50,"angle":164,"satellites":40,"speed":22,"hex_longitude":"2d19bc40","hex_latitude":"0720a4d0","is_valid_coordinates":true} 
[2026-04-26 11:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958486784001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705536955449344,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439694028800,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:50] 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-04-26 11:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777181590000,"timestamp_ms":1777181590000,"timestamp_seconds":1777181590,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84701f0"} 
[2026-04-26 11:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:03:50] 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-04-26 11:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 11:03:50] 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-04-26 11:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958486784001,"66":14004,"121":206,"28":31744,"24":22,"16":114705536955449344,"45":1854216439694028800},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958486784001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:03:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705536955449344,"km_value":114705536955449.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439694028800,"description":"Unknown IO ID 45"} 
[2026-04-26 11:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958486784001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1854216439694028800}} 
[2026-04-26 11:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":54411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:03:50] local.INFO: GPS data processed {"connection_id":54411,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:03:50] local.INFO: Acknowledgment sent {"connection_id":54411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:03:51] local.INFO: TCP Data received {"connection_id":55347,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:03:51] local.INFO: Processing buffer {"connection_id":55347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:03:51] local.INFO: Packet analysis {"connection_id":55347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:03:51] local.INFO: Extracted packet for processing {"connection_id":55347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:03:51] 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-04-26 11: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-04-26 11:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:03:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":55347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:03:51] local.INFO: GPS data processed {"connection_id":55347,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:03:51] local.INFO: Acknowledgment sent {"connection_id":55347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:04:05] local.INFO: TCP Data received {"connection_id":54596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:04:05] local.INFO: Processing buffer {"connection_id":54596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:04:05] local.INFO: IMEI packet received {"connection_id":54596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":54596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:04:13] local.INFO: TCP Data received {"connection_id":54668,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:04:13] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:04:13] local.INFO: IMEI packet received {"connection_id":54668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":54668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:04:18] local.INFO: TCP Data received {"connection_id":54668,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:04:18] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:04:18] local.INFO: IMEI packet received {"connection_id":54668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":54668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:04:19] local.INFO: TCP Data received {"connection_id":54668,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84705d8012d19bc400720a2a8003100b326..."} 
[2026-04-26 11:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84705d8012d19bc400720a2a8003100b326..."} 
[2026-04-26 11:04:19] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84705d8012d19bc400720a2a8003100b326..."} 
[2026-04-26 11:04:19] local.INFO: Packet analysis {"connection_id":54668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:04:19] local.INFO: Extracted packet for processing {"connection_id":54668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119579304,"longitude_deg":75.6661312,"latitude_deg":11.9579304,"altitude":49,"angle":179,"satellites":38,"speed":22,"hex_longitude":"2d19bc40","hex_latitude":"0720a2a8","is_valid_coordinates":true} 
[2026-04-26 11:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958487040001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705562725253120,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926422528,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:19] 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-04-26 11:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181591000,"timestamp_ms":1777181591000,"timestamp_seconds":1777181591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84705d8"} 
[2026-04-26 11:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:04:19] 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-04-26 11:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 11:04:19] 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-04-26 11:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958487040001,"66":14004,"121":206,"28":31744,"24":22,"16":114705562725253120,"45":1854427545926422528},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958487040001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:04:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705562725253120,"km_value":114705562725253.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926422528,"description":"Unknown IO ID 45"} 
[2026-04-26 11:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958487040001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1854427545926422528}} 
[2026-04-26 11:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":54668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:04:19] local.INFO: GPS data processed {"connection_id":54668,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:04:19] local.INFO: Acknowledgment sent {"connection_id":54668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:04:19] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:04:19] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:04:19] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:04:20] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:04:20] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:04:20] local.INFO: Packet analysis {"connection_id":54669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:04:20] local.INFO: Extracted packet for processing {"connection_id":54669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 11:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:04:20] 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-04-26 11: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-04-26 11:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:04:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":54669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:04:20] local.INFO: GPS data processed {"connection_id":54669,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:04:20] local.INFO: Acknowledgment sent {"connection_id":54669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:04:45] local.INFO: TCP Data received {"connection_id":54597,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:04:45] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:04:45] local.INFO: IMEI packet received {"connection_id":54597,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":54597,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:04:51] local.INFO: TCP Data received {"connection_id":54668,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84709c0012d19bb400720a080003100c427..."} 
[2026-04-26 11:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84709c0012d19bb400720a080003100c427..."} 
[2026-04-26 11:04:51] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84709c0012d19bb400720a080003100c427..."} 
[2026-04-26 11:04:51] local.INFO: Packet analysis {"connection_id":54668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:04:51] local.INFO: Extracted packet for processing {"connection_id":54668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119578752,"longitude_deg":75.6661056,"latitude_deg":11.9578752,"altitude":49,"angle":196,"satellites":39,"speed":23,"hex_longitude":"2d19bb40","hex_latitude":"0720a080","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958487296001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705588495056896,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926281216,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:51] 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-04-26 11:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181592000,"timestamp_ms":1777181592000,"timestamp_seconds":1777181592,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84709c0"} 
[2026-04-26 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-04-26 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 11:04: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-04-26 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-04-26 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-04-26 11:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958487296001,"66":14026,"121":206,"28":31744,"24":23,"16":114705588495056896,"45":1854427545926281216},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958487296001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705588495056896,"km_value":114705588495056.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926281216,"description":"Unknown IO ID 45"} 
[2026-04-26 11:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958487296001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1854427545926281216}} 
[2026-04-26 11:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:04:51] local.INFO: GPS data processed {"connection_id":54668,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:04:51] local.INFO: Acknowledgment sent {"connection_id":54668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:04:51] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:04:51] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc843c9b8012cb299c007822ce00050001233..."} 
[2026-04-26 11:04:51] local.INFO: Packet analysis {"connection_id":54669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:04:51] local.INFO: Extracted packet for processing {"connection_id":54669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc843"} 
[2026-04-26 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958355968001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181379000,"timestamp_ms":1777181379000,"timestamp_seconds":1777181379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc843c9b8"} 
[2026-04-26 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-04-26 11:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:04:51] 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-04-26 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-04-26 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-04-26 11:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958355968001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958355968001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958355968001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:04:51] local.INFO: GPS data processed {"connection_id":54669,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:04:51] local.INFO: Acknowledgment sent {"connection_id":54669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:05:12] local.INFO: TCP Data received {"connection_id":54599,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:05:12] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:05:12] local.INFO: IMEI packet received {"connection_id":54599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":54599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:05:14] local.INFO: TCP Data received {"connection_id":54598,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:05:14] local.INFO: Processing buffer {"connection_id":54598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:05:14] local.INFO: IMEI packet received {"connection_id":54598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:05:18] local.INFO: TCP Data received {"connection_id":54599,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:05:18] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:05:18] local.INFO: IMEI packet received {"connection_id":54599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":54599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:05:18] local.INFO: TCP Data received {"connection_id":54598,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:05:18] local.INFO: Processing buffer {"connection_id":54598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:05:18] local.INFO: IMEI packet received {"connection_id":54598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":54598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:05:19] local.INFO: TCP Data received {"connection_id":54599,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8470da8012d19b98007209e58003000d528..."} 
[2026-04-26 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8470da8012d19b98007209e58003000d528..."} 
[2026-04-26 11:05:19] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8470da8012d19b98007209e58003000d528..."} 
[2026-04-26 11:05:19] local.INFO: Packet analysis {"connection_id":54599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:05:19] local.INFO: Extracted packet for processing {"connection_id":54599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756660608,"raw_latitude":119578200,"longitude_deg":75.6660608,"latitude_deg":11.95782,"altitude":48,"angle":213,"satellites":40,"speed":26,"hex_longitude":"2d19b980","hex_latitude":"07209e58","is_valid_coordinates":true} 
[2026-04-26 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958487552001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705627149762560,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949429248,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:19] 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-04-26 11:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181593000,"timestamp_ms":1777181593000,"timestamp_seconds":1777181593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8470da8"} 
[2026-04-26 11:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:05:19] 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-04-26 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-26 11:05:19] 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-04-26 11:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958487552001,"66":14026,"121":206,"28":31744,"24":26,"16":114705627149762560,"45":1854146070949429248},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958487552001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705627149762560,"km_value":114705627149762.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949429248,"description":"Unknown IO ID 45"} 
[2026-04-26 11:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958487552001,"power":14026,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1854146070949429248}} 
[2026-04-26 11:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":54599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:05:19] local.INFO: GPS data processed {"connection_id":54599,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:05:19] local.INFO: Acknowledgment sent {"connection_id":54599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:05:19] local.INFO: TCP Data received {"connection_id":54598,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:05:19] local.INFO: Processing buffer {"connection_id":54598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:05:19] local.INFO: Packet analysis {"connection_id":54598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:05:19] local.INFO: Extracted packet for processing {"connection_id":54598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:05:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":54598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:05:19] local.INFO: GPS data processed {"connection_id":54598,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:05:19] local.INFO: Acknowledgment sent {"connection_id":54598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:05:50] local.INFO: TCP Data received {"connection_id":54598,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:05:50] local.INFO: Processing buffer {"connection_id":54598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:05:50] local.INFO: Packet analysis {"connection_id":54598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:05:50] local.INFO: Extracted packet for processing {"connection_id":54598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:05:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 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-04-26 11:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 11:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:05:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":54598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:05:50] local.INFO: GPS data processed {"connection_id":54598,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:05:50] local.INFO: Acknowledgment sent {"connection_id":54598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:05:51] local.INFO: TCP Data received {"connection_id":54599,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8472130012d19af80072092c8002e00c829..."} 
[2026-04-26 11:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8472130012d19af80072092c8002e00c829..."} 
[2026-04-26 11:05:51] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8472130012d19af80072092c8002e00c829..."} 
[2026-04-26 11:05:51] local.INFO: Packet analysis {"connection_id":54599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:05:51] local.INFO: Extracted packet for processing {"connection_id":54599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756658048,"raw_latitude":119575240,"longitude_deg":75.6658048,"latitude_deg":11.957524,"altitude":46,"angle":200,"satellites":41,"speed":29,"hex_longitude":"2d19af80","hex_latitude":"072092c8","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958487808001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705816128323584,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853653489740044288,"note":"Value kept but may cause issues"} 
[2026-04-26 11:05:51] 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-04-26 11:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181598000,"timestamp_ms":1777181598000,"timestamp_seconds":1777181598,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8472130"} 
[2026-04-26 11:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-26 11:05:51] 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-04-26 11: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-04-26 11:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958487808001,"66":14070,"121":206,"28":31744,"24":29,"16":114705816128323584,"45":1853653489740044288},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958487808001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:05:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705816128323584,"km_value":114705816128323.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853653489740044288,"description":"Unknown IO ID 45"} 
[2026-04-26 11:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958487808001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1853653489740044288}} 
[2026-04-26 11:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:05:51] local.INFO: GPS data processed {"connection_id":54599,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:05:51] local.INFO: Acknowledgment sent {"connection_id":54599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:06:14] local.INFO: TCP Data received {"connection_id":54413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:06:14] local.INFO: Processing buffer {"connection_id":54413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:06:14] local.INFO: IMEI packet received {"connection_id":54413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":54413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:06:18] local.INFO: TCP Data received {"connection_id":54414,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:06:18] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:06:18] local.INFO: IMEI packet received {"connection_id":54414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":54414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:06:19] local.INFO: TCP Data received {"connection_id":54413,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:06:19] local.INFO: Processing buffer {"connection_id":54413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:06:19] local.INFO: IMEI packet received {"connection_id":54413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":54413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:06:20] local.INFO: TCP Data received {"connection_id":54413,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:06:20] local.INFO: Processing buffer {"connection_id":54413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:06:20] local.INFO: Packet analysis {"connection_id":54413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:06:20] local.INFO: Extracted packet for processing {"connection_id":54413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:06: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-04-26 11:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:06:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":54413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:06:20] local.INFO: GPS data processed {"connection_id":54413,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:06:20] local.INFO: Acknowledgment sent {"connection_id":54413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:06:23] local.INFO: TCP Data received {"connection_id":54414,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:06:23] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:06:23] local.INFO: IMEI packet received {"connection_id":54414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":54414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:06:24] local.INFO: TCP Data received {"connection_id":54414,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8472518012d19aec007209010002e00bb28..."} 
[2026-04-26 11:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8472518012d19aec007209010002e00bb28..."} 
[2026-04-26 11:06:24] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8472518012d19aec007209010002e00bb28..."} 
[2026-04-26 11:06:24] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:06:24] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574544,"longitude_deg":75.6657856,"latitude_deg":11.9574544,"altitude":46,"angle":187,"satellites":40,"speed":28,"hex_longitude":"2d19aec0","hex_latitude":"07209010","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958489088001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705850488061952,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850838739972179968,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:24] 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-04-26 11:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777181599000,"timestamp_ms":1777181599000,"timestamp_seconds":1777181599,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8472518"} 
[2026-04-26 11:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 11:06:24] 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-04-26 11: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-04-26 11:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958489088001,"66":14070,"121":206,"28":31744,"24":28,"16":114705850488061952,"45":1850838739972179968},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958489088001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:06:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:06:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705850488061952,"km_value":114705850488061.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850838739972179968,"description":"Unknown IO ID 45"} 
[2026-04-26 11:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958489088001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1850838739972179968}} 
[2026-04-26 11:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:06:24] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:06:24] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:06:26] local.INFO: TCP Data received {"connection_id":54414,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8472ce8012d19aec007208a90002e00ad28..."} 
[2026-04-26 11:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8472ce8012d19aec007208a90002e00ad28..."} 
[2026-04-26 11:06:26] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8472ce8012d19aec007208a90002e00ad28..."} 
[2026-04-26 11:06:26] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:06:26] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119573136,"longitude_deg":75.6657856,"latitude_deg":11.9573136,"altitude":46,"angle":173,"satellites":40,"speed":28,"hex_longitude":"2d19aec0","hex_latitude":"07208a90","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958489344001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114705919207538688,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739468800,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:26] 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-04-26 11:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777181601000,"timestamp_ms":1777181601000,"timestamp_seconds":1777181601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8472ce8"} 
[2026-04-26 11:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:06:26] 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-04-26 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-26 11:06:26] 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-04-26 11: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-04-26 11:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958489344001,"66":13319,"121":206,"28":31744,"24":28,"16":114705919207538688,"45":1850627633739468800},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958489344001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:06:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:06:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114705919207538688,"km_value":114705919207538.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739468800,"description":"Unknown IO ID 45"} 
[2026-04-26 11:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958489344001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1850627633739468800}} 
[2026-04-26 11:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:06:26] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:06:26] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:06:51] local.INFO: TCP Data received {"connection_id":54413,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:06:51] local.INFO: Processing buffer {"connection_id":54413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:06:51] local.INFO: Packet analysis {"connection_id":54413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:06:51] local.INFO: Extracted packet for processing {"connection_id":54413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:06: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-04-26 11:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:06:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":54413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:06:51] local.INFO: GPS data processed {"connection_id":54413,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:06:51] local.INFO: Acknowledgment sent {"connection_id":54413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:06:57] local.INFO: TCP Data received {"connection_id":54414,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8474c28012d19b3c007207568002b00a226..."} 
[2026-04-26 11:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8474c28012d19b3c007207568002b00a226..."} 
[2026-04-26 11:06:57] local.INFO: Processing buffer {"connection_id":54414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8474c28012d19b3c007207568002b00a226..."} 
[2026-04-26 11:06:57] local.INFO: Packet analysis {"connection_id":54414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:06:57] local.INFO: Extracted packet for processing {"connection_id":54414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119567720,"longitude_deg":75.6659136,"latitude_deg":11.956772,"altitude":43,"angle":162,"satellites":38,"speed":28,"hex_longitude":"2d19b3c0","hex_latitude":"07207568","is_valid_coordinates":true} 
[2026-04-26 11:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958489856001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114706189790478336,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739108352,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] 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-04-26 11:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777181609000,"timestamp_ms":1777181609000,"timestamp_seconds":1777181609,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8474c28"} 
[2026-04-26 11:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3360096752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13494137,"corrected_to":0} 
[2026-04-26 11:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1191821313,"corrected_to":0} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-6417629254244882688,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951591,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2216296448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":180,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.WARNING: Large IO value detected {"io_id":70,"raw_value":-141862095045296121,"note":"Value kept but may cause issues"} 
[2026-04-26 11:06:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,121,28,24,241,158,16,132,157,37,45,192,144,46,40,10,66,33,128,146,41,13,1,240,202,200,32,4,113,205,23,5,188,168,38,239,54,2,151,7,50,22,180,70],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":202,"original":13494137,"validated":0},{"io_id":200,"original":1191821313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 11:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314839713056817152,"timestamp_seconds":3314839713056817.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958489856001,"66":13678,"121":206,"28":31744,"24":28,"16":114706189790478336,"45":1850627633739108352},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958489856001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:06:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114706189790478336,"km_value":114706189790478.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739108352,"description":"Unknown IO ID 45"} 
[2026-04-26 11:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958489856001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1850627633739108352}} 
[2026-04-26 11:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":54414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:06:58] local.INFO: GPS data processed {"connection_id":54414,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:06:58] local.INFO: Acknowledgment sent {"connection_id":54414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:07:13] local.INFO: TCP Data received {"connection_id":54671,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:07:13] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:07:13] local.INFO: IMEI packet received {"connection_id":54671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:07:14] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:07:14] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:07:14] local.INFO: IMEI packet received {"connection_id":54600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":54600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:07:17] local.INFO: TCP Data received {"connection_id":54671,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:07:17] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:07:17] local.INFO: IMEI packet received {"connection_id":54671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":54671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:07:19] local.INFO: TCP Data received {"connection_id":54671,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8478aa8012d19bc4007205530002900ae29..."} 
[2026-04-26 11:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8478aa8012d19bc4007205530002900ae29..."} 
[2026-04-26 11:07:19] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8478aa8012d19bc4007205530002900ae29..."} 
[2026-04-26 11:07:19] local.INFO: Packet analysis {"connection_id":54671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:07:19] local.INFO: Extracted packet for processing {"connection_id":54671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756661312,"raw_latitude":119559472,"longitude_deg":75.6661312,"latitude_deg":11.9559472,"altitude":41,"angle":174,"satellites":41,"speed":14,"hex_longitude":"2d19bc40","hex_latitude":"07205530","is_valid_coordinates":true} 
[2026-04-26 11:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958491904001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114706602107338752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008621275136,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:19] 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-04-26 11:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181625000,"timestamp_ms":1777181625000,"timestamp_seconds":1777181625,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8478aa8"} 
[2026-04-26 11:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:07:19] 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-04-26 11:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 11:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958491904001,"66":14211,"121":206,"28":31744,"24":14,"16":114706602107338752,"45":1852035008621275136},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958491904001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:07:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114706602107338752,"km_value":114706602107338.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008621275136,"description":"Unknown IO ID 45"} 
[2026-04-26 11:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958491904001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1852035008621275136}} 
[2026-04-26 11:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":54671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:07:19] local.INFO: GPS data processed {"connection_id":54671,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:07:19] local.INFO: Acknowledgment sent {"connection_id":54671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:07:19] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:07:19] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:07:19] local.INFO: IMEI packet received {"connection_id":54600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":54600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:07:20] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:07:20] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:07:20] local.INFO: Packet analysis {"connection_id":54600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:07:20] local.INFO: Extracted packet for processing {"connection_id":54600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:07: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-04-26 11:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:07:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":54600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:07:20] local.INFO: GPS data processed {"connection_id":54600,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:07:20] local.INFO: Acknowledgment sent {"connection_id":54600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:07:50] local.INFO: TCP Data received {"connection_id":54671,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc847cd10012d19bf4007203888002a00a128..."} 
[2026-04-26 11:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc847cd10012d19bf4007203888002a00a128..."} 
[2026-04-26 11:07:50] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc847cd10012d19bf4007203888002a00a128..."} 
[2026-04-26 11:07:50] local.INFO: Packet analysis {"connection_id":54671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:07:50] local.INFO: Extracted packet for processing {"connection_id":54671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc847"} 
[2026-04-26 11:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119552136,"longitude_deg":75.666208,"latitude_deg":11.9552136,"altitude":42,"angle":161,"satellites":40,"speed":24,"hex_longitude":"2d19bf40","hex_latitude":"07203888","is_valid_coordinates":true} 
[2026-04-26 11:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958496000001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114706962884591616,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545921204224,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:50] 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-04-26 11:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777181642000,"timestamp_ms":1777181642000,"timestamp_seconds":1777181642,"priority":1,"record_length":96,"hex_timestamp":"0000019dc847cd10"} 
[2026-04-26 11:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:07:50] 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-04-26 11:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-26 11:07:50] 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-04-26 11:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958496000001,"66":13102,"121":206,"28":31744,"24":24,"16":114706962884591616,"45":1854427545921204224},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958496000001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:07:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:07:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114706962884591616,"km_value":114706962884591.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545921204224,"description":"Unknown IO ID 45"} 
[2026-04-26 11:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958496000001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1854427545921204224}} 
[2026-04-26 11:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":54671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:07:50] local.INFO: GPS data processed {"connection_id":54671,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:07:50] local.INFO: Acknowledgment sent {"connection_id":54671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:07:51] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:07:51] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:07:51] local.INFO: Packet analysis {"connection_id":54600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:07:51] local.INFO: Extracted packet for processing {"connection_id":54600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:07: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-04-26 11:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:07:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":54600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:07:51] local.INFO: GPS data processed {"connection_id":54600,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:07:51] local.INFO: Acknowledgment sent {"connection_id":54600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:08:10] local.INFO: TCP Data received {"connection_id":54415,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:10] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:10] local.INFO: IMEI packet received {"connection_id":54415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":54415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:08:13] local.INFO: TCP Data received {"connection_id":54415,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:13] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:13] local.INFO: IMEI packet received {"connection_id":54415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":54415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:08:14] local.INFO: TCP Data received {"connection_id":55348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:08:14] local.INFO: Processing buffer {"connection_id":55348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:08:14] local.INFO: IMEI packet received {"connection_id":55348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":55348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:08:17] local.INFO: TCP Data received {"connection_id":54415,"ip":"117.224.149.237","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:17] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:08:17] local.INFO: IMEI packet received {"connection_id":54415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":54415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:08:19] local.INFO: TCP Data received {"connection_id":54415,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84803c0012d19cc80072019e0002a009525..."} 
[2026-04-26 11:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84803c0012d19cc80072019e0002a009525..."} 
[2026-04-26 11:08:19] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84803c0012d19cc80072019e0002a009525..."} 
[2026-04-26 11:08:19] local.INFO: Packet analysis {"connection_id":54415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:08:19] local.INFO: Extracted packet for processing {"connection_id":54415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756665472,"raw_latitude":119544288,"longitude_deg":75.6665472,"latitude_deg":11.9544288,"altitude":42,"angle":149,"satellites":37,"speed":23,"hex_longitude":"2d19cc80","hex_latitude":"072019e0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958500352001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114707379496419328,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970849458176,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:19] 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-04-26 11:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181656000,"timestamp_ms":1777181656000,"timestamp_seconds":1777181656,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84803c0"} 
[2026-04-26 11:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:08:19] 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-04-26 11: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 11:08:19] 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-04-26 11: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-04-26 11:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958500352001,"66":12852,"121":206,"28":31744,"24":23,"16":114707379496419328,"45":1855271970849458176},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958500352001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:08:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:08:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114707379496419328,"km_value":114707379496419.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970849458176,"description":"Unknown IO ID 45"} 
[2026-04-26 11:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958500352001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1855271970849458176}} 
[2026-04-26 11:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":54415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:08:19] local.INFO: GPS data processed {"connection_id":54415,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:08:19] local.INFO: Acknowledgment sent {"connection_id":54415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:08:19] local.INFO: TCP Data received {"connection_id":55348,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:08:19] local.INFO: Processing buffer {"connection_id":55348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:08:19] local.INFO: IMEI packet received {"connection_id":55348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":55348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:08:20] local.INFO: TCP Data received {"connection_id":55348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:08:20] local.INFO: Processing buffer {"connection_id":55348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:08:20] local.INFO: Packet analysis {"connection_id":55348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:08:20] local.INFO: Extracted packet for processing {"connection_id":55348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:08:20] 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-04-26 11:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:08:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":55348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:08:20] local.INFO: GPS data processed {"connection_id":55348,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:08:20] local.INFO: Acknowledgment sent {"connection_id":55348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:08:51] local.INFO: TCP Data received {"connection_id":54415,"ip":"117.224.149.237","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84b7690012d19c940071ff298002b00ee2b..."} 
[2026-04-26 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84b7690012d19c940071ff298002b00ee2b..."} 
[2026-04-26 11:08:51] local.INFO: Processing buffer {"connection_id":54415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84b7690012d19c940071ff298002b00ee2b..."} 
[2026-04-26 11:08:51] local.INFO: Packet analysis {"connection_id":54415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:08:51] local.INFO: Extracted packet for processing {"connection_id":54415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119534232,"longitude_deg":75.666464,"latitude_deg":11.9534232,"altitude":43,"angle":238,"satellites":43,"speed":16,"hex_longitude":"2d19c940","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-04-26 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958561536001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708070986153984,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858438564332933120,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:51] 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-04-26 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181882000,"timestamp_ms":1777181882000,"timestamp_seconds":1777181882,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84b7690"} 
[2026-04-26 11:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:08: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-04-26 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 11:08:51] 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-04-26 11:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.149.237","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958561536001,"66":13374,"121":206,"28":31744,"24":16,"16":114708070986153984,"45":1858438564332933120},"client_ip":"117.224.149.237","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958561536001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708070986153984,"km_value":114708070986153.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858438564332933120,"description":"Unknown IO ID 45"} 
[2026-04-26 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958561536001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1858438564332933120}} 
[2026-04-26 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":54415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:08:51] local.INFO: GPS data processed {"connection_id":54415,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:08:51] local.INFO: Acknowledgment sent {"connection_id":54415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:08:51] local.INFO: TCP Data received {"connection_id":55348,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:08:51] local.INFO: Processing buffer {"connection_id":55348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:08:51] local.INFO: Packet analysis {"connection_id":55348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:08:51] local.INFO: Extracted packet for processing {"connection_id":55348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":55348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:08:51] local.INFO: GPS data processed {"connection_id":55348,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:08:51] local.INFO: Acknowledgment sent {"connection_id":55348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:09:19] local.INFO: TCP Data received {"connection_id":54672,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:09:19] local.INFO: Processing buffer {"connection_id":54672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:09:19] local.INFO: IMEI packet received {"connection_id":54672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:09:24] local.INFO: TCP Data received {"connection_id":54672,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:09:24] local.INFO: Processing buffer {"connection_id":54672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:09:24] local.INFO: IMEI packet received {"connection_id":54672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":54672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:09:25] local.INFO: TCP Data received {"connection_id":54672,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:09:25] local.INFO: Processing buffer {"connection_id":54672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:09:25] local.INFO: Packet analysis {"connection_id":54672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:09:25] local.INFO: Extracted packet for processing {"connection_id":54672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:09:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":54672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:09:25] local.INFO: GPS data processed {"connection_id":54672,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:09:25] local.INFO: Acknowledgment sent {"connection_id":54672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:09:57] local.INFO: TCP Data received {"connection_id":54672,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:09:57] local.INFO: Processing buffer {"connection_id":54672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8486180012cb299c007822ce00051001233..."} 
[2026-04-26 11:09:57] local.INFO: Packet analysis {"connection_id":54672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:09:57] local.INFO: Extracted packet for processing {"connection_id":54672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc848"} 
[2026-04-26 11:09:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958433024001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:09:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777181680000,"timestamp_ms":1777181680000,"timestamp_seconds":1777181680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8486180"} 
[2026-04-26 11:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958433024001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958433024001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:09:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:09:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958433024001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":54672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:09:57] local.INFO: GPS data processed {"connection_id":54672,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:09:57] local.INFO: Acknowledgment sent {"connection_id":54672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:10:00] local.INFO: TCP Data received {"connection_id":55349,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:10:00] local.INFO: Processing buffer {"connection_id":55349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:10:00] local.INFO: IMEI packet received {"connection_id":55349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":55349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:10:14] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:10:14] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:10:14] local.INFO: IMEI packet received {"connection_id":54416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:10:19] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:10:19] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:10:19] local.INFO: IMEI packet received {"connection_id":54416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":54416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:10:20] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:10:20] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:10:20] local.INFO: Packet analysis {"connection_id":54416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:10:20] local.INFO: Extracted packet for processing {"connection_id":54416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:10:20] 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-04-26 11:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:10:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":54416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:10:20] local.INFO: GPS data processed {"connection_id":54416,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:10:20] local.INFO: Acknowledgment sent {"connection_id":54416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:10:42] local.INFO: TCP Data received {"connection_id":54673,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:10:42] local.INFO: Processing buffer {"connection_id":54673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:10:42] local.INFO: IMEI packet received {"connection_id":54673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":54673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:10:52] local.INFO: TCP Data received {"connection_id":54416,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:10:52] local.INFO: Processing buffer {"connection_id":54416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:10:52] local.INFO: Packet analysis {"connection_id":54416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:10:52] local.INFO: Extracted packet for processing {"connection_id":54416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:10:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:10:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:10:52] 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-04-26 11: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-04-26 11:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:10: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-04-26 11:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:10:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:10:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:10:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":54416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:10:52] local.INFO: GPS data processed {"connection_id":54416,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:10:52] local.INFO: Acknowledgment sent {"connection_id":54416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:11:14] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:11:14] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:11:14] local.INFO: IMEI packet received {"connection_id":54674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":54674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:11:19] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:11:19] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:11:19] local.INFO: IMEI packet received {"connection_id":54674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":54674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:11:20] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:11:20] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:11:20] local.INFO: Packet analysis {"connection_id":54674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:11:20] local.INFO: Extracted packet for processing {"connection_id":54674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:11:20] 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-04-26 11: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-04-26 11:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:11: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-04-26 11:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:11:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":54674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:11:20] local.INFO: GPS data processed {"connection_id":54674,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:11:20] local.INFO: Acknowledgment sent {"connection_id":54674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:11:51] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:11:51] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:11:51] local.INFO: Packet analysis {"connection_id":54674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:11:51] local.INFO: Extracted packet for processing {"connection_id":54674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:11:51] 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-04-26 11: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-04-26 11:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:11:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":54674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:11:51] local.INFO: GPS data processed {"connection_id":54674,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:11:51] local.INFO: Acknowledgment sent {"connection_id":54674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:12:19] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:12:19] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:12:19] local.INFO: IMEI packet received {"connection_id":54417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":54417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:12:24] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:12:24] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:12:24] local.INFO: IMEI packet received {"connection_id":54417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":54417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:12:25] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:12:25] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:12:25] local.INFO: Packet analysis {"connection_id":54417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:12:25] local.INFO: Extracted packet for processing {"connection_id":54417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:12:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:12:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":54417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:12:25] local.INFO: GPS data processed {"connection_id":54417,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:12:25] local.INFO: Acknowledgment sent {"connection_id":54417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:12:29] local.INFO: TCP Data received {"connection_id":54417,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:12:29] local.INFO: Processing buffer {"connection_id":54417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:12:29] local.INFO: Packet analysis {"connection_id":54417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:12:29] local.INFO: Extracted packet for processing {"connection_id":54417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:12:29] 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-04-26 11:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:12:29] 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-04-26 11:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:12:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":54417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:12:29] local.INFO: GPS data processed {"connection_id":54417,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:12:29] local.INFO: Acknowledgment sent {"connection_id":54417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:13:14] local.INFO: TCP Data received {"connection_id":54603,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:13:14] local.INFO: Processing buffer {"connection_id":54603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:13:14] local.INFO: IMEI packet received {"connection_id":54603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:13:19] local.INFO: TCP Data received {"connection_id":54603,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:13:19] local.INFO: Processing buffer {"connection_id":54603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:13:19] local.INFO: IMEI packet received {"connection_id":54603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:13:20] local.INFO: TCP Data received {"connection_id":54603,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:13:20] local.INFO: Processing buffer {"connection_id":54603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:13:20] local.INFO: Packet analysis {"connection_id":54603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:13:20] local.INFO: Extracted packet for processing {"connection_id":54603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 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-04-26 11:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:13:20] 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-04-26 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-04-26 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-04-26 11:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:13:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":54603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:13:20] local.INFO: GPS data processed {"connection_id":54603,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:13:20] local.INFO: Acknowledgment sent {"connection_id":54603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:13:47] local.INFO: TCP Data received {"connection_id":54418,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:13:47] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:13:47] local.INFO: IMEI packet received {"connection_id":54418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":54418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:13:51] local.INFO: TCP Data received {"connection_id":54603,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:13:51] local.INFO: Processing buffer {"connection_id":54603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:13:51] local.INFO: Packet analysis {"connection_id":54603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:13:51] local.INFO: Extracted packet for processing {"connection_id":54603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:13:51] 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-04-26 11:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:13:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":54603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:13:51] local.INFO: GPS data processed {"connection_id":54603,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:13:51] local.INFO: Acknowledgment sent {"connection_id":54603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:13:53] local.INFO: TCP Data received {"connection_id":54418,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:13:53] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:13:53] local.INFO: IMEI packet received {"connection_id":54418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":54418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:13:54] local.INFO: TCP Data received {"connection_id":54418,"ip":"117.224.232.160","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84b7a78012d19c7c0071ff1f8002b00ff2a..."} 
[2026-04-26 11:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84b7a78012d19c7c0071ff1f8002b00ff2a..."} 
[2026-04-26 11:13:54] local.INFO: Processing buffer {"connection_id":54418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84b7a78012d19c7c0071ff1f8002b00ff2a..."} 
[2026-04-26 11:13:54] local.INFO: Packet analysis {"connection_id":54418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:13:54] local.INFO: Extracted packet for processing {"connection_id":54418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119534072,"longitude_deg":75.6664256,"latitude_deg":11.9534072,"altitude":43,"angle":255,"satellites":42,"speed":18,"hex_longitude":"2d19c7c0","hex_latitude":"071ff1f8","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958561792001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708092460990464,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720611981312,"note":"Value kept but may cause issues"} 
[2026-04-26 11:13:54] 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-04-26 11:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777181883000,"timestamp_ms":1777181883000,"timestamp_seconds":1777181883,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84b7a78"} 
[2026-04-26 11:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-26 11:13: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-04-26 11: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-04-26 11:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.232.160","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958561792001,"66":13374,"121":206,"28":31744,"24":18,"16":114708092460990464,"45":1858086720611981312},"client_ip":"117.224.232.160","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958561792001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:13:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:13:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708092460990464,"km_value":114708092460990.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720611981312,"description":"Unknown IO ID 45"} 
[2026-04-26 11:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958561792001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1858086720611981312}} 
[2026-04-26 11:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":54418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:13:54] local.INFO: GPS data processed {"connection_id":54418,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:13:54] local.INFO: Acknowledgment sent {"connection_id":54418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:14:14] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:14:14] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:14:14] local.INFO: IMEI packet received {"connection_id":54676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":54676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:14:18] local.INFO: TCP Data received {"connection_id":54677,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:14:18] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:14:18] local.INFO: IMEI packet received {"connection_id":54677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":54677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:14:19] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:14:19] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:14:19] local.INFO: IMEI packet received {"connection_id":54676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":54676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:14:20] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:14:20] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:14:20] local.INFO: Packet analysis {"connection_id":54676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:14:20] local.INFO: Extracted packet for processing {"connection_id":54676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:14:20] 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-04-26 11: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-04-26 11:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:14:20] 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-04-26 11:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:14:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":54676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:14:20] local.INFO: GPS data processed {"connection_id":54676,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:14:20] local.INFO: Acknowledgment sent {"connection_id":54676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:14:23] local.INFO: TCP Data received {"connection_id":54677,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:14:23] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:14:23] local.INFO: IMEI packet received {"connection_id":54677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":54677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:14:24] local.INFO: TCP Data received {"connection_id":54677,"ip":"117.224.232.160","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84b8630012d19c140071ff110002c010a2a..."} 
[2026-04-26 11:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84b8630012d19c140071ff110002c010a2a..."} 
[2026-04-26 11:14:24] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84b8630012d19c140071ff110002c010a2a..."} 
[2026-04-26 11:14:24] local.INFO: Packet analysis {"connection_id":54677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:14:24] local.INFO: Extracted packet for processing {"connection_id":54677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756662592,"raw_latitude":119533840,"longitude_deg":75.6662592,"latitude_deg":11.953384,"altitude":44,"angle":266,"satellites":42,"speed":25,"hex_longitude":"2d19c140","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958562048001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708169770401792,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508146874368,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:24] 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-04-26 11:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777181886000,"timestamp_ms":1777181886000,"timestamp_seconds":1777181886,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84b8630"} 
[2026-04-26 11:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:14: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-04-26 11:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-26 11:14:24] 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-04-26 11:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.232.160","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958562048001,"66":13374,"121":206,"28":31744,"24":25,"16":114708169770401792,"45":1857664508146874368},"client_ip":"117.224.232.160","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958562048001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:14:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:14:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708169770401792,"km_value":114708169770401.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508146874368,"description":"Unknown IO ID 45"} 
[2026-04-26 11:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958562048001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1857664508146874368}} 
[2026-04-26 11:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":54677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:14:24] local.INFO: GPS data processed {"connection_id":54677,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:14:24] local.INFO: Acknowledgment sent {"connection_id":54677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:14:51] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:14:51] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:14:51] local.INFO: Packet analysis {"connection_id":54676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:14:51] local.INFO: Extracted packet for processing {"connection_id":54676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:14:51] 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-04-26 11:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:14:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":54676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:14:51] local.INFO: GPS data processed {"connection_id":54676,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:14:51] local.INFO: Acknowledgment sent {"connection_id":54676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:14:56] local.INFO: TCP Data received {"connection_id":54677,"ip":"117.224.232.160","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84ba188012d19ad80071ff020002f011929..."} 
[2026-04-26 11:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84ba188012d19ad80071ff020002f011929..."} 
[2026-04-26 11:14:56] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84ba188012d19ad80071ff020002f011929..."} 
[2026-04-26 11:14:56] local.INFO: Packet analysis {"connection_id":54677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:14:56] local.INFO: Extracted packet for processing {"connection_id":54677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119533600,"longitude_deg":75.6657536,"latitude_deg":11.95336,"altitude":47,"angle":281,"satellites":41,"speed":29,"hex_longitude":"2d19ad80","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-04-26 11:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958562816001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708410288570368,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855834920798195712,"note":"Value kept but may cause issues"} 
[2026-04-26 11:14:56] 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-04-26 11:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777181893000,"timestamp_ms":1777181893000,"timestamp_seconds":1777181893,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84ba188"} 
[2026-04-26 11:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:14:56] 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-04-26 11:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-26 11:14: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-04-26 11:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.232.160","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958562816001,"66":13059,"121":206,"28":31744,"24":29,"16":114708410288570368,"45":1855834920798195712},"client_ip":"117.224.232.160","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958562816001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:14:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:14:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708410288570368,"km_value":114708410288570.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855834920798195712,"description":"Unknown IO ID 45"} 
[2026-04-26 11:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958562816001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1855834920798195712}} 
[2026-04-26 11:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":54677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:14:56] local.INFO: GPS data processed {"connection_id":54677,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:14:56] local.INFO: Acknowledgment sent {"connection_id":54677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:15:14] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:15:14] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:15:14] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:15:17] local.INFO: TCP Data received {"connection_id":54420,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:15:18] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:15:18] local.INFO: IMEI packet received {"connection_id":54420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":54420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:15:19] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:15:19] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:15:19] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:15:20] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:15:20] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84cf948012cb299c007822ce0004d001233..."} 
[2026-04-26 11:15:20] local.INFO: Packet analysis {"connection_id":54678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:15:20] local.INFO: Extracted packet for processing {"connection_id":54678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84c"} 
[2026-04-26 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958510080001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181981000,"timestamp_ms":1777181981000,"timestamp_seconds":1777181981,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84cf948"} 
[2026-04-26 11:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 11:15:20] 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-04-26 11: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-04-26 11:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:15: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-04-26 11:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958510080001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958510080001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:15:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958510080001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":54678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:15:20] local.INFO: GPS data processed {"connection_id":54678,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:15:20] local.INFO: Acknowledgment sent {"connection_id":54678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:15:23] local.INFO: TCP Data received {"connection_id":54420,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:15:23] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:15:23] local.INFO: IMEI packet received {"connection_id":54420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":54420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:15:24] local.INFO: TCP Data received {"connection_id":54420,"ip":"117.224.232.160","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bb510012d19a340071ff220003101042a..."} 
[2026-04-26 11:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bb510012d19a340071ff220003101042a..."} 
[2026-04-26 11:15:24] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bb510012d19a340071ff220003101042a..."} 
[2026-04-26 11:15:24] local.INFO: Packet analysis {"connection_id":54420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:15:24] local.INFO: Extracted packet for processing {"connection_id":54420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119534112,"longitude_deg":75.6654912,"latitude_deg":11.9534112,"altitude":49,"angle":260,"satellites":42,"speed":11,"hex_longitude":"2d19a340","hex_latitude":"071ff220","is_valid_coordinates":true} 
[2026-04-26 11:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958564608001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708543432556544,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790008098816,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] 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-04-26 11:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777181898000,"timestamp_ms":1777181898000,"timestamp_seconds":1777181898,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bb510"} 
[2026-04-26 11:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:15: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-04-26 11:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303168834555367,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3360384752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1265805313,"corrected_to":0} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4086300715,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2147950582,"corrected_to":0} 
[2026-04-26 11:15:24] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2253783040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:24] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,134,157,45,64,44,42,10,66,122,192,43,118,1,240,62,200,31,4,113,205,14,106,203,40,239,52,2,151,7],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":200,"original":1265805313,"validated":0},{"io_id":205,"original":3883466958,"validated":0},{"io_id":203,"original":2147950582,"validated":0}]} 
[2026-04-26 11:15:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3387016058645577728,"timestamp_seconds":3387016058645577.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.232.160","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958564608001,"66":12993,"121":206,"28":31744,"24":11,"16":114708543432556544,"45":1850275790008098816},"client_ip":"117.224.232.160","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958564608001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:15:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:15:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708543432556544,"km_value":114708543432556.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790008098816,"description":"Unknown IO ID 45"} 
[2026-04-26 11:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958564608001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1850275790008098816}} 
[2026-04-26 11:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":54420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:15:24] local.INFO: GPS data processed {"connection_id":54420,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:15:24] local.INFO: Acknowledgment sent {"connection_id":54420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:15:51] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:15:51] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:15:51] local.INFO: Packet analysis {"connection_id":54678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:15:51] local.INFO: Extracted packet for processing {"connection_id":54678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:15: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-04-26 11:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:15: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-04-26 11:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:15:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":54678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:15:51] local.INFO: GPS data processed {"connection_id":54678,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:15:51] local.INFO: Acknowledgment sent {"connection_id":54678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:15:56] local.INFO: TCP Data received {"connection_id":54420,"ip":"117.224.232.160","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bb8f8012d19a240071ff1c0003200f62b..."} 
[2026-04-26 11:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bb8f8012d19a240071ff1c0003200f62b..."} 
[2026-04-26 11:15:56] local.INFO: Processing buffer {"connection_id":54420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bb8f8012d19a240071ff1c0003200f62b..."} 
[2026-04-26 11:15:56] local.INFO: Packet analysis {"connection_id":54420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:15:56] local.INFO: Extracted packet for processing {"connection_id":54420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756654656,"raw_latitude":119534016,"longitude_deg":75.6654656,"latitude_deg":11.9534016,"altitude":50,"angle":246,"satellites":43,"speed":9,"hex_longitude":"2d19a240","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-04-26 11:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958565888001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708552022491136,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496945664,"note":"Value kept but may cause issues"} 
[2026-04-26 11:15:56] 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-04-26 11:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777181899000,"timestamp_ms":1777181899000,"timestamp_seconds":1777181899,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bb8f8"} 
[2026-04-26 11:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:15:56] 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-04-26 11:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-26 11:15:56] 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-04-26 11:15:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.232.160","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958565888001,"66":12993,"121":206,"28":31744,"24":9,"16":114708552022491136,"45":1847390671496945664},"client_ip":"117.224.232.160","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958565888001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:15:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708552022491136,"km_value":114708552022491.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496945664,"description":"Unknown IO ID 45"} 
[2026-04-26 11:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958565888001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1847390671496945664}} 
[2026-04-26 11:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":54420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:15:56] local.INFO: GPS data processed {"connection_id":54420,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:15:56] local.INFO: Acknowledgment sent {"connection_id":54420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:16:05] local.INFO: TCP Data received {"connection_id":55352,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:16:05] local.INFO: Processing buffer {"connection_id":55352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:16:05] local.INFO: IMEI packet received {"connection_id":55352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":55352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:16:13] local.INFO: TCP Data received {"connection_id":54679,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:16:13] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:16:13] local.INFO: IMEI packet received {"connection_id":54679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":54679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:16:17] local.INFO: TCP Data received {"connection_id":54679,"ip":"117.224.232.160","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:16:17] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:16:17] local.INFO: IMEI packet received {"connection_id":54679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":54679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:16:19] local.INFO: TCP Data received {"connection_id":54679,"ip":"117.224.232.160","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bc4b0012d199ec0071ff0680034010a2b..."} 
[2026-04-26 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bc4b0012d199ec0071ff0680034010a2b..."} 
[2026-04-26 11:16:19] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bc4b0012d199ec0071ff0680034010a2b..."} 
[2026-04-26 11:16:19] local.INFO: Packet analysis {"connection_id":54679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:16:19] local.INFO: Extracted packet for processing {"connection_id":54679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756653760,"raw_latitude":119533672,"longitude_deg":75.665376,"latitude_deg":11.9533672,"altitude":52,"angle":266,"satellites":43,"speed":17,"hex_longitude":"2d199ec0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-04-26 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958566144001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708599267131392,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847109196520210432,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:19] 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-04-26 11:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777181902000,"timestamp_ms":1777181902000,"timestamp_seconds":1777181902,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bc4b0"} 
[2026-04-26 11:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:16: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-04-26 11:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-26 11:16:19] 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-04-26 11:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.232.160","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958566144001,"66":12863,"121":206,"28":31744,"24":17,"16":114708599267131392,"45":1847109196520210432},"client_ip":"117.224.232.160","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958566144001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:16:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708599267131392,"km_value":114708599267131.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847109196520210432,"description":"Unknown IO ID 45"} 
[2026-04-26 11:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958566144001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1847109196520210432}} 
[2026-04-26 11:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":54679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:16:19] local.INFO: GPS data processed {"connection_id":54679,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:16:19] local.INFO: Acknowledgment sent {"connection_id":54679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:16:19] local.INFO: TCP Data received {"connection_id":55353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:16:19] local.INFO: Processing buffer {"connection_id":55353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:16:19] local.INFO: IMEI packet received {"connection_id":55353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":55353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:16:24] local.INFO: TCP Data received {"connection_id":55353,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:16:24] local.INFO: Processing buffer {"connection_id":55353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:16:24] local.INFO: IMEI packet received {"connection_id":55353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":55353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:16:25] local.INFO: TCP Data received {"connection_id":55353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:16:25] local.INFO: Processing buffer {"connection_id":55353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:16:25] local.INFO: Packet analysis {"connection_id":55353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:16:25] local.INFO: Extracted packet for processing {"connection_id":55353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:16: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-04-26 11:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:16:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":55353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:16:25] local.INFO: GPS data processed {"connection_id":55353,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:16:25] local.INFO: Acknowledgment sent {"connection_id":55353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:16:29] local.INFO: TCP Data received {"connection_id":55353,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:16:29] local.INFO: Processing buffer {"connection_id":55353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:16:29] local.INFO: Packet analysis {"connection_id":55353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:16:29] local.INFO: Extracted packet for processing {"connection_id":55353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:16:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:16:29] 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-04-26 11:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:16:29] 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-04-26 11:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:16:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":55353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:16:29] local.INFO: GPS data processed {"connection_id":55353,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:16:29] local.INFO: Acknowledgment sent {"connection_id":55353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:16:40] local.INFO: TCP Data received {"connection_id":54604,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:16:40] local.INFO: Processing buffer {"connection_id":54604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:16:40] local.INFO: IMEI packet received {"connection_id":54604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":54604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:17:08] local.INFO: TCP Data received {"connection_id":54605,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:17:08] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:17:08] local.INFO: IMEI packet received {"connection_id":54605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":54605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:17:13] local.INFO: TCP Data received {"connection_id":54605,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:17:13] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:17:13] local.INFO: IMEI packet received {"connection_id":54605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":54605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:17:14] local.INFO: TCP Data received {"connection_id":54605,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bcc80012d199ac0071ff098003601162d..."} 
[2026-04-26 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bcc80012d199ac0071ff098003601162d..."} 
[2026-04-26 11:17:14] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bcc80012d199ac0071ff098003601162d..."} 
[2026-04-26 11:17:14] local.INFO: Packet analysis {"connection_id":54605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:17:14] local.INFO: Extracted packet for processing {"connection_id":54605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756652736,"raw_latitude":119533720,"longitude_deg":75.6652736,"latitude_deg":11.953372,"altitude":54,"angle":278,"satellites":45,"speed":19,"hex_longitude":"2d199ac0","hex_latitude":"071ff098","is_valid_coordinates":true} 
[2026-04-26 11:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958566912001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708646511771648,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101635072,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:14] 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-04-26 11:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777181904000,"timestamp_ms":1777181904000,"timestamp_seconds":1777181904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bcc80"} 
[2026-04-26 11:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:17: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-04-26 11:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-26 11:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":54605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":54605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":54605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958566912001,"66":13102,"121":206,"28":31744,"24":19,"16":114708646511771648,"45":1846124034101635072},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958566912001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708646511771648,"km_value":114708646511771.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101635072,"description":"Unknown IO ID 45"} 
[2026-04-26 11:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958566912001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1846124034101635072}} 
[2026-04-26 11:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":54605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:17:14] local.INFO: GPS data processed {"connection_id":54605,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:17:14] local.INFO: Acknowledgment sent {"connection_id":54605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:17:14] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:17:14] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:17:14] local.INFO: IMEI packet received {"connection_id":54606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":54606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:17:19] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:17:19] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:17:19] local.INFO: IMEI packet received {"connection_id":54606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:17:20] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:17:20] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:17:20] local.INFO: Packet analysis {"connection_id":54606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:17:20] local.INFO: Extracted packet for processing {"connection_id":54606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:17: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-04-26 11: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-04-26 11:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:17:20] 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-04-26 11:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:17:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":54606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:17:20] local.INFO: GPS data processed {"connection_id":54606,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:17:20] local.INFO: Acknowledgment sent {"connection_id":54606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:17:46] local.INFO: TCP Data received {"connection_id":54605,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:17:46] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:17:46] local.INFO: Packet analysis {"connection_id":54605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:17:46] local.INFO: Extracted packet for processing {"connection_id":54605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:17:46] 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-04-26 11:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567424001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844998134194804736,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:46] 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-04-26 11:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:17: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-04-26 11:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 11:17: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-04-26 11:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567424001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844998134194804736},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567424001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:17:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844998134194804736,"description":"Unknown IO ID 45"} 
[2026-04-26 11:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567424001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844998134194804736}} 
[2026-04-26 11:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":54605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:17:46] local.INFO: GPS data processed {"connection_id":54605,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:17:46] local.INFO: Acknowledgment sent {"connection_id":54605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:17:51] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:17:51] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:17:51] local.INFO: Packet analysis {"connection_id":54606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:17:51] local.INFO: Extracted packet for processing {"connection_id":54606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:17: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-04-26 11: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-04-26 11:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:17:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":54606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:17:51] local.INFO: GPS data processed {"connection_id":54606,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:17:51] local.INFO: Acknowledgment sent {"connection_id":54606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:18:14] local.INFO: TCP Data received {"connection_id":55355,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:18:14] local.INFO: Processing buffer {"connection_id":55355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:18:14] local.INFO: IMEI packet received {"connection_id":55355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":55355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:18:18] local.INFO: TCP Data received {"connection_id":54421,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:18:18] local.INFO: Processing buffer {"connection_id":54421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:18:18] local.INFO: IMEI packet received {"connection_id":54421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":54421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:18:19] local.INFO: TCP Data received {"connection_id":55355,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:18:19] local.INFO: Processing buffer {"connection_id":55355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:18:19] local.INFO: IMEI packet received {"connection_id":55355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":55355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:18:20] local.INFO: TCP Data received {"connection_id":55355,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:18:20] local.INFO: Processing buffer {"connection_id":55355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:18:20] local.INFO: Packet analysis {"connection_id":55355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:18:20] local.INFO: Extracted packet for processing {"connection_id":55355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 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-04-26 11:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:18: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-04-26 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-04-26 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-04-26 11:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:18: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-04-26 11:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:18:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":55355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:18:20] local.INFO: GPS data processed {"connection_id":55355,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:18:20] local.INFO: Acknowledgment sent {"connection_id":55355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:18:23] local.INFO: TCP Data received {"connection_id":54421,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:18:23] local.INFO: Processing buffer {"connection_id":54421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:18:23] local.INFO: IMEI packet received {"connection_id":54421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":54421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:18:24] local.INFO: TCP Data received {"connection_id":54421,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:18:24] local.INFO: Processing buffer {"connection_id":54421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:18:24] local.INFO: Packet analysis {"connection_id":54421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:18:24] local.INFO: Extracted packet for processing {"connection_id":54421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:18:24] 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-04-26 11:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:24] 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-04-26 11:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:18: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-04-26 11: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-04-26 11:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:18:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:18:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":54421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:18:24] local.INFO: GPS data processed {"connection_id":54421,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:18:24] local.INFO: Acknowledgment sent {"connection_id":54421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:18:29] local.INFO: TCP Data received {"connection_id":54421,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:18:29] local.INFO: Processing buffer {"connection_id":54421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:18:29] local.INFO: Packet analysis {"connection_id":54421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:18:29] local.INFO: Extracted packet for processing {"connection_id":54421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:18:29] 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-04-26 11:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:29] 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-04-26 11:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:18:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":54421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:18:29] local.INFO: GPS data processed {"connection_id":54421,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:18:29] local.INFO: Acknowledgment sent {"connection_id":54421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:18:52] local.INFO: TCP Data received {"connection_id":55355,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:18:52] local.INFO: Processing buffer {"connection_id":55355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:18:52] local.INFO: Packet analysis {"connection_id":55355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:18:52] local.INFO: Extracted packet for processing {"connection_id":55355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 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-04-26 11:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:18:52] 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-04-26 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-04-26 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-04-26 11:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:18: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-04-26 11:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":55355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:18:52] local.INFO: GPS data processed {"connection_id":55355,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:18:52] local.INFO: Acknowledgment sent {"connection_id":55355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:19:13] local.INFO: TCP Data received {"connection_id":54608,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:19:13] local.INFO: Processing buffer {"connection_id":54608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:19:13] local.INFO: IMEI packet received {"connection_id":54608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":54608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:19:14] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:19:14] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:19:14] local.INFO: IMEI packet received {"connection_id":54680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":54680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:19:18] local.INFO: TCP Data received {"connection_id":54608,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:19:18] local.INFO: Processing buffer {"connection_id":54608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:19:18] local.INFO: IMEI packet received {"connection_id":54608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":54608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:19:19] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:19:19] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:19:19] local.INFO: IMEI packet received {"connection_id":54680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":54680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:19:20] local.INFO: TCP Data received {"connection_id":54608,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:19:20] local.INFO: Processing buffer {"connection_id":54608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:19:20] local.INFO: Packet analysis {"connection_id":54608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:19:20] local.INFO: Extracted packet for processing {"connection_id":54608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:19: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-04-26 11:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:20] 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-04-26 11:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:19:20] 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-04-26 11:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":54608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:19:20] local.INFO: GPS data processed {"connection_id":54608,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:19:20] local.INFO: Acknowledgment sent {"connection_id":54608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:19:20] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:19:20] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:19:20] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:19:20] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:19: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-04-26 11:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:19:20] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:19:20] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:19:51] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:19:51] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:19:51] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:19:51] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:19: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-04-26 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:19:51] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:19:51] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:19:51] local.INFO: TCP Data received {"connection_id":54608,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:19:51] local.INFO: Processing buffer {"connection_id":54608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:19:51] local.INFO: Packet analysis {"connection_id":54608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:19:51] local.INFO: Extracted packet for processing {"connection_id":54608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:19:51] 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-04-26 11:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:19:51] 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-04-26 11:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:19:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:19:51] 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-04-26 11:19:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":54608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:19:51] local.INFO: GPS data processed {"connection_id":54608,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:19:51] local.INFO: Acknowledgment sent {"connection_id":54608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:20:13] local.INFO: TCP Data received {"connection_id":54682,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:20:13] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:20:13] local.INFO: IMEI packet received {"connection_id":54682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:20:14] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:20:14] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:20:14] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:20:18] local.INFO: TCP Data received {"connection_id":54682,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:20:18] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:20:18] local.INFO: IMEI packet received {"connection_id":54682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:20:19] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:20:19] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:20:19] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:20:20] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:20:20] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8519110012cb299c007822ce0004c001233..."} 
[2026-04-26 11:20:20] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:20:20] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc851"} 
[2026-04-26 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958587136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182282000,"timestamp_ms":1777182282000,"timestamp_seconds":1777182282,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8519110"} 
[2026-04-26 11:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:20: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-04-26 11: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-04-26 11:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958587136001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958587136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:20:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958587136001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:20:20] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:20:20] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:20:27] local.INFO: TCP Data received {"connection_id":54682,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:20:27] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:20:27] local.INFO: Packet analysis {"connection_id":54682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:20:27] local.INFO: Extracted packet for processing {"connection_id":54682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:27] 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-04-26 11:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:20:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":54682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:20:27] local.INFO: GPS data processed {"connection_id":54682,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:20:27] local.INFO: Acknowledgment sent {"connection_id":54682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:20:51] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:20:51] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:20:51] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:20:51] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:20: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-04-26 11: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-04-26 11:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:20:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:20:51] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:20:51] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:21:12] local.INFO: TCP Data received {"connection_id":54423,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:21:12] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:21:12] local.INFO: IMEI packet received {"connection_id":54423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":54423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:21:14] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:21:14] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:21:14] local.INFO: IMEI packet received {"connection_id":54422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:21:18] local.INFO: TCP Data received {"connection_id":54423,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:21:18] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:21:18] local.INFO: IMEI packet received {"connection_id":54423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":54423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:21:19] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:21:19] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:21:19] local.INFO: IMEI packet received {"connection_id":54422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:21:20] local.INFO: TCP Data received {"connection_id":54423,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:21:20] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:21:20] local.INFO: Packet analysis {"connection_id":54423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:21:20] local.INFO: Extracted packet for processing {"connection_id":54423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:21: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-04-26 11:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:20] 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-04-26 11:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:21:20] 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-04-26 11: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-04-26 11:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:21:20] local.INFO: GPS data processed {"connection_id":54423,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:21:20] local.INFO: Acknowledgment sent {"connection_id":54423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:21:20] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:21:20] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:21:20] local.INFO: Packet analysis {"connection_id":54422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:21:20] local.INFO: Extracted packet for processing {"connection_id":54422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:21: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-04-26 11: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-04-26 11:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:21:20] local.INFO: GPS data processed {"connection_id":54422,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:21:20] local.INFO: Acknowledgment sent {"connection_id":54422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:21:51] local.INFO: TCP Data received {"connection_id":54422,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:21:51] local.INFO: Processing buffer {"connection_id":54422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:21:51] local.INFO: Packet analysis {"connection_id":54422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:21:51] local.INFO: Extracted packet for processing {"connection_id":54422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:21: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-04-26 11: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-04-26 11:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:21:51] local.INFO: GPS data processed {"connection_id":54422,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:21:51] local.INFO: Acknowledgment sent {"connection_id":54422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:21:51] local.INFO: TCP Data received {"connection_id":54423,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:21:51] local.INFO: Processing buffer {"connection_id":54423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc84bd450012d199740071ff110003701162e..."} 
[2026-04-26 11:21:51] local.INFO: Packet analysis {"connection_id":54423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:21:51] local.INFO: Extracted packet for processing {"connection_id":54423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc84b"} 
[2026-04-26 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756651840,"raw_latitude":119533840,"longitude_deg":75.665184,"latitude_deg":11.953384,"altitude":55,"angle":278,"satellites":46,"speed":18,"hex_longitude":"2d199740","hex_latitude":"071ff110","is_valid_coordinates":true} 
[2026-04-26 11:21:51] 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-04-26 11:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:21:51] 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-04-26 11:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777181906000,"timestamp_ms":1777181906000,"timestamp_seconds":1777181906,"priority":1,"record_length":96,"hex_timestamp":"0000019dc84bd450"} 
[2026-04-26 11:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:21:51] 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-04-26 11: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-04-26 11:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":13048,"121":206,"28":31744,"24":18,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:21:51] local.INFO: GPS data processed {"connection_id":54423,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:21:51] local.INFO: Acknowledgment sent {"connection_id":54423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:22:05] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:22:05] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:22:05] local.INFO: IMEI packet received {"connection_id":54685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":54685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:22:12] local.INFO: TCP Data received {"connection_id":55357,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:22:12] local.INFO: Processing buffer {"connection_id":55357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:22:12] local.INFO: IMEI packet received {"connection_id":55357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":55357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:22:14] local.INFO: TCP Data received {"connection_id":55356,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:22:14] local.INFO: Processing buffer {"connection_id":55356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:22:14] local.INFO: IMEI packet received {"connection_id":55356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":55356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:22:18] local.INFO: TCP Data received {"connection_id":55357,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:22:18] local.INFO: Processing buffer {"connection_id":55357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:22:18] local.INFO: IMEI packet received {"connection_id":55357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":55357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:22:19] local.INFO: TCP Data received {"connection_id":55357,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:22:19] local.INFO: Processing buffer {"connection_id":55357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:22:19] local.INFO: Packet analysis {"connection_id":55357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:22:19] local.INFO: Extracted packet for processing {"connection_id":55357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:19] 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-04-26 11:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:22:19] 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-04-26 11:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:22:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":55357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:22:19] local.INFO: GPS data processed {"connection_id":55357,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:22:19] local.INFO: Acknowledgment sent {"connection_id":55357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:22:19] local.INFO: TCP Data received {"connection_id":55356,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:22:19] local.INFO: Processing buffer {"connection_id":55356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:22:19] local.INFO: IMEI packet received {"connection_id":55356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":55356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:22:20] local.INFO: TCP Data received {"connection_id":55356,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:22:20] local.INFO: Processing buffer {"connection_id":55356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:22:20] local.INFO: Packet analysis {"connection_id":55356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:22:20] local.INFO: Extracted packet for processing {"connection_id":55356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:22: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-04-26 11: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-04-26 11:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:22:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":55356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:22:20] local.INFO: GPS data processed {"connection_id":55356,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:22:20] local.INFO: Acknowledgment sent {"connection_id":55356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:22:40] local.INFO: TCP Data received {"connection_id":54424,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:22:40] local.INFO: Processing buffer {"connection_id":54424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:22:40] local.INFO: IMEI packet received {"connection_id":54424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":54424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:22:51] local.INFO: TCP Data received {"connection_id":55357,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:22:51] local.INFO: Processing buffer {"connection_id":55357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:22:51] local.INFO: Packet analysis {"connection_id":55357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:22:51] local.INFO: Extracted packet for processing {"connection_id":55357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:51] 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-04-26 11:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:22:51] 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-04-26 11: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-04-26 11:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":55357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:22:51] local.INFO: GPS data processed {"connection_id":55357,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:22:51] local.INFO: Acknowledgment sent {"connection_id":55357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:22:51] local.INFO: TCP Data received {"connection_id":55356,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:22:51] local.INFO: Processing buffer {"connection_id":55356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:22:51] local.INFO: Packet analysis {"connection_id":55356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:22:51] local.INFO: Extracted packet for processing {"connection_id":55356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:22: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-04-26 11: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-04-26 11:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":55356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:22:51] local.INFO: GPS data processed {"connection_id":55356,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:22:51] local.INFO: Acknowledgment sent {"connection_id":55356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:23:14] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:23:14] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:23:14] local.INFO: IMEI packet received {"connection_id":54609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":54609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:23:19] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:23:19] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:23:19] local.INFO: IMEI packet received {"connection_id":54686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:23:19] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:23:19] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:23:19] local.INFO: IMEI packet received {"connection_id":54609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:23:20] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:23:20] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:23:20] local.INFO: Packet analysis {"connection_id":54609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:23:20] local.INFO: Extracted packet for processing {"connection_id":54609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:23: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-04-26 11: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-04-26 11:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:23:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:23:20] local.INFO: GPS data processed {"connection_id":54609,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:23:20] local.INFO: Acknowledgment sent {"connection_id":54609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:23:27] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:23:27] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:23:27] local.INFO: IMEI packet received {"connection_id":54686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":54686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:23:28] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:23:28] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:23:28] local.INFO: Packet analysis {"connection_id":54686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:23:28] local.INFO: Extracted packet for processing {"connection_id":54686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:28] 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-04-26 11:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:23:28] 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-04-26 11:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:23:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":54686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:23:28] local.INFO: GPS data processed {"connection_id":54686,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:23:28] local.INFO: Acknowledgment sent {"connection_id":54686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:23:30] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:23:30] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:23:30] local.INFO: Packet analysis {"connection_id":54686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:23:30] local.INFO: Extracted packet for processing {"connection_id":54686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:30] 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-04-26 11:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:23:30] 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-04-26 11: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-04-26 11:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:23:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":54686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:23:30] local.INFO: GPS data processed {"connection_id":54686,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:23:30] local.INFO: Acknowledgment sent {"connection_id":54686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:23:51] local.INFO: TCP Data received {"connection_id":54609,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:23:51] local.INFO: Processing buffer {"connection_id":54609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:23:51] local.INFO: Packet analysis {"connection_id":54609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:23:51] local.INFO: Extracted packet for processing {"connection_id":54609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:23: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-04-26 11: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-04-26 11:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:23:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:23:51] local.INFO: GPS data processed {"connection_id":54609,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:23:51] local.INFO: Acknowledgment sent {"connection_id":54609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:24:13] local.INFO: TCP Data received {"connection_id":54425,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:24:13] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:24:13] local.INFO: IMEI packet received {"connection_id":54425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":54425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:24:14] local.INFO: TCP Data received {"connection_id":55358,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:24:14] local.INFO: Processing buffer {"connection_id":55358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:24:14] local.INFO: IMEI packet received {"connection_id":55358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":55358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:24:18] local.INFO: TCP Data received {"connection_id":54425,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:24:18] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:24:18] local.INFO: IMEI packet received {"connection_id":54425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":54425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:24:19] local.INFO: TCP Data received {"connection_id":55358,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:24:19] local.INFO: Processing buffer {"connection_id":55358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:24:19] local.INFO: IMEI packet received {"connection_id":55358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":55358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:24:20] local.INFO: TCP Data received {"connection_id":55358,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:24:20] local.INFO: Processing buffer {"connection_id":55358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:24:20] local.INFO: Packet analysis {"connection_id":55358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:24:20] local.INFO: Extracted packet for processing {"connection_id":55358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:24: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-04-26 11: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-04-26 11:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":55358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:24:20] local.INFO: GPS data processed {"connection_id":55358,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:24:20] local.INFO: Acknowledgment sent {"connection_id":55358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:24:20] local.INFO: TCP Data received {"connection_id":54425,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:24:20] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:24:20] local.INFO: Packet analysis {"connection_id":54425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:24:20] local.INFO: Extracted packet for processing {"connection_id":54425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:20] 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-04-26 11:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:24:20] 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-04-26 11: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-04-26 11:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:24:20] local.INFO: GPS data processed {"connection_id":54425,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:24:20] local.INFO: Acknowledgment sent {"connection_id":54425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:24:51] local.INFO: TCP Data received {"connection_id":55358,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:24:51] local.INFO: Processing buffer {"connection_id":55358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:24:51] local.INFO: Packet analysis {"connection_id":55358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:24:51] local.INFO: Extracted packet for processing {"connection_id":55358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:24: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-04-26 11: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-04-26 11:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:24:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":55358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:24:51] local.INFO: GPS data processed {"connection_id":55358,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:24:51] local.INFO: Acknowledgment sent {"connection_id":55358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:24:59] local.INFO: TCP Data received {"connection_id":54425,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:24:59] local.INFO: Processing buffer {"connection_id":54425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:24:59] local.INFO: Packet analysis {"connection_id":54425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:24:59] local.INFO: Extracted packet for processing {"connection_id":54425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:24:59] 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-04-26 11:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:24:59] 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-04-26 11: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-04-26 11:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":54425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":54425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":54425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:24:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":54425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:25:00] local.INFO: GPS data processed {"connection_id":54425,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:25:00] local.INFO: Acknowledgment sent {"connection_id":54425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:25:13] local.INFO: TCP Data received {"connection_id":54612,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:25:13] local.INFO: Processing buffer {"connection_id":54612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:25:13] local.INFO: IMEI packet received {"connection_id":54612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":54612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:25:14] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:25:14] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:25:14] local.INFO: IMEI packet received {"connection_id":54687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":54687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:25:18] local.INFO: TCP Data received {"connection_id":54612,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:25:18] local.INFO: Processing buffer {"connection_id":54612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:25:18] local.INFO: IMEI packet received {"connection_id":54612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":54612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:25:19] local.INFO: TCP Data received {"connection_id":54612,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:25:19] local.INFO: Processing buffer {"connection_id":54612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:25:19] local.INFO: Packet analysis {"connection_id":54612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:25:19] local.INFO: Extracted packet for processing {"connection_id":54612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:19] 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-04-26 11:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:25:19] 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-04-26 11:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:25:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":54612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:25:19] local.INFO: GPS data processed {"connection_id":54612,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:25:19] local.INFO: Acknowledgment sent {"connection_id":54612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:25:19] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:25:19] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:25:19] local.INFO: IMEI packet received {"connection_id":54687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":54687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:25:20] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:25:20] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85628d8012cb299c007822ce0004d001231..."} 
[2026-04-26 11:25:20] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:25:20] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc856"} 
[2026-04-26 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958664192001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182583000,"timestamp_ms":1777182583000,"timestamp_seconds":1777182583,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85628d8"} 
[2026-04-26 11:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:25: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-04-26 11: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-04-26 11:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958664192001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958664192001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:25:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958664192001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:25:20] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:25:20] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:25:51] local.INFO: TCP Data received {"connection_id":54612,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:25:51] local.INFO: Processing buffer {"connection_id":54612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:25:51] local.INFO: Packet analysis {"connection_id":54612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:25:51] local.INFO: Extracted packet for processing {"connection_id":54612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:51] 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-04-26 11:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:25:51] 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-04-26 11: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-04-26 11:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:25:51] local.INFO: GPS data processed {"connection_id":54612,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:25:51] local.INFO: Acknowledgment sent {"connection_id":54612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:25:51] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:25:51] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:25:51] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:25:51] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 11:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:25: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-04-26 11: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-04-26 11:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:25:51] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:25:51] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:26:12] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:26:12] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:26:12] local.INFO: IMEI packet received {"connection_id":54614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":54614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:26:14] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:26:14] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:26:14] local.INFO: IMEI packet received {"connection_id":54613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":54613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:26:18] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:26:18] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:26:18] local.INFO: IMEI packet received {"connection_id":54614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":54614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:26:19] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:26:19] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:26:19] local.INFO: Packet analysis {"connection_id":54614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:26:19] local.INFO: Extracted packet for processing {"connection_id":54614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:19] 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-04-26 11:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:26:19] 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-04-26 11:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:26:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":54614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:26:19] local.INFO: GPS data processed {"connection_id":54614,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:26:19] local.INFO: Acknowledgment sent {"connection_id":54614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:26:19] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:26:19] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:26:19] local.INFO: IMEI packet received {"connection_id":54613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:26:20] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:26:20] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:26:20] local.INFO: Packet analysis {"connection_id":54613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:26:20] local.INFO: Extracted packet for processing {"connection_id":54613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 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-04-26 11:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:26: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-04-26 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-04-26 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-04-26 11:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:26:20] 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-04-26 11:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:26:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":54613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:26:20] local.INFO: GPS data processed {"connection_id":54613,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:26:20] local.INFO: Acknowledgment sent {"connection_id":54613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:26:51] local.INFO: TCP Data received {"connection_id":54614,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:26:51] local.INFO: Processing buffer {"connection_id":54614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8579420012d197080071fec600038010e2c..."} 
[2026-04-26 11:26:51] local.INFO: Packet analysis {"connection_id":54614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:26:51] local.INFO: Extracted packet for processing {"connection_id":54614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc857"} 
[2026-04-26 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":44,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958567936001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844012971776348160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:51] 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-04-26 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182676000,"timestamp_ms":1777182676000,"timestamp_seconds":1777182676,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8579420"} 
[2026-04-26 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:26:51] 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-04-26 11: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-04-26 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958567936001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1844012971776348160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958567936001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844012971776348160,"description":"Unknown IO ID 45"} 
[2026-04-26 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958567936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1844012971776348160}} 
[2026-04-26 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":54614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:26:51] local.INFO: GPS data processed {"connection_id":54614,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:26:51] local.INFO: Acknowledgment sent {"connection_id":54614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:26:51] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:26:51] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:26:51] local.INFO: Packet analysis {"connection_id":54613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:26:51] local.INFO: Extracted packet for processing {"connection_id":54613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 11:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:26: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-04-26 11: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-04-26 11:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":54613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:26:51] local.INFO: GPS data processed {"connection_id":54613,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:26:51] local.INFO: Acknowledgment sent {"connection_id":54613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:27:14] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:27:14] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:27:14] local.INFO: IMEI packet received {"connection_id":54688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:27:17] local.INFO: TCP Data received {"connection_id":54427,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:27:17] local.INFO: Processing buffer {"connection_id":54427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:27:17] local.INFO: IMEI packet received {"connection_id":54427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":54427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:27:20] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:27:20] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:27:20] local.INFO: IMEI packet received {"connection_id":54688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":54688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:27:21] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:27:21] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:27:21] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:27:21] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 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-04-26 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:27: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-04-26 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-04-26 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-04-26 11:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11: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-04-26 11:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:27:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:27:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:27:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:27:21] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:27:21] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:27:23] local.INFO: TCP Data received {"connection_id":54427,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:27:23] local.INFO: Processing buffer {"connection_id":54427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:27:23] local.INFO: IMEI packet received {"connection_id":54427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":54427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:27:24] local.INFO: TCP Data received {"connection_id":54427,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:27:24] local.INFO: Processing buffer {"connection_id":54427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:27:24] local.INFO: Packet analysis {"connection_id":54427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:27:24] local.INFO: Extracted packet for processing {"connection_id":54427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:24] 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-04-26 11:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:27:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:27:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":54427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:27:24] local.INFO: GPS data processed {"connection_id":54427,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:27:24] local.INFO: Acknowledgment sent {"connection_id":54427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:27:52] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:27:52] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:27:52] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:27:52] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 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-04-26 11:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:27:52] 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-04-26 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-04-26 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-04-26 11:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11: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-04-26 11:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:27:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:27:52] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:27:52] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:27:56] local.INFO: TCP Data received {"connection_id":54427,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:27:56] local.INFO: Processing buffer {"connection_id":54427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:27:56] local.INFO: Packet analysis {"connection_id":54427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:27:56] local.INFO: Extracted packet for processing {"connection_id":54427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:27:56] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:27:56] 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-04-26 11:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54427,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:27:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:27:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":54427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:27:56] local.INFO: GPS data processed {"connection_id":54427,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:27:56] local.INFO: Acknowledgment sent {"connection_id":54427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:28:05] local.INFO: TCP Data received {"connection_id":54689,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:28:05] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:28:05] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:28:13] local.INFO: TCP Data received {"connection_id":54615,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:28:13] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:28:13] local.INFO: IMEI packet received {"connection_id":54615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":54615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:28:14] local.INFO: TCP Data received {"connection_id":54616,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:28:14] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:28:14] local.INFO: IMEI packet received {"connection_id":54616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":54616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:28:17] local.INFO: TCP Data received {"connection_id":54615,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:28:17] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:28:17] local.INFO: IMEI packet received {"connection_id":54615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":54615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:28:19] local.INFO: TCP Data received {"connection_id":54615,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:28:19] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:28:19] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:28:19] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:19] 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-04-26 11:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:28: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-04-26 11:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:28:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:28:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:28:19] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:28:19] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:28:19] local.INFO: TCP Data received {"connection_id":54616,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:28:19] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:28:19] local.INFO: IMEI packet received {"connection_id":54616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":54616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:28:20] local.INFO: TCP Data received {"connection_id":54616,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:28:20] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:28:20] local.INFO: Packet analysis {"connection_id":54616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:28:20] local.INFO: Extracted packet for processing {"connection_id":54616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 11:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:28: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-04-26 11: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-04-26 11:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:28: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-04-26 11:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:28:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":54616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:28:20] local.INFO: GPS data processed {"connection_id":54616,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:28:20] local.INFO: Acknowledgment sent {"connection_id":54616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:28:40] local.INFO: TCP Data received {"connection_id":54428,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:28:40] local.INFO: Processing buffer {"connection_id":54428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:28:40] local.INFO: IMEI packet received {"connection_id":54428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":54428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:28:51] local.INFO: TCP Data received {"connection_id":54615,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:28:51] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:28:51] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:28:51] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:51] 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-04-26 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:28: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-04-26 11: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-04-26 11:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:28:51] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:28:51] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:28:51] local.INFO: TCP Data received {"connection_id":54616,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:28:51] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:28:51] local.INFO: Packet analysis {"connection_id":54616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:28:51] local.INFO: Extracted packet for processing {"connection_id":54616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 11:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:28: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-04-26 11: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-04-26 11:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":54616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:28:51] local.INFO: GPS data processed {"connection_id":54616,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:28:51] local.INFO: Acknowledgment sent {"connection_id":54616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:29:12] local.INFO: TCP Data received {"connection_id":54429,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:29:12] local.INFO: Processing buffer {"connection_id":54429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:29:12] local.INFO: IMEI packet received {"connection_id":54429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":54429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:29:14] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:29:14] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:29:14] local.INFO: IMEI packet received {"connection_id":54690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":54690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:29:18] local.INFO: TCP Data received {"connection_id":54429,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:29:18] local.INFO: Processing buffer {"connection_id":54429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:29:18] local.INFO: IMEI packet received {"connection_id":54429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":54429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:29:19] local.INFO: TCP Data received {"connection_id":54429,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:29:19] local.INFO: Processing buffer {"connection_id":54429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:29:19] local.INFO: Packet analysis {"connection_id":54429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:29:19] local.INFO: Extracted packet for processing {"connection_id":54429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:29:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:19] 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-04-26 11:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:29: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-04-26 11:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:29:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:29:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:29:19] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:29:19] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:29:19] local.INFO: IMEI packet received {"connection_id":54690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":54690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":54429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:29:19] local.INFO: GPS data processed {"connection_id":54429,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:29:19] local.INFO: Acknowledgment sent {"connection_id":54429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:29:20] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:29:20] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:29:20] local.INFO: Packet analysis {"connection_id":54690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:29:20] local.INFO: Extracted packet for processing {"connection_id":54690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 11:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:29: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-04-26 11: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-04-26 11:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:29: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-04-26 11:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:29:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":54690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:29:20] local.INFO: GPS data processed {"connection_id":54690,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:29:20] local.INFO: Acknowledgment sent {"connection_id":54690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:29:51] local.INFO: TCP Data received {"connection_id":54429,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:29:51] local.INFO: Processing buffer {"connection_id":54429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:29:51] local.INFO: Packet analysis {"connection_id":54429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:29:51] local.INFO: Extracted packet for processing {"connection_id":54429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:51] 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-04-26 11:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:29: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-04-26 11: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-04-26 11:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":54429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:29:51] local.INFO: GPS data processed {"connection_id":54429,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:29:51] local.INFO: Acknowledgment sent {"connection_id":54429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:29:51] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:29:51] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85ac0a0012cb299c007822ce00053001232..."} 
[2026-04-26 11:29:51] local.INFO: Packet analysis {"connection_id":54690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:29:51] local.INFO: Extracted packet for processing {"connection_id":54690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85a"} 
[2026-04-26 11:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958741248001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182884000,"timestamp_ms":1777182884000,"timestamp_seconds":1777182884,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85ac0a0"} 
[2026-04-26 11:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:29: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-04-26 11: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-04-26 11:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958741248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958741248001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958741248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":54690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:29:51] local.INFO: GPS data processed {"connection_id":54690,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:29:51] local.INFO: Acknowledgment sent {"connection_id":54690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:30:12] local.INFO: TCP Data received {"connection_id":54430,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:30:12] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:30:12] local.INFO: IMEI packet received {"connection_id":54430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":54430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:30:18] local.INFO: TCP Data received {"connection_id":54430,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:30:18] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:30:18] local.INFO: IMEI packet received {"connection_id":54430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":54430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:30:19] local.INFO: TCP Data received {"connection_id":54430,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:30:19] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:30:19] local.INFO: Packet analysis {"connection_id":54430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:30:19] local.INFO: Extracted packet for processing {"connection_id":54430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:19] 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-04-26 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:30: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-04-26 11: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-04-26 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:30:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:30:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":54430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:30:19] local.INFO: GPS data processed {"connection_id":54430,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:30:19] local.INFO: Acknowledgment sent {"connection_id":54430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:30:19] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:30:19] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:30:19] local.INFO: IMEI packet received {"connection_id":54431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":54431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:30:23] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:30:23] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:30:23] local.INFO: IMEI packet received {"connection_id":54431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":54431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:30:24] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:24] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:24] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:30:24] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:30:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:30:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:30:24] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:30:24] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:30:25] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:25] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:25] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:30:25] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:30:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:30:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:30:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:30:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:30:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:30:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:30:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:30:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:30:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:30:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:30:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:30:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:30: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-04-26 11:30:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:30:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:30:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:30:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:30:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:30:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:30:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:30:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:30:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:30:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:30:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:30:25] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:30:25] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:30:25] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:30:51] local.INFO: TCP Data received {"connection_id":54430,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:30:51] local.INFO: Processing buffer {"connection_id":54430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:30:51] local.INFO: Packet analysis {"connection_id":54430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:30:51] local.INFO: Extracted packet for processing {"connection_id":54430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:51] 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-04-26 11:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:30: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-04-26 11: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-04-26 11:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:30:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:30:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":54430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:30:51] local.INFO: GPS data processed {"connection_id":54430,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:30:51] local.INFO: Acknowledgment sent {"connection_id":54430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:30:56] local.INFO: TCP Data received {"connection_id":54431,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:56] local.INFO: Processing buffer {"connection_id":54431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:30:56] local.INFO: Packet analysis {"connection_id":54431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:30:56] local.INFO: Extracted packet for processing {"connection_id":54431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:30:56] 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-04-26 11:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:30:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:30:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":54431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:30:56] local.INFO: GPS data processed {"connection_id":54431,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:30:56] local.INFO: Acknowledgment sent {"connection_id":54431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:31:18] local.INFO: TCP Data received {"connection_id":54432,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:31:18] local.INFO: Processing buffer {"connection_id":54432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:31:18] local.INFO: IMEI packet received {"connection_id":54432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":54432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:31:20] local.INFO: TCP Data received {"connection_id":55361,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:31:20] local.INFO: Processing buffer {"connection_id":55361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:31:20] local.INFO: IMEI packet received {"connection_id":55361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":55361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:31:21] local.INFO: TCP Data received {"connection_id":55361,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:31:21] local.INFO: Processing buffer {"connection_id":55361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:31:21] local.INFO: IMEI packet received {"connection_id":55361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":55361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:31:22] local.INFO: TCP Data received {"connection_id":55361,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:22] local.INFO: Processing buffer {"connection_id":55361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:22] local.INFO: Packet analysis {"connection_id":55361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:31:22] local.INFO: Extracted packet for processing {"connection_id":55361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 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-04-26 11:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 11:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:31:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:31:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:31:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":55361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:31:22] local.INFO: GPS data processed {"connection_id":55361,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:31:22] local.INFO: Acknowledgment sent {"connection_id":55361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:31:23] local.INFO: TCP Data received {"connection_id":54432,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54432,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:31:23] local.INFO: Processing buffer {"connection_id":54432,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:31:23] local.INFO: IMEI packet received {"connection_id":54432,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":54432,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:31:24] local.INFO: TCP Data received {"connection_id":54432,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:31:24] local.INFO: Processing buffer {"connection_id":54432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:31:24] local.INFO: Packet analysis {"connection_id":54432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:31:24] local.INFO: Extracted packet for processing {"connection_id":54432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:24] 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-04-26 11:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:31:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:31:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":54432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:31:24] local.INFO: GPS data processed {"connection_id":54432,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:31:24] local.INFO: Acknowledgment sent {"connection_id":54432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:31:25] local.INFO: TCP Data received {"connection_id":55361,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:25] local.INFO: Processing buffer {"connection_id":55361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:25] local.INFO: Packet analysis {"connection_id":55361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:31:25] local.INFO: Extracted packet for processing {"connection_id":55361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:31:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:31: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-04-26 11:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:31:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":55361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:31:25] local.INFO: GPS data processed {"connection_id":55361,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:31:25] local.INFO: Acknowledgment sent {"connection_id":55361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:31:29] local.INFO: TCP Data received {"connection_id":54432,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:31:29] local.INFO: Processing buffer {"connection_id":54432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85c2be8012d197080071fec600038010e2d..."} 
[2026-04-26 11:31:29] local.INFO: Packet analysis {"connection_id":54432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:31:29] local.INFO: Extracted packet for processing {"connection_id":54432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85c"} 
[2026-04-26 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958765056001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:29] 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-04-26 11:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777182977000,"timestamp_ms":1777182977000,"timestamp_seconds":1777182977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85c2be8"} 
[2026-04-26 11:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54432,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958765056001,"66":2166,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958765056001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:31:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:31:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958765056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":54432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:31:29] local.INFO: GPS data processed {"connection_id":54432,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:31:29] local.INFO: Acknowledgment sent {"connection_id":54432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:31:56] local.INFO: TCP Data received {"connection_id":55361,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:56] local.INFO: Processing buffer {"connection_id":55361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:31:56] local.INFO: Packet analysis {"connection_id":55361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:31:56] local.INFO: Extracted packet for processing {"connection_id":55361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:31:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:31:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":55361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:31:56] local.INFO: GPS data processed {"connection_id":55361,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:31:56] local.INFO: Acknowledgment sent {"connection_id":55361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:32:13] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:32:13] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:32:13] local.INFO: IMEI packet received {"connection_id":54692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":54692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:32:14] local.INFO: TCP Data received {"connection_id":54693,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:32:14] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:32:14] local.INFO: IMEI packet received {"connection_id":54693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:32:18] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:32:18] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:32:18] local.INFO: IMEI packet received {"connection_id":54692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":54692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:32:19] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:32:19] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:32:19] local.INFO: Packet analysis {"connection_id":54692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:32:19] local.INFO: Extracted packet for processing {"connection_id":54692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:19] 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-04-26 11:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:32: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-04-26 11:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:32:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":54692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:32:19] local.INFO: GPS data processed {"connection_id":54692,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:32:19] local.INFO: Acknowledgment sent {"connection_id":54692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:32:19] local.INFO: TCP Data received {"connection_id":54693,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:32:19] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:32:19] local.INFO: IMEI packet received {"connection_id":54693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":54693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:32:20] local.INFO: TCP Data received {"connection_id":54693,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:32:20] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:32:20] local.INFO: Packet analysis {"connection_id":54693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:32:20] local.INFO: Extracted packet for processing {"connection_id":54693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:32: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-04-26 11:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:32:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":54693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:32:20] local.INFO: GPS data processed {"connection_id":54693,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:32:20] local.INFO: Acknowledgment sent {"connection_id":54693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:32:51] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:32:51] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:32:51] local.INFO: Packet analysis {"connection_id":54692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:32:51] local.INFO: Extracted packet for processing {"connection_id":54692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:51] 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-04-26 11:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:32: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-04-26 11: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-04-26 11:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":54692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:32:51] local.INFO: GPS data processed {"connection_id":54692,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:32:51] local.INFO: Acknowledgment sent {"connection_id":54692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:32:51] local.INFO: TCP Data received {"connection_id":54693,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:32:51] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:32:51] local.INFO: Packet analysis {"connection_id":54693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:32:51] local.INFO: Extracted packet for processing {"connection_id":54693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:32: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-04-26 11:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":54693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:32:51] local.INFO: GPS data processed {"connection_id":54693,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:32:51] local.INFO: Acknowledgment sent {"connection_id":54693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:33:13] local.INFO: TCP Data received {"connection_id":54434,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:33:13] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:33:13] local.INFO: IMEI packet received {"connection_id":54434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":54434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:33:14] local.INFO: TCP Data received {"connection_id":55362,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:33:14] local.INFO: Processing buffer {"connection_id":55362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:33:14] local.INFO: IMEI packet received {"connection_id":55362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":55362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:33:18] local.INFO: TCP Data received {"connection_id":54434,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:33:18] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:33:18] local.INFO: IMEI packet received {"connection_id":54434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":54434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:33:19] local.INFO: TCP Data received {"connection_id":55362,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:33:19] local.INFO: Processing buffer {"connection_id":55362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:33:19] local.INFO: IMEI packet received {"connection_id":55362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":55362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:33:19] local.INFO: TCP Data received {"connection_id":54434,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:33:19] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:33:19] local.INFO: Packet analysis {"connection_id":54434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:33:19] local.INFO: Extracted packet for processing {"connection_id":54434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:19] 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-04-26 11:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:33: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-04-26 11:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:33:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:33:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":54434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:33:20] local.INFO: GPS data processed {"connection_id":54434,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:33:20] local.INFO: Acknowledgment sent {"connection_id":54434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:33:20] local.INFO: TCP Data received {"connection_id":55362,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:33:20] local.INFO: Processing buffer {"connection_id":55362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:33:20] local.INFO: Packet analysis {"connection_id":55362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:33:20] local.INFO: Extracted packet for processing {"connection_id":55362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11: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-04-26 11:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:33:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":55362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:33:20] local.INFO: GPS data processed {"connection_id":55362,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:33:20] local.INFO: Acknowledgment sent {"connection_id":55362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:33:51] local.INFO: TCP Data received {"connection_id":55362,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:33:51] local.INFO: Processing buffer {"connection_id":55362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:33:51] local.INFO: Packet analysis {"connection_id":55362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:33:51] local.INFO: Extracted packet for processing {"connection_id":55362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11: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-04-26 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":55362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:33:51] local.INFO: GPS data processed {"connection_id":55362,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:33:51] local.INFO: Acknowledgment sent {"connection_id":55362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:33:51] local.INFO: TCP Data received {"connection_id":54434,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:33:51] local.INFO: Processing buffer {"connection_id":54434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:33:51] local.INFO: Packet analysis {"connection_id":54434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:33:51] local.INFO: Extracted packet for processing {"connection_id":54434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:33:51] 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-04-26 11:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:33: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-04-26 11:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:33:51] local.INFO: GPS data processed {"connection_id":54434,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:33:51] local.INFO: Acknowledgment sent {"connection_id":54434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:34:00] local.INFO: TCP Data received {"connection_id":54618,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:34:00] local.INFO: Processing buffer {"connection_id":54618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:34:00] local.INFO: IMEI packet received {"connection_id":54618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":54618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:34:12] local.INFO: TCP Data received {"connection_id":54694,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:34:12] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:34:12] local.INFO: IMEI packet received {"connection_id":54694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":54694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:34:18] local.INFO: TCP Data received {"connection_id":54694,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:34:18] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:34:18] local.INFO: IMEI packet received {"connection_id":54694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":54694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:34:19] local.INFO: TCP Data received {"connection_id":54694,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:34:19] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:34:19] local.INFO: Packet analysis {"connection_id":54694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:34:19] local.INFO: Extracted packet for processing {"connection_id":54694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:19] 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-04-26 11:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:34: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-04-26 11:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:34:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:34:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":54694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:34:19] local.INFO: GPS data processed {"connection_id":54694,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:34:19] local.INFO: Acknowledgment sent {"connection_id":54694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:34:20] local.INFO: TCP Data received {"connection_id":55363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:34:20] local.INFO: Processing buffer {"connection_id":55363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:34:20] local.INFO: IMEI packet received {"connection_id":55363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":55363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:34:24] local.INFO: TCP Data received {"connection_id":55363,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:34:24] local.INFO: Processing buffer {"connection_id":55363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:34:24] local.INFO: IMEI packet received {"connection_id":55363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":55363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:34:25] local.INFO: TCP Data received {"connection_id":55363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:34:25] local.INFO: Processing buffer {"connection_id":55363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:34:25] local.INFO: Packet analysis {"connection_id":55363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:34:25] local.INFO: Extracted packet for processing {"connection_id":55363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:34:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:34:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:34:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:34:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":55363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:34:25] local.INFO: GPS data processed {"connection_id":55363,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:34:25] local.INFO: Acknowledgment sent {"connection_id":55363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:34:30] local.INFO: TCP Data received {"connection_id":55363,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:34:30] local.INFO: Processing buffer {"connection_id":55363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:34:30] local.INFO: Packet analysis {"connection_id":55363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:34:30] local.INFO: Extracted packet for processing {"connection_id":55363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:34: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-04-26 11:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:34:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":55363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:34:30] local.INFO: GPS data processed {"connection_id":55363,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:34:30] local.INFO: Acknowledgment sent {"connection_id":55363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:34:45] local.INFO: TCP Data received {"connection_id":54619,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:34:45] local.INFO: Processing buffer {"connection_id":54619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:34:45] local.INFO: IMEI packet received {"connection_id":54619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":54619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:34:51] local.INFO: TCP Data received {"connection_id":54694,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:34:51] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:34:51] local.INFO: Packet analysis {"connection_id":54694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:34:51] local.INFO: Extracted packet for processing {"connection_id":54694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:34:51] 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-04-26 11:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:34: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-04-26 11: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-04-26 11:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:34:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":54694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:34:51] local.INFO: GPS data processed {"connection_id":54694,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:34:51] local.INFO: Acknowledgment sent {"connection_id":54694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:35:14] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:35:14] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:35:14] local.INFO: IMEI packet received {"connection_id":54620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:35:18] local.INFO: TCP Data received {"connection_id":54621,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:35:18] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:35:18] local.INFO: IMEI packet received {"connection_id":54621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":54621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:35:19] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:35:19] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:35:19] local.INFO: IMEI packet received {"connection_id":54620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:35:20] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:35:20] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc85f5868012cb299c007822ce00052001233..."} 
[2026-04-26 11:35:20] local.INFO: Packet analysis {"connection_id":54620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:35:20] local.INFO: Extracted packet for processing {"connection_id":54620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc85f"} 
[2026-04-26 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958818304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183185000,"timestamp_ms":1777183185000,"timestamp_seconds":1777183185,"priority":1,"record_length":96,"hex_timestamp":"0000019dc85f5868"} 
[2026-04-26 11:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:35: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-04-26 11:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958818304001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 11:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958818304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 11:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958818304001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":54620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:35:20] local.INFO: GPS data processed {"connection_id":54620,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:35:20] local.INFO: Acknowledgment sent {"connection_id":54620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:35:23] local.INFO: TCP Data received {"connection_id":54621,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:35:23] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:35:23] local.INFO: IMEI packet received {"connection_id":54621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":54621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:35:24] local.INFO: TCP Data received {"connection_id":54621,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:35:24] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:35:24] local.INFO: Packet analysis {"connection_id":54621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:35:24] local.INFO: Extracted packet for processing {"connection_id":54621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:24] 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-04-26 11:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:35: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-04-26 11:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:35:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:35:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":54621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:35:24] local.INFO: GPS data processed {"connection_id":54621,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:35:24] local.INFO: Acknowledgment sent {"connection_id":54621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:35:30] local.INFO: TCP Data received {"connection_id":54621,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:35:30] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc860c3b0012d197080071fec600038010e2d..."} 
[2026-04-26 11:35:30] local.INFO: Packet analysis {"connection_id":54621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:35:30] local.INFO: Extracted packet for processing {"connection_id":54621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc860"} 
[2026-04-26 11:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":45,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958842112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:30] 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-04-26 11:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777183278000,"timestamp_ms":1777183278000,"timestamp_seconds":1777183278,"priority":1,"record_length":96,"hex_timestamp":"0000019dc860c3b0"} 
[2026-04-26 11:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 11:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958842112001,"66":2155,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958842112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:35:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958842112001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":54621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:35:30] local.INFO: GPS data processed {"connection_id":54621,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:35:30] local.INFO: Acknowledgment sent {"connection_id":54621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:35:51] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:35:51] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:35:51] local.INFO: Packet analysis {"connection_id":54620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:35:51] local.INFO: Extracted packet for processing {"connection_id":54620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:35: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-04-26 11: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-04-26 11:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:35: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-04-26 11:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:35:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:35:51] local.INFO: GPS data processed {"connection_id":54620,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:35:51] local.INFO: Acknowledgment sent {"connection_id":54620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:36:13] local.INFO: TCP Data received {"connection_id":54695,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:36:13] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:36:13] local.INFO: IMEI packet received {"connection_id":54695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":54695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:36:14] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:36:14] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:36:14] local.INFO: IMEI packet received {"connection_id":54696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":54696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:36:16] local.INFO: TCP Data received {"connection_id":54695,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:36:16] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:36:16] local.INFO: IMEI packet received {"connection_id":54695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":54695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:36:17] local.INFO: TCP Data received {"connection_id":54695,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8640f70012d197080071fec600038010e29..."} 
[2026-04-26 11:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8640f70012d197080071fec600038010e29..."} 
[2026-04-26 11:36:17] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8640f70012d197080071fec600038010e29..."} 
[2026-04-26 11:36:17] local.INFO: Packet analysis {"connection_id":54695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc864"} 
[2026-04-26 11:36:17] local.INFO: Extracted packet for processing {"connection_id":54695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc864"} 
[2026-04-26 11:36:17] local.INFO: GPS Element Parsed {"raw_longitude":756641920,"raw_latitude":119532640,"longitude_deg":75.664192,"latitude_deg":11.953264,"altitude":56,"angle":270,"satellites":41,"speed":0,"hex_longitude":"2d197080","hex_latitude":"071fec60","is_valid_coordinates":true} 
[2026-04-26 11:36: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-04-26 11:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958919168001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114708689461444608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833105816428503040,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36: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-04-26 11:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777183494000,"timestamp_ms":1777183494000,"timestamp_seconds":1777183494,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8640f70"} 
[2026-04-26 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-04-26 11:36:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 11:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 11:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:36:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958919168001,"66":2177,"121":206,"28":31744,"24":0,"16":114708689461444608,"45":1833105816428503040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:36:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:36:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:36:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958919168001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:36:17] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:36:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:36:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114708689461444608,"km_value":114708689461444.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:36:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833105816428503040,"description":"Unknown IO ID 45"} 
[2026-04-26 11:36:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958919168001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1833105816428503040}} 
[2026-04-26 11:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":54695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:36:17] local.INFO: GPS data processed {"connection_id":54695,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:36:17] local.INFO: Acknowledgment sent {"connection_id":54695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:36:19] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:36:19] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:36:19] local.INFO: IMEI packet received {"connection_id":54696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":54696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:36:20] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:36:20] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:36:20] local.INFO: Packet analysis {"connection_id":54696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:36:20] local.INFO: Extracted packet for processing {"connection_id":54696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:36: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-04-26 11:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:36:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":54696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:36:20] local.INFO: GPS data processed {"connection_id":54696,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:36:20] local.INFO: Acknowledgment sent {"connection_id":54696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:36:49] local.INFO: TCP Data received {"connection_id":54695,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86524c8012d198080071fedd8004100312b..."} 
[2026-04-26 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86524c8012d198080071fedd8004100312b..."} 
[2026-04-26 11:36:49] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86524c8012d198080071fedd8004100312b..."} 
[2026-04-26 11:36:49] local.INFO: Packet analysis {"connection_id":54695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc865"} 
[2026-04-26 11:36:49] local.INFO: Extracted packet for processing {"connection_id":54695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc865"} 
[2026-04-26 11:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756646016,"raw_latitude":119533016,"longitude_deg":75.6646016,"latitude_deg":11.9533016,"altitude":65,"angle":49,"satellites":43,"speed":16,"hex_longitude":"2d198080","hex_latitude":"071fedd8","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958992384001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114709011583991808,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837327941079195648,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:49] 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-04-26 11:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777183565000,"timestamp_ms":1777183565000,"timestamp_seconds":1777183565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86524c8"} 
[2026-04-26 11:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:36:49] 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-04-26 11: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-26 11:36: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-04-26 11: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-04-26 11:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958992384001,"66":14211,"121":206,"28":31744,"24":16,"16":114709011583991808,"45":1837327941079195648},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958992384001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:36:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114709011583991808,"km_value":114709011583991.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837327941079195648,"description":"Unknown IO ID 45"} 
[2026-04-26 11:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958992384001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1837327941079195648}} 
[2026-04-26 11:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":54695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:36:49] local.INFO: GPS data processed {"connection_id":54695,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:36:49] local.INFO: Acknowledgment sent {"connection_id":54695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:36:51] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:36:51] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:36:51] local.INFO: Packet analysis {"connection_id":54696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:36:51] local.INFO: Extracted packet for processing {"connection_id":54696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 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-04-26 11:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:36: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-04-26 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-04-26 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-04-26 11:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:36:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:36:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":54696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:36:51] local.INFO: GPS data processed {"connection_id":54696,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:36:51] local.INFO: Acknowledgment sent {"connection_id":54696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:37:13] local.INFO: TCP Data received {"connection_id":55365,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:37:13] local.INFO: Processing buffer {"connection_id":55365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:37:13] local.INFO: IMEI packet received {"connection_id":55365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":55365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:37:14] local.INFO: TCP Data received {"connection_id":54622,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:37:14] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:37:14] local.INFO: IMEI packet received {"connection_id":54622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":54622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:37:17] local.INFO: TCP Data received {"connection_id":55365,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:37:17] local.INFO: Processing buffer {"connection_id":55365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:37:17] local.INFO: IMEI packet received {"connection_id":55365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":55365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:37:18] local.INFO: TCP Data received {"connection_id":55365,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8652c98012d198340071fefd00041003e2c..."} 
[2026-04-26 11:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8652c98012d198340071fefd00041003e2c..."} 
[2026-04-26 11:37:18] local.INFO: Processing buffer {"connection_id":55365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8652c98012d198340071fefd00041003e2c..."} 
[2026-04-26 11:37:18] local.INFO: Packet analysis {"connection_id":55365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc865"} 
[2026-04-26 11:37:18] local.INFO: Extracted packet for processing {"connection_id":55365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc865"} 
[2026-04-26 11:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533520,"longitude_deg":75.664672,"latitude_deg":11.953352,"altitude":65,"angle":62,"satellites":44,"speed":17,"hex_longitude":"2d198340","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-04-26 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958992640001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114709054533664768,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837609416055969792,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:18] 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-04-26 11:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777183567000,"timestamp_ms":1777183567000,"timestamp_seconds":1777183567,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8652c98"} 
[2026-04-26 11:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:37:18] 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-04-26 11:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-26 11:37:18] 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-04-26 11:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958992640001,"66":14157,"121":206,"28":31744,"24":17,"16":114709054533664768,"45":1837609416055969792},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958992640001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:37:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:37:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114709054533664768,"km_value":114709054533664.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837609416055969792,"description":"Unknown IO ID 45"} 
[2026-04-26 11:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958992640001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1837609416055969792}} 
[2026-04-26 11:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":55365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:37:18] local.INFO: GPS data processed {"connection_id":55365,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:37:18] local.INFO: Acknowledgment sent {"connection_id":55365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:37:19] local.INFO: TCP Data received {"connection_id":54622,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:37:19] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:37:19] local.INFO: IMEI packet received {"connection_id":54622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":54622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:37:20] local.INFO: TCP Data received {"connection_id":54622,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:37:20] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:37:20] local.INFO: Packet analysis {"connection_id":54622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:37:20] local.INFO: Extracted packet for processing {"connection_id":54622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:37: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-04-26 11: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-04-26 11:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:37:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:37:20] local.INFO: GPS data processed {"connection_id":54622,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:37:20] local.INFO: Acknowledgment sent {"connection_id":54622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:37:50] local.INFO: TCP Data received {"connection_id":55365,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc865f3d0012d19dcc007200b48003001282b..."} 
[2026-04-26 11:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc865f3d0012d19dcc007200b48003001282b..."} 
[2026-04-26 11:37:50] local.INFO: Processing buffer {"connection_id":55365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc865f3d0012d19dcc007200b48003001282b..."} 
[2026-04-26 11:37:50] local.INFO: Packet analysis {"connection_id":55365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc865"} 
[2026-04-26 11:37:50] local.INFO: Extracted packet for processing {"connection_id":55365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc865"} 
[2026-04-26 11:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756669632,"raw_latitude":119540552,"longitude_deg":75.6669632,"latitude_deg":11.9540552,"altitude":48,"angle":296,"satellites":43,"speed":14,"hex_longitude":"2d19dcc0","hex_latitude":"07200b48","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959005952001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114710351613788160,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380302336,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:50] 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-04-26 11:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777183618000,"timestamp_ms":1777183618000,"timestamp_seconds":1777183618,"priority":1,"record_length":96,"hex_timestamp":"0000019dc865f3d0"} 
[2026-04-26 11:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:37:50] 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-04-26 11: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":28,"data_length":795,"current_offset":136} 
[2026-04-26 11:37:50] 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-04-26 11: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-04-26 11:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959005952001,"66":13852,"121":206,"28":31744,"24":14,"16":114710351613788160,"45":1863927326380302336},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959005952001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:37:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:37:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114710351613788160,"km_value":114710351613788.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380302336,"description":"Unknown IO ID 45"} 
[2026-04-26 11:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959005952001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1863927326380302336}} 
[2026-04-26 11:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":55365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:37:50] local.INFO: GPS data processed {"connection_id":55365,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:37:50] local.INFO: Acknowledgment sent {"connection_id":55365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:37:51] local.INFO: TCP Data received {"connection_id":54622,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:37:51] local.INFO: Processing buffer {"connection_id":54622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:37:51] local.INFO: Packet analysis {"connection_id":54622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:37:51] local.INFO: Extracted packet for processing {"connection_id":54622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:37: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-04-26 11: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-04-26 11:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:37:51] 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-04-26 11:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:37:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":54622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:37:51] local.INFO: GPS data processed {"connection_id":54622,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:37:51] local.INFO: Acknowledgment sent {"connection_id":54622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:38:12] local.INFO: TCP Data received {"connection_id":54623,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:38:12] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:38:12] local.INFO: IMEI packet received {"connection_id":54623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":54623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:38:14] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:38:14] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:38:14] local.INFO: IMEI packet received {"connection_id":54624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:38:17] local.INFO: TCP Data received {"connection_id":54623,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:38:17] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:38:17] local.INFO: IMEI packet received {"connection_id":54623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":54623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:38:19] local.INFO: TCP Data received {"connection_id":54623,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8660758012d19d34007201138002e01342b..."} 
[2026-04-26 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8660758012d19d34007201138002e01342b..."} 
[2026-04-26 11:38:19] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8660758012d19d34007201138002e01342b..."} 
[2026-04-26 11:38:19] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc866"} 
[2026-04-26 11:38:19] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc866"} 
[2026-04-26 11:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756667200,"raw_latitude":119542072,"longitude_deg":75.66672,"latitude_deg":11.9542072,"altitude":46,"angle":308,"satellites":43,"speed":27,"hex_longitude":"2d19d340","hex_latitude":"07201138","is_valid_coordinates":true} 
[2026-04-26 11:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959006208001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114710493347708928,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863575482659457024,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:19] 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-04-26 11:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777183623000,"timestamp_ms":1777183623000,"timestamp_seconds":1777183623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8660758"} 
[2026-04-26 11:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:38:19] 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-04-26 11:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 11:38:19] 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-04-26 11:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959006208001,"66":14396,"121":206,"28":31744,"24":27,"16":114710493347708928,"45":1863575482659457024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959006208001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114710493347708928,"km_value":114710493347708.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863575482659457024,"description":"Unknown IO ID 45"} 
[2026-04-26 11:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959006208001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1863575482659457024}} 
[2026-04-26 11:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:38:19] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:38:19] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:38:19] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:38:19] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:38:19] local.INFO: IMEI packet received {"connection_id":54624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":54624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:38:20] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:38:20] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:38:20] local.INFO: Packet analysis {"connection_id":54624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:38:20] local.INFO: Extracted packet for processing {"connection_id":54624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:38: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-04-26 11: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-04-26 11:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:38:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":54624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:38:20] local.INFO: GPS data processed {"connection_id":54624,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:38:20] local.INFO: Acknowledgment sent {"connection_id":54624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:38:50] local.INFO: TCP Data received {"connection_id":54623,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8661310012d19ce0007201648002e01402b..."} 
[2026-04-26 11:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8661310012d19ce0007201648002e01402b..."} 
[2026-04-26 11:38:50] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8661310012d19ce0007201648002e01402b..."} 
[2026-04-26 11:38:50] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc866"} 
[2026-04-26 11:38:50] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc866"} 
[2026-04-26 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119543368,"longitude_deg":75.6665856,"latitude_deg":11.9543368,"altitude":46,"angle":320,"satellites":43,"speed":17,"hex_longitude":"2d19ce00","hex_latitude":"07201648","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959007488001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114710579247054848,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860901470381094912,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:50] 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-04-26 11:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777183626000,"timestamp_ms":1777183626000,"timestamp_seconds":1777183626,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8661310"} 
[2026-04-26 11:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":60,"data_length":795,"current_offset":136} 
[2026-04-26 11:38: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-04-26 11: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-04-26 11:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959007488001,"66":13678,"121":206,"28":31744,"24":17,"16":114710579247054848,"45":1860901470381094912},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959007488001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:38:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114710579247054848,"km_value":114710579247054.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860901470381094912,"description":"Unknown IO ID 45"} 
[2026-04-26 11:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959007488001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1860901470381094912}} 
[2026-04-26 11:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:38:50] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:38:50] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:38:51] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:38:51] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:38:51] local.INFO: Packet analysis {"connection_id":54624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:38:51] local.INFO: Extracted packet for processing {"connection_id":54624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:38:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:38: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-04-26 11: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-04-26 11:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:38:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":54624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:38:51] local.INFO: GPS data processed {"connection_id":54624,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:38:51] local.INFO: Acknowledgment sent {"connection_id":54624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:39:12] local.INFO: TCP Data received {"connection_id":55366,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:39:12] local.INFO: Processing buffer {"connection_id":55366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:39:12] local.INFO: IMEI packet received {"connection_id":55366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":55366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:39:17] local.INFO: TCP Data received {"connection_id":55366,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:39:17] local.INFO: Processing buffer {"connection_id":55366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:39:17] local.INFO: IMEI packet received {"connection_id":55366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":55366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:39:19] local.INFO: TCP Data received {"connection_id":55366,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8672098012d19aec0072095400033001c25..."} 
[2026-04-26 11:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8672098012d19aec0072095400033001c25..."} 
[2026-04-26 11:39:19] local.INFO: Processing buffer {"connection_id":55366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8672098012d19aec0072095400033001c25..."} 
[2026-04-26 11:39:19] local.INFO: Packet analysis {"connection_id":55366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc867"} 
[2026-04-26 11:39:19] local.INFO: Extracted packet for processing {"connection_id":55366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc867"} 
[2026-04-26 11:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119575872,"longitude_deg":75.6657856,"latitude_deg":11.9575872,"altitude":51,"angle":28,"satellites":37,"speed":30,"hex_longitude":"2d19aec0","hex_latitude":"07209540","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959025664001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114712237104431104,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274560512,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] 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-04-26 11:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777183695000,"timestamp_ms":1777183695000,"timestamp_seconds":1777183695,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8672098"} 
[2026-04-26 11:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:39:19] 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-04-26 11: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":12667809158923264,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505349979897856,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3362171752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1724301313,"corrected_to":0} 
[2026-04-26 11:39:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174375,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2302476288,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84752272898596921,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,138,157,45,192,143,50,39,10,66,137,49,37,233,1,240,27,200,32,4,113,205,26,187,189,72,43,239,56,2,151,7,18,206,176],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":200,"original":1724301313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 11:39:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3674956146547752960,"timestamp_seconds":3674956146547753.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959025664001,"66":14341,"121":206,"28":31744,"24":30,"16":114712237104431104,"45":1850205421274560512},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959025664001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:39:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:39:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114712237104431104,"km_value":114712237104431.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274560512,"description":"Unknown IO ID 45"} 
[2026-04-26 11:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959025664001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850205421274560512}} 
[2026-04-26 11:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":55366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:39:19] local.INFO: GPS data processed {"connection_id":55366,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:39:19] local.INFO: Acknowledgment sent {"connection_id":55366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:39:19] local.INFO: TCP Data received {"connection_id":55367,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:39:19] local.INFO: Processing buffer {"connection_id":55367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:39:19] local.INFO: IMEI packet received {"connection_id":55367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":55367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:39:24] local.INFO: TCP Data received {"connection_id":55367,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:39:24] local.INFO: Processing buffer {"connection_id":55367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:39:24] local.INFO: IMEI packet received {"connection_id":55367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":55367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:39:25] local.INFO: TCP Data received {"connection_id":55367,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:39:25] local.INFO: Processing buffer {"connection_id":55367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:39:25] local.INFO: Packet analysis {"connection_id":55367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:39:25] local.INFO: Extracted packet for processing {"connection_id":55367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:39:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:39:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:39:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":55367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:39:25] local.INFO: GPS data processed {"connection_id":55367,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:39:25] local.INFO: Acknowledgment sent {"connection_id":55367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:39:30] local.INFO: TCP Data received {"connection_id":55367,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:39:30] local.INFO: Processing buffer {"connection_id":55367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:39:30] local.INFO: Packet analysis {"connection_id":55367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:39:30] local.INFO: Extracted packet for processing {"connection_id":55367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:39:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:39:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":55367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:39:30] local.INFO: GPS data processed {"connection_id":55367,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:39:30] local.INFO: Acknowledgment sent {"connection_id":55367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:39:51] local.INFO: TCP Data received {"connection_id":55366,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc867c4a8012d194e000720ab200032011c2a..."} 
[2026-04-26 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc867c4a8012d194e000720ab200032011c2a..."} 
[2026-04-26 11:39:51] local.INFO: Processing buffer {"connection_id":55366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc867c4a8012d194e000720ab200032011c2a..."} 
[2026-04-26 11:39:51] local.INFO: Packet analysis {"connection_id":55366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc867"} 
[2026-04-26 11:39:51] local.INFO: Extracted packet for processing {"connection_id":55366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc867"} 
[2026-04-26 11:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119581472,"longitude_deg":75.6633088,"latitude_deg":11.9581472,"altitude":50,"angle":284,"satellites":42,"speed":45,"hex_longitude":"2d194e00","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959035904001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114713869192003584,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827124473185841152,"note":"Value kept but may cause issues"} 
[2026-04-26 11:39:51] 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-04-26 11:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183737000,"timestamp_ms":1777183737000,"timestamp_seconds":1777183737,"priority":1,"record_length":96,"hex_timestamp":"0000019dc867c4a8"} 
[2026-04-26 11:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:39:51] 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-04-26 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 11:39:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959035904001,"66":14428,"121":206,"28":31744,"24":45,"16":114713869192003584,"45":1827124473185841152},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959035904001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:39:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:39:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114713869192003584,"km_value":114713869192003.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827124473185841152,"description":"Unknown IO ID 45"} 
[2026-04-26 11:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959035904001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1827124473185841152}} 
[2026-04-26 11:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":55366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:39:51] local.INFO: GPS data processed {"connection_id":55366,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:39:51] local.INFO: Acknowledgment sent {"connection_id":55366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:40:00] local.INFO: TCP Data received {"connection_id":55368,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:40:00] local.INFO: Processing buffer {"connection_id":55368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:40:00] local.INFO: IMEI packet received {"connection_id":55368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":55368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:40:13] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:13] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:13] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:40:13] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:13] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:13] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:40:14] local.INFO: TCP Data received {"connection_id":55369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:40:14] local.INFO: Processing buffer {"connection_id":55369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:40:14] local.INFO: IMEI packet received {"connection_id":55369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":55369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:40:15] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:15] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:15] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:40:16] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:16] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:40:16] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:40:19] local.INFO: TCP Data received {"connection_id":55369,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:40:19] local.INFO: Processing buffer {"connection_id":55369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:40:19] local.INFO: IMEI packet received {"connection_id":55369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":55369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:40:20] local.INFO: TCP Data received {"connection_id":55369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:40:20] local.INFO: Processing buffer {"connection_id":55369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc863f030012cb299c007822ce0004b001232..."} 
[2026-04-26 11:40:20] local.INFO: Packet analysis {"connection_id":55369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:40:20] local.INFO: Extracted packet for processing {"connection_id":55369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc863"} 
[2026-04-26 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958895360001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183486000,"timestamp_ms":1777183486000,"timestamp_seconds":1777183486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc863f030"} 
[2026-04-26 11:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 11:40: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-04-26 11:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:40:20] 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-04-26 11:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958895360001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958895360001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:40:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958895360001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":55369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:40:20] local.INFO: GPS data processed {"connection_id":55369,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:40:20] local.INFO: Acknowledgment sent {"connection_id":55369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:40:40] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:40:40] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:40:40] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:40:51] local.INFO: TCP Data received {"connection_id":55369,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:40:51] local.INFO: Processing buffer {"connection_id":55369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:40:51] local.INFO: Packet analysis {"connection_id":55369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:40:51] local.INFO: Extracted packet for processing {"connection_id":55369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11: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-04-26 11: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-04-26 11:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:40:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":55369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:40:51] local.INFO: GPS data processed {"connection_id":55369,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:40:51] local.INFO: Acknowledgment sent {"connection_id":55369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:41:14] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:41:14] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:41:14] local.INFO: IMEI packet received {"connection_id":54437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":54437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:41:19] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:41:19] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:41:19] local.INFO: IMEI packet received {"connection_id":54437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":54437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:41:20] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:41:20] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:41:20] local.INFO: Packet analysis {"connection_id":54437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:41:20] local.INFO: Extracted packet for processing {"connection_id":54437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11: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-04-26 11: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-04-26 11:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:41:20] 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-04-26 11:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:41:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":54437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:41:20] local.INFO: GPS data processed {"connection_id":54437,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:41:20] local.INFO: Acknowledgment sent {"connection_id":54437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:41:51] local.INFO: TCP Data received {"connection_id":54437,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:41:51] local.INFO: Processing buffer {"connection_id":54437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:41:51] local.INFO: Packet analysis {"connection_id":54437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:41:51] local.INFO: Extracted packet for processing {"connection_id":54437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 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-04-26 11:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:41: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-04-26 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-04-26 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-04-26 11:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:41:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:41:51] local.INFO: GPS data processed {"connection_id":54437,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:41:51] local.INFO: Acknowledgment sent {"connection_id":54437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:42:14] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:42:14] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:42:14] local.INFO: IMEI packet received {"connection_id":54699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:42:19] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:42:19] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:42:19] local.INFO: IMEI packet received {"connection_id":54699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:42:20] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:42:20] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:42:20] local.INFO: Packet analysis {"connection_id":54699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:42:20] local.INFO: Extracted packet for processing {"connection_id":54699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:42: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-04-26 11: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-04-26 11:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:42:20] 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-04-26 11:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:42:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:42:20] local.INFO: GPS data processed {"connection_id":54699,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:42:20] local.INFO: Acknowledgment sent {"connection_id":54699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:42:51] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:42:51] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:42:51] local.INFO: Packet analysis {"connection_id":54699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:42:51] local.INFO: Extracted packet for processing {"connection_id":54699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:42: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-04-26 11: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-04-26 11:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:42:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:42:51] local.INFO: GPS data processed {"connection_id":54699,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:42:51] local.INFO: Acknowledgment sent {"connection_id":54699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:43:14] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:43:14] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:43:14] local.INFO: IMEI packet received {"connection_id":54629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":54629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:43:19] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:43:19] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:43:19] local.INFO: IMEI packet received {"connection_id":54629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":54629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:43:20] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:43:20] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:43:20] local.INFO: Packet analysis {"connection_id":54629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:43:20] local.INFO: Extracted packet for processing {"connection_id":54629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11: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-04-26 11: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-04-26 11:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:43:20] 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-04-26 11:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:43:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:43:20] local.INFO: GPS data processed {"connection_id":54629,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:43:20] local.INFO: Acknowledgment sent {"connection_id":54629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:43:51] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:43:51] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:43:51] local.INFO: Packet analysis {"connection_id":54629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:43:51] local.INFO: Extracted packet for processing {"connection_id":54629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11: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-04-26 11: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-04-26 11:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:43:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:43:51] local.INFO: GPS data processed {"connection_id":54629,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:43:51] local.INFO: Acknowledgment sent {"connection_id":54629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:44:14] local.INFO: TCP Data received {"connection_id":54700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:44:14] local.INFO: Processing buffer {"connection_id":54700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:44:14] local.INFO: IMEI packet received {"connection_id":54700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":54700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:44:19] local.INFO: TCP Data received {"connection_id":54700,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:44:19] local.INFO: Processing buffer {"connection_id":54700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:44:19] local.INFO: IMEI packet received {"connection_id":54700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:44:20] local.INFO: TCP Data received {"connection_id":54700,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:44:20] local.INFO: Processing buffer {"connection_id":54700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:44:20] local.INFO: Packet analysis {"connection_id":54700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:44:20] local.INFO: Extracted packet for processing {"connection_id":54700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11: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-04-26 11: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-04-26 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:44: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-04-26 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:44:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:44:20] local.INFO: GPS data processed {"connection_id":54700,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:44:20] local.INFO: Acknowledgment sent {"connection_id":54700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:44:51] local.INFO: TCP Data received {"connection_id":54700,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:44:51] local.INFO: Processing buffer {"connection_id":54700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:44:51] local.INFO: Packet analysis {"connection_id":54700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:44:51] local.INFO: Extracted packet for processing {"connection_id":54700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11: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-04-26 11: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-04-26 11:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:44:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:44:51] local.INFO: GPS data processed {"connection_id":54700,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:44:51] local.INFO: Acknowledgment sent {"connection_id":54700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:45:19] local.INFO: TCP Data received {"connection_id":55371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:45:19] local.INFO: Processing buffer {"connection_id":55371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:45:19] local.INFO: IMEI packet received {"connection_id":55371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":55371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:45:24] local.INFO: TCP Data received {"connection_id":55371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:45:24] local.INFO: Processing buffer {"connection_id":55371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:45:24] local.INFO: IMEI packet received {"connection_id":55371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":55371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:45:25] local.INFO: TCP Data received {"connection_id":55371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:45:25] local.INFO: Processing buffer {"connection_id":55371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86887f8012cb299c007822ce0004b001233..."} 
[2026-04-26 11:45:25] local.INFO: Packet analysis {"connection_id":55371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:45:25] local.INFO: Extracted packet for processing {"connection_id":55371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc868"} 
[2026-04-26 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":51,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454958972416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777183787000,"timestamp_ms":1777183787000,"timestamp_seconds":1777183787,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86887f8"} 
[2026-04-26 11:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:45: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-04-26 11:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454958972416001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454958972416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:45:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454958972416001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":55371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:45:25] local.INFO: GPS data processed {"connection_id":55371,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:45:25] local.INFO: Acknowledgment sent {"connection_id":55371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:45:40] local.INFO: TCP Data received {"connection_id":54630,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:45:40] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:45:40] local.INFO: IMEI packet received {"connection_id":54630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":54630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:45:52] local.INFO: TCP Data received {"connection_id":54630,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86c6058012d19b1000720ae40003100742b..."} 
[2026-04-26 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86c6058012d19b1000720ae40003100742b..."} 
[2026-04-26 11:45:52] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86c6058012d19b1000720ae40003100742b..."} 
[2026-04-26 11:45:52] local.INFO: Packet analysis {"connection_id":54630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86c"} 
[2026-04-26 11:45:52] local.INFO: Extracted packet for processing {"connection_id":54630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86c"} 
[2026-04-26 11:45:52] local.INFO: GPS Element Parsed {"raw_longitude":756658432,"raw_latitude":119582272,"longitude_deg":75.6658432,"latitude_deg":11.9582272,"altitude":49,"angle":116,"satellites":43,"speed":23,"hex_longitude":"2d19b100","hex_latitude":"0720ae40","is_valid_coordinates":true} 
[2026-04-26 11:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959113472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114725684647034880,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683788126208,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:52] 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-04-26 11:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777184039000,"timestamp_ms":1777184039000,"timestamp_seconds":1777184039,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86c6058"} 
[2026-04-26 11:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:45:52] 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-04-26 11:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 11:45:52] 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-04-26 11:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959113472001,"66":14428,"121":206,"28":31744,"24":23,"16":114725684647034880,"45":1850064683788126208},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959113472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114725684647034880,"km_value":114725684647034.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683788126208,"description":"Unknown IO ID 45"} 
[2026-04-26 11:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959113472001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1850064683788126208}} 
[2026-04-26 11:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:45:52] local.INFO: GPS data processed {"connection_id":54630,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:45:52] local.INFO: Acknowledgment sent {"connection_id":54630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:45:56] local.INFO: TCP Data received {"connection_id":55371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:45:56] local.INFO: Processing buffer {"connection_id":55371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:45:56] local.INFO: Packet analysis {"connection_id":55371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:45:56] local.INFO: Extracted packet for processing {"connection_id":55371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:45:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:45:56] 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-04-26 11: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-04-26 11:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:45: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-04-26 11:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:45:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:45:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":55371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:45:56] local.INFO: GPS data processed {"connection_id":55371,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:45:56] local.INFO: Acknowledgment sent {"connection_id":55371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:46:05] local.INFO: TCP Data received {"connection_id":54631,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:46:05] local.INFO: Processing buffer {"connection_id":54631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:46:05] local.INFO: IMEI packet received {"connection_id":54631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":54631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:46:12] local.INFO: TCP Data received {"connection_id":54701,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:12] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:12] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:46:14] local.INFO: TCP Data received {"connection_id":54701,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:14] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:14] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:46:14] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:46:14] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:46:14] local.INFO: IMEI packet received {"connection_id":54442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:46:17] local.INFO: TCP Data received {"connection_id":54701,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:17] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:46:17] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:46:19] local.INFO: TCP Data received {"connection_id":54701,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d6610012d1a1ac00720cf100035003e2b..."} 
[2026-04-26 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d6610012d1a1ac00720cf100035003e2b..."} 
[2026-04-26 11:46:19] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d6610012d1a1ac00720cf100035003e2b..."} 
[2026-04-26 11:46:19] local.INFO: Packet analysis {"connection_id":54701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:19] local.INFO: Extracted packet for processing {"connection_id":54701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756685504,"raw_latitude":119590672,"longitude_deg":75.6685504,"latitude_deg":11.9590672,"altitude":53,"angle":62,"satellites":43,"speed":23,"hex_longitude":"2d1a1ac0","hex_latitude":"0720cf10","is_valid_coordinates":true} 
[2026-04-26 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959130112001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114727179295653888,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878915868902561792,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] 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-04-26 11:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184106000,"timestamp_ms":1777184106000,"timestamp_seconds":1777184106,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d6610"} 
[2026-04-26 11:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:46:19] 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-04-26 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2532900864,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3362587752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13494137,"corrected_to":0} 
[2026-04-26 11:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1829773313,"corrected_to":0} 
[2026-04-26 11:46:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2997878834,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 11:46:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,151,157,74,45,192,194,50,43,10,66,31,180,49,23,128,1,240,246,200,32,4,113,205,8,220,42,239,54,2,7,25],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":246,"original":13494137,"validated":0},{"io_id":200,"original":1829773313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 11:46:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3674981461084930048,"timestamp_seconds":3674981461084930.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959130112001,"66":13820,"121":206,"28":31744,"24":23,"16":114727179295653888,"45":1878915868902561792},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959130112001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:46:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114727179295653888,"km_value":114727179295653.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878915868902561792,"description":"Unknown IO ID 45"} 
[2026-04-26 11:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959130112001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1878915868902561792}} 
[2026-04-26 11:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":54701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:46:19] local.INFO: GPS data processed {"connection_id":54701,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:46:19] local.INFO: Acknowledgment sent {"connection_id":54701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:46:19] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:46:19] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:46:19] local.INFO: IMEI packet received {"connection_id":54442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":54442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:46:20] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:46:20] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:46:20] local.INFO: Packet analysis {"connection_id":54442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:20] local.INFO: Extracted packet for processing {"connection_id":54442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:46: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-04-26 11:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:46:20] 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-04-26 11:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:46:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":54442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:46:20] local.INFO: GPS data processed {"connection_id":54442,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:46:20] local.INFO: Acknowledgment sent {"connection_id":54442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:46:40] local.INFO: TCP Data received {"connection_id":54702,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:46:40] local.INFO: Processing buffer {"connection_id":54702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:46:40] local.INFO: IMEI packet received {"connection_id":54702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":54702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:46:50] local.INFO: TCP Data received {"connection_id":54701,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d8550012d1a2c000720d8b80038002d2b..."} 
[2026-04-26 11:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d8550012d1a2c000720d8b80038002d2b..."} 
[2026-04-26 11:46:50] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d8550012d1a2c000720d8b80038002d2b..."} 
[2026-04-26 11:46:50] local.INFO: Packet analysis {"connection_id":54701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:50] local.INFO: Extracted packet for processing {"connection_id":54701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756689920,"raw_latitude":119593144,"longitude_deg":75.668992,"latitude_deg":11.9593144,"altitude":56,"angle":45,"satellites":43,"speed":27,"hex_longitude":"2d1a2c00","hex_latitude":"0720d8b8","is_valid_coordinates":true} 
[2026-04-26 11:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959131136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114727419813822464,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881026931228348416,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:50] 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-04-26 11:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777184114000,"timestamp_ms":1777184114000,"timestamp_seconds":1777184114,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d8550"} 
[2026-04-26 11:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:46:50] 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-04-26 11:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 11:46: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-04-26 11:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959131136001,"66":13798,"121":206,"28":31744,"24":27,"16":114727419813822464,"45":1881026931228348416},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959131136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:46:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:46:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114727419813822464,"km_value":114727419813822.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881026931228348416,"description":"Unknown IO ID 45"} 
[2026-04-26 11:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959131136001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1881026931228348416}} 
[2026-04-26 11:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":54701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:46:50] local.INFO: GPS data processed {"connection_id":54701,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:46:50] local.INFO: Acknowledgment sent {"connection_id":54701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:46:51] local.INFO: TCP Data received {"connection_id":54442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:46:51] local.INFO: Processing buffer {"connection_id":54442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:46:51] local.INFO: Packet analysis {"connection_id":54442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:51] local.INFO: Extracted packet for processing {"connection_id":54442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:46: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-04-26 11:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:46:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":54442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:46:51] local.INFO: GPS data processed {"connection_id":54442,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:46:51] local.INFO: Acknowledgment sent {"connection_id":54442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:47:12] local.INFO: TCP Data received {"connection_id":54703,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:47:12] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:47:12] local.INFO: IMEI packet received {"connection_id":54703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":54703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:47:14] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:47:14] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:47:14] local.INFO: IMEI packet received {"connection_id":54632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":54632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:47:18] local.INFO: TCP Data received {"connection_id":54703,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:47:18] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:47:18] local.INFO: IMEI packet received {"connection_id":54703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":54703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:47:19] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:47:19] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:47:19] local.INFO: IMEI packet received {"connection_id":54632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":54632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:47:20] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:47:20] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:47:20] local.INFO: Packet analysis {"connection_id":54632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:47:20] local.INFO: Extracted packet for processing {"connection_id":54632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:47: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-04-26 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:47:20] 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-04-26 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":54632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:47:20] local.INFO: GPS data processed {"connection_id":54632,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:47:20] local.INFO: Acknowledgment sent {"connection_id":54632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:47:20] local.INFO: TCP Data received {"connection_id":54703,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86e7f50012d1a6bc00720d198003f00af29..."} 
[2026-04-26 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86e7f50012d1a6bc00720d198003f00af29..."} 
[2026-04-26 11:47:20] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86e7f50012d1a6bc00720d198003f00af29..."} 
[2026-04-26 11:47:20] local.INFO: Packet analysis {"connection_id":54703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:47:20] local.INFO: Extracted packet for processing {"connection_id":54703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756706240,"raw_latitude":119591320,"longitude_deg":75.670624,"latitude_deg":11.959132,"altitude":63,"angle":175,"satellites":41,"speed":10,"hex_longitude":"2d1a6bc0","hex_latitude":"0720d198","is_valid_coordinates":true} 
[2026-04-26 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959149312001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728622404665344,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035597971456,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:20] 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-04-26 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184178000,"timestamp_ms":1777184178000,"timestamp_seconds":1777184178,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86e7f50"} 
[2026-04-26 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:47:20] 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-04-26 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 11:47:20] 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-04-26 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959149312001,"66":14428,"121":206,"28":31744,"24":10,"16":114728622404665344,"45":1903756035597971456},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959149312001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728622404665344,"km_value":114728622404665.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035597971456,"description":"Unknown IO ID 45"} 
[2026-04-26 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959149312001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1903756035597971456}} 
[2026-04-26 11:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:47:21] local.INFO: GPS data processed {"connection_id":54703,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:47:21] local.INFO: Acknowledgment sent {"connection_id":54703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:47:51] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:47:51] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:47:51] local.INFO: Packet analysis {"connection_id":54632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:47:51] local.INFO: Extracted packet for processing {"connection_id":54632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:47: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-04-26 11:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:47:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":54632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:47:51] local.INFO: GPS data processed {"connection_id":54632,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:47:51] local.INFO: Acknowledgment sent {"connection_id":54632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:47:52] local.INFO: TCP Data received {"connection_id":54703,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86e8338012d1a6bc00720d090003f00c42a..."} 
[2026-04-26 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86e8338012d1a6bc00720d090003f00c42a..."} 
[2026-04-26 11:47:52] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86e8338012d1a6bc00720d090003f00c42a..."} 
[2026-04-26 11:47:52] local.INFO: Packet analysis {"connection_id":54703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:47:52] local.INFO: Extracted packet for processing {"connection_id":54703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:47:52] local.INFO: GPS Element Parsed {"raw_longitude":756706240,"raw_latitude":119591056,"longitude_deg":75.670624,"latitude_deg":11.9591056,"altitude":63,"angle":196,"satellites":42,"speed":10,"hex_longitude":"2d1a6bc0","hex_latitude":"0720d090","is_valid_coordinates":true} 
[2026-04-26 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959149568001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728635289567232,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903826404342077440,"note":"Value kept but may cause issues"} 
[2026-04-26 11:47:52] 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-04-26 11:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777184179000,"timestamp_ms":1777184179000,"timestamp_seconds":1777184179,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86e8338"} 
[2026-04-26 11:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:47:52] 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-04-26 11:47:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 11:47:52] 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-04-26 11:47:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:47:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959149568001,"66":14428,"121":206,"28":31744,"24":10,"16":114728635289567232,"45":1903826404342077440},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959149568001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:47:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:47:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728635289567232,"km_value":114728635289567.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903826404342077440,"description":"Unknown IO ID 45"} 
[2026-04-26 11:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959149568001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1903826404342077440}} 
[2026-04-26 11:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":54703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:47:52] local.INFO: GPS data processed {"connection_id":54703,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:47:52] local.INFO: Acknowledgment sent {"connection_id":54703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:48:14] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:48:14] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:48:14] local.INFO: IMEI packet received {"connection_id":54633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":54633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:48:18] local.INFO: TCP Data received {"connection_id":55372,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:48:18] local.INFO: Processing buffer {"connection_id":55372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:48:18] local.INFO: IMEI packet received {"connection_id":55372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":55372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:48:19] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:48:19] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:48:19] local.INFO: IMEI packet received {"connection_id":54633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":54633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:48:20] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:48:20] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:48:20] local.INFO: Packet analysis {"connection_id":54633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:48:20] local.INFO: Extracted packet for processing {"connection_id":54633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:48: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-04-26 11: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-04-26 11:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:48:20] 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-04-26 11:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:48:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":54633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:48:20] local.INFO: GPS data processed {"connection_id":54633,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:48:20] local.INFO: Acknowledgment sent {"connection_id":54633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:48:23] local.INFO: TCP Data received {"connection_id":55372,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:48:23] local.INFO: Processing buffer {"connection_id":55372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:48:23] local.INFO: IMEI packet received {"connection_id":55372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":55372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:48:24] local.INFO: TCP Data received {"connection_id":55372,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86ed540012d1a69000720bf60004000bf2d..."} 
[2026-04-26 11:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86ed540012d1a69000720bf60004000bf2d..."} 
[2026-04-26 11:48:24] local.INFO: Processing buffer {"connection_id":55372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86ed540012d1a69000720bf60004000bf2d..."} 
[2026-04-26 11:48:24] local.INFO: Packet analysis {"connection_id":55372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:48:24] local.INFO: Extracted packet for processing {"connection_id":55372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756705536,"raw_latitude":119586656,"longitude_deg":75.6705536,"latitude_deg":11.9586656,"altitude":64,"angle":191,"satellites":45,"speed":7,"hex_longitude":"2d1a6900","hex_latitude":"0720bf60","is_valid_coordinates":true} 
[2026-04-26 11:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959149824001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728854332899328,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903826404342009856,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:24] 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-04-26 11:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777184200000,"timestamp_ms":1777184200000,"timestamp_seconds":1777184200,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86ed540"} 
[2026-04-26 11:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:48:24] 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-04-26 11:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 11:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959149824001,"66":13580,"121":206,"28":31744,"24":7,"16":114728854332899328,"45":1903826404342009856},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959149824001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:48:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:48:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728854332899328,"km_value":114728854332899.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903826404342009856,"description":"Unknown IO ID 45"} 
[2026-04-26 11:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959149824001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1903826404342009856}} 
[2026-04-26 11:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":55372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:48:24] local.INFO: GPS data processed {"connection_id":55372,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:48:24] local.INFO: Acknowledgment sent {"connection_id":55372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:48:51] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:48:51] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:48:51] local.INFO: Packet analysis {"connection_id":54633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:48:51] local.INFO: Extracted packet for processing {"connection_id":54633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:48: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-04-26 11: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-04-26 11:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:48:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":54633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:48:51] local.INFO: GPS data processed {"connection_id":54633,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:48:51] local.INFO: Acknowledgment sent {"connection_id":54633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:48:56] local.INFO: TCP Data received {"connection_id":55372,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86eecb0012d1a69400720bbc8003f00b32d..."} 
[2026-04-26 11:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86eecb0012d1a69400720bbc8003f00b32d..."} 
[2026-04-26 11:48:56] local.INFO: Processing buffer {"connection_id":55372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86eecb0012d1a69400720bbc8003f00b32d..."} 
[2026-04-26 11:48:56] local.INFO: Packet analysis {"connection_id":55372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:48:56] local.INFO: Extracted packet for processing {"connection_id":55372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:48:56] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119585736,"longitude_deg":75.67056,"latitude_deg":11.9585736,"altitude":63,"angle":179,"satellites":45,"speed":5,"hex_longitude":"2d1a6940","hex_latitude":"0720bbc8","is_valid_coordinates":true} 
[2026-04-26 11:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959155200001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728901577539584,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348154929152,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] 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-04-26 11:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777184206000,"timestamp_ms":1777184206000,"timestamp_seconds":1777184206,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86eecb0"} 
[2026-04-26 11:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:48:56] 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-04-26 11:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867890072,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3362663752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7523058668359647232,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1851021313,"corrected_to":0} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3739746366,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636842363381625,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":76,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221692641,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2564227072,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":26,"raw_value":4953967428193222718,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":56,"raw_value":1153147898658082332,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-04-26 11:48:56] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,153,157,131,45,192,208,63,42,10,66,127,209,41,123,128,1,240,200,32,4,113,205,17,76,94,160,239,54,2,151,7,61,26,56,124],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":200,"original":1851021313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 11:48:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611896218422280192,"timestamp_seconds":4611896218422280.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959155200001,"66":13961,"121":206,"28":31744,"24":5,"16":114728901577539584,"45":1903052348154929152},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959155200001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:48:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:48:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728901577539584,"km_value":114728901577539.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348154929152,"description":"Unknown IO ID 45"} 
[2026-04-26 11:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959155200001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1903052348154929152}} 
[2026-04-26 11:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":55372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:48:56] local.INFO: GPS data processed {"connection_id":55372,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:48:56] local.INFO: Acknowledgment sent {"connection_id":55372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:49:13] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:13] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:13] local.INFO: IMEI packet received {"connection_id":54635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":54635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:49:14] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:14] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:14] local.INFO: IMEI packet received {"connection_id":54635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:49:18] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:18] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:49:18] local.INFO: IMEI packet received {"connection_id":54635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":54635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:49:19] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86efc50012d1a68800720b9d8003f00fc2d..."} 
[2026-04-26 11:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86efc50012d1a68800720b9d8003f00fc2d..."} 
[2026-04-26 11:49:19] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86efc50012d1a68800720b9d8003f00fc2d..."} 
[2026-04-26 11:49:19] local.INFO: Packet analysis {"connection_id":54635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:49:19] local.INFO: Extracted packet for processing {"connection_id":54635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86e"} 
[2026-04-26 11:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756705408,"raw_latitude":119585240,"longitude_deg":75.6705408,"latitude_deg":11.958524,"altitude":63,"angle":252,"satellites":45,"speed":5,"hex_longitude":"2d1a6880","hex_latitude":"0720b9d8","is_valid_coordinates":true} 
[2026-04-26 11:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959156736001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728927347343360,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716898871296,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:19] 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-04-26 11:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184210000,"timestamp_ms":1777184210000,"timestamp_seconds":1777184210,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86efc50"} 
[2026-04-26 11:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:49:19] 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-04-26 11:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 11:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959156736001,"66":13820,"121":206,"28":31744,"24":5,"16":114728927347343360,"45":1903122716898871296},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959156736001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:49:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:49:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728927347343360,"km_value":114728927347343.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716898871296,"description":"Unknown IO ID 45"} 
[2026-04-26 11:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959156736001,"power":13820,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1903122716898871296}} 
[2026-04-26 11:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":54635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:49:19] local.INFO: GPS data processed {"connection_id":54635,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:49:19] local.INFO: Acknowledgment sent {"connection_id":54635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:49:19] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:49:19] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:49:19] local.INFO: IMEI packet received {"connection_id":54636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:49:23] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86f4e58012d1a69c00720b860003f00fc2c..."} 
[2026-04-26 11:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86f4e58012d1a69c00720b860003f00fc2c..."} 
[2026-04-26 11:49:23] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86f4e58012d1a69c00720b860003f00fc2c..."} 
[2026-04-26 11:49:23] local.INFO: Packet analysis {"connection_id":54635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86f"} 
[2026-04-26 11:49:23] local.INFO: Extracted packet for processing {"connection_id":54635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86f"} 
[2026-04-26 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584864,"longitude_deg":75.6705728,"latitude_deg":11.9584864,"altitude":63,"angle":252,"satellites":44,"speed":0,"hex_longitude":"2d1a69c0","hex_latitude":"0720b860","is_valid_coordinates":true} 
[2026-04-26 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959157760001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728974591983616,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902911610666211328,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777184231000,"timestamp_ms":1777184231000,"timestamp_seconds":1777184231,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86f4e58"} 
[2026-04-26 11:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:49:23] 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-04-26 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 11:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959157760001,"66":13852,"70":206,"28":31744,"24":0,"16":114728974591983616,"45":1902911610666211328},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-26 11:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959157760001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:49:23] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-26 11:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728974591983616,"km_value":114728974591983.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902911610666211328,"description":"Unknown IO ID 45"} 
[2026-04-26 11:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959157760001,"power":13852,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1902911610666211328}} 
[2026-04-26 11:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":54635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:49:24] local.INFO: GPS data processed {"connection_id":54635,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:49:24] local.INFO: Acknowledgment sent {"connection_id":54635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:49:24] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:49:24] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:49:24] local.INFO: IMEI packet received {"connection_id":54636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":54636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:49:25] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:49:25] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:49:25] local.INFO: Packet analysis {"connection_id":54636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:49:25] local.INFO: Extracted packet for processing {"connection_id":54636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:49:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:49:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:49:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:49:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:49:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:49:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:49:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:49:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:49:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:49:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:49:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:49:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:49: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-04-26 11:49:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:49:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:49:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:49:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:49:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:49:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:49:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:49:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:49:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:49:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:49:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:49:25] local.INFO: DEBUG: GPS processor result {"connection_id":54636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:49:25] local.INFO: GPS data processed {"connection_id":54636,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:49:25] local.INFO: Acknowledgment sent {"connection_id":54636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:49:30] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:49:30] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:49:30] local.INFO: Packet analysis {"connection_id":54636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:49:30] local.INFO: Extracted packet for processing {"connection_id":54636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:49:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":54636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:49:30] local.INFO: GPS data processed {"connection_id":54636,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:49:30] local.INFO: Acknowledgment sent {"connection_id":54636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:50:05] local.INFO: TCP Data received {"connection_id":54635,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86fa060012d1a69c00720b860003f00fc29..."} 
[2026-04-26 11:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86fa060012d1a69c00720b860003f00fc29..."} 
[2026-04-26 11:50:05] local.INFO: Processing buffer {"connection_id":54635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86fa060012d1a69c00720b860003f00fc29..."} 
[2026-04-26 11:50:05] local.INFO: Packet analysis {"connection_id":54635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86f"} 
[2026-04-26 11:50:05] local.INFO: Extracted packet for processing {"connection_id":54635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86f"} 
[2026-04-26 11:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584864,"longitude_deg":75.6705728,"latitude_deg":11.9584864,"altitude":63,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d1a69c0","hex_latitude":"0720b860","is_valid_coordinates":true} 
[2026-04-26 11:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959163136001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728974591983616,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454387003392,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:05] 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-04-26 11:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777184252000,"timestamp_ms":1777184252000,"timestamp_seconds":1777184252,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86fa060"} 
[2026-04-26 11:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:50:05] 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-04-26 11:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 11:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959163136001,"66":13798,"121":206,"28":31744,"24":0,"16":114728974591983616,"45":1903263454387003392},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959163136001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728974591983616,"km_value":114728974591983.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454387003392,"description":"Unknown IO ID 45"} 
[2026-04-26 11:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959163136001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903263454387003392}} 
[2026-04-26 11:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":54635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:50:05] local.INFO: GPS data processed {"connection_id":54635,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:50:05] local.INFO: Acknowledgment sent {"connection_id":54635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:50:12] local.INFO: TCP Data received {"connection_id":54637,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:12] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:12] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:50:14] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:50:14] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:50:14] local.INFO: IMEI packet received {"connection_id":54445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":54445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:50:17] local.INFO: TCP Data received {"connection_id":54637,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:17] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:17] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:50:18] local.INFO: TCP Data received {"connection_id":54637,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:18] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:50:18] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:50:19] local.INFO: TCP Data received {"connection_id":54637,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86ff268012d1a69c00720b860003f00fc2d..."} 
[2026-04-26 11:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86ff268012d1a69c00720b860003f00fc2d..."} 
[2026-04-26 11:50:19] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86ff268012d1a69c00720b860003f00fc2d..."} 
[2026-04-26 11:50:19] local.INFO: Packet analysis {"connection_id":54637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86f"} 
[2026-04-26 11:50:19] local.INFO: Extracted packet for processing {"connection_id":54637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86f"} 
[2026-04-26 11:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584864,"longitude_deg":75.6705728,"latitude_deg":11.9584864,"altitude":63,"angle":252,"satellites":45,"speed":0,"hex_longitude":"2d1a69c0","hex_latitude":"0720b860","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959168512001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728974591983616,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454387003392,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:19] 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-04-26 11:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184273000,"timestamp_ms":1777184273000,"timestamp_seconds":1777184273,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86ff268"} 
[2026-04-26 11:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:50:19] 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-04-26 11: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 11:50:19] 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-04-26 11: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-04-26 11:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959168512001,"66":13656,"121":206,"28":31744,"24":0,"16":114728974591983616,"45":1903263454387003392},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959168512001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:50:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:50:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728974591983616,"km_value":114728974591983.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454387003392,"description":"Unknown IO ID 45"} 
[2026-04-26 11:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959168512001,"power":13656,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903263454387003392}} 
[2026-04-26 11:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":54637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:50:19] local.INFO: GPS data processed {"connection_id":54637,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:50:19] local.INFO: Acknowledgment sent {"connection_id":54637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:50:19] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:50:19] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:50:19] local.INFO: IMEI packet received {"connection_id":54445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:50:20] local.INFO: TCP Data received {"connection_id":54637,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8704470012d1a69c00720b860003f00fc2a..."} 
[2026-04-26 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8704470012d1a69c00720b860003f00fc2a..."} 
[2026-04-26 11:50:20] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8704470012d1a69c00720b860003f00fc2a..."} 
[2026-04-26 11:50:20] local.INFO: Packet analysis {"connection_id":54637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc870"} 
[2026-04-26 11:50:20] local.INFO: Extracted packet for processing {"connection_id":54637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc870"} 
[2026-04-26 11:50:20] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119584864,"longitude_deg":75.6705728,"latitude_deg":11.9584864,"altitude":63,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d1a69c0","hex_latitude":"0720b860","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959173888001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114728974591983616,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454387003392,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:20] 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-04-26 11:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184294000,"timestamp_ms":1777184294000,"timestamp_seconds":1777184294,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8704470"} 
[2026-04-26 11:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:50:20] 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-04-26 11: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 11:50: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-04-26 11: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-04-26 11:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959173888001,"66":14265,"121":206,"28":31744,"24":0,"16":114728974591983616,"45":1903263454387003392},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959173888001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114728974591983616,"km_value":114728974591983.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454387003392,"description":"Unknown IO ID 45"} 
[2026-04-26 11:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959173888001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903263454387003392}} 
[2026-04-26 11:50:20] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:50:20] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc86d1fc0012cb299c007822ce0004d001232..."} 
[2026-04-26 11:50:20] local.INFO: Packet analysis {"connection_id":54445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:50:20] local.INFO: Extracted packet for processing {"connection_id":54445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc86d"} 
[2026-04-26 11:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959049472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184088000,"timestamp_ms":1777184088000,"timestamp_seconds":1777184088,"priority":1,"record_length":96,"hex_timestamp":"0000019dc86d1fc0"} 
[2026-04-26 11:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:50: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-04-26 11: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-04-26 11:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:50:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959049472001,"66":24223,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959049472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959049472001,"power":24223,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":54445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:50:20] local.INFO: GPS data processed {"connection_id":54445,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:50:20] local.INFO: Acknowledgment sent {"connection_id":54445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":54637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:50:20] local.INFO: GPS data processed {"connection_id":54637,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:50:20] local.INFO: Acknowledgment sent {"connection_id":54637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:50:51] local.INFO: TCP Data received {"connection_id":54445,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:50:51] local.INFO: Processing buffer {"connection_id":54445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:50:51] local.INFO: Packet analysis {"connection_id":54445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:50:51] local.INFO: Extracted packet for processing {"connection_id":54445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:50:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":54445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:50:51] local.INFO: GPS data processed {"connection_id":54445,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:50:51] local.INFO: Acknowledgment sent {"connection_id":54445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:50:52] local.INFO: TCP Data received {"connection_id":54637,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871e668012d1a38c00720eee0004100ca2c..."} 
[2026-04-26 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871e668012d1a38c00720eee0004100ca2c..."} 
[2026-04-26 11:50:52] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871e668012d1a38c00720eee0004100ca2c..."} 
[2026-04-26 11:50:52] local.INFO: Packet analysis {"connection_id":54637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:50:52] local.INFO: Extracted packet for processing {"connection_id":54637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756693184,"raw_latitude":119598816,"longitude_deg":75.6693184,"latitude_deg":11.9598816,"altitude":65,"angle":202,"satellites":44,"speed":24,"hex_longitude":"2d1a38c0","hex_latitude":"0720eee0","is_valid_coordinates":true} 
[2026-04-26 11:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959205888001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114730151413022720,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890315605462198272,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] 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-04-26 11:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777184401000,"timestamp_ms":1777184401000,"timestamp_seconds":1777184401,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871e668"} 
[2026-04-26 11:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:50:52] 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-04-26 11:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942126511,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505350267404288,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3362895752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147950834,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1908877313,"corrected_to":0} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4114612293,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2588737536,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84752863456600303,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.WARNING: Large IO value detected {"io_id":40,"raw_value":19422989590205184,"note":"Value kept but may cause issues"} 
[2026-04-26 11:50:52] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,154,157,214,45,192,244,68,10,66,210,128,245,46,206,1,240,252,200,32,4,113,205,7,187,104,239,55,2,151,69,19,184,40],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":200,"original":1908877313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 11:50:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900152982853582848,"timestamp_seconds":4900152982853583.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959205888001,"66":13689,"121":206,"28":31744,"24":24,"16":114730151413022720,"45":1890315605462198272},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959205888001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:50:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:50:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114730151413022720,"km_value":114730151413022.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890315605462198272,"description":"Unknown IO ID 45"} 
[2026-04-26 11:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959205888001,"power":13689,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1890315605462198272}} 
[2026-04-26 11:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":54637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:50:53] local.INFO: GPS data processed {"connection_id":54637,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:50:53] local.INFO: Acknowledgment sent {"connection_id":54637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:51:14] local.INFO: TCP Data received {"connection_id":54705,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:51:14] local.INFO: Processing buffer {"connection_id":54705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:51:14] local.INFO: IMEI packet received {"connection_id":54705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":54705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:51:17] local.INFO: TCP Data received {"connection_id":54706,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:17] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:17] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:51:17] local.INFO: TCP Data received {"connection_id":54706,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:17] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:17] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:51:19] local.INFO: TCP Data received {"connection_id":54705,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:51:19] local.INFO: Processing buffer {"connection_id":54705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:51:19] local.INFO: IMEI packet received {"connection_id":54705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":54705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:51:20] local.INFO: TCP Data received {"connection_id":54705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:51:20] local.INFO: Processing buffer {"connection_id":54705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:51:20] local.INFO: Packet analysis {"connection_id":54705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:51:20] local.INFO: Extracted packet for processing {"connection_id":54705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:51:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":54705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:51:20] local.INFO: GPS data processed {"connection_id":54705,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:51:20] local.INFO: Acknowledgment sent {"connection_id":54705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:51:21] local.INFO: TCP Data received {"connection_id":54706,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:21] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:51:21] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:51:22] local.INFO: TCP Data received {"connection_id":54706,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8720990012d1a2d800720d7b8003f00dd2d..."} 
[2026-04-26 11:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8720990012d1a2d800720d7b8003f00dd2d..."} 
[2026-04-26 11:51:22] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8720990012d1a2d800720d7b8003f00dd2d..."} 
[2026-04-26 11:51:22] local.INFO: Packet analysis {"connection_id":54706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:51:22] local.INFO: Extracted packet for processing {"connection_id":54706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756690304,"raw_latitude":119592888,"longitude_deg":75.6690304,"latitude_deg":11.9592888,"altitude":63,"angle":221,"satellites":45,"speed":29,"hex_longitude":"2d1a2d80","hex_latitude":"0720d7b8","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959206656001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114730469240602624,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889471180531752960,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:22] 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-04-26 11:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777184410000,"timestamp_ms":1777184410000,"timestamp_seconds":1777184410,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8720990"} 
[2026-04-26 11:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:51:22] 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-04-26 11: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-26 11:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959206656001,"66":14494,"121":206,"28":31744,"24":29,"16":114730469240602624,"45":1889471180531752960},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959206656001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:51:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114730469240602624,"km_value":114730469240602.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889471180531752960,"description":"Unknown IO ID 45"} 
[2026-04-26 11:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959206656001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1889471180531752960}} 
[2026-04-26 11:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":54706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:51:22] local.INFO: GPS data processed {"connection_id":54706,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:51:22] local.INFO: Acknowledgment sent {"connection_id":54706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:51:23] local.INFO: TCP Data received {"connection_id":54706,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8721160012d1a28800720d418003e00ef2c..."} 
[2026-04-26 11:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8721160012d1a28800720d418003e00ef2c..."} 
[2026-04-26 11:51:23] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8721160012d1a28800720d418003e00ef2c..."} 
[2026-04-26 11:51:23] local.INFO: Packet analysis {"connection_id":54706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:51:23] local.INFO: Extracted packet for processing {"connection_id":54706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756689024,"raw_latitude":119591960,"longitude_deg":75.6689024,"latitude_deg":11.959196,"altitude":62,"angle":239,"satellites":44,"speed":30,"hex_longitude":"2d1a2880","hex_latitude":"0720d418","is_valid_coordinates":true} 
[2026-04-26 11:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959208960001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114730546550013952,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886304587042240512,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:23] 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-04-26 11:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777184412000,"timestamp_ms":1777184412000,"timestamp_seconds":1777184412,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8721160"} 
[2026-04-26 11:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:51:23] 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-04-26 11:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 11:51:23] 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-04-26 11:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959208960001,"66":14461,"121":206,"28":31744,"24":30,"16":114730546550013952,"45":1886304587042240512},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959208960001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:51:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:51:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114730546550013952,"km_value":114730546550013.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886304587042240512,"description":"Unknown IO ID 45"} 
[2026-04-26 11:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959208960001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1886304587042240512}} 
[2026-04-26 11:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":54706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:51:23] local.INFO: GPS data processed {"connection_id":54706,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:51:23] local.INFO: Acknowledgment sent {"connection_id":54706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:51:51] local.INFO: TCP Data received {"connection_id":54705,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:51:51] local.INFO: Processing buffer {"connection_id":54705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:51:51] local.INFO: Packet analysis {"connection_id":54705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:51:51] local.INFO: Extracted packet for processing {"connection_id":54705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 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-04-26 11:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 11:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:51:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":54705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:51:51] local.INFO: GPS data processed {"connection_id":54705,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:51:51] local.INFO: Acknowledgment sent {"connection_id":54705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:51:54] local.INFO: TCP Data received {"connection_id":54706,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87230a0012d1a15400720c8e8003900e12e..."} 
[2026-04-26 11:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87230a0012d1a15400720c8e8003900e12e..."} 
[2026-04-26 11:51:54] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87230a0012d1a15400720c8e8003900e12e..."} 
[2026-04-26 11:51:54] local.INFO: Packet analysis {"connection_id":54706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:51:54] local.INFO: Extracted packet for processing {"connection_id":54706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756684096,"raw_latitude":119589096,"longitude_deg":75.6684096,"latitude_deg":11.9589096,"altitude":57,"angle":225,"satellites":46,"speed":24,"hex_longitude":"2d1a1540","hex_latitude":"0720c8e8","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959209472001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114730817132953600,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884897212158449664,"note":"Value kept but may cause issues"} 
[2026-04-26 11:51:54] 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-04-26 11:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777184420000,"timestamp_ms":1777184420000,"timestamp_seconds":1777184420,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87230a0"} 
[2026-04-26 11:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:51:54] 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-04-26 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 11:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959209472001,"66":13928,"121":206,"28":31744,"24":24,"16":114730817132953600,"45":1884897212158449664},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959209472001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:51:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:51:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114730817132953600,"km_value":114730817132953.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884897212158449664,"description":"Unknown IO ID 45"} 
[2026-04-26 11:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959209472001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1884897212158449664}} 
[2026-04-26 11:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":54706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:51:54] local.INFO: GPS data processed {"connection_id":54706,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:51:54] local.INFO: Acknowledgment sent {"connection_id":54706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:52:00] local.INFO: TCP Data received {"connection_id":55373,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55373,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:52:00] local.INFO: Processing buffer {"connection_id":55373,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:52:00] local.INFO: IMEI packet received {"connection_id":55373,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":55373,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:52:13] local.INFO: TCP Data received {"connection_id":54638,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:52:13] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:52:13] local.INFO: IMEI packet received {"connection_id":54638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":54638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:52:14] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:52:14] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:52:14] local.INFO: IMEI packet received {"connection_id":54707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:52:18] local.INFO: TCP Data received {"connection_id":54638,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:52:18] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:52:18] local.INFO: IMEI packet received {"connection_id":54638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:52:19] local.INFO: TCP Data received {"connection_id":54638,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc872fbc0012d19a9800720afc80033011b2b..."} 
[2026-04-26 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc872fbc0012d19a9800720afc80033011b2b..."} 
[2026-04-26 11:52:19] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc872fbc0012d19a9800720afc80033011b2b..."} 
[2026-04-26 11:52:19] local.INFO: Packet analysis {"connection_id":54638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:52:19] local.INFO: Extracted packet for processing {"connection_id":54638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc872"} 
[2026-04-26 11:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582664,"longitude_deg":75.6656512,"latitude_deg":11.9582664,"altitude":51,"angle":283,"satellites":43,"speed":22,"hex_longitude":"2d19a980","hex_latitude":"0720afc8","is_valid_coordinates":true} 
[2026-04-26 11:52: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-04-26 11:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959222272001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732316076539904,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205665280,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:19] 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-04-26 11:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184472000,"timestamp_ms":1777184472000,"timestamp_seconds":1777184472,"priority":1,"record_length":96,"hex_timestamp":"0000019dc872fbc0"} 
[2026-04-26 11:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:52: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-04-26 11:52: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":24,"data_length":795,"current_offset":136} 
[2026-04-26 11:52:19] 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-04-26 11:52: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-04-26 11:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959222272001,"66":13048,"121":206,"28":31744,"24":22,"16":114732316076539904,"45":1854075702205665280},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959222272001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:52:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:52:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732316076539904,"km_value":114732316076539.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205665280,"description":"Unknown IO ID 45"} 
[2026-04-26 11:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959222272001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1854075702205665280}} 
[2026-04-26 11:52:19] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:52:19] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:52:19] local.INFO: IMEI packet received {"connection_id":54707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":54638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:52:19] local.INFO: GPS data processed {"connection_id":54638,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:52:19] local.INFO: Acknowledgment sent {"connection_id":54638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:52:20] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:52:20] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:52:20] local.INFO: Packet analysis {"connection_id":54707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:52:20] local.INFO: Extracted packet for processing {"connection_id":54707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:52:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":54707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:52:20] local.INFO: GPS data processed {"connection_id":54707,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:52:20] local.INFO: Acknowledgment sent {"connection_id":54707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:52:45] local.INFO: TCP Data received {"connection_id":54708,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:52:45] local.INFO: Processing buffer {"connection_id":54708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:52:45] local.INFO: IMEI packet received {"connection_id":54708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":54708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:52:51] local.INFO: TCP Data received {"connection_id":54638,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8732aa0012d198dc00720b3180035010c2d..."} 
[2026-04-26 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8732aa0012d198dc00720b3180035010c2d..."} 
[2026-04-26 11:52:51] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8732aa0012d198dc00720b3180035010c2d..."} 
[2026-04-26 11:52:51] local.INFO: Packet analysis {"connection_id":54638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:52:51] local.INFO: Extracted packet for processing {"connection_id":54638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756649408,"raw_latitude":119583512,"longitude_deg":75.6649408,"latitude_deg":11.9583512,"altitude":53,"angle":268,"satellites":45,"speed":12,"hex_longitude":"2d198dc0","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959224832001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732655378956288,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113816576,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:51] 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-04-26 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184484000,"timestamp_ms":1777184484000,"timestamp_seconds":1777184484,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8732aa0"} 
[2026-04-26 11:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:52: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-04-26 11: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 11:52:51] 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-04-26 11: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-04-26 11:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959224832001,"66":13015,"121":206,"28":31744,"24":12,"16":114732655378956288,"45":1849149890113816576},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959224832001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732655378956288,"km_value":114732655378956.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113816576,"description":"Unknown IO ID 45"} 
[2026-04-26 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959224832001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1849149890113816576}} 
[2026-04-26 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:52:51] local.INFO: GPS data processed {"connection_id":54638,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:52:51] local.INFO: Acknowledgment sent {"connection_id":54638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:52:51] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:52:51] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:52:51] local.INFO: Packet analysis {"connection_id":54707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:52:51] local.INFO: Extracted packet for processing {"connection_id":54707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:52:51] local.INFO: GPS data processed {"connection_id":54707,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:52:51] local.INFO: Acknowledgment sent {"connection_id":54707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:53:13] local.INFO: TCP Data received {"connection_id":54446,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:53:13] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:53:13] local.INFO: IMEI packet received {"connection_id":54446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":54446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:53:18] local.INFO: TCP Data received {"connection_id":54446,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:53:18] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:53:18] local.INFO: IMEI packet received {"connection_id":54446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":54446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:53:19] local.INFO: TCP Data received {"connection_id":54446,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8732e88012d198cc00720b2e8003500fd2d..."} 
[2026-04-26 11:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8732e88012d198cc00720b2e8003500fd2d..."} 
[2026-04-26 11:53:19] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8732e88012d198cc00720b2e8003500fd2d..."} 
[2026-04-26 11:53:19] local.INFO: Packet analysis {"connection_id":54446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:53:19] local.INFO: Extracted packet for processing {"connection_id":54446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583464,"longitude_deg":75.6649152,"latitude_deg":11.9583464,"altitude":53,"angle":253,"satellites":45,"speed":8,"hex_longitude":"2d198cc0","hex_latitude":"0720b2e8","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959227904001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732663968890880,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841338959510312960,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:19] 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-04-26 11:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184485000,"timestamp_ms":1777184485000,"timestamp_seconds":1777184485,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8732e88"} 
[2026-04-26 11:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:53: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-04-26 11:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 11:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959227904001,"66":13015,"121":206,"28":31744,"24":8,"16":114732663968890880,"45":1841338959510312960},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959227904001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:53:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732663968890880,"km_value":114732663968890.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841338959510312960,"description":"Unknown IO ID 45"} 
[2026-04-26 11:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959227904001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1841338959510312960}} 
[2026-04-26 11:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":54446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:53:19] local.INFO: GPS data processed {"connection_id":54446,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:53:19] local.INFO: Acknowledgment sent {"connection_id":54446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:53:19] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:53:19] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:53:19] local.INFO: IMEI packet received {"connection_id":54709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":54709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:53:24] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:53:24] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:53:24] local.INFO: IMEI packet received {"connection_id":54709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":54709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:53:25] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:53:25] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:53:25] local.INFO: Packet analysis {"connection_id":54709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:53:25] local.INFO: Extracted packet for processing {"connection_id":54709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:53:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:53:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":54709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:53:25] local.INFO: GPS data processed {"connection_id":54709,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:53:25] local.INFO: Acknowledgment sent {"connection_id":54709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:53:30] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:53:30] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:53:30] local.INFO: Packet analysis {"connection_id":54709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:53:30] local.INFO: Extracted packet for processing {"connection_id":54709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:53:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":54709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:53:30] local.INFO: GPS data processed {"connection_id":54709,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:53:30] local.INFO: Acknowledgment sent {"connection_id":54709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:53:50] local.INFO: TCP Data received {"connection_id":54446,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8738090012d198bc00720b230003501042a..."} 
[2026-04-26 11:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8738090012d198bc00720b230003501042a..."} 
[2026-04-26 11:53:50] local.INFO: Processing buffer {"connection_id":54446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8738090012d198bc00720b230003501042a..."} 
[2026-04-26 11:53:50] local.INFO: Packet analysis {"connection_id":54446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:53:50] local.INFO: Extracted packet for processing {"connection_id":54446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":42,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959228160001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484533590016,"note":"Value kept but may cause issues"} 
[2026-04-26 11:53:50] 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-04-26 11:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777184506000,"timestamp_ms":1777184506000,"timestamp_seconds":1777184506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8738090"} 
[2026-04-26 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-04-26 11:53:50] 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-04-26 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 11:53:50] 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-04-26 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-04-26 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-04-26 11:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959228160001,"66":13004,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1841057484533590016},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959228160001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:53:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:53:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484533590016,"description":"Unknown IO ID 45"} 
[2026-04-26 11:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959228160001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1841057484533590016}} 
[2026-04-26 11:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":54446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:53:50] local.INFO: GPS data processed {"connection_id":54446,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:53:50] local.INFO: Acknowledgment sent {"connection_id":54446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:54:12] local.INFO: TCP Data received {"connection_id":54710,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:54:12] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:54:12] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:54:14] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:54:14] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:54:14] local.INFO: IMEI packet received {"connection_id":54639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":54639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:54:18] local.INFO: TCP Data received {"connection_id":54710,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:54:18] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:54:18] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:54:19] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:54:19] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:54:19] local.INFO: IMEI packet received {"connection_id":54639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":54639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:54:19] local.INFO: TCP Data received {"connection_id":54710,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc873d298012d198bc00720b230003501042c..."} 
[2026-04-26 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc873d298012d198bc00720b230003501042c..."} 
[2026-04-26 11:54:19] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc873d298012d198bc00720b230003501042c..."} 
[2026-04-26 11:54:19] local.INFO: Packet analysis {"connection_id":54710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:54:19] local.INFO: Extracted packet for processing {"connection_id":54710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc873"} 
[2026-04-26 11:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959233536001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:19] 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-04-26 11:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184527000,"timestamp_ms":1777184527000,"timestamp_seconds":1777184527,"priority":1,"record_length":96,"hex_timestamp":"0000019dc873d298"} 
[2026-04-26 11:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-26 11:54: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-04-26 11: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-04-26 11:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959233536001,"66":12950,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959233536001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:54:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959233536001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":54710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:54:19] local.INFO: GPS data processed {"connection_id":54710,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:54:19] local.INFO: Acknowledgment sent {"connection_id":54710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:54:20] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:54:20] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:54:20] local.INFO: Packet analysis {"connection_id":54639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:54:20] local.INFO: Extracted packet for processing {"connection_id":54639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:54:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:54:20] local.INFO: GPS data processed {"connection_id":54639,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:54:20] local.INFO: Acknowledgment sent {"connection_id":54639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:54:51] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:54:51] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:54:51] local.INFO: Packet analysis {"connection_id":54639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:54:51] local.INFO: Extracted packet for processing {"connection_id":54639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:54:51] local.INFO: GPS data processed {"connection_id":54639,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:54:51] local.INFO: Acknowledgment sent {"connection_id":54639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:54:51] local.INFO: TCP Data received {"connection_id":54710,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87424a0012d198bc00720b230003501042c..."} 
[2026-04-26 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87424a0012d198bc00720b230003501042c..."} 
[2026-04-26 11:54:51] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87424a0012d198bc00720b230003501042c..."} 
[2026-04-26 11:54:51] local.INFO: Packet analysis {"connection_id":54710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc874"} 
[2026-04-26 11:54:51] local.INFO: Extracted packet for processing {"connection_id":54710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc874"} 
[2026-04-26 11:54:51] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959238912001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:54:51] 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-04-26 11:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184548000,"timestamp_ms":1777184548000,"timestamp_seconds":1777184548,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87424a0"} 
[2026-04-26 11:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:54: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-04-26 11: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 11:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959238912001,"66":12961,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959238912001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:54:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959238912001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:54:51] local.INFO: GPS data processed {"connection_id":54710,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:54:51] local.INFO: Acknowledgment sent {"connection_id":54710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:55:12] local.INFO: TCP Data received {"connection_id":55376,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:12] local.INFO: Processing buffer {"connection_id":55376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:12] local.INFO: IMEI packet received {"connection_id":55376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":55376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:55:12] local.INFO: TCP Data received {"connection_id":55376,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:12] local.INFO: Processing buffer {"connection_id":55376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:12] local.INFO: IMEI packet received {"connection_id":55376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":55376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:55:15] local.INFO: TCP Data received {"connection_id":54711,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:55:15] local.INFO: Processing buffer {"connection_id":54711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:55:15] local.INFO: IMEI packet received {"connection_id":54711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:55:18] local.INFO: TCP Data received {"connection_id":55376,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:18] local.INFO: Processing buffer {"connection_id":55376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:55:18] local.INFO: IMEI packet received {"connection_id":55376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":55376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:55:19] local.INFO: TCP Data received {"connection_id":55376,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87476a8012d198bc00720b230003501042b..."} 
[2026-04-26 11:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87476a8012d198bc00720b230003501042b..."} 
[2026-04-26 11:55:19] local.INFO: Processing buffer {"connection_id":55376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87476a8012d198bc00720b230003501042b..."} 
[2026-04-26 11:55:19] local.INFO: Packet analysis {"connection_id":55376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc874"} 
[2026-04-26 11:55:19] local.INFO: Extracted packet for processing {"connection_id":55376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc874"} 
[2026-04-26 11:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11:55: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-04-26 11:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959244288001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:19] 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-04-26 11:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184569000,"timestamp_ms":1777184569000,"timestamp_seconds":1777184569,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87476a8"} 
[2026-04-26 11:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:55: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-04-26 11:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-26 11:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:55: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-04-26 11:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959244288001,"66":12841,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959244288001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:55:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:55:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959244288001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":55376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:55:19] local.INFO: GPS data processed {"connection_id":55376,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:55:19] local.INFO: Acknowledgment sent {"connection_id":55376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:55:19] local.INFO: TCP Data received {"connection_id":54711,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:55:19] local.INFO: Processing buffer {"connection_id":54711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:55:19] local.INFO: IMEI packet received {"connection_id":54711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":54711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:55:20] local.INFO: TCP Data received {"connection_id":54711,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:55:20] local.INFO: Processing buffer {"connection_id":54711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc871b788012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:55:20] local.INFO: Packet analysis {"connection_id":54711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:55:20] local.INFO: Extracted packet for processing {"connection_id":54711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc871"} 
[2026-04-26 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959126528001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184389000,"timestamp_ms":1777184389000,"timestamp_seconds":1777184389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc871b788"} 
[2026-04-26 11:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 11:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959126528001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959126528001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:55:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959126528001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":54711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:55:20] local.INFO: GPS data processed {"connection_id":54711,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:55:20] local.INFO: Acknowledgment sent {"connection_id":54711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:55:51] local.INFO: TCP Data received {"connection_id":54711,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:55:51] local.INFO: Processing buffer {"connection_id":54711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:55:51] local.INFO: Packet analysis {"connection_id":54711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:55:51] local.INFO: Extracted packet for processing {"connection_id":54711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:55:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:55: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-04-26 11:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:55:51] local.INFO: GPS data processed {"connection_id":54711,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:55:51] local.INFO: Acknowledgment sent {"connection_id":54711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:55:51] local.INFO: TCP Data received {"connection_id":55376,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc874c8b0012d198bc00720b230003501042a..."} 
[2026-04-26 11:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc874c8b0012d198bc00720b230003501042a..."} 
[2026-04-26 11:55:51] local.INFO: Processing buffer {"connection_id":55376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc874c8b0012d198bc00720b230003501042a..."} 
[2026-04-26 11:55:51] local.INFO: Packet analysis {"connection_id":55376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc874"} 
[2026-04-26 11:55:51] local.INFO: Extracted packet for processing {"connection_id":55376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc874"} 
[2026-04-26 11:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":42,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959249664001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:55:51] 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-04-26 11:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184590000,"timestamp_ms":1777184590000,"timestamp_seconds":1777184590,"priority":1,"record_length":96,"hex_timestamp":"0000019dc874c8b0"} 
[2026-04-26 11:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 11:55:51] 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-04-26 11:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959249664001,"66":12917,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959249664001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959249664001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":55376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:55:51] local.INFO: GPS data processed {"connection_id":55376,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:55:51] local.INFO: Acknowledgment sent {"connection_id":55376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:56:14] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:56:14] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:56:14] local.INFO: IMEI packet received {"connection_id":54447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:56:19] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:56:19] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:56:19] local.INFO: IMEI packet received {"connection_id":54447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:56:20] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:56:20] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:56:20] local.INFO: Packet analysis {"connection_id":54447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:56:20] local.INFO: Extracted packet for processing {"connection_id":54447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:56: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-04-26 11:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:56: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-04-26 11:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:56:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:56:20] local.INFO: GPS data processed {"connection_id":54447,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:56:20] local.INFO: Acknowledgment sent {"connection_id":54447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:56:22] local.INFO: TCP Data received {"connection_id":55377,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:56:22] local.INFO: Processing buffer {"connection_id":55377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:56:22] local.INFO: IMEI packet received {"connection_id":55377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":55377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:56:28] local.INFO: TCP Data received {"connection_id":55377,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:56:28] local.INFO: Processing buffer {"connection_id":55377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:56:28] local.INFO: IMEI packet received {"connection_id":55377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":55377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:56:29] local.INFO: TCP Data received {"connection_id":55377,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8751ab8012d198bc00720b230003501042a..."} 
[2026-04-26 11:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8751ab8012d198bc00720b230003501042a..."} 
[2026-04-26 11:56:29] local.INFO: Processing buffer {"connection_id":55377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8751ab8012d198bc00720b230003501042a..."} 
[2026-04-26 11:56:29] local.INFO: Packet analysis {"connection_id":55377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc875"} 
[2026-04-26 11:56:29] local.INFO: Extracted packet for processing {"connection_id":55377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc875"} 
[2026-04-26 11:56:29] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":42,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959255040001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:29] 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-04-26 11:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777184611000,"timestamp_ms":1777184611000,"timestamp_seconds":1777184611,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8751ab8"} 
[2026-04-26 11:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-26 11:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959255040001,"66":12885,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959255040001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:56:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:56:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959255040001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":55377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:56:29] local.INFO: GPS data processed {"connection_id":55377,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:56:29] local.INFO: Acknowledgment sent {"connection_id":55377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:56:51] local.INFO: TCP Data received {"connection_id":54447,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:56:51] local.INFO: Processing buffer {"connection_id":54447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:56:51] local.INFO: Packet analysis {"connection_id":54447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:56:51] local.INFO: Extracted packet for processing {"connection_id":54447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:56: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-04-26 11:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:56: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-04-26 11:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:56:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":54447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:56:51] local.INFO: GPS data processed {"connection_id":54447,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:56:51] local.INFO: Acknowledgment sent {"connection_id":54447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:57:12] local.INFO: TCP Data received {"connection_id":54712,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:57:12] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:57:12] local.INFO: IMEI packet received {"connection_id":54712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":54712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:57:18] local.INFO: TCP Data received {"connection_id":54712,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:57:18] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:57:18] local.INFO: IMEI packet received {"connection_id":54712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":54712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:57:19] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:57:19] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:57:19] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:57:20] local.INFO: TCP Data received {"connection_id":54712,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8756cc0012d198bc00720b2300035010428..."} 
[2026-04-26 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8756cc0012d198bc00720b2300035010428..."} 
[2026-04-26 11:57:20] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8756cc0012d198bc00720b2300035010428..."} 
[2026-04-26 11:57:20] local.INFO: Packet analysis {"connection_id":54712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc875"} 
[2026-04-26 11:57:20] local.INFO: Extracted packet for processing {"connection_id":54712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc875"} 
[2026-04-26 11:57:20] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959260416001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:20] 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-04-26 11:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184632000,"timestamp_ms":1777184632000,"timestamp_seconds":1777184632,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8756cc0"} 
[2026-04-26 11:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 11:57:20] 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-04-26 11: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-04-26 11:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959260416001,"66":12852,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959260416001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:57:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:57:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959260416001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":54712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:57:20] local.INFO: GPS data processed {"connection_id":54712,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:57:20] local.INFO: Acknowledgment sent {"connection_id":54712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:57:24] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:57:24] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:57:24] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:57:25] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:57:25] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:57:25] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:57:25] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:57:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:57:25] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:57:25] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:57:30] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:57:30] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:57:30] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:57:30] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 11:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 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-04-26 11:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 11:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:57:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:57:30] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:57:30] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:57:52] local.INFO: TCP Data received {"connection_id":54712,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc875bec8012d198bc00720b2300035010428..."} 
[2026-04-26 11:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc875bec8012d198bc00720b2300035010428..."} 
[2026-04-26 11:57:52] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc875bec8012d198bc00720b2300035010428..."} 
[2026-04-26 11:57:52] local.INFO: Packet analysis {"connection_id":54712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc875"} 
[2026-04-26 11:57:52] local.INFO: Extracted packet for processing {"connection_id":54712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc875"} 
[2026-04-26 11:57:52] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":40,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959265792001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:57:52] 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-04-26 11:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777184653000,"timestamp_ms":1777184653000,"timestamp_seconds":1777184653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc875bec8"} 
[2026-04-26 11:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:57:52] 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-04-26 11:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 11:57:52] 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-04-26 11:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:57:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959265792001,"66":12841,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959265792001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:57:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:57:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:57:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959265792001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":54712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:57:52] local.INFO: GPS data processed {"connection_id":54712,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:57:52] local.INFO: Acknowledgment sent {"connection_id":54712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:58:00] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:58:00] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:58:00] local.INFO: IMEI packet received {"connection_id":54642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":54642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:58:14] local.INFO: TCP Data received {"connection_id":54449,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:58:14] local.INFO: Processing buffer {"connection_id":54449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:58:14] local.INFO: IMEI packet received {"connection_id":54449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":54449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:58:17] local.INFO: TCP Data received {"connection_id":54450,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:58:17] local.INFO: Processing buffer {"connection_id":54450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:58:17] local.INFO: IMEI packet received {"connection_id":54450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":54450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:58:19] local.INFO: TCP Data received {"connection_id":54449,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:58:19] local.INFO: Processing buffer {"connection_id":54449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:58:19] local.INFO: IMEI packet received {"connection_id":54449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":54449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:58:20] local.INFO: TCP Data received {"connection_id":54449,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:58:20] local.INFO: Processing buffer {"connection_id":54449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:58:20] local.INFO: Packet analysis {"connection_id":54449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:20] local.INFO: Extracted packet for processing {"connection_id":54449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:58: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-04-26 11:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:58:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":54449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:58:20] local.INFO: GPS data processed {"connection_id":54449,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:58:20] local.INFO: Acknowledgment sent {"connection_id":54449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:58:21] local.INFO: TCP Data received {"connection_id":54450,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:58:21] local.INFO: Processing buffer {"connection_id":54450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:58:21] local.INFO: IMEI packet received {"connection_id":54450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":54450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:58:23] local.INFO: TCP Data received {"connection_id":54450,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87610d0012d198bc00720b230003501042b..."} 
[2026-04-26 11:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87610d0012d198bc00720b230003501042b..."} 
[2026-04-26 11:58:23] local.INFO: Processing buffer {"connection_id":54450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87610d0012d198bc00720b230003501042b..."} 
[2026-04-26 11:58:23] local.INFO: Packet analysis {"connection_id":54450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:23] local.INFO: Extracted packet for processing {"connection_id":54450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":43,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959271168001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:23] 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-04-26 11:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777184674000,"timestamp_ms":1777184674000,"timestamp_seconds":1777184674,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87610d0"} 
[2026-04-26 11:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 11:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 11:58:23] 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-04-26 11:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959271168001,"66":12819,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959271168001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:58:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:58:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959271168001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":54450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:58:23] local.INFO: GPS data processed {"connection_id":54450,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:58:23] local.INFO: Acknowledgment sent {"connection_id":54450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:58:28] local.INFO: TCP Data received {"connection_id":54450,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87662d8012d198bc00720b230003501042c..."} 
[2026-04-26 11:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87662d8012d198bc00720b230003501042c..."} 
[2026-04-26 11:58:28] local.INFO: Processing buffer {"connection_id":54450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87662d8012d198bc00720b230003501042c..."} 
[2026-04-26 11:58:28] local.INFO: Packet analysis {"connection_id":54450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:28] local.INFO: Extracted packet for processing {"connection_id":54450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583280,"longitude_deg":75.6648896,"latitude_deg":11.958328,"altitude":53,"angle":260,"satellites":44,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b230","is_valid_coordinates":true} 
[2026-04-26 11:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959276544001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732689738694656,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556832256,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] 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-04-26 11:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777184695000,"timestamp_ms":1777184695000,"timestamp_seconds":1777184695,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87662d8"} 
[2026-04-26 11:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:58:28] 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-04-26 11:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505350309281792,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3363054752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":8345900190289988544,"corrected_to":0} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2989490229,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":139,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":48,"raw_value":14919291161804800,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245039551918564,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2630221824,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2355998332515583020,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84752056002748594,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,156,157,190,45,192,178,53,40,10,66,108,26,1,240,85,200,32,4,113,205,118,139,48,43,239,50,2,151,7,124,198,69,144],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":200,"original":8345900190289988544,"validated":0},{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-04-26 11:58:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819338541716996096,"timestamp_seconds":3819338541716996.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 11:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959276544001,"66":12841,"121":206,"28":31744,"24":0,"16":114732689738694656,"45":1840776009556832256},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959276544001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:58:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:58:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732689738694656,"km_value":114732689738694.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556832256,"description":"Unknown IO ID 45"} 
[2026-04-26 11:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959276544001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556832256}} 
[2026-04-26 11:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":54450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:58:29] local.INFO: GPS data processed {"connection_id":54450,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:58:29] local.INFO: Acknowledgment sent {"connection_id":54450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:58:40] local.INFO: TCP Data received {"connection_id":54643,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:58:40] local.INFO: Processing buffer {"connection_id":54643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 11:58:40] local.INFO: IMEI packet received {"connection_id":54643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 11:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":54643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:58:51] local.INFO: TCP Data received {"connection_id":54449,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:58:51] local.INFO: Processing buffer {"connection_id":54449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:58:51] local.INFO: Packet analysis {"connection_id":54449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:51] local.INFO: Extracted packet for processing {"connection_id":54449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:58: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-04-26 11:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 11:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:58:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":54449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:58:51] local.INFO: GPS data processed {"connection_id":54449,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:58:51] local.INFO: Acknowledgment sent {"connection_id":54449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:59:11] local.INFO: TCP Data received {"connection_id":54451,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:11] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:11] local.INFO: IMEI packet received {"connection_id":54451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 11:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":54451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:59:12] local.INFO: TCP Data received {"connection_id":54451,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:12] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:12] local.INFO: IMEI packet received {"connection_id":54451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":54451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:59:14] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:59:14] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:59:14] local.INFO: IMEI packet received {"connection_id":54713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 11:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":54713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 11:59:16] local.INFO: TCP Data received {"connection_id":54451,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:16] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 11:59:16] local.INFO: IMEI packet received {"connection_id":54451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 11:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":54451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:59:16] local.INFO: TCP Data received {"connection_id":54451,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8794908012d198c800720b4100039004e2c..."} 
[2026-04-26 11:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8794908012d198c800720b4100039004e2c..."} 
[2026-04-26 11:59:16] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8794908012d198c800720b4100039004e2c..."} 
[2026-04-26 11:59:16] local.INFO: Packet analysis {"connection_id":54451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc879"} 
[2026-04-26 11:59:16] local.INFO: Extracted packet for processing {"connection_id":54451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc879"} 
[2026-04-26 11:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756649088,"raw_latitude":119583760,"longitude_deg":75.6649088,"latitude_deg":11.958376,"altitude":57,"angle":78,"satellites":44,"speed":6,"hex_longitude":"2d198c80","hex_latitude":"0720b410","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959330304001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114732728393400320,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378301130752,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:16] 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-04-26 11:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777184885000,"timestamp_ms":1777184885000,"timestamp_seconds":1777184885,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8794908"} 
[2026-04-26 11:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:59: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-04-26 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-26 11:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 11: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-04-26 11:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959330304001,"66":14298,"121":206,"28":31744,"24":6,"16":114732728393400320,"45":1840846378301130752},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959330304001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:59:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:59:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114732728393400320,"km_value":114732728393400.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378301130752,"description":"Unknown IO ID 45"} 
[2026-04-26 11:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959330304001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1840846378301130752}} 
[2026-04-26 11:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":54451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:59:17] local.INFO: GPS data processed {"connection_id":54451,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:59:17] local.INFO: Acknowledgment sent {"connection_id":54451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:59:19] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:59:19] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 11:59:19] local.INFO: IMEI packet received {"connection_id":54713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 11:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":54713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 11:59:20] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:59:20] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:59:20] local.INFO: Packet analysis {"connection_id":54713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:59:20] local.INFO: Extracted packet for processing {"connection_id":54713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:59: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-04-26 11: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-04-26 11:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11: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-04-26 11:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:59:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":54713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:59:20] local.INFO: GPS data processed {"connection_id":54713,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:59:20] local.INFO: Acknowledgment sent {"connection_id":54713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:59:48] local.INFO: TCP Data received {"connection_id":54451,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87a23c8012d19cbc007201c30002c00962b..."} 
[2026-04-26 11:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87a23c8012d19cbc007201c30002c00962b..."} 
[2026-04-26 11:59:48] local.INFO: Processing buffer {"connection_id":54451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87a23c8012d19cbc007201c30002c00962b..."} 
[2026-04-26 11:59:48] local.INFO: Packet analysis {"connection_id":54451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 11:59:48] local.INFO: Extracted packet for processing {"connection_id":54451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 11:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756665280,"raw_latitude":119544880,"longitude_deg":75.666528,"latitude_deg":11.954488,"altitude":44,"angle":150,"satellites":43,"speed":36,"hex_longitude":"2d19cbc0","hex_latitude":"07201c30","is_valid_coordinates":true} 
[2026-04-26 11:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 11:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959342336001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735180819726336,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864617156608,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:48] 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-04-26 11:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777184941000,"timestamp_ms":1777184941000,"timestamp_seconds":1777184941,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87a23c8"} 
[2026-04-26 11:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:59:48] 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-04-26 11:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 11:59:48] 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-04-26 11: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-04-26 11:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 11:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 11:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 11:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 11:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959342336001,"66":12950,"121":206,"28":31744,"24":36,"16":114735180819726336,"45":1855060864617156608},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 11:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 11:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 11:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959342336001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:59:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 11:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 11:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735180819726336,"km_value":114735180819726.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864617156608,"description":"Unknown IO ID 45"} 
[2026-04-26 11:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959342336001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1855060864617156608}} 
[2026-04-26 11:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":54451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:59:48] local.INFO: GPS data processed {"connection_id":54451,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:59:48] local.INFO: Acknowledgment sent {"connection_id":54451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 11:59:51] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:59:51] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 11:59:51] local.INFO: Packet analysis {"connection_id":54713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:59:51] local.INFO: Extracted packet for processing {"connection_id":54713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 11:59:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 11: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-04-26 11:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 11:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 11:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 11:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 11:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 11: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 11:59: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-04-26 11: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-04-26 11:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 11:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 11:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 11:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 11: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-04-26 11:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 11:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 11:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 11:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 11:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 11:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 11:59:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 11:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 11:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 11:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 11:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 11:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":54713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 11:59:51] local.INFO: GPS data processed {"connection_id":54713,"processed":1,"errors":0,"total":1} 
[2026-04-26 11:59:51] local.INFO: Acknowledgment sent {"connection_id":54713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:00:12] local.INFO: TCP Data received {"connection_id":54714,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:00:12] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:00:12] local.INFO: IMEI packet received {"connection_id":54714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":54714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:00:14] local.INFO: TCP Data received {"connection_id":54644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:00:14] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:00:14] local.INFO: IMEI packet received {"connection_id":54644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:00:17] local.INFO: TCP Data received {"connection_id":54714,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:00:17] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:00:17] local.INFO: IMEI packet received {"connection_id":54714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":54714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:00:19] local.INFO: TCP Data received {"connection_id":54714,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87a3368012d19d380072011c0002d00842b..."} 
[2026-04-26 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87a3368012d19d380072011c0002d00842b..."} 
[2026-04-26 12:00:19] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87a3368012d19d380072011c0002d00842b..."} 
[2026-04-26 12:00:19] local.INFO: Packet analysis {"connection_id":54714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:00:19] local.INFO: Extracted packet for processing {"connection_id":54714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119542208,"longitude_deg":75.6667264,"latitude_deg":11.9542208,"altitude":45,"angle":132,"satellites":43,"speed":31,"hex_longitude":"2d19d380","hex_latitude":"072011c0","is_valid_coordinates":true} 
[2026-04-26 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959344896001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735339733516288,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056483840,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:19] 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-04-26 12:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184945000,"timestamp_ms":1777184945000,"timestamp_seconds":1777184945,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87a3368"} 
[2026-04-26 12:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:00:19] 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-04-26 12:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 12:00:19] 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-04-26 12:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959344896001,"66":12950,"121":206,"28":31744,"24":31,"16":114735339733516288,"45":1858790408056483840},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959344896001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:00:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735339733516288,"km_value":114735339733516.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056483840,"description":"Unknown IO ID 45"} 
[2026-04-26 12:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959344896001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1858790408056483840}} 
[2026-04-26 12:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":54714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:00:19] local.INFO: GPS data processed {"connection_id":54714,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:00:19] local.INFO: Acknowledgment sent {"connection_id":54714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:00:19] local.INFO: TCP Data received {"connection_id":54644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:00:19] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:00:19] local.INFO: IMEI packet received {"connection_id":54644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":54644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:00:20] local.INFO: TCP Data received {"connection_id":54644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 12:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 12:00:20] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8764f50012cb299c007822ce0004d00122d..."} 
[2026-04-26 12:00:20] local.INFO: Packet analysis {"connection_id":54644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 12:00:20] local.INFO: Extracted packet for processing {"connection_id":54644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc876"} 
[2026-04-26 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959203584001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184690000,"timestamp_ms":1777184690000,"timestamp_seconds":1777184690,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8764f50"} 
[2026-04-26 12:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:00: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-04-26 12:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:00: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-04-26 12:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959203584001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959203584001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:00:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959203584001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:00:20] local.INFO: GPS data processed {"connection_id":54644,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:00:20] local.INFO: Acknowledgment sent {"connection_id":54644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:00:51] local.INFO: TCP Data received {"connection_id":54714,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87a3b38012d19d84007200e68002c00782b..."} 
[2026-04-26 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87a3b38012d19d84007200e68002c00782b..."} 
[2026-04-26 12:00:51] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87a3b38012d19d84007200e68002c00782b..."} 
[2026-04-26 12:00:51] local.INFO: Packet analysis {"connection_id":54714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:00:51] local.INFO: Extracted packet for processing {"connection_id":54714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119541352,"longitude_deg":75.666848,"latitude_deg":11.9541352,"altitude":44,"angle":120,"satellites":43,"speed":29,"hex_longitude":"2d19d840","hex_latitude":"07200e68","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959345920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735412747960320,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839125307392,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:51] 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-04-26 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184947000,"timestamp_ms":1777184947000,"timestamp_seconds":1777184947,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87a3b38"} 
[2026-04-26 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-04-26 12:00: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-04-26 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 12:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959345920001,"66":12776,"121":206,"28":31744,"24":29,"16":114735412747960320,"45":1860971839125307392},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959345920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735412747960320,"km_value":114735412747960.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839125307392,"description":"Unknown IO ID 45"} 
[2026-04-26 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959345920001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1860971839125307392}} 
[2026-04-26 12:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:00:51] local.INFO: GPS data processed {"connection_id":54714,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:00:51] local.INFO: Acknowledgment sent {"connection_id":54714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:00:51] local.INFO: TCP Data received {"connection_id":54644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:00:51] local.INFO: Processing buffer {"connection_id":54644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:00:51] local.INFO: Packet analysis {"connection_id":54644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:00:51] local.INFO: Extracted packet for processing {"connection_id":54644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 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-04-26 12:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:00:51] 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-04-26 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-04-26 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-04-26 12:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:00:51] local.INFO: GPS data processed {"connection_id":54644,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:00:51] local.INFO: Acknowledgment sent {"connection_id":54644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:01:12] local.INFO: TCP Data received {"connection_id":54715,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:01:12] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:01:12] local.INFO: IMEI packet received {"connection_id":54715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":54715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:01:18] local.INFO: TCP Data received {"connection_id":54715,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:01:18] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:01:18] local.INFO: IMEI packet received {"connection_id":54715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":54715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:01:19] local.INFO: TCP Data received {"connection_id":54715,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87a8d40012d19e20007200928002e00812a..."} 
[2026-04-26 12:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87a8d40012d19e20007200928002e00812a..."} 
[2026-04-26 12:01:19] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87a8d40012d19e20007200928002e00812a..."} 
[2026-04-26 12:01:19] local.INFO: Packet analysis {"connection_id":54715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:01:19] local.INFO: Extracted packet for processing {"connection_id":54715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959346432001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862308845264463872,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:19] 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-04-26 12:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777184968000,"timestamp_ms":1777184968000,"timestamp_seconds":1777184968,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87a8d40"} 
[2026-04-26 12:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:01: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-04-26 12:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 12:01:19] 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-04-26 12:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959346432001,"66":12885,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1862308845264463872},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959346432001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:01:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862308845264463872,"description":"Unknown IO ID 45"} 
[2026-04-26 12:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959346432001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1862308845264463872}} 
[2026-04-26 12:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":54715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:01:19] local.INFO: GPS data processed {"connection_id":54715,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:01:19] local.INFO: Acknowledgment sent {"connection_id":54715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:01:29] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:01:29] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:01:29] local.INFO: IMEI packet received {"connection_id":54452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":54452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:01:34] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:01:34] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:01:34] local.INFO: IMEI packet received {"connection_id":54452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":54452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:01:35] local.INFO: TCP Data received {"connection_id":54452,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:01:35] local.INFO: Processing buffer {"connection_id":54452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:01:35] local.INFO: Packet analysis {"connection_id":54452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:01:35] local.INFO: Extracted packet for processing {"connection_id":54452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:01:35] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:01:35] 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-04-26 12: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-04-26 12:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:01:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:01:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":54452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:01:35] local.INFO: GPS data processed {"connection_id":54452,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:01:35] local.INFO: Acknowledgment sent {"connection_id":54452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:01:52] local.INFO: TCP Data received {"connection_id":54715,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87adf48012d19e20007200928002e00812c..."} 
[2026-04-26 12:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87adf48012d19e20007200928002e00812c..."} 
[2026-04-26 12:01:52] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87adf48012d19e20007200928002e00812c..."} 
[2026-04-26 12:01:52] local.INFO: Packet analysis {"connection_id":54715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:01:52] local.INFO: Extracted packet for processing {"connection_id":54715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":44,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959351808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:01:52] 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-04-26 12:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777184989000,"timestamp_ms":1777184989000,"timestamp_seconds":1777184989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87adf48"} 
[2026-04-26 12:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:01:52] 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-04-26 12:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 12:01:52] 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-04-26 12:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959351808001,"66":12885,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959351808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:01:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959351808001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":54715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:01:52] local.INFO: GPS data processed {"connection_id":54715,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:01:52] local.INFO: Acknowledgment sent {"connection_id":54715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:02:12] local.INFO: TCP Data received {"connection_id":55380,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:02:12] local.INFO: Processing buffer {"connection_id":55380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:02:12] local.INFO: IMEI packet received {"connection_id":55380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":55380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:02:14] local.INFO: TCP Data received {"connection_id":54453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:02:14] local.INFO: Processing buffer {"connection_id":54453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:02:14] local.INFO: IMEI packet received {"connection_id":54453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":54453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:02:18] local.INFO: TCP Data received {"connection_id":55380,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:02:18] local.INFO: Processing buffer {"connection_id":55380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:02:18] local.INFO: IMEI packet received {"connection_id":55380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":55380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:02:19] local.INFO: TCP Data received {"connection_id":55380,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87b3150012d19e20007200928002e00812c..."} 
[2026-04-26 12:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87b3150012d19e20007200928002e00812c..."} 
[2026-04-26 12:02:19] local.INFO: Processing buffer {"connection_id":55380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87b3150012d19e20007200928002e00812c..."} 
[2026-04-26 12:02:19] local.INFO: Packet analysis {"connection_id":55380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87b"} 
[2026-04-26 12:02:19] local.INFO: Extracted packet for processing {"connection_id":55380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87b"} 
[2026-04-26 12:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":44,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357184001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:19] 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-04-26 12:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185010000,"timestamp_ms":1777185010000,"timestamp_seconds":1777185010,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87b3150"} 
[2026-04-26 12:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:02: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-04-26 12:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 12:02:19] 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-04-26 12:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357184001,"66":12852,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357184001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:02:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357184001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":55380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:02:19] local.INFO: GPS data processed {"connection_id":55380,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:02:19] local.INFO: Acknowledgment sent {"connection_id":55380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:02:19] local.INFO: TCP Data received {"connection_id":54453,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:02:19] local.INFO: Processing buffer {"connection_id":54453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:02:19] local.INFO: IMEI packet received {"connection_id":54453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":54453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:02:20] local.INFO: TCP Data received {"connection_id":54453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:02:20] local.INFO: Processing buffer {"connection_id":54453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:02:20] local.INFO: Packet analysis {"connection_id":54453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:02:20] local.INFO: Extracted packet for processing {"connection_id":54453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:02:20] 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-04-26 12: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-04-26 12:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:02: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-04-26 12:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:02:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":54453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:02:20] local.INFO: GPS data processed {"connection_id":54453,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:02:20] local.INFO: Acknowledgment sent {"connection_id":54453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:02:51] local.INFO: TCP Data received {"connection_id":55380,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87b7f70012d19e20007200928002e00812e..."} 
[2026-04-26 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87b7f70012d19e20007200928002e00812e..."} 
[2026-04-26 12:02:51] local.INFO: Processing buffer {"connection_id":55380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87b7f70012d19e20007200928002e00812e..."} 
[2026-04-26 12:02:51] local.INFO: Packet analysis {"connection_id":55380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87b"} 
[2026-04-26 12:02:51] local.INFO: Extracted packet for processing {"connection_id":55380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87b"} 
[2026-04-26 12:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":46,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959362560001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:51] 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-04-26 12:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185030000,"timestamp_ms":1777185030000,"timestamp_seconds":1777185030,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87b7f70"} 
[2026-04-26 12:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:02: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-04-26 12:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 12:02:51] 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-04-26 12:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959362560001,"66":12852,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959362560001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959362560001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":55380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:02:51] local.INFO: GPS data processed {"connection_id":55380,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:02:51] local.INFO: Acknowledgment sent {"connection_id":55380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:02:51] local.INFO: TCP Data received {"connection_id":54453,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:02:51] local.INFO: Processing buffer {"connection_id":54453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:02:51] local.INFO: Packet analysis {"connection_id":54453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:02:51] local.INFO: Extracted packet for processing {"connection_id":54453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:02:51] 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-04-26 12:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:02: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-04-26 12:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":54453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:02:51] local.INFO: GPS data processed {"connection_id":54453,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:02:51] local.INFO: Acknowledgment sent {"connection_id":54453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:03:12] local.INFO: TCP Data received {"connection_id":54454,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:12] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:12] local.INFO: IMEI packet received {"connection_id":54454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":54454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:03:15] local.INFO: TCP Data received {"connection_id":54454,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:15] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:15] local.INFO: IMEI packet received {"connection_id":54454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":54454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:03:18] local.INFO: TCP Data received {"connection_id":54454,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:18] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:03:18] local.INFO: IMEI packet received {"connection_id":54454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":54454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:03:19] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:03:19] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:03:19] local.INFO: IMEI packet received {"connection_id":54716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:03:20] local.INFO: TCP Data received {"connection_id":54454,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87bd178012d19e20007200928002e00812b..."} 
[2026-04-26 12:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87bd178012d19e20007200928002e00812b..."} 
[2026-04-26 12:03:20] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87bd178012d19e20007200928002e00812b..."} 
[2026-04-26 12:03:20] local.INFO: Packet analysis {"connection_id":54454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87b"} 
[2026-04-26 12:03:20] local.INFO: Extracted packet for processing {"connection_id":54454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87b"} 
[2026-04-26 12:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":43,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959367680001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:20] 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-04-26 12:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185051000,"timestamp_ms":1777185051000,"timestamp_seconds":1777185051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87bd178"} 
[2026-04-26 12:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 12:03:20] 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-04-26 12: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-04-26 12:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959367680001,"66":12852,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959367680001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:03:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:03:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959367680001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:03:20] local.INFO: GPS data processed {"connection_id":54454,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:03:20] local.INFO: Acknowledgment sent {"connection_id":54454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:03:24] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:03:24] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:03:24] local.INFO: IMEI packet received {"connection_id":54716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":54716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:03:25] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:03:25] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:03:25] local.INFO: Packet analysis {"connection_id":54716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:03:25] local.INFO: Extracted packet for processing {"connection_id":54716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:03:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:03:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:03: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-04-26 12:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:03:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:03:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:03:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":54716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:03:25] local.INFO: GPS data processed {"connection_id":54716,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:03:25] local.INFO: Acknowledgment sent {"connection_id":54716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:03:29] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:03:29] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:03:29] local.INFO: Packet analysis {"connection_id":54716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:03:29] local.INFO: Extracted packet for processing {"connection_id":54716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:03:29] 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-04-26 12:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:03:29] 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-04-26 12:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:03:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":54716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:03:29] local.INFO: GPS data processed {"connection_id":54716,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:03:29] local.INFO: Acknowledgment sent {"connection_id":54716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:03:51] local.INFO: TCP Data received {"connection_id":54454,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87c2768012d19e20007200928002e00812a..."} 
[2026-04-26 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87c2768012d19e20007200928002e00812a..."} 
[2026-04-26 12:03:51] local.INFO: Processing buffer {"connection_id":54454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87c2768012d19e20007200928002e00812a..."} 
[2026-04-26 12:03:51] local.INFO: Packet analysis {"connection_id":54454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87c"} 
[2026-04-26 12:03:51] local.INFO: Extracted packet for processing {"connection_id":54454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87c"} 
[2026-04-26 12:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":42,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959373056001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:03:51] 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-04-26 12:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185073000,"timestamp_ms":1777185073000,"timestamp_seconds":1777185073,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87c2768"} 
[2026-04-26 12:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:03: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-04-26 12: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 12:03:51] 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-04-26 12: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-04-26 12:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959373056001,"66":12841,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959373056001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959373056001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:03:51] local.INFO: GPS data processed {"connection_id":54454,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:03:51] local.INFO: Acknowledgment sent {"connection_id":54454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:04:05] local.INFO: TCP Data received {"connection_id":54455,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:04:05] local.INFO: Processing buffer {"connection_id":54455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:04:05] local.INFO: IMEI packet received {"connection_id":54455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":54455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:04:14] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:04:14] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:04:14] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:04:18] local.INFO: TCP Data received {"connection_id":54718,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:18] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:18] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:04:19] local.INFO: TCP Data received {"connection_id":54718,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:19] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:19] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:04:19] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:04:19] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:04:19] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:04:20] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:04:20] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:04:20] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:04:20] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:04:20] 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-04-26 12: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-04-26 12:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:04: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-04-26 12:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:04:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:04:20] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:04:20] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:04:23] local.INFO: TCP Data received {"connection_id":54718,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:23] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:04:23] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:04:24] local.INFO: TCP Data received {"connection_id":54718,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87c7970012d19e20007200928002e00812c..."} 
[2026-04-26 12:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87c7970012d19e20007200928002e00812c..."} 
[2026-04-26 12:04:24] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87c7970012d19e20007200928002e00812c..."} 
[2026-04-26 12:04:24] local.INFO: Packet analysis {"connection_id":54718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87c"} 
[2026-04-26 12:04:24] local.INFO: Extracted packet for processing {"connection_id":54718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87c"} 
[2026-04-26 12:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":44,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959378688001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:24] 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-04-26 12:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777185094000,"timestamp_ms":1777185094000,"timestamp_seconds":1777185094,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87c7970"} 
[2026-04-26 12:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 12:04:24] 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-04-26 12:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959378688001,"66":12591,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959378688001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:04:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:04:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959378688001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":54718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:04:24] local.INFO: GPS data processed {"connection_id":54718,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:04:24] local.INFO: Acknowledgment sent {"connection_id":54718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:04:29] local.INFO: TCP Data received {"connection_id":54718,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ccb78012d19e20007200928002e00812d..."} 
[2026-04-26 12:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ccb78012d19e20007200928002e00812d..."} 
[2026-04-26 12:04:29] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ccb78012d19e20007200928002e00812d..."} 
[2026-04-26 12:04:29] local.INFO: Packet analysis {"connection_id":54718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87c"} 
[2026-04-26 12:04:29] local.INFO: Extracted packet for processing {"connection_id":54718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87c"} 
[2026-04-26 12:04:29] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":45,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959384064001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:29] 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-04-26 12:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777185115000,"timestamp_ms":1777185115000,"timestamp_seconds":1777185115,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ccb78"} 
[2026-04-26 12:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:04:29] 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-04-26 12:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-26 12:04:29] 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-04-26 12: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-04-26 12:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959384064001,"66":12798,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959384064001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:04:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:04:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959384064001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":54718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:04:29] local.INFO: GPS data processed {"connection_id":54718,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:04:29] local.INFO: Acknowledgment sent {"connection_id":54718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:04:40] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:04:40] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:04:40] local.INFO: IMEI packet received {"connection_id":54719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":54719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:04:51] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:04:51] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:04:51] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:04:51] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:04:51] 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-04-26 12: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-04-26 12:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:04: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-04-26 12:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:04:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:04:51] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:04:51] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:05:13] local.INFO: TCP Data received {"connection_id":54720,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:05:13] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:05:13] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:05:14] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:05:14] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:05:14] local.INFO: IMEI packet received {"connection_id":54721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:05:18] local.INFO: TCP Data received {"connection_id":54720,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:05:18] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:05:18] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:05:19] local.INFO: TCP Data received {"connection_id":54720,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87d1d80012d19e20007200928002e00812e..."} 
[2026-04-26 12:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87d1d80012d19e20007200928002e00812e..."} 
[2026-04-26 12:05:19] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87d1d80012d19e20007200928002e00812e..."} 
[2026-04-26 12:05:19] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87d"} 
[2026-04-26 12:05:19] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87d"} 
[2026-04-26 12:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":46,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959389440001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:19] 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-04-26 12:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185136000,"timestamp_ms":1777185136000,"timestamp_seconds":1777185136,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87d1d80"} 
[2026-04-26 12:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:05: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-04-26 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 12:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959389440001,"66":12722,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959389440001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:05:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959389440001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:05:19] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:05:19] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:05:19] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:05:19] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:05:19] local.INFO: IMEI packet received {"connection_id":54721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":54721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:05:20] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:05:20] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ae718012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:05:20] local.INFO: Packet analysis {"connection_id":54721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:05:20] local.INFO: Extracted packet for processing {"connection_id":54721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87a"} 
[2026-04-26 12:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959280640001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777184991000,"timestamp_ms":1777184991000,"timestamp_seconds":1777184991,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ae718"} 
[2026-04-26 12:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:05:20] 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-04-26 12: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-04-26 12:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959280640001,"66":25071,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959280640001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:05:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959280640001,"power":25071,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":54721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:05:20] local.INFO: GPS data processed {"connection_id":54721,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:05:20] local.INFO: Acknowledgment sent {"connection_id":54721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:05:50] local.INFO: TCP Data received {"connection_id":54720,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87d6f88012d19e20007200928002e00812d..."} 
[2026-04-26 12:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87d6f88012d19e20007200928002e00812d..."} 
[2026-04-26 12:05:50] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87d6f88012d19e20007200928002e00812d..."} 
[2026-04-26 12:05:50] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87d"} 
[2026-04-26 12:05:50] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87d"} 
[2026-04-26 12:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119540008,"longitude_deg":75.6670976,"latitude_deg":11.9540008,"altitude":46,"angle":129,"satellites":45,"speed":0,"hex_longitude":"2d19e200","hex_latitude":"07200928","is_valid_coordinates":true} 
[2026-04-26 12:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959394816001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735558776848384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865053226287048704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:50] 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-04-26 12:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777185157000,"timestamp_ms":1777185157000,"timestamp_seconds":1777185157,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87d6f88"} 
[2026-04-26 12:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:05: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-04-26 12:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 12:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959394816001,"66":12711,"121":206,"28":31744,"24":0,"16":114735558776848384,"45":1865053226287048704},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959394816001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:05:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:05:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735558776848384,"km_value":114735558776848.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865053226287048704,"description":"Unknown IO ID 45"} 
[2026-04-26 12:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959394816001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1865053226287048704}} 
[2026-04-26 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:05:51] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:05:51] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:05:51] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:05:51] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:05:51] local.INFO: Packet analysis {"connection_id":54721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:05:51] local.INFO: Extracted packet for processing {"connection_id":54721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:05: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-04-26 12:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:05:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:05:51] local.INFO: GPS data processed {"connection_id":54721,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:05:51] local.INFO: Acknowledgment sent {"connection_id":54721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:06:13] local.INFO: TCP Data received {"connection_id":54456,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:06:13] local.INFO: Processing buffer {"connection_id":54456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:06:13] local.INFO: IMEI packet received {"connection_id":54456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":54456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:06:17] local.INFO: TCP Data received {"connection_id":54456,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:06:17] local.INFO: Processing buffer {"connection_id":54456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:06:17] local.INFO: IMEI packet received {"connection_id":54456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":54456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:06:18] local.INFO: TCP Data received {"connection_id":54456,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ff7f8012d19e2c007200738003000ec2b..."} 
[2026-04-26 12:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ff7f8012d19e2c007200738003000ec2b..."} 
[2026-04-26 12:06:18] local.INFO: Processing buffer {"connection_id":54456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ff7f8012d19e2c007200738003000ec2b..."} 
[2026-04-26 12:06:18] local.INFO: Packet analysis {"connection_id":54456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:18] local.INFO: Extracted packet for processing {"connection_id":54456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756671168,"raw_latitude":119539512,"longitude_deg":75.6671168,"latitude_deg":11.9539512,"altitude":48,"angle":236,"satellites":43,"speed":5,"hex_longitude":"2d19e2c0","hex_latitude":"07200738","is_valid_coordinates":true} 
[2026-04-26 12:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959442432001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735588841619456,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865264332519475200,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] 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-04-26 12:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777185323000,"timestamp_ms":1777185323000,"timestamp_seconds":1777185323,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ff7f8"} 
[2026-04-26 12:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:06: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-04-26 12:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942129765,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505350353059840,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3363747752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":40,"raw_value":12948403717668864,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2136717313,"corrected_to":0} 
[2026-04-26 12:06:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2673999872,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84752426443677705,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,159,157,240,45,8,48,40,10,66,232,192,44,169,1,38,200,32,4,113,205,9,226,239,54,2,151,7,46,206,160],"length":529,"final_offset":659,"validated_count":37,"validation_warnings":[{"io_id":200,"original":2136717313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 12:06:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458967004348874752,"timestamp_seconds":3458967004348875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 12:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959442432001,"66":14004,"121":206,"28":31744,"24":5,"16":114735588841619456,"45":1865264332519475200},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959442432001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:06:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735588841619456,"km_value":114735588841619.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865264332519475200,"description":"Unknown IO ID 45"} 
[2026-04-26 12:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959442432001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1865264332519475200}} 
[2026-04-26 12:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":54456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:06:18] local.INFO: GPS data processed {"connection_id":54456,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:06:18] local.INFO: Acknowledgment sent {"connection_id":54456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:06:19] local.INFO: TCP Data received {"connection_id":55381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:06:19] local.INFO: Processing buffer {"connection_id":55381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:06:19] local.INFO: IMEI packet received {"connection_id":55381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":55381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:06:24] local.INFO: TCP Data received {"connection_id":55381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:06:24] local.INFO: Processing buffer {"connection_id":55381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:06:24] local.INFO: IMEI packet received {"connection_id":55381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":55381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:06:25] local.INFO: TCP Data received {"connection_id":55381,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:06:25] local.INFO: Processing buffer {"connection_id":55381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:06:25] local.INFO: Packet analysis {"connection_id":55381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:25] local.INFO: Extracted packet for processing {"connection_id":55381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:06: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-04-26 12:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:06: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-04-26 12:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:06:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":55381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:06:25] local.INFO: GPS data processed {"connection_id":55381,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:06:25] local.INFO: Acknowledgment sent {"connection_id":55381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:06:29] local.INFO: TCP Data received {"connection_id":55381,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:06:29] local.INFO: Processing buffer {"connection_id":55381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:06:29] local.INFO: Packet analysis {"connection_id":55381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:29] local.INFO: Extracted packet for processing {"connection_id":55381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:06:29] 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-04-26 12: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-04-26 12:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:06:29] 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-04-26 12:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:06:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":55381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:06:29] local.INFO: GPS data processed {"connection_id":55381,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:06:29] local.INFO: Acknowledgment sent {"connection_id":55381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:06:50] local.INFO: TCP Data received {"connection_id":54456,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87ffbe0012d19e20007200720003001112b..."} 
[2026-04-26 12:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87ffbe0012d19e20007200720003001112b..."} 
[2026-04-26 12:06:50] local.INFO: Processing buffer {"connection_id":54456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87ffbe0012d19e20007200720003001112b..."} 
[2026-04-26 12:06:50] local.INFO: Packet analysis {"connection_id":54456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:50] local.INFO: Extracted packet for processing {"connection_id":54456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119539488,"longitude_deg":75.6670976,"latitude_deg":11.9539488,"altitude":48,"angle":273,"satellites":43,"speed":5,"hex_longitude":"2d19e200","hex_latitude":"07200720","is_valid_coordinates":true} 
[2026-04-26 12:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959442688001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114735597431554048,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865264332519454720,"note":"Value kept but may cause issues"} 
[2026-04-26 12:06:50] 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-04-26 12:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777185324000,"timestamp_ms":1777185324000,"timestamp_seconds":1777185324,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87ffbe0"} 
[2026-04-26 12:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:06: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-04-26 12:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 12:06:50] 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-04-26 12:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959442688001,"66":14004,"121":206,"28":31744,"24":5,"16":114735597431554048,"45":1865264332519454720},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959442688001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:06:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:06:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114735597431554048,"km_value":114735597431554.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865264332519454720,"description":"Unknown IO ID 45"} 
[2026-04-26 12:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959442688001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1865264332519454720}} 
[2026-04-26 12:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":54456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:06:50] local.INFO: GPS data processed {"connection_id":54456,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:06:50] local.INFO: Acknowledgment sent {"connection_id":54456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:07:10] local.INFO: TCP Data received {"connection_id":54457,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:10] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:10] local.INFO: IMEI packet received {"connection_id":54457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":54457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:07:12] local.INFO: TCP Data received {"connection_id":54457,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:12] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:12] local.INFO: IMEI packet received {"connection_id":54457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":54457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:07:14] local.INFO: TCP Data received {"connection_id":54648,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:07:14] local.INFO: Processing buffer {"connection_id":54648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:07:14] local.INFO: IMEI packet received {"connection_id":54648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":54648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:07:18] local.INFO: TCP Data received {"connection_id":54457,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:18] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:07:18] local.INFO: IMEI packet received {"connection_id":54457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":54457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:07:19] local.INFO: TCP Data received {"connection_id":54457,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc880c318012d19ac0007209000003000022f..."} 
[2026-04-26 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc880c318012d19ac0007209000003000022f..."} 
[2026-04-26 12:07:19] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc880c318012d19ac0007209000003000022f..."} 
[2026-04-26 12:07:19] local.INFO: Packet analysis {"connection_id":54457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc880"} 
[2026-04-26 12:07:19] local.INFO: Extracted packet for processing {"connection_id":54457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc880"} 
[2026-04-26 12:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119574528,"longitude_deg":75.6657152,"latitude_deg":11.9574528,"altitude":48,"angle":2,"satellites":47,"speed":32,"hex_longitude":"2d19ac00","hex_latitude":"07209000","is_valid_coordinates":true} 
[2026-04-26 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959455488001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114737495807098880,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785623552,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:19] 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-04-26 12:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185375000,"timestamp_ms":1777185375000,"timestamp_seconds":1777185375,"priority":1,"record_length":96,"hex_timestamp":"0000019dc880c318"} 
[2026-04-26 12:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:07:19] 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-04-26 12:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 12:07:19] 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-04-26 12:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959455488001,"66":13319,"121":206,"28":31744,"24":32,"16":114737495807098880,"45":1850064683785623552},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959455488001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:07:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:07:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114737495807098880,"km_value":114737495807098.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785623552,"description":"Unknown IO ID 45"} 
[2026-04-26 12:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959455488001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1850064683785623552}} 
[2026-04-26 12:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":54457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:07:19] local.INFO: GPS data processed {"connection_id":54457,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:07:19] local.INFO: Acknowledgment sent {"connection_id":54457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:07:19] local.INFO: TCP Data received {"connection_id":54648,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:07:19] local.INFO: Processing buffer {"connection_id":54648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:07:19] local.INFO: IMEI packet received {"connection_id":54648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":54648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:07:20] local.INFO: TCP Data received {"connection_id":54648,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:07:20] local.INFO: Processing buffer {"connection_id":54648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:07:20] local.INFO: Packet analysis {"connection_id":54648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:07:20] local.INFO: Extracted packet for processing {"connection_id":54648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:07: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-04-26 12: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-04-26 12:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:07:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":54648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:07:20] local.INFO: GPS data processed {"connection_id":54648,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:07:20] local.INFO: Acknowledgment sent {"connection_id":54648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:07:50] local.INFO: TCP Data received {"connection_id":54457,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc880c700012d19acc0072093180030000e2f..."} 
[2026-04-26 12:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc880c700012d19acc0072093180030000e2f..."} 
[2026-04-26 12:07:50] local.INFO: Processing buffer {"connection_id":54457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc880c700012d19acc0072093180030000e2f..."} 
[2026-04-26 12:07:50] local.INFO: Packet analysis {"connection_id":54457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc880"} 
[2026-04-26 12:07:50] local.INFO: Extracted packet for processing {"connection_id":54457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc880"} 
[2026-04-26 12:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119575320,"longitude_deg":75.6657344,"latitude_deg":11.957532,"altitude":48,"angle":14,"satellites":47,"speed":32,"hex_longitude":"2d19acc0","hex_latitude":"07209318","is_valid_coordinates":true} 
[2026-04-26 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959456000001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114737534461804544,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577553510400,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] 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-04-26 12:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777185376000,"timestamp_ms":1777185376000,"timestamp_seconds":1777185376,"priority":1,"record_length":96,"hex_timestamp":"0000019dc880c700"} 
[2026-04-26 12:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:07: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-04-26 12:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3363843752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":60,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2153101313,"corrected_to":0} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":32,"raw_value":830914341722599168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 12:07:50] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1074208791,"corrected_to":0} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2679767040,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.WARNING: Large IO value detected {"io_id":128,"raw_value":1673088554787192839,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,161,157,187,45,192,137,48,46,10,66,148,101,160,109,1,240,60,200,32,4,113,205,35,54,204,144,239,56,2,151,7,49,29,128],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":200,"original":2153101313,"validated":0},{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":1074208791,"validated":0}]} 
[2026-04-26 12:07:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458766914709356544,"timestamp_seconds":3458766914709356.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 12:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959456000001,"66":13928,"121":206,"28":31744,"24":32,"16":114737534461804544,"45":1849853577553510400},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959456000001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:07:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:07:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114737534461804544,"km_value":114737534461804.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577553510400,"description":"Unknown IO ID 45"} 
[2026-04-26 12:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959456000001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1849853577553510400}} 
[2026-04-26 12:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":54457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:07:50] local.INFO: GPS data processed {"connection_id":54457,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:07:50] local.INFO: Acknowledgment sent {"connection_id":54457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:07:51] local.INFO: TCP Data received {"connection_id":54648,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:07:51] local.INFO: Processing buffer {"connection_id":54648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:07:51] local.INFO: Packet analysis {"connection_id":54648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:07:51] local.INFO: Extracted packet for processing {"connection_id":54648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:07: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-04-26 12:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:07:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":54648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:07:51] local.INFO: GPS data processed {"connection_id":54648,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:07:51] local.INFO: Acknowledgment sent {"connection_id":54648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:08:12] local.INFO: TCP Data received {"connection_id":54650,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:08:12] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:08:12] local.INFO: IMEI packet received {"connection_id":54650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":54650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:08:16] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:08:16] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:08:16] local.INFO: IMEI packet received {"connection_id":54649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":54649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:08:18] local.INFO: TCP Data received {"connection_id":54650,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:08:18] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:08:18] local.INFO: IMEI packet received {"connection_id":54650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":54650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:08:19] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:08:19] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:08:19] local.INFO: IMEI packet received {"connection_id":54649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:08:19] local.INFO: TCP Data received {"connection_id":54650,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc880ced0012d19afc0072098c0003100212f..."} 
[2026-04-26 12:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc880ced0012d19afc0072098c0003100212f..."} 
[2026-04-26 12:08:19] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc880ced0012d19afc0072098c0003100212f..."} 
[2026-04-26 12:08:19] local.INFO: Packet analysis {"connection_id":54650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc880"} 
[2026-04-26 12:08:19] local.INFO: Extracted packet for processing {"connection_id":54650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc880"} 
[2026-04-26 12:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119576768,"longitude_deg":75.6658112,"latitude_deg":11.9576768,"altitude":49,"angle":33,"satellites":47,"speed":33,"hex_longitude":"2d19afc0","hex_latitude":"072098c0","is_valid_coordinates":true} 
[2026-04-26 12:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959456256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114737616066183168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683786246144,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:19] 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-04-26 12:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185378000,"timestamp_ms":1777185378000,"timestamp_seconds":1777185378,"priority":1,"record_length":96,"hex_timestamp":"0000019dc880ced0"} 
[2026-04-26 12:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:08: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-04-26 12:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 12:08:19] 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-04-26 12:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959456256001,"66":13852,"121":206,"28":31744,"24":33,"16":114737616066183168,"45":1850064683786246144},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959456256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:08:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:08:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114737616066183168,"km_value":114737616066183.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683786246144,"description":"Unknown IO ID 45"} 
[2026-04-26 12:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959456256001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850064683786246144}} 
[2026-04-26 12:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":54650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:08:19] local.INFO: GPS data processed {"connection_id":54650,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:08:19] local.INFO: Acknowledgment sent {"connection_id":54650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:08:24] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:24] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:24] local.INFO: Packet analysis {"connection_id":54649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:08:24] local.INFO: Extracted packet for processing {"connection_id":54649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:08:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:08:24] 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-04-26 12:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:08:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:08:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:08:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":54649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:08:24] local.INFO: GPS data processed {"connection_id":54649,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:08:24] local.INFO: Acknowledgment sent {"connection_id":54649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:08:25] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:25] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:25] local.INFO: Packet analysis {"connection_id":54649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:08:25] local.INFO: Extracted packet for processing {"connection_id":54649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:08:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:08: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-04-26 12:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:08: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-04-26 12:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:08:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":54649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:08:25] local.INFO: GPS data processed {"connection_id":54649,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:08:25] local.INFO: Acknowledgment sent {"connection_id":54649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:08:51] local.INFO: TCP Data received {"connection_id":54650,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8823248012d1989000720b220003600fc30..."} 
[2026-04-26 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8823248012d1989000720b220003600fc30..."} 
[2026-04-26 12:08:51] local.INFO: Processing buffer {"connection_id":54650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8823248012d1989000720b220003600fc30..."} 
[2026-04-26 12:08:51] local.INFO: Packet analysis {"connection_id":54650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:08:51] local.INFO: Extracted packet for processing {"connection_id":54650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756648192,"raw_latitude":119583264,"longitude_deg":75.6648192,"latitude_deg":11.9583264,"altitude":54,"angle":252,"satellites":48,"speed":0,"hex_longitude":"2d198900","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959474688001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114738483649576960,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370873856,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:51] 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-04-26 12:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185469000,"timestamp_ms":1777185469000,"timestamp_seconds":1777185469,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8823248"} 
[2026-04-26 12:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 12:08:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959474688001,"66":12798,"121":206,"28":31744,"24":0,"16":114738483649576960,"45":1840001953370873856},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959474688001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:08:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:08:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114738483649576960,"km_value":114738483649576.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370873856,"description":"Unknown IO ID 45"} 
[2026-04-26 12:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959474688001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840001953370873856}} 
[2026-04-26 12:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":54650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:08:51] local.INFO: GPS data processed {"connection_id":54650,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:08:51] local.INFO: Acknowledgment sent {"connection_id":54650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:08:56] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:56] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:08:56] local.INFO: Packet analysis {"connection_id":54649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:08:56] local.INFO: Extracted packet for processing {"connection_id":54649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:08:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:08:56] 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-04-26 12:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:08:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:08:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":54649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:08:56] local.INFO: GPS data processed {"connection_id":54649,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:08:56] local.INFO: Acknowledgment sent {"connection_id":54649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:09:12] local.INFO: TCP Data received {"connection_id":54724,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:09:12] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:09:12] local.INFO: IMEI packet received {"connection_id":54724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":54724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:09:14] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:09:14] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:09:14] local.INFO: IMEI packet received {"connection_id":54459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":54459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:09:18] local.INFO: TCP Data received {"connection_id":54724,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:09:18] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:09:18] local.INFO: IMEI packet received {"connection_id":54724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":54724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:09:19] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:09:19] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:09:19] local.INFO: IMEI packet received {"connection_id":54459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:09:20] local.INFO: TCP Data received {"connection_id":54724,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8823a18012d1987800720b2280036010c30..."} 
[2026-04-26 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8823a18012d1987800720b2280036010c30..."} 
[2026-04-26 12:09:20] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8823a18012d1987800720b2280036010c30..."} 
[2026-04-26 12:09:20] local.INFO: Packet analysis {"connection_id":54724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:09:20] local.INFO: Extracted packet for processing {"connection_id":54724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119583272,"longitude_deg":75.6647808,"latitude_deg":11.9583272,"altitude":54,"angle":268,"satellites":48,"speed":6,"hex_longitude":"2d198780","hex_latitude":"0720b228","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959480064001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114738500829446144,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370873856,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:20] 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-04-26 12:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185471000,"timestamp_ms":1777185471000,"timestamp_seconds":1777185471,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8823a18"} 
[2026-04-26 12:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 12:09:20] 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-04-26 12: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-04-26 12:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959480064001,"66":12341,"121":206,"28":31744,"24":6,"16":114738500829446144,"45":1840001953370873856},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959480064001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114738500829446144,"km_value":114738500829446.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370873856,"description":"Unknown IO ID 45"} 
[2026-04-26 12:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959480064001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1840001953370873856}} 
[2026-04-26 12:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":54724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:09:20] local.INFO: GPS data processed {"connection_id":54724,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:09:20] local.INFO: Acknowledgment sent {"connection_id":54724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:09:20] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:09:20] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:09:20] local.INFO: Packet analysis {"connection_id":54459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:09:20] local.INFO: Extracted packet for processing {"connection_id":54459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:09: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-04-26 12: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-04-26 12:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:09:20] 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-04-26 12:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":54459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:09:20] local.INFO: GPS data processed {"connection_id":54459,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:09:20] local.INFO: Acknowledgment sent {"connection_id":54459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:09:51] local.INFO: TCP Data received {"connection_id":54724,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8825570012d1978400720af90003500ff2e..."} 
[2026-04-26 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8825570012d1978400720af90003500ff2e..."} 
[2026-04-26 12:09:51] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8825570012d1978400720af90003500ff2e..."} 
[2026-04-26 12:09:51] local.INFO: Packet analysis {"connection_id":54724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:09:51] local.INFO: Extracted packet for processing {"connection_id":54724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756643904,"raw_latitude":119582608,"longitude_deg":75.6643904,"latitude_deg":11.9582608,"altitude":53,"angle":255,"satellites":46,"speed":27,"hex_longitude":"2d197840","hex_latitude":"0720af90","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959480576001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114738689808007168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839579740905809920,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:51] 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-04-26 12:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185478000,"timestamp_ms":1777185478000,"timestamp_seconds":1777185478,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8825570"} 
[2026-04-26 12:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:09: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-04-26 12: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 12:09:51] 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-04-26 12: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-04-26 12:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959480576001,"66":11406,"121":206,"28":31744,"24":27,"16":114738689808007168,"45":1839579740905809920},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959480576001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114738689808007168,"km_value":114738689808007.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839579740905809920,"description":"Unknown IO ID 45"} 
[2026-04-26 12:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959480576001,"power":11406,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1839579740905809920}} 
[2026-04-26 12:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":54724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:09:51] local.INFO: GPS data processed {"connection_id":54724,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:09:51] local.INFO: Acknowledgment sent {"connection_id":54724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:09:51] local.INFO: TCP Data received {"connection_id":54459,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:09:51] local.INFO: Processing buffer {"connection_id":54459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:09:51] local.INFO: Packet analysis {"connection_id":54459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:09:51] local.INFO: Extracted packet for processing {"connection_id":54459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:09: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-04-26 12: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-04-26 12:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":54459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:09:51] local.INFO: GPS data processed {"connection_id":54459,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:09:51] local.INFO: Acknowledgment sent {"connection_id":54459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:09:55] local.INFO: TCP Data received {"connection_id":54651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:09:55] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:09:55] local.INFO: IMEI packet received {"connection_id":54651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":54651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:10:14] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:10:14] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:10:14] local.INFO: IMEI packet received {"connection_id":54725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:10:17] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:10:17] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:10:17] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:10:19] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:10:19] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:10:19] local.INFO: IMEI packet received {"connection_id":54725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":54725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:10:20] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:10:20] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc87f7ee0012cb299c007822ce0004c00122e..."} 
[2026-04-26 12:10:20] local.INFO: Packet analysis {"connection_id":54725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:10:20] local.INFO: Extracted packet for processing {"connection_id":54725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc87f"} 
[2026-04-26 12:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959357696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185292000,"timestamp_ms":1777185292000,"timestamp_seconds":1777185292,"priority":1,"record_length":96,"hex_timestamp":"0000019dc87f7ee0"} 
[2026-04-26 12:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 12:10: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-04-26 12: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-04-26 12:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:10: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-04-26 12:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959357696001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959357696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:10:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959357696001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":54725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:10:20] local.INFO: GPS data processed {"connection_id":54725,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:10:20] local.INFO: Acknowledgment sent {"connection_id":54725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:10:22] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:10:22] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:10:22] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:10:23] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc882a778012d1975000720ae70003400f82e..."} 
[2026-04-26 12:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc882a778012d1975000720ae70003400f82e..."} 
[2026-04-26 12:10:23] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc882a778012d1975000720ae70003400f82e..."} 
[2026-04-26 12:10:23] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:10:23] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756643072,"raw_latitude":119582320,"longitude_deg":75.6643072,"latitude_deg":11.958232,"altitude":52,"angle":248,"satellites":46,"speed":0,"hex_longitude":"2d197500","hex_latitude":"0720ae70","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959482368001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114738749937549312,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835287247510802432,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:23] 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-04-26 12:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777185499000,"timestamp_ms":1777185499000,"timestamp_seconds":1777185499,"priority":1,"record_length":96,"hex_timestamp":"0000019dc882a778"} 
[2026-04-26 12:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:10:23] 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-04-26 12: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-04-26 12:10:23] 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-04-26 12: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-04-26 12:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959482368001,"66":13928,"121":206,"28":31744,"24":0,"16":114738749937549312,"45":1835287247510802432},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959482368001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:10:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:10:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114738749937549312,"km_value":114738749937549.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835287247510802432,"description":"Unknown IO ID 45"} 
[2026-04-26 12:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959482368001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1835287247510802432}} 
[2026-04-26 12:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:10:23] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:10:23] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:10:26] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc882f980012d1975000720ae70003400f82b..."} 
[2026-04-26 12:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc882f980012d1975000720ae70003400f82b..."} 
[2026-04-26 12:10:26] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc882f980012d1975000720ae70003400f82b..."} 
[2026-04-26 12:10:26] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:10:26] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc882"} 
[2026-04-26 12:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756643072,"raw_latitude":119582320,"longitude_deg":75.6643072,"latitude_deg":11.958232,"altitude":52,"angle":248,"satellites":43,"speed":0,"hex_longitude":"2d197500","hex_latitude":"0720ae70","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959487744001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114738749937549312,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834372453836419072,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:26] 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-04-26 12:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777185520000,"timestamp_ms":1777185520000,"timestamp_seconds":1777185520,"priority":1,"record_length":96,"hex_timestamp":"0000019dc882f980"} 
[2026-04-26 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-04-26 12:10:26] 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-04-26 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 12:10:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 12:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959487744001,"66":13993,"121":206,"28":31744,"24":0,"16":114738749937549312,"45":1834372453836419072},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959487744001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:10:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114738749937549312,"km_value":114738749937549.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834372453836419072,"description":"Unknown IO ID 45"} 
[2026-04-26 12:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959487744001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834372453836419072}} 
[2026-04-26 12:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:10:26] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:10:26] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:10:50] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:10:50] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:10:50] local.INFO: Packet analysis {"connection_id":54725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:10:50] local.INFO: Extracted packet for processing {"connection_id":54725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:10:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:10:50] 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-04-26 12: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-04-26 12:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:10:50] 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-04-26 12:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:10:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":54725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:10:50] local.INFO: GPS data processed {"connection_id":54725,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:10:50] local.INFO: Acknowledgment sent {"connection_id":54725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:10:58] local.INFO: TCP Data received {"connection_id":54652,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8845528012d18d1c007211288004001612c..."} 
[2026-04-26 12:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8845528012d18d1c007211288004001612c..."} 
[2026-04-26 12:10:58] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8845528012d18d1c007211288004001612c..."} 
[2026-04-26 12:10:58] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:10:58] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119607944,"longitude_deg":75.660128,"latitude_deg":11.9607944,"altitude":64,"angle":353,"satellites":44,"speed":37,"hex_longitude":"2d18d1c0","hex_latitude":"07211288","is_valid_coordinates":true} 
[2026-04-26 12:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959514880001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114741331212894208,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826312511488,"note":"Value kept but may cause issues"} 
[2026-04-26 12:10:58] 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-04-26 12:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777185609000,"timestamp_ms":1777185609000,"timestamp_seconds":1777185609,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8845528"} 
[2026-04-26 12:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:10:58] 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-04-26 12:10:58] local.INFO: IO Element 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-04-26 12:10:58] 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-04-26 12:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959514880001,"66":13722,"121":206,"28":31744,"24":37,"16":114741331212894208,"45":1789406826312511488},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959514880001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:10:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:10:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114741331212894208,"km_value":114741331212894.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826312511488,"description":"Unknown IO ID 45"} 
[2026-04-26 12:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959514880001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1789406826312511488}} 
[2026-04-26 12:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:10:58] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:10:58] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:11:13] local.INFO: TCP Data received {"connection_id":54461,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:11:13] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:11:13] local.INFO: IMEI packet received {"connection_id":54461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":54461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:11:17] local.INFO: TCP Data received {"connection_id":54461,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:11:17] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:11:17] local.INFO: IMEI packet received {"connection_id":54461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":54461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:11:18] local.INFO: TCP Data received {"connection_id":54461,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8847080012d18cfc007212be8004201532a..."} 
[2026-04-26 12:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8847080012d18cfc007212be8004201532a..."} 
[2026-04-26 12:11:18] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8847080012d18cfc007212be8004201532a..."} 
[2026-04-26 12:11:18] local.INFO: Packet analysis {"connection_id":54461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:18] local.INFO: Extracted packet for processing {"connection_id":54461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756600768,"raw_latitude":119614440,"longitude_deg":75.6600768,"latitude_deg":11.961444,"altitude":66,"angle":339,"satellites":42,"speed":36,"hex_longitude":"2d18cfc0","hex_latitude":"07212be8","is_valid_coordinates":true} 
[2026-04-26 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959515904001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114741649040474112,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663894964224,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:18] 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-04-26 12:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777185616000,"timestamp_ms":1777185616000,"timestamp_seconds":1777185616,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8847080"} 
[2026-04-26 12:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:11: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-04-26 12:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 12:11:18] 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-04-26 12:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959515904001,"66":13852,"121":206,"28":31744,"24":36,"16":114741649040474112,"45":1788421663894964224},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959515904001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:11:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:11:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114741649040474112,"km_value":114741649040474.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663894964224,"description":"Unknown IO ID 45"} 
[2026-04-26 12:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959515904001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1788421663894964224}} 
[2026-04-26 12:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":54461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:11:18] local.INFO: GPS data processed {"connection_id":54461,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:11:18] local.INFO: Acknowledgment sent {"connection_id":54461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:11:19] local.INFO: TCP Data received {"connection_id":55382,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:11:19] local.INFO: Processing buffer {"connection_id":55382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:11:19] local.INFO: IMEI packet received {"connection_id":55382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":55382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:11:19] local.INFO: TCP Data received {"connection_id":54461,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8847850012d18cc00072131e8004201452a..."} 
[2026-04-26 12:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8847850012d18cc00072131e8004201452a..."} 
[2026-04-26 12:11:19] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8847850012d18cc00072131e8004201452a..."} 
[2026-04-26 12:11:19] local.INFO: Packet analysis {"connection_id":54461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:19] local.INFO: Extracted packet for processing {"connection_id":54461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119615976,"longitude_deg":75.6599808,"latitude_deg":11.9615976,"altitude":66,"angle":325,"satellites":42,"speed":36,"hex_longitude":"2d18cc00","hex_latitude":"072131e8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959517696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114741739234787328,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787858713943205888,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:19] 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-04-26 12:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185618000,"timestamp_ms":1777185618000,"timestamp_seconds":1777185618,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8847850"} 
[2026-04-26 12:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:11: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-04-26 12: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 12:11:19] 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-04-26 12: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-04-26 12:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959517696001,"66":13722,"121":206,"28":31744,"24":36,"16":114741739234787328,"45":1787858713943205888},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959517696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:11:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:11:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114741739234787328,"km_value":114741739234787.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787858713943205888,"description":"Unknown IO ID 45"} 
[2026-04-26 12:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959517696001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1787858713943205888}} 
[2026-04-26 12:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":54461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:11:20] local.INFO: GPS data processed {"connection_id":54461,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:11:20] local.INFO: Acknowledgment sent {"connection_id":54461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:11:24] local.INFO: TCP Data received {"connection_id":55382,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:11:24] local.INFO: Processing buffer {"connection_id":55382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:11:24] local.INFO: IMEI packet received {"connection_id":55382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":55382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:11:25] local.INFO: TCP Data received {"connection_id":55382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:11:25] local.INFO: Processing buffer {"connection_id":55382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:11:25] local.INFO: Packet analysis {"connection_id":55382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:25] local.INFO: Extracted packet for processing {"connection_id":55382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:11:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":55382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:11:25] local.INFO: GPS data processed {"connection_id":55382,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:11:25] local.INFO: Acknowledgment sent {"connection_id":55382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:11:30] local.INFO: TCP Data received {"connection_id":55382,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:11:30] local.INFO: Processing buffer {"connection_id":55382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:11:30] local.INFO: Packet analysis {"connection_id":55382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:30] local.INFO: Extracted packet for processing {"connection_id":55382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:11:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":55382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:11:30] local.INFO: GPS data processed {"connection_id":55382,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:11:30] local.INFO: Acknowledgment sent {"connection_id":55382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:11:51] local.INFO: TCP Data received {"connection_id":54461,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88487f0012d18c4c007213ed0004301562d..."} 
[2026-04-26 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88487f0012d18c4c007213ed0004301562d..."} 
[2026-04-26 12:11:51] local.INFO: Processing buffer {"connection_id":54461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88487f0012d18c4c007213ed0004301562d..."} 
[2026-04-26 12:11:51] local.INFO: Packet analysis {"connection_id":54461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:51] local.INFO: Extracted packet for processing {"connection_id":54461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119619280,"longitude_deg":75.6597952,"latitude_deg":11.961928,"altitude":67,"angle":342,"satellites":45,"speed":38,"hex_longitude":"2d18c4c0","hex_latitude":"07213ed0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959518208001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114741919623413760,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786803182780934144,"note":"Value kept but may cause issues"} 
[2026-04-26 12:11:51] 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-04-26 12:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185622000,"timestamp_ms":1777185622000,"timestamp_seconds":1777185622,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88487f0"} 
[2026-04-26 12:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 12:11:51] 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-04-26 12: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-04-26 12:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959518208001,"66":13798,"121":206,"28":31744,"24":38,"16":114741919623413760,"45":1786803182780934144},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959518208001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:11:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114741919623413760,"km_value":114741919623413.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786803182780934144,"description":"Unknown IO ID 45"} 
[2026-04-26 12:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959518208001,"power":13798,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1786803182780934144}} 
[2026-04-26 12:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":54461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:11:51] local.INFO: GPS data processed {"connection_id":54461,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:11:51] local.INFO: Acknowledgment sent {"connection_id":54461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:12:13] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:12:13] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:12:13] local.INFO: IMEI packet received {"connection_id":54653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":54653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:12:14] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:12:14] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:12:14] local.INFO: IMEI packet received {"connection_id":54654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":54654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:12:18] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:12:18] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:12:18] local.INFO: IMEI packet received {"connection_id":54653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":54653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:12:19] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8848fc0012d18c40007214658004301662d..."} 
[2026-04-26 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8848fc0012d18c40007214658004301662d..."} 
[2026-04-26 12:12:19] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8848fc0012d18c40007214658004301662d..."} 
[2026-04-26 12:12:19] local.INFO: Packet analysis {"connection_id":54653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:19] local.INFO: Extracted packet for processing {"connection_id":54653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119621208,"longitude_deg":75.659776,"latitude_deg":11.9621208,"altitude":67,"angle":358,"satellites":45,"speed":39,"hex_longitude":"2d18c400","hex_latitude":"07214658","is_valid_coordinates":true} 
[2026-04-26 12:12: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-04-26 12:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959519232001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114742014112694272,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489200627712,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:19] 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-04-26 12:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185624000,"timestamp_ms":1777185624000,"timestamp_seconds":1777185624,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8848fc0"} 
[2026-04-26 12:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:12: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-04-26 12:12: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":230,"data_length":795,"current_offset":136} 
[2026-04-26 12:12:19] 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-04-26 12:12: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-04-26 12:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959519232001,"66":14004,"121":206,"28":31744,"24":39,"16":114742014112694272,"45":1784762489200627712},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959519232001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:12:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:12:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114742014112694272,"km_value":114742014112694.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489200627712,"description":"Unknown IO ID 45"} 
[2026-04-26 12:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959519232001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1784762489200627712}} 
[2026-04-26 12:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":54653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:12:19] local.INFO: GPS data processed {"connection_id":54653,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:12:19] local.INFO: Acknowledgment sent {"connection_id":54653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:12:19] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:12:19] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:12:19] local.INFO: IMEI packet received {"connection_id":54654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":54654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:12:20] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:12:20] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:12:20] local.INFO: Packet analysis {"connection_id":54654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:20] local.INFO: Extracted packet for processing {"connection_id":54654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:12: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-04-26 12: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-04-26 12:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:12: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-04-26 12:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:12:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":54654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:12:20] local.INFO: GPS data processed {"connection_id":54654,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:12:20] local.INFO: Acknowledgment sent {"connection_id":54654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:12:51] local.INFO: TCP Data received {"connection_id":54653,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8849b78012d18c2c007215178004401572b..."} 
[2026-04-26 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8849b78012d18c2c007215178004401572b..."} 
[2026-04-26 12:12:51] local.INFO: Processing buffer {"connection_id":54653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8849b78012d18c2c007215178004401572b..."} 
[2026-04-26 12:12:51] local.INFO: Packet analysis {"connection_id":54653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:51] local.INFO: Extracted packet for processing {"connection_id":54653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624056,"longitude_deg":75.659744,"latitude_deg":11.9624056,"altitude":68,"angle":343,"satellites":43,"speed":37,"hex_longitude":"2d18c2c0","hex_latitude":"07215178","is_valid_coordinates":true} 
[2026-04-26 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959519744001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114742155846615040,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968588288,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:51] 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-04-26 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185627000,"timestamp_ms":1777185627000,"timestamp_seconds":1777185627,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8849b78"} 
[2026-04-26 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 12:12: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-04-26 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959519744001,"66":13972,"121":206,"28":31744,"24":37,"16":114742155846615040,"45":1784551382968588288},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959519744001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114742155846615040,"km_value":114742155846615.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968588288,"description":"Unknown IO ID 45"} 
[2026-04-26 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959519744001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1784551382968588288}} 
[2026-04-26 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":54653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:12:51] local.INFO: GPS data processed {"connection_id":54653,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:12:51] local.INFO: Acknowledgment sent {"connection_id":54653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:12:51] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:12:51] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:12:51] local.INFO: Packet analysis {"connection_id":54654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:51] local.INFO: Extracted packet for processing {"connection_id":54654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:12: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-04-26 12:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":54654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:12:51] local.INFO: GPS data processed {"connection_id":54654,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:12:51] local.INFO: Acknowledgment sent {"connection_id":54654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:13:13] local.INFO: TCP Data received {"connection_id":55383,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:13] local.INFO: Processing buffer {"connection_id":55383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:13] local.INFO: IMEI packet received {"connection_id":55383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":55383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:13:13] local.INFO: TCP Data received {"connection_id":55383,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:13] local.INFO: Processing buffer {"connection_id":55383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:13] local.INFO: IMEI packet received {"connection_id":55383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":55383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:13:14] local.INFO: TCP Data received {"connection_id":54463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:13:14] local.INFO: Processing buffer {"connection_id":54463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:13:14] local.INFO: IMEI packet received {"connection_id":54463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:13:18] local.INFO: TCP Data received {"connection_id":55383,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:18] local.INFO: Processing buffer {"connection_id":55383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:13:18] local.INFO: IMEI packet received {"connection_id":55383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":55383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:13:19] local.INFO: TCP Data received {"connection_id":55383,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8864d10012d183dc007219128004c012e30..."} 
[2026-04-26 12:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8864d10012d183dc007219128004c012e30..."} 
[2026-04-26 12:13:19] local.INFO: Processing buffer {"connection_id":55383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8864d10012d183dc007219128004c012e30..."} 
[2026-04-26 12:13:19] local.INFO: Packet analysis {"connection_id":55383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc886"} 
[2026-04-26 12:13:19] local.INFO: Extracted packet for processing {"connection_id":55383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc886"} 
[2026-04-26 12:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119640360,"longitude_deg":75.6563392,"latitude_deg":11.964036,"altitude":76,"angle":302,"satellites":48,"speed":5,"hex_longitude":"2d183dc0","hex_latitude":"07219128","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959546368001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744062812094464,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326796288,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777185738000,"timestamp_ms":1777185738000,"timestamp_seconds":1777185738,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8864d10"} 
[2026-04-26 12:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:13: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-04-26 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-26 12:13:19] 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-04-26 12: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-04-26 12:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959546368001,"66":13863,"120":206,"28":31744,"24":5,"16":114744062812094464,"45":1747044842326796288},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959546368001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:13:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744062812094464,"km_value":114744062812094.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326796288,"description":"Unknown IO ID 45"} 
[2026-04-26 12:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959546368001,"power":13863,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1747044842326796288}} 
[2026-04-26 12:13:19] local.INFO: TCP Data received {"connection_id":54463,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:13:19] local.INFO: Processing buffer {"connection_id":54463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:13:19] local.INFO: IMEI packet received {"connection_id":54463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":55383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:13:19] local.INFO: GPS data processed {"connection_id":55383,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:13:19] local.INFO: Acknowledgment sent {"connection_id":55383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:13:20] local.INFO: TCP Data received {"connection_id":54463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:13:20] local.INFO: Processing buffer {"connection_id":54463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:13:20] local.INFO: Packet analysis {"connection_id":54463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:13:20] local.INFO: Extracted packet for processing {"connection_id":54463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:13: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-04-26 12: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-04-26 12:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:13:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":54463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:13:20] local.INFO: GPS data processed {"connection_id":54463,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:13:20] local.INFO: Acknowledgment sent {"connection_id":54463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:13:51] local.INFO: TCP Data received {"connection_id":55383,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8867fd8012d18268007219f90004a013931..."} 
[2026-04-26 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8867fd8012d18268007219f90004a013931..."} 
[2026-04-26 12:13:51] local.INFO: Processing buffer {"connection_id":55383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8867fd8012d18268007219f90004a013931..."} 
[2026-04-26 12:13:51] local.INFO: Packet analysis {"connection_id":55383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc886"} 
[2026-04-26 12:13:51] local.INFO: Extracted packet for processing {"connection_id":55383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc886"} 
[2026-04-26 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119644048,"longitude_deg":75.655744,"latitude_deg":11.9644048,"altitude":74,"angle":313,"satellites":49,"speed":25,"hex_longitude":"2d182680","hex_latitude":"07219f90","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959548928001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744397819543552,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367350085632,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185751000,"timestamp_ms":1777185751000,"timestamp_seconds":1777185751,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8867fd8"} 
[2026-04-26 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 12:13:51] 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-04-26 12: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-04-26 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959548928001,"66":13820,"120":206,"28":31744,"24":25,"16":114744397819543552,"45":1746763367350085632},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959548928001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744397819543552,"km_value":114744397819543.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367350085632,"description":"Unknown IO ID 45"} 
[2026-04-26 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959548928001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1746763367350085632}} 
[2026-04-26 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":55383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:13:51] local.INFO: GPS data processed {"connection_id":55383,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:13:51] local.INFO: Acknowledgment sent {"connection_id":55383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:13:51] local.INFO: TCP Data received {"connection_id":54463,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:13:51] local.INFO: Processing buffer {"connection_id":54463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:13:51] local.INFO: Packet analysis {"connection_id":54463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:13:51] local.INFO: Extracted packet for processing {"connection_id":54463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:13: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-04-26 12: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-04-26 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:13: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-04-26 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":54463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:13:51] local.INFO: GPS data processed {"connection_id":54463,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:13:51] local.INFO: Acknowledgment sent {"connection_id":54463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:14:11] local.INFO: TCP Data received {"connection_id":55384,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:11] local.INFO: Processing buffer {"connection_id":55384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:11] local.INFO: IMEI packet received {"connection_id":55384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":55384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:14:12] local.INFO: TCP Data received {"connection_id":55384,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:12] local.INFO: Processing buffer {"connection_id":55384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:12] local.INFO: IMEI packet received {"connection_id":55384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":55384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:14:13] local.INFO: TCP Data received {"connection_id":55384,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:13] local.INFO: Processing buffer {"connection_id":55384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:13] local.INFO: IMEI packet received {"connection_id":55384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":55384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:14:13] local.INFO: TCP Data received {"connection_id":55384,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:13] local.INFO: Processing buffer {"connection_id":55384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:14:13] local.INFO: IMEI packet received {"connection_id":55384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":55384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:14:14] local.INFO: TCP Data received {"connection_id":55385,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:14:14] local.INFO: Processing buffer {"connection_id":55385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:14:14] local.INFO: IMEI packet received {"connection_id":55385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":55385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:14:19] local.INFO: TCP Data received {"connection_id":55385,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:14:19] local.INFO: Processing buffer {"connection_id":55385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:14:19] local.INFO: IMEI packet received {"connection_id":55385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":55385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:14:20] local.INFO: TCP Data received {"connection_id":55385,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:14:20] local.INFO: Processing buffer {"connection_id":55385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:14:20] local.INFO: Packet analysis {"connection_id":55385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:14:20] local.INFO: Extracted packet for processing {"connection_id":55385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:14: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-04-26 12:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:14:20] 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-04-26 12:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:14:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":55385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:14:20] local.INFO: GPS data processed {"connection_id":55385,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:14:20] local.INFO: Acknowledgment sent {"connection_id":55385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:14:51] local.INFO: TCP Data received {"connection_id":55385,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:14:51] local.INFO: Processing buffer {"connection_id":55385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:14:51] local.INFO: Packet analysis {"connection_id":55385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:14:51] local.INFO: Extracted packet for processing {"connection_id":55385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:14: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-04-26 12:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:14:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":55385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:14:51] local.INFO: GPS data processed {"connection_id":55385,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:14:51] local.INFO: Acknowledgment sent {"connection_id":55385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:15:14] local.INFO: TCP Data received {"connection_id":55386,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:15:14] local.INFO: Processing buffer {"connection_id":55386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:15:14] local.INFO: IMEI packet received {"connection_id":55386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":55386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:15:19] local.INFO: TCP Data received {"connection_id":55386,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:15:19] local.INFO: Processing buffer {"connection_id":55386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:15:19] local.INFO: IMEI packet received {"connection_id":55386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":55386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:15:20] local.INFO: TCP Data received {"connection_id":55386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:15:20] local.INFO: Processing buffer {"connection_id":55386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88416a8012cb299c007822ce00049001231..."} 
[2026-04-26 12:15:20] local.INFO: Packet analysis {"connection_id":55386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:15:20] local.INFO: Extracted packet for processing {"connection_id":55386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc884"} 
[2026-04-26 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959434752001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185593000,"timestamp_ms":1777185593000,"timestamp_seconds":1777185593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88416a8"} 
[2026-04-26 12:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:15: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-04-26 12: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-04-26 12:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:15:20] 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-04-26 12:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959434752001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959434752001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:15:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959434752001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":55386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:15:20] local.INFO: GPS data processed {"connection_id":55386,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:15:20] local.INFO: Acknowledgment sent {"connection_id":55386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:15:40] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:15:40] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:15:40] local.INFO: IMEI packet received {"connection_id":54729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":54729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:15:51] local.INFO: TCP Data received {"connection_id":55386,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:15:51] local.INFO: Processing buffer {"connection_id":55386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:15:51] local.INFO: Packet analysis {"connection_id":55386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:15:51] local.INFO: Extracted packet for processing {"connection_id":55386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:15: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-04-26 12:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:15:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":55386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:15:51] local.INFO: GPS data processed {"connection_id":55386,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:15:51] local.INFO: Acknowledgment sent {"connection_id":55386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:16:14] local.INFO: TCP Data received {"connection_id":54655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:16:14] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:16:14] local.INFO: IMEI packet received {"connection_id":54655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":54655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:16:19] local.INFO: TCP Data received {"connection_id":54655,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:16:19] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:16:19] local.INFO: IMEI packet received {"connection_id":54655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:16:20] local.INFO: TCP Data received {"connection_id":54655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:16:20] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:16:20] local.INFO: Packet analysis {"connection_id":54655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:16:20] local.INFO: Extracted packet for processing {"connection_id":54655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:16: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-04-26 12: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-04-26 12:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:16: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-04-26 12:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:16:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:16:20] local.INFO: GPS data processed {"connection_id":54655,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:16:20] local.INFO: Acknowledgment sent {"connection_id":54655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:16:51] local.INFO: TCP Data received {"connection_id":54655,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:16:51] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:16:51] local.INFO: Packet analysis {"connection_id":54655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:16:51] local.INFO: Extracted packet for processing {"connection_id":54655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:16: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-04-26 12: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-04-26 12:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:16: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-04-26 12:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:16:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":54655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:16:51] local.INFO: GPS data processed {"connection_id":54655,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:16:51] local.INFO: Acknowledgment sent {"connection_id":54655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:17:14] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:17:14] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:17:14] local.INFO: IMEI packet received {"connection_id":54466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":54466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:17:19] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:17:19] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:17:19] local.INFO: IMEI packet received {"connection_id":54466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:17:20] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:17:20] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:17:20] local.INFO: Packet analysis {"connection_id":54466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:17:20] local.INFO: Extracted packet for processing {"connection_id":54466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:17: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-04-26 12: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-04-26 12:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:17:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":54466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:17:20] local.INFO: GPS data processed {"connection_id":54466,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:17:20] local.INFO: Acknowledgment sent {"connection_id":54466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:17:50] local.INFO: TCP Data received {"connection_id":54466,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:17:50] local.INFO: Processing buffer {"connection_id":54466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:17:50] local.INFO: Packet analysis {"connection_id":54466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:17:50] local.INFO: Extracted packet for processing {"connection_id":54466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:17:50] 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-04-26 12: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-04-26 12:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:17:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":54466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:17:50] local.INFO: GPS data processed {"connection_id":54466,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:17:50] local.INFO: Acknowledgment sent {"connection_id":54466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:18:14] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:18:14] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:18:14] local.INFO: IMEI packet received {"connection_id":54659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:18:19] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:18:19] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:18:19] local.INFO: IMEI packet received {"connection_id":54659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":54659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:18:20] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:18:20] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:18:20] local.INFO: Packet analysis {"connection_id":54659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:18:20] local.INFO: Extracted packet for processing {"connection_id":54659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:18: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-04-26 12: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-04-26 12:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:18:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":54659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:18:20] local.INFO: GPS data processed {"connection_id":54659,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:18:20] local.INFO: Acknowledgment sent {"connection_id":54659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:18:50] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:18:51] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:18:51] local.INFO: Packet analysis {"connection_id":54659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:18:51] local.INFO: Extracted packet for processing {"connection_id":54659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 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-04-26 12:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:18: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-04-26 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-04-26 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-04-26 12:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:18: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-04-26 12:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:18:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":54659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:18:51] local.INFO: GPS data processed {"connection_id":54659,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:18:51] local.INFO: Acknowledgment sent {"connection_id":54659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:19:14] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:19:14] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:19:14] local.INFO: IMEI packet received {"connection_id":54731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":54731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:19:18] local.INFO: TCP Data received {"connection_id":54467,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:19:18] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:19:18] local.INFO: IMEI packet received {"connection_id":54467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":54467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:19:19] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:19:19] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:19:19] local.INFO: IMEI packet received {"connection_id":54731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":54731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:19:19] local.INFO: TCP Data received {"connection_id":54467,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88a6008012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88a6008012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:19:19] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88a6008012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:19:19] local.INFO: Packet analysis {"connection_id":54467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88a"} 
[2026-04-26 12:19:19] local.INFO: Extracted packet for processing {"connection_id":54467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88a"} 
[2026-04-26 12:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":49,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959611904001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777186005000,"timestamp_ms":1777186005000,"timestamp_seconds":1777186005,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88a6008"} 
[2026-04-26 12:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:19: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-04-26 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 12:19:19] 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-04-26 12:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959611904001,"66":12841,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959611904001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:19:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959611904001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":54467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:19:19] local.INFO: GPS data processed {"connection_id":54467,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:19:19] local.INFO: Acknowledgment sent {"connection_id":54467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:19:20] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:19:20] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:19:20] local.INFO: Packet analysis {"connection_id":54731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:19:20] local.INFO: Extracted packet for processing {"connection_id":54731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:19: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-04-26 12: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-04-26 12:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:19: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-04-26 12:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:19:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":54731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:19:20] local.INFO: GPS data processed {"connection_id":54731,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:19:20] local.INFO: Acknowledgment sent {"connection_id":54731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:19:50] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:19:50] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:19:50] local.INFO: Packet analysis {"connection_id":54731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:19:50] local.INFO: Extracted packet for processing {"connection_id":54731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:19:50] 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-04-26 12:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:19:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":54731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:19:50] local.INFO: GPS data processed {"connection_id":54731,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:19:50] local.INFO: Acknowledgment sent {"connection_id":54731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:19:51] local.INFO: TCP Data received {"connection_id":54467,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88ab210012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88ab210012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:19:51] local.INFO: Processing buffer {"connection_id":54467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88ab210012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:19:51] local.INFO: Packet analysis {"connection_id":54467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88a"} 
[2026-04-26 12:19:51] local.INFO: Extracted packet for processing {"connection_id":54467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88a"} 
[2026-04-26 12:19:51] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":49,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959617280001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186026000,"timestamp_ms":1777186026000,"timestamp_seconds":1777186026,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88ab210"} 
[2026-04-26 12:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 12:19:51] 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-04-26 12: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-04-26 12:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959617280001,"66":12819,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959617280001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:19:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:19:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959617280001,"power":12819,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":54467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:19:51] local.INFO: GPS data processed {"connection_id":54467,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:19:51] local.INFO: Acknowledgment sent {"connection_id":54467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:20:12] local.INFO: TCP Data received {"connection_id":54468,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:20:12] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:20:12] local.INFO: IMEI packet received {"connection_id":54468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":54468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:20:14] local.INFO: TCP Data received {"connection_id":55389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:20:14] local.INFO: Processing buffer {"connection_id":55389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:20:14] local.INFO: IMEI packet received {"connection_id":55389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":55389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:20:18] local.INFO: TCP Data received {"connection_id":54468,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:20:18] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:20:18] local.INFO: IMEI packet received {"connection_id":54468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:20:19] local.INFO: TCP Data received {"connection_id":55389,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:20:19] local.INFO: Processing buffer {"connection_id":55389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:20:19] local.INFO: IMEI packet received {"connection_id":55389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":55389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:20:19] local.INFO: TCP Data received {"connection_id":54468,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88b0418012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88b0418012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:20:19] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88b0418012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:20:19] local.INFO: Packet analysis {"connection_id":54468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:20:19] local.INFO: Extracted packet for processing {"connection_id":54468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959622656001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777186047000,"timestamp_ms":1777186047000,"timestamp_seconds":1777186047,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88b0418"} 
[2026-04-26 12:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:20:19] 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-04-26 12:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":20548576031539200,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3364405752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-8615403674294279488,"corrected_to":0} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3014131786,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4107546747252048128,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182083680731392,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512108403110372,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2815819776,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428592488563397168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195050496,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750505519554996,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,167,157,96,45,64,179,74,49,10,66,14,47,184,1,240,85,200,33,4,113,205,20,34,48,239,50,2,151,7,73,124,214,69,208],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":200,"original":-8615403674294279488,"validated":0},{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-04-26 12:20:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493066701897728,"timestamp_seconds":5332493066701898.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 12:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959622656001,"66":12776,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959622656001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:20:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:20:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959622656001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:20:19] local.INFO: GPS data processed {"connection_id":54468,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:20:19] local.INFO: Acknowledgment sent {"connection_id":54468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:20:20] local.INFO: TCP Data received {"connection_id":55389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:20:20] local.INFO: Processing buffer {"connection_id":55389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc888ae70012cb299c007822ce0004b001231..."} 
[2026-04-26 12:20:20] local.INFO: Packet analysis {"connection_id":55389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:20:20] local.INFO: Extracted packet for processing {"connection_id":55389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc888"} 
[2026-04-26 12:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959511808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777185894000,"timestamp_ms":1777185894000,"timestamp_seconds":1777185894,"priority":1,"record_length":96,"hex_timestamp":"0000019dc888ae70"} 
[2026-04-26 12:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 12:20: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-04-26 12: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-04-26 12:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:20: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-04-26 12:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959511808001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959511808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:20:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959511808001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":55389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:20:20] local.INFO: GPS data processed {"connection_id":55389,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:20:20] local.INFO: Acknowledgment sent {"connection_id":55389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:20:50] local.INFO: TCP Data received {"connection_id":55389,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:20:50] local.INFO: Processing buffer {"connection_id":55389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:20:50] local.INFO: Packet analysis {"connection_id":55389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:20:50] local.INFO: Extracted packet for processing {"connection_id":55389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:20:50] 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-04-26 12:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:20:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":55389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:20:50] local.INFO: GPS data processed {"connection_id":55389,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:20:50] local.INFO: Acknowledgment sent {"connection_id":55389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:20:51] local.INFO: TCP Data received {"connection_id":54468,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88b5620012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88b5620012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:20:51] local.INFO: Processing buffer {"connection_id":54468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88b5620012d1821400721b3a8004a00d231..."} 
[2026-04-26 12:20:51] local.INFO: Packet analysis {"connection_id":54468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:20:51] local.INFO: Extracted packet for processing {"connection_id":54468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:20:51] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":49,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959628032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186068000,"timestamp_ms":1777186068000,"timestamp_seconds":1777186068,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88b5620"} 
[2026-04-26 12:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 12:20:51] 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-04-26 12: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-04-26 12:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959628032001,"66":12809,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959628032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:20:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959628032001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:20:51] local.INFO: GPS data processed {"connection_id":54468,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:20:51] local.INFO: Acknowledgment sent {"connection_id":54468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:21:05] local.INFO: TCP Data received {"connection_id":54660,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:21:05] local.INFO: Processing buffer {"connection_id":54660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:21:05] local.INFO: IMEI packet received {"connection_id":54660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":54660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:21:12] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:12] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:12] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:21:14] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:14] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:14] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:21:18] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:18] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:21:18] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:21:19] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:21:19] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:21:19] local.INFO: IMEI packet received {"connection_id":54662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:21:19] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88ba828012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88ba828012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:21:19] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88ba828012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:21:19] local.INFO: Packet analysis {"connection_id":54661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:21:19] local.INFO: Extracted packet for processing {"connection_id":54661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959633408001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777186089000,"timestamp_ms":1777186089000,"timestamp_seconds":1777186089,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88ba828"} 
[2026-04-26 12:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:21:19] 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-04-26 12:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3364447752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-8569224185927687488,"corrected_to":0} 
[2026-04-26 12:21:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6989813015713467932,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2816147456,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428592488563397168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:19] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,167,157,4,45,64,179,74,50,10,66,178,49,96,1,240,41,200,33,113,205,184,168,48,239,2,151,7,124,219],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":200,"original":-8569224185927687488,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-04-26 12:21:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332493066701897728,"timestamp_seconds":5332493066701898.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 12:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959633408001,"66":12798,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959633408001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:21:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:21:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959633408001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:21:20] local.INFO: GPS data processed {"connection_id":54661,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:21:20] local.INFO: Acknowledgment sent {"connection_id":54661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:21:24] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:21:24] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:21:24] local.INFO: IMEI packet received {"connection_id":54662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":54662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:21:25] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:21:25] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:21:25] local.INFO: Packet analysis {"connection_id":54662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:21:25] local.INFO: Extracted packet for processing {"connection_id":54662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:21: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-04-26 12:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:21:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":54662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:21:25] local.INFO: GPS data processed {"connection_id":54662,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:21:25] local.INFO: Acknowledgment sent {"connection_id":54662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:21:30] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:21:30] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:21:30] local.INFO: Packet analysis {"connection_id":54662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:21:30] local.INFO: Extracted packet for processing {"connection_id":54662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:21:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:21:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:21:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":54662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:21:30] local.INFO: GPS data processed {"connection_id":54662,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:21:30] local.INFO: Acknowledgment sent {"connection_id":54662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:21:40] local.INFO: TCP Data received {"connection_id":54663,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:21:40] local.INFO: Processing buffer {"connection_id":54663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:21:40] local.INFO: IMEI packet received {"connection_id":54663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":54663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:21:51] local.INFO: TCP Data received {"connection_id":54661,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88bf648012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88bf648012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:21:51] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88bf648012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:21:51] local.INFO: Packet analysis {"connection_id":54661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:21:51] local.INFO: Extracted packet for processing {"connection_id":54661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88b"} 
[2026-04-26 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959638784001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186109000,"timestamp_ms":1777186109000,"timestamp_seconds":1777186109,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88bf648"} 
[2026-04-26 12:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 12:21:51] 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-04-26 12:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959638784001,"66":12776,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959638784001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:21:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:21:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959638784001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:21:51] local.INFO: GPS data processed {"connection_id":54661,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:21:51] local.INFO: Acknowledgment sent {"connection_id":54661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:22:14] local.INFO: TCP Data received {"connection_id":54732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:22:14] local.INFO: Processing buffer {"connection_id":54732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:22:14] local.INFO: IMEI packet received {"connection_id":54732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":54732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:22:17] local.INFO: TCP Data received {"connection_id":54469,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:17] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:17] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:22:17] local.INFO: TCP Data received {"connection_id":54469,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:17] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:17] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:22:19] local.INFO: TCP Data received {"connection_id":54732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:22:19] local.INFO: Processing buffer {"connection_id":54732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:22:19] local.INFO: IMEI packet received {"connection_id":54732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":54732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:22:20] local.INFO: TCP Data received {"connection_id":54732,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:22:20] local.INFO: Processing buffer {"connection_id":54732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:22:20] local.INFO: Packet analysis {"connection_id":54732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:22:20] local.INFO: Extracted packet for processing {"connection_id":54732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:22:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:22: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-04-26 12: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-04-26 12:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:22: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-04-26 12:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:22:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":54732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:22:20] local.INFO: GPS data processed {"connection_id":54732,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:22:20] local.INFO: Acknowledgment sent {"connection_id":54732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:22:23] local.INFO: TCP Data received {"connection_id":54469,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:23] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:22:23] local.INFO: IMEI packet received {"connection_id":54469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":54469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:22:24] local.INFO: TCP Data received {"connection_id":54469,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88c4850012d1821400721b3a8004a00d230..."} 
[2026-04-26 12:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88c4850012d1821400721b3a8004a00d230..."} 
[2026-04-26 12:22:24] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88c4850012d1821400721b3a8004a00d230..."} 
[2026-04-26 12:22:24] local.INFO: Packet analysis {"connection_id":54469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88c"} 
[2026-04-26 12:22:24] local.INFO: Extracted packet for processing {"connection_id":54469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88c"} 
[2026-04-26 12:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959643904001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777186130000,"timestamp_ms":1777186130000,"timestamp_seconds":1777186130,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88c4850"} 
[2026-04-26 12:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 12:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959643904001,"66":12743,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959643904001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:22:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:22:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959643904001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":54469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:22:24] local.INFO: GPS data processed {"connection_id":54469,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:22:24] local.INFO: Acknowledgment sent {"connection_id":54469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:22:28] local.INFO: TCP Data received {"connection_id":54469,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88c9a58012d1821400721b3a8004a00d22f..."} 
[2026-04-26 12:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88c9a58012d1821400721b3a8004a00d22f..."} 
[2026-04-26 12:22:28] local.INFO: Processing buffer {"connection_id":54469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88c9a58012d1821400721b3a8004a00d22f..."} 
[2026-04-26 12:22:28] local.INFO: Packet analysis {"connection_id":54469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88c"} 
[2026-04-26 12:22:28] local.INFO: Extracted packet for processing {"connection_id":54469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88c"} 
[2026-04-26 12:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959649280001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777186151000,"timestamp_ms":1777186151000,"timestamp_seconds":1777186151,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88c9a58"} 
[2026-04-26 12:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:22:28] 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-04-26 12:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-26 12:22:28] 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-04-26 12:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959649280001,"66":12743,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959649280001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:22:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959649280001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":54469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:22:28] local.INFO: GPS data processed {"connection_id":54469,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:22:28] local.INFO: Acknowledgment sent {"connection_id":54469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:22:51] local.INFO: TCP Data received {"connection_id":54732,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:22:51] local.INFO: Processing buffer {"connection_id":54732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:22:51] local.INFO: Packet analysis {"connection_id":54732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:22:51] local.INFO: Extracted packet for processing {"connection_id":54732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:22: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-04-26 12:22:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:22: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-04-26 12:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:22:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":54732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:22:51] local.INFO: GPS data processed {"connection_id":54732,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:22:51] local.INFO: Acknowledgment sent {"connection_id":54732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:23:13] local.INFO: TCP Data received {"connection_id":55390,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:23:13] local.INFO: Processing buffer {"connection_id":55390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:23:13] local.INFO: IMEI packet received {"connection_id":55390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":55390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:23:14] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:23:14] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:23:14] local.INFO: IMEI packet received {"connection_id":54733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":54733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:23:17] local.INFO: TCP Data received {"connection_id":55390,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:23:17] local.INFO: Processing buffer {"connection_id":55390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:23:17] local.INFO: IMEI packet received {"connection_id":55390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":55390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:23:18] local.INFO: TCP Data received {"connection_id":55390,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88cec60012d1821400721b3a8004a00d22f..."} 
[2026-04-26 12:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88cec60012d1821400721b3a8004a00d22f..."} 
[2026-04-26 12:23:18] local.INFO: Processing buffer {"connection_id":55390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88cec60012d1821400721b3a8004a00d22f..."} 
[2026-04-26 12:23:18] local.INFO: Packet analysis {"connection_id":55390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88c"} 
[2026-04-26 12:23:18] local.INFO: Extracted packet for processing {"connection_id":55390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88c"} 
[2026-04-26 12:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":47,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959654656001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777186172000,"timestamp_ms":1777186172000,"timestamp_seconds":1777186172,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88cec60"} 
[2026-04-26 12:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:23: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-04-26 12: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-26 12:23:18] 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-04-26 12: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-04-26 12:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959654656001,"66":12722,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959654656001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:23:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:23:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959654656001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":55390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:23:19] local.INFO: GPS data processed {"connection_id":55390,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:23:19] local.INFO: Acknowledgment sent {"connection_id":55390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:23:19] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:23:19] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:23:19] local.INFO: IMEI packet received {"connection_id":54733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:23:20] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:23:20] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:23:20] local.INFO: Packet analysis {"connection_id":54733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:23:20] local.INFO: Extracted packet for processing {"connection_id":54733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:23: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-04-26 12: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-04-26 12:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:23: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-04-26 12:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:23:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:23:20] local.INFO: GPS data processed {"connection_id":54733,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:23:20] local.INFO: Acknowledgment sent {"connection_id":54733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:23:50] local.INFO: TCP Data received {"connection_id":55390,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d3e68012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d3e68012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:23:50] local.INFO: Processing buffer {"connection_id":55390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d3e68012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:23:50] local.INFO: Packet analysis {"connection_id":55390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:23:50] local.INFO: Extracted packet for processing {"connection_id":55390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959660032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777186193000,"timestamp_ms":1777186193000,"timestamp_seconds":1777186193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d3e68"} 
[2026-04-26 12:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:23:50] 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-04-26 12: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 12:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959660032001,"66":12689,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959660032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:23:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:23:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959660032001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":55390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:23:51] local.INFO: GPS data processed {"connection_id":55390,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:23:51] local.INFO: Acknowledgment sent {"connection_id":55390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:23:51] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:23:51] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:23:51] local.INFO: Packet analysis {"connection_id":54733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:23:51] local.INFO: Extracted packet for processing {"connection_id":54733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:23: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-04-26 12: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-04-26 12:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:23: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-04-26 12:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:23:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:23:51] local.INFO: GPS data processed {"connection_id":54733,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:23:51] local.INFO: Acknowledgment sent {"connection_id":54733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:24:13] local.INFO: TCP Data received {"connection_id":54470,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:24:13] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:24:13] local.INFO: IMEI packet received {"connection_id":54470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":54470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:24:14] local.INFO: TCP Data received {"connection_id":54665,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:24:14] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:24:14] local.INFO: IMEI packet received {"connection_id":54665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":54665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:24:17] local.INFO: TCP Data received {"connection_id":54470,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:24:17] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:24:17] local.INFO: IMEI packet received {"connection_id":54470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":54470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:24:19] local.INFO: TCP Data received {"connection_id":54470,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d9070012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d9070012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:24:19] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d9070012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:24:19] local.INFO: Packet analysis {"connection_id":54470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:19] local.INFO: Extracted packet for processing {"connection_id":54470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665408001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777186214000,"timestamp_ms":1777186214000,"timestamp_seconds":1777186214,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d9070"} 
[2026-04-26 12:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:24: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-04-26 12:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-26 12:24: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-04-26 12:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665408001,"66":11993,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665408001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:24:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665408001,"power":11993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":54470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:24:19] local.INFO: GPS data processed {"connection_id":54470,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:24:19] local.INFO: Acknowledgment sent {"connection_id":54470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:24:19] local.INFO: TCP Data received {"connection_id":54665,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:24:19] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:24:19] local.INFO: IMEI packet received {"connection_id":54665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:24:20] local.INFO: TCP Data received {"connection_id":54665,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:24:20] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:24:20] local.INFO: Packet analysis {"connection_id":54665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:20] local.INFO: Extracted packet for processing {"connection_id":54665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:24: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-04-26 12: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-04-26 12:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:24: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-04-26 12:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:24:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:24:20] local.INFO: GPS data processed {"connection_id":54665,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:24:20] local.INFO: Acknowledgment sent {"connection_id":54665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:24:50] local.INFO: TCP Data received {"connection_id":54470,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88de278012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88de278012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:24:50] local.INFO: Processing buffer {"connection_id":54470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88de278012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:24:50] local.INFO: Packet analysis {"connection_id":54470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:50] local.INFO: Extracted packet for processing {"connection_id":54470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959670784001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777186235000,"timestamp_ms":1777186235000,"timestamp_seconds":1777186235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88de278"} 
[2026-04-26 12:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:24:50] 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-04-26 12: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":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-26 12:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959670784001,"66":12645,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959670784001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959670784001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:24:51] local.INFO: GPS data processed {"connection_id":54470,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:24:51] local.INFO: Acknowledgment sent {"connection_id":54470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:24:51] local.INFO: TCP Data received {"connection_id":54665,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:24:51] local.INFO: Processing buffer {"connection_id":54665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:24:51] local.INFO: Packet analysis {"connection_id":54665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:51] local.INFO: Extracted packet for processing {"connection_id":54665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:24: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-04-26 12: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-04-26 12:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:24: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-04-26 12:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:24:51] local.INFO: GPS data processed {"connection_id":54665,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:24:51] local.INFO: Acknowledgment sent {"connection_id":54665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:25:12] local.INFO: TCP Data received {"connection_id":54666,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:25:12] local.INFO: Processing buffer {"connection_id":54666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:25:12] local.INFO: IMEI packet received {"connection_id":54666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":54666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:25:14] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:25:14] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:25:14] local.INFO: IMEI packet received {"connection_id":54735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":54735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:25:18] local.INFO: TCP Data received {"connection_id":54666,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:25:18] local.INFO: Processing buffer {"connection_id":54666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:25:18] local.INFO: IMEI packet received {"connection_id":54666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":54666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:25:19] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:25:19] local.INFO: TCP Data received {"connection_id":54666,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88e3480012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:25:19] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:25:19] local.INFO: IMEI packet received {"connection_id":54735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":54735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88e3480012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:25:19] local.INFO: Processing buffer {"connection_id":54666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88e3480012d1821400721b3a8004a00d232..."} 
[2026-04-26 12:25:19] local.INFO: Packet analysis {"connection_id":54666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88e"} 
[2026-04-26 12:25:19] local.INFO: Extracted packet for processing {"connection_id":54666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88e"} 
[2026-04-26 12:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":50,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959676160001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777186256000,"timestamp_ms":1777186256000,"timestamp_seconds":1777186256,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88e3480"} 
[2026-04-26 12:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:25:19] 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-04-26 12:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-26 12:25:19] 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-04-26 12:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959676160001,"66":12678,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959676160001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:25:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959676160001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":54666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:25:19] local.INFO: GPS data processed {"connection_id":54666,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:25:19] local.INFO: Acknowledgment sent {"connection_id":54666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:25:20] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:25:20] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc88d4638012cb299c007822ce0004a001230..."} 
[2026-04-26 12:25:20] local.INFO: Packet analysis {"connection_id":54735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:25:20] local.INFO: Extracted packet for processing {"connection_id":54735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc88d"} 
[2026-04-26 12:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959588864001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186195000,"timestamp_ms":1777186195000,"timestamp_seconds":1777186195,"priority":1,"record_length":96,"hex_timestamp":"0000019dc88d4638"} 
[2026-04-26 12:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:25: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-04-26 12: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-04-26 12:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:25: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-04-26 12:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959588864001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959588864001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:25:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959588864001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":54735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:25:20] local.INFO: GPS data processed {"connection_id":54735,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:25:20] local.INFO: Acknowledgment sent {"connection_id":54735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:25:51] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:25:51] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:25:51] local.INFO: Packet analysis {"connection_id":54735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:25:51] local.INFO: Extracted packet for processing {"connection_id":54735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:25: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-04-26 12:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:25:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:25:51] local.INFO: GPS data processed {"connection_id":54735,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:25:51] local.INFO: Acknowledgment sent {"connection_id":54735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:25:51] local.INFO: TCP Data received {"connection_id":54666,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891bad8012d1821400721b3a8004a00d230..."} 
[2026-04-26 12:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891bad8012d1821400721b3a8004a00d230..."} 
[2026-04-26 12:25:52] local.INFO: Processing buffer {"connection_id":54666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891bad8012d1821400721b3a8004a00d230..."} 
[2026-04-26 12:25:52] local.INFO: Packet analysis {"connection_id":54666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:25:52] local.INFO: Extracted packet for processing {"connection_id":54666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649192,"longitude_deg":75.6556096,"latitude_deg":11.9649192,"altitude":74,"angle":210,"satellites":48,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-04-26 12:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959735296001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744874560913408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777186487000,"timestamp_ms":1777186487000,"timestamp_seconds":1777186487,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891bad8"} 
[2026-04-26 12:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:25: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-04-26 12:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 12:25:52] 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-04-26 12:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959735296001,"66":14157,"120":206,"28":31744,"24":0,"16":114744874560913408,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959735296001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:25:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744874560913408,"km_value":114744874560913.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959735296001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":54666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:25:52] local.INFO: GPS data processed {"connection_id":54666,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:25:52] local.INFO: Acknowledgment sent {"connection_id":54666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:26:12] local.INFO: TCP Data received {"connection_id":54667,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:26:12] local.INFO: Processing buffer {"connection_id":54667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:26:12] local.INFO: IMEI packet received {"connection_id":54667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":54667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:26:18] local.INFO: TCP Data received {"connection_id":54667,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:26:18] local.INFO: Processing buffer {"connection_id":54667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:26:18] local.INFO: IMEI packet received {"connection_id":54667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":54667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:26:19] local.INFO: TCP Data received {"connection_id":54667,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8920ce0012d1820400721b248004c00c533..."} 
[2026-04-26 12:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8920ce0012d1820400721b248004c00c533..."} 
[2026-04-26 12:26:19] local.INFO: Processing buffer {"connection_id":54667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8920ce0012d1820400721b248004c00c533..."} 
[2026-04-26 12:26:19] local.INFO: Packet analysis {"connection_id":54667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc892"} 
[2026-04-26 12:26:19] local.INFO: Extracted packet for processing {"connection_id":54667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc892"} 
[2026-04-26 12:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":76,"angle":197,"satellites":51,"speed":6,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-04-26 12:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959740672001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744896035749888,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516092928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777186508000,"timestamp_ms":1777186508000,"timestamp_seconds":1777186508,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8920ce0"} 
[2026-04-26 12:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:26: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-04-26 12:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-26 12:26:19] 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-04-26 12:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959740672001,"66":14243,"120":206,"28":31744,"24":6,"16":114744896035749888,"45":1738741330516092928},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959740672001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:26:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744896035749888,"km_value":114744896035749.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516092928,"description":"Unknown IO ID 45"} 
[2026-04-26 12:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959740672001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738741330516092928}} 
[2026-04-26 12:26:19] local.INFO: TCP Data received {"connection_id":54472,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:26:19] local.INFO: Processing buffer {"connection_id":54472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:26:19] local.INFO: IMEI packet received {"connection_id":54472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":54667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:26:19] local.INFO: GPS data processed {"connection_id":54667,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:26:19] local.INFO: Acknowledgment sent {"connection_id":54667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:26:24] local.INFO: TCP Data received {"connection_id":54472,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:26:24] local.INFO: Processing buffer {"connection_id":54472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:26:24] local.INFO: IMEI packet received {"connection_id":54472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":54472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:26:25] local.INFO: TCP Data received {"connection_id":54472,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:26:25] local.INFO: Processing buffer {"connection_id":54472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:26:25] local.INFO: Packet analysis {"connection_id":54472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:26:25] local.INFO: Extracted packet for processing {"connection_id":54472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:26:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:26:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":54472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":64999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:26:25] local.INFO: GPS data processed {"connection_id":54472,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:26:25] local.INFO: Acknowledgment sent {"connection_id":54472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:26:51] local.INFO: TCP Data received {"connection_id":54667,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8920ce0012d1820400721b248004c00c533..."} 
[2026-04-26 12:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8920ce0012d1820400721b248004c00c533..."} 
[2026-04-26 12:26:51] local.INFO: Processing buffer {"connection_id":54667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8920ce0012d1820400721b248004c00c533..."} 
[2026-04-26 12:26:51] local.INFO: Packet analysis {"connection_id":54667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc892"} 
[2026-04-26 12:26:51] local.INFO: Extracted packet for processing {"connection_id":54667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc892"} 
[2026-04-26 12:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648840,"longitude_deg":75.655584,"latitude_deg":11.964884,"altitude":76,"angle":197,"satellites":51,"speed":6,"hex_longitude":"2d182040","hex_latitude":"0721b248","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959746048001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114744896035749888,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539292160,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186508000,"timestamp_ms":1777186508000,"timestamp_seconds":1777186508,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8920ce0"} 
[2026-04-26 12:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:26: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-04-26 12: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-26 12:26:51] 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-04-26 12: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-04-26 12:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959746048001,"66":14243,"120":206,"28":31744,"24":6,"16":114744896035749888,"45":1738459855539292160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959746048001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:26:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114744896035749888,"km_value":114744896035749.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539292160,"description":"Unknown IO ID 45"} 
[2026-04-26 12:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959746048001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738459855539292160}} 
[2026-04-26 12:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":54667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:26:51] local.INFO: GPS data processed {"connection_id":54667,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:26:51] local.INFO: Acknowledgment sent {"connection_id":54667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:26:56] local.INFO: TCP Data received {"connection_id":54472,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:26:56] local.INFO: Processing buffer {"connection_id":54472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:26:56] local.INFO: Packet analysis {"connection_id":54472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:26:56] local.INFO: Extracted packet for processing {"connection_id":54472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:26:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:26:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":54472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:26:56] local.INFO: GPS data processed {"connection_id":54472,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:26:56] local.INFO: Acknowledgment sent {"connection_id":54472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:27:05] local.INFO: TCP Data received {"connection_id":54668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:27:05] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:27:05] local.INFO: IMEI packet received {"connection_id":54668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":54668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:27:12] local.INFO: TCP Data received {"connection_id":55393,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:27:12] local.INFO: Processing buffer {"connection_id":55393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:27:12] local.INFO: IMEI packet received {"connection_id":55393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":55393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:27:14] local.INFO: TCP Data received {"connection_id":55392,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:27:14] local.INFO: Processing buffer {"connection_id":55392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:27:14] local.INFO: IMEI packet received {"connection_id":55392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":55392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:27:19] local.INFO: TCP Data received {"connection_id":55393,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:27:19] local.INFO: Processing buffer {"connection_id":55393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:27:19] local.INFO: IMEI packet received {"connection_id":55393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":55393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:27:19] local.INFO: TCP Data received {"connection_id":55392,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:27:19] local.INFO: Processing buffer {"connection_id":55392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:27:19] local.INFO: IMEI packet received {"connection_id":55392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":55392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:27:20] local.INFO: TCP Data received {"connection_id":55393,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89335c0012d18a38007217620004d006a2f..."} 
[2026-04-26 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89335c0012d18a38007217620004d006a2f..."} 
[2026-04-26 12:27:20] local.INFO: Processing buffer {"connection_id":55393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89335c0012d18a38007217620004d006a2f..."} 
[2026-04-26 12:27:20] local.INFO: Packet analysis {"connection_id":55393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc893"} 
[2026-04-26 12:27:20] local.INFO: Extracted packet for processing {"connection_id":55393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc893"} 
[2026-04-26 12:27:20] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119633440,"longitude_deg":75.658944,"latitude_deg":11.963344,"altitude":77,"angle":106,"satellites":47,"speed":33,"hex_longitude":"2d18a380","hex_latitude":"07217620","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959764224001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114746807296196608,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770618371624955904,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:20] 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-04-26 12:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186584000,"timestamp_ms":1777186584000,"timestamp_seconds":1777186584,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89335c0"} 
[2026-04-26 12:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 12:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959764224001,"66":14363,"121":206,"28":31744,"24":33,"16":114746807296196608,"45":1770618371624955904},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959764224001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114746807296196608,"km_value":114746807296196.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770618371624955904,"description":"Unknown IO ID 45"} 
[2026-04-26 12:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959764224001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1770618371624955904}} 
[2026-04-26 12:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":55393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:27:20] local.INFO: GPS data processed {"connection_id":55393,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:27:20] local.INFO: Acknowledgment sent {"connection_id":55393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:27:20] local.INFO: TCP Data received {"connection_id":55392,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:27:20] local.INFO: Processing buffer {"connection_id":55392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:27:20] local.INFO: Packet analysis {"connection_id":55392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:27:20] local.INFO: Extracted packet for processing {"connection_id":55392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:27: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-04-26 12:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":55392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:27:20] local.INFO: GPS data processed {"connection_id":55392,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:27:20] local.INFO: Acknowledgment sent {"connection_id":55392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:27:40] local.INFO: TCP Data received {"connection_id":54473,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:27:40] local.INFO: Processing buffer {"connection_id":54473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:27:40] local.INFO: IMEI packet received {"connection_id":54473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":54473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:27:51] local.INFO: TCP Data received {"connection_id":55393,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc893ddb8012d18e000072166f00049003531..."} 
[2026-04-26 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc893ddb8012d18e000072166f00049003531..."} 
[2026-04-26 12:27:51] local.INFO: Processing buffer {"connection_id":55393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc893ddb8012d18e000072166f00049003531..."} 
[2026-04-26 12:27:51] local.INFO: Packet analysis {"connection_id":55393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc893"} 
[2026-04-26 12:27:51] local.INFO: Extracted packet for processing {"connection_id":55393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc893"} 
[2026-04-26 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756604928,"raw_latitude":119629552,"longitude_deg":75.6604928,"latitude_deg":11.9629552,"altitude":73,"angle":53,"satellites":49,"speed":12,"hex_longitude":"2d18e000","hex_latitude":"072166f0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959776256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114747949757497344,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207341852672,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:51] 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-04-26 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186627000,"timestamp_ms":1777186627000,"timestamp_seconds":1777186627,"priority":1,"record_length":96,"hex_timestamp":"0000019dc893ddb8"} 
[2026-04-26 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:27: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-04-26 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 12:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959776256001,"66":13906,"121":206,"28":31744,"24":12,"16":114747949757497344,"45":1792151207341852672},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959776256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114747949757497344,"km_value":114747949757497.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207341852672,"description":"Unknown IO ID 45"} 
[2026-04-26 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959776256001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1792151207341852672}} 
[2026-04-26 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":55393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:27:51] local.INFO: GPS data processed {"connection_id":55393,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:27:51] local.INFO: Acknowledgment sent {"connection_id":55393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:27:51] local.INFO: TCP Data received {"connection_id":55392,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:27:51] local.INFO: Processing buffer {"connection_id":55392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:27:51] local.INFO: Packet analysis {"connection_id":55392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:27:51] local.INFO: Extracted packet for processing {"connection_id":55392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":55392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:27:51] local.INFO: GPS data processed {"connection_id":55392,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:27:51] local.INFO: Acknowledgment sent {"connection_id":55392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:28:14] local.INFO: TCP Data received {"connection_id":55394,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:28:14] local.INFO: Processing buffer {"connection_id":55394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:28:14] local.INFO: IMEI packet received {"connection_id":55394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":55394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:28:16] local.INFO: TCP Data received {"connection_id":54669,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:16] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:16] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:28:17] local.INFO: TCP Data received {"connection_id":54669,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:17] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:17] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:28:17] local.INFO: TCP Data received {"connection_id":54669,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:17] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:17] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:28:18] local.INFO: TCP Data received {"connection_id":54669,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:18] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:28:18] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:28:19] local.INFO: TCP Data received {"connection_id":55394,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:28:19] local.INFO: Processing buffer {"connection_id":55394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:28:19] local.INFO: IMEI packet received {"connection_id":55394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":55394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:28:20] local.INFO: TCP Data received {"connection_id":55394,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:28:20] local.INFO: Processing buffer {"connection_id":55394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:28:20] local.INFO: Packet analysis {"connection_id":55394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:28:20] local.INFO: Extracted packet for processing {"connection_id":55394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:28: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-04-26 12:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:28:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":55394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:28:20] local.INFO: GPS data processed {"connection_id":55394,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:28:20] local.INFO: Acknowledgment sent {"connection_id":55394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:28:51] local.INFO: TCP Data received {"connection_id":55394,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:28:51] local.INFO: Processing buffer {"connection_id":55394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:28:51] local.INFO: Packet analysis {"connection_id":55394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:28:51] local.INFO: Extracted packet for processing {"connection_id":55394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:28:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":55394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:28:51] local.INFO: GPS data processed {"connection_id":55394,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:28:51] local.INFO: Acknowledgment sent {"connection_id":55394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:29:14] local.INFO: TCP Data received {"connection_id":54474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:29:14] local.INFO: Processing buffer {"connection_id":54474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:29:14] local.INFO: IMEI packet received {"connection_id":54474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":54474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:29:19] local.INFO: TCP Data received {"connection_id":54474,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:29:19] local.INFO: Processing buffer {"connection_id":54474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:29:19] local.INFO: IMEI packet received {"connection_id":54474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":54474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:29:20] local.INFO: TCP Data received {"connection_id":54474,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:29:20] local.INFO: Processing buffer {"connection_id":54474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:29:20] local.INFO: Packet analysis {"connection_id":54474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:29:20] local.INFO: Extracted packet for processing {"connection_id":54474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:29: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-04-26 12:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:29:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":54474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:29:20] local.INFO: GPS data processed {"connection_id":54474,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:29:20] local.INFO: Acknowledgment sent {"connection_id":54474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:29:51] local.INFO: TCP Data received {"connection_id":54474,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:29:51] local.INFO: Processing buffer {"connection_id":54474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:29:51] local.INFO: Packet analysis {"connection_id":54474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:29:51] local.INFO: Extracted packet for processing {"connection_id":54474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:29:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":54474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:29:51] local.INFO: GPS data processed {"connection_id":54474,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:29:51] local.INFO: Acknowledgment sent {"connection_id":54474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:30:14] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:30:14] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:30:14] local.INFO: IMEI packet received {"connection_id":54475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":54475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:30:19] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:30:19] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:30:19] local.INFO: IMEI packet received {"connection_id":54475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":54475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:30:20] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:30:20] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc891de00012cb299c007822ce00051001232..."} 
[2026-04-26 12:30:20] local.INFO: Packet analysis {"connection_id":54475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:30:20] local.INFO: Extracted packet for processing {"connection_id":54475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc891"} 
[2026-04-26 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959665920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186496000,"timestamp_ms":1777186496000,"timestamp_seconds":1777186496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc891de00"} 
[2026-04-26 12:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 12:30:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:30: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-04-26 12:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959665920001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959665920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:30:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959665920001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":54475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:30:20] local.INFO: GPS data processed {"connection_id":54475,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:30:20] local.INFO: Acknowledgment sent {"connection_id":54475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:30:51] local.INFO: TCP Data received {"connection_id":54475,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:30:51] local.INFO: Processing buffer {"connection_id":54475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:30:51] local.INFO: Packet analysis {"connection_id":54475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:30:51] local.INFO: Extracted packet for processing {"connection_id":54475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:30: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-04-26 12:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:30:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":54475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:30:51] local.INFO: GPS data processed {"connection_id":54475,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:30:51] local.INFO: Acknowledgment sent {"connection_id":54475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:31:14] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:31:14] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:31:14] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:31:19] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:31:19] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:31:19] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:31:20] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:31:20] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:31:20] local.INFO: Packet analysis {"connection_id":54738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:31:20] local.INFO: Extracted packet for processing {"connection_id":54738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:31:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:31:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:31: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-04-26 12:31:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:31:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:31: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-04-26 12:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:31:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":54738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:31:20] local.INFO: GPS data processed {"connection_id":54738,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:31:20] local.INFO: Acknowledgment sent {"connection_id":54738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:31:52] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:31:52] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:31:52] local.INFO: Packet analysis {"connection_id":54738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:31:52] local.INFO: Extracted packet for processing {"connection_id":54738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:31:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:31:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:31:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:31:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:31:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":54738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:31:52] local.INFO: GPS data processed {"connection_id":54738,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:31:52] local.INFO: Acknowledgment sent {"connection_id":54738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:32:14] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:32:14] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:32:14] local.INFO: IMEI packet received {"connection_id":54739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:32:19] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:32:19] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:32:19] local.INFO: IMEI packet received {"connection_id":54739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":54739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:32:20] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:32:20] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:32:20] local.INFO: Packet analysis {"connection_id":54739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:32:20] local.INFO: Extracted packet for processing {"connection_id":54739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:32: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-04-26 12: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-04-26 12:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:32: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-04-26 12:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:32:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":54739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:32:20] local.INFO: GPS data processed {"connection_id":54739,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:32:20] local.INFO: Acknowledgment sent {"connection_id":54739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:32:51] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:32:51] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:32:51] local.INFO: Packet analysis {"connection_id":54739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:32:51] local.INFO: Extracted packet for processing {"connection_id":54739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:32: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-04-26 12:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:32:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":54739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:32:51] local.INFO: GPS data processed {"connection_id":54739,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:32:51] local.INFO: Acknowledgment sent {"connection_id":54739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:33:05] local.INFO: TCP Data received {"connection_id":54740,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:33:05] local.INFO: Processing buffer {"connection_id":54740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:33:05] local.INFO: IMEI packet received {"connection_id":54740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":54740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:33:14] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:33:14] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:33:14] local.INFO: IMEI packet received {"connection_id":54674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":54674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:33:18] local.INFO: TCP Data received {"connection_id":54673,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:33:18] local.INFO: Processing buffer {"connection_id":54673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:33:18] local.INFO: IMEI packet received {"connection_id":54673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":54673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:33:19] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:33:19] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:33:19] local.INFO: IMEI packet received {"connection_id":54674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":54674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:33:20] local.INFO: TCP Data received {"connection_id":54673,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8989c90012d1a2780072101800040013331..."} 
[2026-04-26 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8989c90012d1a2780072101800040013331..."} 
[2026-04-26 12:33:20] local.INFO: Processing buffer {"connection_id":54673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8989c90012d1a2780072101800040013331..."} 
[2026-04-26 12:33:20] local.INFO: Packet analysis {"connection_id":54673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc898"} 
[2026-04-26 12:33:20] local.INFO: Extracted packet for processing {"connection_id":54673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc898"} 
[2026-04-26 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756688768,"raw_latitude":119603584,"longitude_deg":75.6688768,"latitude_deg":11.9603584,"altitude":64,"angle":307,"satellites":49,"speed":21,"hex_longitude":"2d1a2780","hex_latitude":"07210180","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959855872001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114756312058822656,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885108318393886720,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:20] 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-04-26 12:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186938000,"timestamp_ms":1777186938000,"timestamp_seconds":1777186938,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8989c90"} 
[2026-04-26 12:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:33:20] 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-04-26 12:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 12:33: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-04-26 12: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-04-26 12:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959855872001,"66":14374,"121":206,"28":31744,"24":21,"16":114756312058822656,"45":1885108318393886720},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959855872001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114756312058822656,"km_value":114756312058822.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885108318393886720,"description":"Unknown IO ID 45"} 
[2026-04-26 12:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959855872001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1885108318393886720}} 
[2026-04-26 12:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":54673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:33:20] local.INFO: GPS data processed {"connection_id":54673,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:33:20] local.INFO: Acknowledgment sent {"connection_id":54673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:33:20] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:33:20] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:33:20] local.INFO: Packet analysis {"connection_id":54674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:33:20] local.INFO: Extracted packet for processing {"connection_id":54674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:33: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-04-26 12: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-04-26 12:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":54674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:33:20] local.INFO: GPS data processed {"connection_id":54674,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:33:20] local.INFO: Acknowledgment sent {"connection_id":54674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:33:40] local.INFO: TCP Data received {"connection_id":55397,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:33:40] local.INFO: Processing buffer {"connection_id":55397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:33:40] local.INFO: IMEI packet received {"connection_id":55397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":55397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:33:51] local.INFO: TCP Data received {"connection_id":54673,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8995428012d1a1340072145b8004900012b..."} 
[2026-04-26 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8995428012d1a1340072145b8004900012b..."} 
[2026-04-26 12:33:51] local.INFO: Processing buffer {"connection_id":54673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8995428012d1a1340072145b8004900012b..."} 
[2026-04-26 12:33:51] local.INFO: Packet analysis {"connection_id":54673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc899"} 
[2026-04-26 12:33:51] local.INFO: Extracted packet for processing {"connection_id":54673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc899"} 
[2026-04-26 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756683584,"raw_latitude":119621048,"longitude_deg":75.6683584,"latitude_deg":11.9621048,"altitude":73,"angle":1,"satellites":43,"speed":11,"hex_longitude":"2d1a1340","hex_latitude":"072145b8","is_valid_coordinates":true} 
[2026-04-26 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959867136001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114757411570450432,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878634393933744128,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:51] 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-04-26 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186985000,"timestamp_ms":1777186985000,"timestamp_seconds":1777186985,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8995428"} 
[2026-04-26 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-26 12:33: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-04-26 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959867136001,"66":14080,"121":206,"28":31744,"24":11,"16":114757411570450432,"45":1878634393933744128},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959867136001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114757411570450432,"km_value":114757411570450.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878634393933744128,"description":"Unknown IO ID 45"} 
[2026-04-26 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959867136001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1878634393933744128}} 
[2026-04-26 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:33:51] local.INFO: GPS data processed {"connection_id":54673,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:33:51] local.INFO: Acknowledgment sent {"connection_id":54673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:33:51] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:33:51] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:33:51] local.INFO: Packet analysis {"connection_id":54674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:33:51] local.INFO: Extracted packet for processing {"connection_id":54674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:33: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-04-26 12:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:33:51] local.INFO: GPS data processed {"connection_id":54674,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:33:51] local.INFO: Acknowledgment sent {"connection_id":54674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:34:12] local.INFO: TCP Data received {"connection_id":55398,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:12] local.INFO: Processing buffer {"connection_id":55398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:12] local.INFO: IMEI packet received {"connection_id":55398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":55398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:34:13] local.INFO: TCP Data received {"connection_id":55398,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:13] local.INFO: Processing buffer {"connection_id":55398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:13] local.INFO: IMEI packet received {"connection_id":55398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":55398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:34:14] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:34:14] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:34:14] local.INFO: IMEI packet received {"connection_id":54741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":54741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:34:18] local.INFO: TCP Data received {"connection_id":55398,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:18] local.INFO: Processing buffer {"connection_id":55398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:34:18] local.INFO: IMEI packet received {"connection_id":55398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":55398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:34:19] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:34:19] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:34:19] local.INFO: IMEI packet received {"connection_id":54741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":54741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:34:20] local.INFO: TCP Data received {"connection_id":55398,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89963c8012d1a1380072148d8004a001d2b..."} 
[2026-04-26 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89963c8012d1a1380072148d8004a001d2b..."} 
[2026-04-26 12:34:20] local.INFO: Processing buffer {"connection_id":55398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89963c8012d1a1380072148d8004a001d2b..."} 
[2026-04-26 12:34:20] local.INFO: Packet analysis {"connection_id":55398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc899"} 
[2026-04-26 12:34:20] local.INFO: Extracted packet for processing {"connection_id":55398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc899"} 
[2026-04-26 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":756683648,"raw_latitude":119621848,"longitude_deg":75.6683648,"latitude_deg":11.9621848,"altitude":74,"angle":29,"satellites":43,"speed":8,"hex_longitude":"2d1a1380","hex_latitude":"072148d8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959868160001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114757450225156096,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878915868910794752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] 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-04-26 12:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186989000,"timestamp_ms":1777186989000,"timestamp_seconds":1777186989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89963c8"} 
[2026-04-26 12:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:34:20] 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-04-26 12: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3365467752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2569613313,"corrected_to":0} 
[2026-04-26 12:34:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2999320576,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,179,157,68,45,64,73,43,10,66,56,128,60,72,1,240,84,200,33,4,113,205,250,36,104,49,239,52,2,151,7,18],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":200,"original":2569613313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 12:34:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260205648964681728,"timestamp_seconds":5260205648964682.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 12:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959868160001,"66":13961,"121":206,"28":31744,"24":8,"16":114757450225156096,"45":1878915868910794752},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959868160001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114757450225156096,"km_value":114757450225156.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878915868910794752,"description":"Unknown IO ID 45"} 
[2026-04-26 12:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959868160001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1878915868910794752}} 
[2026-04-26 12:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:34:20] local.INFO: GPS data processed {"connection_id":55398,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:34:20] local.INFO: Acknowledgment sent {"connection_id":55398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:34:20] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:34:20] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:34:20] local.INFO: Packet analysis {"connection_id":54741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:34:20] local.INFO: Extracted packet for processing {"connection_id":54741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:34: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-04-26 12: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-04-26 12:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":54741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:34:20] local.INFO: GPS data processed {"connection_id":54741,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:34:20] local.INFO: Acknowledgment sent {"connection_id":54741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:34:51] local.INFO: TCP Data received {"connection_id":55398,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89967b0012d1a140007214960004a00372b..."} 
[2026-04-26 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89967b0012d1a140007214960004a00372b..."} 
[2026-04-26 12:34:51] local.INFO: Processing buffer {"connection_id":55398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89967b0012d1a140007214960004a00372b..."} 
[2026-04-26 12:34:51] local.INFO: Packet analysis {"connection_id":55398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc899"} 
[2026-04-26 12:34:51] local.INFO: Extracted packet for processing {"connection_id":55398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc899"} 
[2026-04-26 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756683776,"raw_latitude":119621984,"longitude_deg":75.6683776,"latitude_deg":11.9621984,"altitude":74,"angle":55,"satellites":43,"speed":5,"hex_longitude":"2d1a1400","hex_latitude":"07214960","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959869184001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114757458815090688,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1878986237655177216,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:51] 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-04-26 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186990000,"timestamp_ms":1777186990000,"timestamp_seconds":1777186990,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89967b0"} 
[2026-04-26 12:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 12:34: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-04-26 12: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-04-26 12:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959869184001,"66":13961,"121":206,"28":31744,"24":5,"16":114757458815090688,"45":1878986237655177216},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959869184001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114757458815090688,"km_value":114757458815090.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1878986237655177216,"description":"Unknown IO ID 45"} 
[2026-04-26 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959869184001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1878986237655177216}} 
[2026-04-26 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:34:51] local.INFO: GPS data processed {"connection_id":55398,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:34:51] local.INFO: Acknowledgment sent {"connection_id":55398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:34:51] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:34:51] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:34:51] local.INFO: Packet analysis {"connection_id":54741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:34:51] local.INFO: Extracted packet for processing {"connection_id":54741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:34: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-04-26 12: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-04-26 12:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":54741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:34:51] local.INFO: GPS data processed {"connection_id":54741,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:34:51] local.INFO: Acknowledgment sent {"connection_id":54741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:35:14] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:35:14] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:35:14] local.INFO: IMEI packet received {"connection_id":54676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:35:16] local.INFO: TCP Data received {"connection_id":54742,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:16] local.INFO: Processing buffer {"connection_id":54742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:16] local.INFO: IMEI packet received {"connection_id":54742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":54742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:35:16] local.INFO: TCP Data received {"connection_id":54742,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:16] local.INFO: Processing buffer {"connection_id":54742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:16] local.INFO: IMEI packet received {"connection_id":54742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":54742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:35:17] local.INFO: TCP Data received {"connection_id":54742,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:17] local.INFO: Processing buffer {"connection_id":54742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:17] local.INFO: IMEI packet received {"connection_id":54742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":54742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:35:19] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:35:19] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:35:19] local.INFO: IMEI packet received {"connection_id":54676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:35:20] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:35:20] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89675c8012cb299c007822ce0004c001231..."} 
[2026-04-26 12:35:20] local.INFO: Packet analysis {"connection_id":54676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:35:20] local.INFO: Extracted packet for processing {"connection_id":54676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc896"} 
[2026-04-26 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959742976001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777186797000,"timestamp_ms":1777186797000,"timestamp_seconds":1777186797,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89675c8"} 
[2026-04-26 12:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12: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-04-26 12: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-04-26 12:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959742976001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959742976001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:35:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959742976001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":54676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:35:20] local.INFO: GPS data processed {"connection_id":54676,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:35:20] local.INFO: Acknowledgment sent {"connection_id":54676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:35:23] local.INFO: TCP Data received {"connection_id":54742,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:23] local.INFO: Processing buffer {"connection_id":54742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:35:23] local.INFO: IMEI packet received {"connection_id":54742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":54742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:35:24] local.INFO: TCP Data received {"connection_id":54742,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89aa030012d1a338007215580005b002e2c..."} 
[2026-04-26 12:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89aa030012d1a338007215580005b002e2c..."} 
[2026-04-26 12:35:24] local.INFO: Processing buffer {"connection_id":54742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89aa030012d1a338007215580005b002e2c..."} 
[2026-04-26 12:35:24] local.INFO: Packet analysis {"connection_id":54742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89a"} 
[2026-04-26 12:35:24] local.INFO: Extracted packet for processing {"connection_id":54742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89a"} 
[2026-04-26 12:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756691840,"raw_latitude":119625088,"longitude_deg":75.669184,"latitude_deg":11.9625088,"altitude":91,"angle":46,"satellites":44,"speed":6,"hex_longitude":"2d1a3380","hex_latitude":"07215580","is_valid_coordinates":true} 
[2026-04-26 12:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959885056001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114757914081624064,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887641593189767168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:24] 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-04-26 12:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777187070000,"timestamp_ms":1777187070000,"timestamp_seconds":1777187070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89aa030"} 
[2026-04-26 12:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 12:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959885056001,"66":13906,"121":206,"28":31744,"24":6,"16":114757914081624064,"45":1887641593189767168},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959885056001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:35:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:35:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114757914081624064,"km_value":114757914081624.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887641593189767168,"description":"Unknown IO ID 45"} 
[2026-04-26 12:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959885056001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1887641593189767168}} 
[2026-04-26 12:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":54742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:35:24] local.INFO: GPS data processed {"connection_id":54742,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:35:24] local.INFO: Acknowledgment sent {"connection_id":54742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:35:28] local.INFO: TCP Data received {"connection_id":54742,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89aabe8012d1a350007215640005b004a2e..."} 
[2026-04-26 12:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89aabe8012d1a350007215640005b004a2e..."} 
[2026-04-26 12:35:28] local.INFO: Processing buffer {"connection_id":54742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89aabe8012d1a350007215640005b004a2e..."} 
[2026-04-26 12:35:28] local.INFO: Packet analysis {"connection_id":54742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89a"} 
[2026-04-26 12:35:28] local.INFO: Extracted packet for processing {"connection_id":54742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89a"} 
[2026-04-26 12:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756692224,"raw_latitude":119625280,"longitude_deg":75.6692224,"latitude_deg":11.962528,"altitude":91,"angle":74,"satellites":46,"speed":6,"hex_longitude":"2d1a3500","hex_latitude":"07215640","is_valid_coordinates":true} 
[2026-04-26 12:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959889920001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114757935556460544,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887993436910747648,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:28] 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-04-26 12:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777187073000,"timestamp_ms":1777187073000,"timestamp_seconds":1777187073,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89aabe8"} 
[2026-04-26 12:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:35:28] 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-04-26 12:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 12:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959889920001,"66":13928,"121":206,"28":31744,"24":6,"16":114757935556460544,"45":1887993436910747648},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959889920001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:35:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114757935556460544,"km_value":114757935556460.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887993436910747648,"description":"Unknown IO ID 45"} 
[2026-04-26 12:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959889920001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1887993436910747648}} 
[2026-04-26 12:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":54742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:35:29] local.INFO: GPS data processed {"connection_id":54742,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:35:29] local.INFO: Acknowledgment sent {"connection_id":54742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:35:51] local.INFO: TCP Data received {"connection_id":54676,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:35:51] local.INFO: Processing buffer {"connection_id":54676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:35:51] local.INFO: Packet analysis {"connection_id":54676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:35:51] local.INFO: Extracted packet for processing {"connection_id":54676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:35:51] 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-04-26 12: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-04-26 12:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:35:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:35:51] local.INFO: GPS data processed {"connection_id":54676,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:35:51] local.INFO: Acknowledgment sent {"connection_id":54676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:36:10] local.INFO: TCP Data received {"connection_id":55399,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:36:10] local.INFO: Processing buffer {"connection_id":55399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:36:10] local.INFO: IMEI packet received {"connection_id":55399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":55399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:36:14] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:36:14] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:36:14] local.INFO: IMEI packet received {"connection_id":54477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":54477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:36:19] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:36:19] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:36:19] local.INFO: IMEI packet received {"connection_id":54477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":54477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:36:20] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:36:20] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:36:20] local.INFO: Packet analysis {"connection_id":54477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:20] local.INFO: Extracted packet for processing {"connection_id":54477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:36:20] 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-04-26 12:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:36:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:36:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:36:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":54477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:36:20] local.INFO: GPS data processed {"connection_id":54477,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:36:20] local.INFO: Acknowledgment sent {"connection_id":54477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:36:24] local.INFO: TCP Data received {"connection_id":55399,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:36:24] local.INFO: Processing buffer {"connection_id":55399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:36:24] local.INFO: IMEI packet received {"connection_id":55399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":55399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:36:25] local.INFO: TCP Data received {"connection_id":55399,"ip":"117.224.181.140","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55399,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:36:25] local.INFO: Processing buffer {"connection_id":55399,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:36:25] local.INFO: IMEI packet received {"connection_id":55399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":55399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:36:26] local.INFO: TCP Data received {"connection_id":55399,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b4828012d1a2dc007214cf8005b00fd2e..."} 
[2026-04-26 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b4828012d1a2dc007214cf8005b00fd2e..."} 
[2026-04-26 12:36:26] local.INFO: Processing buffer {"connection_id":55399,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc8..."} 
[2026-04-26 12:36:26] local.INFO: IMEI packet received {"connection_id":55399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":55399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:36:27] local.INFO: TCP Data received {"connection_id":55399,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b7320012d1a258007214b08005b010b2f..."} 
[2026-04-26 12:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b7320012d1a258007214b08005b010b2f..."} 
[2026-04-26 12:36:27] local.INFO: Processing buffer {"connection_id":55399,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dc89b4828012d1a2dc007214cf8005b00fd2e..."} 
[2026-04-26 12:36:27] local.INFO: Packet analysis {"connection_id":55399,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:27] local.INFO: Extracted packet for processing {"connection_id":55399,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756690368,"raw_latitude":119622904,"longitude_deg":75.6690368,"latitude_deg":11.9622904,"altitude":91,"angle":253,"satellites":46,"speed":9,"hex_longitude":"2d1a2dc0","hex_latitude":"07214cf8","is_valid_coordinates":true} 
[2026-04-26 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959899648001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114758206139400192,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887571224445210624,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:27] 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-04-26 12:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777187113000,"timestamp_ms":1777187113000,"timestamp_seconds":1777187113,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b4828"} 
[2026-04-26 12:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 12:36:27] 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-04-26 12:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959899648001,"66":13472,"121":206,"28":31744,"24":9,"16":114758206139400192,"45":1887571224445210624},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959899648001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114758206139400192,"km_value":114758206139400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887571224445210624,"description":"Unknown IO ID 45"} 
[2026-04-26 12:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959899648001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1887571224445210624}} 
[2026-04-26 12:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":55399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:36:27] local.INFO: GPS data processed {"connection_id":55399,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:36:27] local.INFO: Acknowledgment sent {"connection_id":55399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:36:27] local.INFO: Packet analysis {"connection_id":55399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:27] local.INFO: Extracted packet for processing {"connection_id":55399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756688256,"raw_latitude":119622408,"longitude_deg":75.6688256,"latitude_deg":11.9622408,"altitude":91,"angle":267,"satellites":47,"speed":7,"hex_longitude":"2d1a2580","hex_latitude":"07214b08","is_valid_coordinates":true} 
[2026-04-26 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959900928001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114758309218615296,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886374955794102272,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:27] 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-04-26 12:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777187124000,"timestamp_ms":1777187124000,"timestamp_seconds":1777187124,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b7320"} 
[2026-04-26 12:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 12:36:27] 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-04-26 12:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959900928001,"66":14189,"121":206,"28":31744,"24":7,"16":114758309218615296,"45":1886374955794102272},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959900928001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114758309218615296,"km_value":114758309218615.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886374955794102272,"description":"Unknown IO ID 45"} 
[2026-04-26 12:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959900928001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1886374955794102272}} 
[2026-04-26 12:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":55399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:36:27] local.INFO: GPS data processed {"connection_id":55399,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:36:27] local.INFO: Acknowledgment sent {"connection_id":55399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:36:28] local.INFO: TCP Data received {"connection_id":55399,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b82c0012d1a22c007214ac8005b00fd2f..."} 
[2026-04-26 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b82c0012d1a22c007214ac8005b00fd2f..."} 
[2026-04-26 12:36:28] local.INFO: Processing buffer {"connection_id":55399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b82c0012d1a22c007214ac8005b00fd2f..."} 
[2026-04-26 12:36:28] local.INFO: Packet analysis {"connection_id":55399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:28] local.INFO: Extracted packet for processing {"connection_id":55399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756687552,"raw_latitude":119622344,"longitude_deg":75.6687552,"latitude_deg":11.9622344,"altitude":91,"angle":253,"satellites":47,"speed":6,"hex_longitude":"2d1a22c0","hex_latitude":"07214ac8","is_valid_coordinates":true} 
[2026-04-26 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114758343578353664,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884052787236112384,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:28] 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-04-26 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777187128000,"timestamp_ms":1777187128000,"timestamp_seconds":1777187128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b82c0"} 
[2026-04-26 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:36:28] 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-04-26 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-26 12:36:28] 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-04-26 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959903744001,"66":14113,"121":206,"28":31744,"24":6,"16":114758343578353664,"45":1884052787236112384},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:36:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114758343578353664,"km_value":114758343578353.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884052787236112384,"description":"Unknown IO ID 45"} 
[2026-04-26 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959903744001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1884052787236112384}} 
[2026-04-26 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":55399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:36:28] local.INFO: GPS data processed {"connection_id":55399,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:36:28] local.INFO: Acknowledgment sent {"connection_id":55399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:36:51] local.INFO: TCP Data received {"connection_id":54477,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:36:51] local.INFO: Processing buffer {"connection_id":54477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:36:51] local.INFO: Packet analysis {"connection_id":54477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:51] local.INFO: Extracted packet for processing {"connection_id":54477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:36:51] 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-04-26 12: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-04-26 12:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:36:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:36:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:36:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":54477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:36:51] local.INFO: GPS data processed {"connection_id":54477,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:36:51] local.INFO: Acknowledgment sent {"connection_id":54477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:37:13] local.INFO: TCP Data received {"connection_id":55400,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:37:13] local.INFO: Processing buffer {"connection_id":55400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:37:13] local.INFO: IMEI packet received {"connection_id":55400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":55400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:37:14] local.INFO: TCP Data received {"connection_id":55400,"ip":"117.224.181.140","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55400,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:37:14] local.INFO: Processing buffer {"connection_id":55400,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:37:14] local.INFO: IMEI packet received {"connection_id":55400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":55400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:37:14] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:37:14] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:37:14] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:37:17] local.INFO: TCP Data received {"connection_id":55400,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:37:17] local.INFO: Processing buffer {"connection_id":55400,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 12:37:17] local.INFO: IMEI packet received {"connection_id":55400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":55400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:37:19] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:37:19] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:37:19] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:37:20] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:37:20] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:37:20] local.INFO: Packet analysis {"connection_id":54678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:37:20] local.INFO: Extracted packet for processing {"connection_id":54678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:37:20] 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-04-26 12: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-04-26 12:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:37:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:37:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:37:20] local.INFO: GPS data processed {"connection_id":54678,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:37:20] local.INFO: Acknowledgment sent {"connection_id":54678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:37:23] local.INFO: TCP Data received {"connection_id":55400,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89c3288012d1a244007211af0004900dc2c..."} 
[2026-04-26 12:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89c3288012d1a244007211af0004900dc2c..."} 
[2026-04-26 12:37:23] local.INFO: Processing buffer {"connection_id":55400,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc8..."} 
[2026-04-26 12:37:23] local.INFO: IMEI packet received {"connection_id":55400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":55400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:37:24] local.INFO: TCP Data received {"connection_id":55400,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89c4228012d1a1d40072114d8004800eb2e..."} 
[2026-04-26 12:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89c4228012d1a1d40072114d8004800eb2e..."} 
[2026-04-26 12:37:24] local.INFO: Processing buffer {"connection_id":55400,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dc89c3288012d1a244007211af0004900dc2c..."} 
[2026-04-26 12:37:24] local.INFO: Packet analysis {"connection_id":55400,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dc89c"} 
[2026-04-26 12:37:24] local.INFO: Extracted packet for processing {"connection_id":55400,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89c"} 
[2026-04-26 12:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756687936,"raw_latitude":119610096,"longitude_deg":75.6687936,"latitude_deg":11.9610096,"altitude":73,"angle":220,"satellites":44,"speed":21,"hex_longitude":"2d1a2440","hex_latitude":"07211af0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959915776001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114759189686910976,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884193524721543168,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:24] 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-04-26 12:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777187173000,"timestamp_ms":1777187173000,"timestamp_seconds":1777187173,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89c3288"} 
[2026-04-26 12:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 12:37:24] 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-04-26 12: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-04-26 12:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959915776001,"66":13993,"121":206,"28":31744,"24":21,"16":114759189686910976,"45":1884193524721543168},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959915776001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114759189686910976,"km_value":114759189686910.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884193524721543168,"description":"Unknown IO ID 45"} 
[2026-04-26 12:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959915776001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1884193524721543168}} 
[2026-04-26 12:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":55400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:37:24] local.INFO: GPS data processed {"connection_id":55400,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:37:24] local.INFO: Acknowledgment sent {"connection_id":55400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:37:24] local.INFO: Packet analysis {"connection_id":55400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89c"} 
[2026-04-26 12:37:24] local.INFO: Extracted packet for processing {"connection_id":55400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89c"} 
[2026-04-26 12:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756686144,"raw_latitude":119608536,"longitude_deg":75.6686144,"latitude_deg":11.9608536,"altitude":72,"angle":235,"satellites":46,"speed":22,"hex_longitude":"2d1a1d40","hex_latitude":"072114d8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959916288001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114759301356060672,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883700943512072192,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:24] 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-04-26 12:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777187177000,"timestamp_ms":1777187177000,"timestamp_seconds":1777187177,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89c4228"} 
[2026-04-26 12:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 12:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959916288001,"66":14341,"121":206,"28":31744,"24":22,"16":114759301356060672,"45":1883700943512072192},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959916288001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114759301356060672,"km_value":114759301356060.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883700943512072192,"description":"Unknown IO ID 45"} 
[2026-04-26 12:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959916288001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1883700943512072192}} 
[2026-04-26 12:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":55400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:37:24] local.INFO: GPS data processed {"connection_id":55400,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:37:24] local.INFO: Acknowledgment sent {"connection_id":55400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:37:51] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:37:51] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:37:51] local.INFO: Packet analysis {"connection_id":54678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:37:51] local.INFO: Extracted packet for processing {"connection_id":54678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:37:51] 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-04-26 12: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-04-26 12:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:37:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":54678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:37:51] local.INFO: GPS data processed {"connection_id":54678,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:37:51] local.INFO: Acknowledgment sent {"connection_id":54678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:37:56] local.INFO: TCP Data received {"connection_id":55400,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89cd2b0012d1a38000720f060003f00cd2e..."} 
[2026-04-26 12:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89cd2b0012d1a38000720f060003f00cd2e..."} 
[2026-04-26 12:37:56] local.INFO: Processing buffer {"connection_id":55400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89cd2b0012d1a38000720f060003f00cd2e..."} 
[2026-04-26 12:37:56] local.INFO: Packet analysis {"connection_id":55400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89c"} 
[2026-04-26 12:37:56] local.INFO: Extracted packet for processing {"connection_id":55400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89c"} 
[2026-04-26 12:37:56] local.INFO: GPS Element Parsed {"raw_longitude":756692992,"raw_latitude":119599200,"longitude_deg":75.6692992,"latitude_deg":11.95992,"altitude":63,"angle":205,"satellites":46,"speed":22,"hex_longitude":"2d1a3800","hex_latitude":"0720f060","is_valid_coordinates":true} 
[2026-04-26 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959925760001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114760100219977728,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890385974206543872,"note":"Value kept but may cause issues"} 
[2026-04-26 12:37:56] 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-04-26 12:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777187214000,"timestamp_ms":1777187214000,"timestamp_seconds":1777187214,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89cd2b0"} 
[2026-04-26 12:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:37:56] 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-04-26 12:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 12:37:56] 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-04-26 12:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959925760001,"66":14363,"121":206,"28":31744,"24":22,"16":114760100219977728,"45":1890385974206543872},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959925760001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:37:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:37:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114760100219977728,"km_value":114760100219977.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890385974206543872,"description":"Unknown IO ID 45"} 
[2026-04-26 12:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959925760001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1890385974206543872}} 
[2026-04-26 12:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":55400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:37:56] local.INFO: GPS data processed {"connection_id":55400,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:37:56] local.INFO: Acknowledgment sent {"connection_id":55400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:38:14] local.INFO: TCP Data received {"connection_id":54679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:38:14] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:38:14] local.INFO: IMEI packet received {"connection_id":54679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:38:17] local.INFO: TCP Data received {"connection_id":54680,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:38:17] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:38:17] local.INFO: IMEI packet received {"connection_id":54680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":54680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:38:18] local.INFO: TCP Data received {"connection_id":54680,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:38:18] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:38:18] local.INFO: IMEI packet received {"connection_id":54680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":54680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:38:19] local.INFO: TCP Data received {"connection_id":54679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:38:19] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:38:19] local.INFO: IMEI packet received {"connection_id":54679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":54679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:38:19] local.INFO: TCP Data received {"connection_id":54680,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89d0190012d1a2e000720d9d8003f00d930..."} 
[2026-04-26 12:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89d0190012d1a2e000720d9d8003f00d930..."} 
[2026-04-26 12:38:19] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89d0190012d1a2e000720d9d8003f00d930..."} 
[2026-04-26 12:38:19] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:38:19] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:38:19] local.INFO: GPS Element Parsed {"raw_longitude":756690432,"raw_latitude":119593432,"longitude_deg":75.6690432,"latitude_deg":11.9593432,"altitude":63,"angle":217,"satellites":48,"speed":17,"hex_longitude":"2d1a2e00","hex_latitude":"0720d9d8","is_valid_coordinates":true} 
[2026-04-26 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959926784001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114760405162655744,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889260074299318272,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:19] 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-04-26 12:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187226000,"timestamp_ms":1777187226000,"timestamp_seconds":1777187226,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89d0190"} 
[2026-04-26 12:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:38: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-04-26 12:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 12:38: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-04-26 12:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959926784001,"66":14515,"121":206,"28":31744,"24":17,"16":114760405162655744,"45":1889260074299318272},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959926784001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:38:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:38:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114760405162655744,"km_value":114760405162655.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889260074299318272,"description":"Unknown IO ID 45"} 
[2026-04-26 12:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959926784001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1889260074299318272}} 
[2026-04-26 12:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:38:19] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:38:19] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:38:20] local.INFO: TCP Data received {"connection_id":54679,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:38:20] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:38:20] local.INFO: Packet analysis {"connection_id":54679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:38:20] local.INFO: Extracted packet for processing {"connection_id":54679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:38:20] 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-04-26 12: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-04-26 12:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:38: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-04-26 12:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:38:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":54679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:38:20] local.INFO: GPS data processed {"connection_id":54679,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:38:20] local.INFO: Acknowledgment sent {"connection_id":54679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:38:21] local.INFO: TCP Data received {"connection_id":54680,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89d0960012d1a2bc00720d768003f00eb30..."} 
[2026-04-26 12:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89d0960012d1a2bc00720d768003f00eb30..."} 
[2026-04-26 12:38:21] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89d0960012d1a2bc00720d768003f00eb30..."} 
[2026-04-26 12:38:21] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:38:21] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756689856,"raw_latitude":119592808,"longitude_deg":75.6689856,"latitude_deg":11.9592808,"altitude":63,"angle":235,"satellites":48,"speed":17,"hex_longitude":"2d1a2bc0","hex_latitude":"0720d768","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959929856001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114760448112328704,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886445324530735104,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38: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-04-26 12:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777187228000,"timestamp_ms":1777187228000,"timestamp_seconds":1777187228,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89d0960"} 
[2026-04-26 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-04-26 12:38:21] 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-04-26 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 12:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 12:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959929856001,"66":14515,"121":206,"28":31744,"24":17,"16":114760448112328704,"45":1886445324530735104},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959929856001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:38:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:38:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114760448112328704,"km_value":114760448112328.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886445324530735104,"description":"Unknown IO ID 45"} 
[2026-04-26 12:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959929856001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1886445324530735104}} 
[2026-04-26 12:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:38:21] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:38:21] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:38:51] local.INFO: TCP Data received {"connection_id":54679,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:38:51] local.INFO: Processing buffer {"connection_id":54679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:38:51] local.INFO: Packet analysis {"connection_id":54679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:38:51] local.INFO: Extracted packet for processing {"connection_id":54679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:38:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 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-04-26 12:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:38:51] 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-04-26 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-04-26 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-04-26 12:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:38: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-04-26 12:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:38:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":54679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:38:51] local.INFO: GPS data processed {"connection_id":54679,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:38:51] local.INFO: Acknowledgment sent {"connection_id":54679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:38:56] local.INFO: TCP Data received {"connection_id":54680,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89dc8c8012d19c2c00720a488003401182f..."} 
[2026-04-26 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89dc8c8012d19c2c00720a488003401182f..."} 
[2026-04-26 12:38:56] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89dc8c8012d19c2c00720a488003401182f..."} 
[2026-04-26 12:38:56] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:38:56] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:38:56] local.INFO: GPS Element Parsed {"raw_longitude":756662976,"raw_latitude":119579784,"longitude_deg":75.6662976,"latitude_deg":11.9579784,"altitude":52,"angle":280,"satellites":47,"speed":26,"hex_longitude":"2d19c2c0","hex_latitude":"0720a488","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959942400001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114761929876045824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508158535680,"note":"Value kept but may cause issues"} 
[2026-04-26 12:38:56] 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-04-26 12:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777187277000,"timestamp_ms":1777187277000,"timestamp_seconds":1777187277,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89dc8c8"} 
[2026-04-26 12:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:38:56] 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-04-26 12:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 12:38:56] 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-04-26 12: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-04-26 12:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959942400001,"66":13928,"121":206,"28":31744,"24":26,"16":114761929876045824,"45":1857664508158535680},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959942400001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:38:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:38:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114761929876045824,"km_value":114761929876045.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508158535680,"description":"Unknown IO ID 45"} 
[2026-04-26 12:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959942400001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1857664508158535680}} 
[2026-04-26 12:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:38:56] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:38:56] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:39:10] local.INFO: TCP Data received {"connection_id":55401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:39:10] local.INFO: Processing buffer {"connection_id":55401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:39:10] local.INFO: IMEI packet received {"connection_id":55401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":55401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:39:13] local.INFO: TCP Data received {"connection_id":55402,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:39:13] local.INFO: Processing buffer {"connection_id":55402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:39:13] local.INFO: IMEI packet received {"connection_id":55402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":55402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:39:14] local.INFO: TCP Data received {"connection_id":54681,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:39:14] local.INFO: Processing buffer {"connection_id":54681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:39:14] local.INFO: IMEI packet received {"connection_id":54681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":54681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:39:17] local.INFO: TCP Data received {"connection_id":55402,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:39:17] local.INFO: Processing buffer {"connection_id":55402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:39:17] local.INFO: IMEI packet received {"connection_id":55402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":55402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:39:18] local.INFO: TCP Data received {"connection_id":55402,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89dd480012d19bb800720a7400034012a2f..."} 
[2026-04-26 12:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89dd480012d19bb800720a7400034012a2f..."} 
[2026-04-26 12:39:18] local.INFO: Processing buffer {"connection_id":55402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89dd480012d19bb800720a7400034012a2f..."} 
[2026-04-26 12:39:18] local.INFO: Packet analysis {"connection_id":55402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:39:18] local.INFO: Extracted packet for processing {"connection_id":55402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119580480,"longitude_deg":75.666112,"latitude_deg":11.958048,"altitude":52,"angle":298,"satellites":47,"speed":24,"hex_longitude":"2d19bb80","hex_latitude":"0720a740","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959942912001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114762020070359040,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856257133275023360,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:18] 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-04-26 12:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777187280000,"timestamp_ms":1777187280000,"timestamp_seconds":1777187280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89dd480"} 
[2026-04-26 12:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:39:18] 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-04-26 12: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 12:39:18] 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-04-26 12: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-04-26 12:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959942912001,"66":13102,"121":206,"28":31744,"24":24,"16":114762020070359040,"45":1856257133275023360},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959942912001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:39:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:39:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114762020070359040,"km_value":114762020070359.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856257133275023360,"description":"Unknown IO ID 45"} 
[2026-04-26 12:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959942912001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1856257133275023360}} 
[2026-04-26 12:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":55402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:39:18] local.INFO: GPS data processed {"connection_id":55402,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:39:18] local.INFO: Acknowledgment sent {"connection_id":55402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:39:20] local.INFO: TCP Data received {"connection_id":54681,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:39:20] local.INFO: Processing buffer {"connection_id":54681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:39:20] local.INFO: IMEI packet received {"connection_id":54681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":54681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:39:21] local.INFO: TCP Data received {"connection_id":54681,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:39:21] local.INFO: Processing buffer {"connection_id":54681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:39:21] local.INFO: Packet analysis {"connection_id":54681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:39:21] local.INFO: Extracted packet for processing {"connection_id":54681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 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-04-26 12:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:39:21] 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-04-26 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-04-26 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-04-26 12:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:39:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:39:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:39:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":54681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:39:21] local.INFO: GPS data processed {"connection_id":54681,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:39:21] local.INFO: Acknowledgment sent {"connection_id":54681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:39:40] local.INFO: TCP Data received {"connection_id":54479,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:39:40] local.INFO: Processing buffer {"connection_id":54479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:39:40] local.INFO: IMEI packet received {"connection_id":54479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":54479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:39:50] local.INFO: TCP Data received {"connection_id":55402,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89defd8012d19a9c00720af080036011b2e..."} 
[2026-04-26 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89defd8012d19a9c00720af080036011b2e..."} 
[2026-04-26 12:39:50] local.INFO: Processing buffer {"connection_id":55402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89defd8012d19a9c00720af080036011b2e..."} 
[2026-04-26 12:39:50] local.INFO: Packet analysis {"connection_id":55402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:39:50] local.INFO: Extracted packet for processing {"connection_id":55402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89d"} 
[2026-04-26 12:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756656576,"raw_latitude":119582472,"longitude_deg":75.6656576,"latitude_deg":11.9582472,"altitude":54,"angle":283,"satellites":46,"speed":28,"hex_longitude":"2d19a9c0","hex_latitude":"0720af08","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959943680001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114762260588527616,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439694049280,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:50] 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-04-26 12:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777187287000,"timestamp_ms":1777187287000,"timestamp_seconds":1777187287,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89defd8"} 
[2026-04-26 12:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:39: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-04-26 12: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 12:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959943680001,"66":14428,"121":206,"28":31744,"24":28,"16":114762260588527616,"45":1854216439694049280},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959943680001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:39:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114762260588527616,"km_value":114762260588527.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439694049280,"description":"Unknown IO ID 45"} 
[2026-04-26 12:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959943680001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1854216439694049280}} 
[2026-04-26 12:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":55402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:39:50] local.INFO: GPS data processed {"connection_id":55402,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:39:50] local.INFO: Acknowledgment sent {"connection_id":55402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:39:52] local.INFO: TCP Data received {"connection_id":54681,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:39:52] local.INFO: Processing buffer {"connection_id":54681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:39:52] local.INFO: Packet analysis {"connection_id":54681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:39:52] local.INFO: Extracted packet for processing {"connection_id":54681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 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-04-26 12:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:39:52] 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-04-26 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-04-26 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-04-26 12:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:39:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":54681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:39:52] local.INFO: GPS data processed {"connection_id":54681,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:39:52] local.INFO: Acknowledgment sent {"connection_id":54681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:40:10] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:11] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:11] local.INFO: IMEI packet received {"connection_id":54480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":54480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:40:12] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:12] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:12] local.INFO: IMEI packet received {"connection_id":54480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":54480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:40:13] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:13] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:13] local.INFO: IMEI packet received {"connection_id":54480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":54480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:40:15] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:15] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:40:15] local.INFO: IMEI packet received {"connection_id":54480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":54480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:40:16] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89f3be0012d18df000720f6f00037013b2b..."} 
[2026-04-26 12:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89f3be0012d18df000720f6f00037013b2b..."} 
[2026-04-26 12:40:16] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89f3be0012d18df000720f6f00037013b2b..."} 
[2026-04-26 12:40:16] local.INFO: Packet analysis {"connection_id":54480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:40:16] local.INFO: Extracted packet for processing {"connection_id":54480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756604672,"raw_latitude":119600880,"longitude_deg":75.6604672,"latitude_deg":11.960088,"altitude":55,"angle":315,"satellites":43,"speed":38,"hex_longitude":"2d18df00","hex_latitude":"0720f6f0","is_valid_coordinates":true} 
[2026-04-26 12:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959965696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114765082382041088,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1795669644542234624,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:16] 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-04-26 12:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777187372000,"timestamp_ms":1777187372000,"timestamp_seconds":1777187372,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89f3be0"} 
[2026-04-26 12:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-26 12:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959965696001,"66":13906,"121":206,"28":31744,"24":38,"16":114765082382041088,"45":1795669644542234624},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959965696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:40:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:40:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114765082382041088,"km_value":114765082382041.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1795669644542234624,"description":"Unknown IO ID 45"} 
[2026-04-26 12:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959965696001,"power":13906,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1795669644542234624}} 
[2026-04-26 12:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":54480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:40:16] local.INFO: GPS data processed {"connection_id":54480,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:40:16] local.INFO: Acknowledgment sent {"connection_id":54480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:40:18] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89f4798012d18d7400720ff98003801492b..."} 
[2026-04-26 12:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89f4798012d18d7400720ff98003801492b..."} 
[2026-04-26 12:40:18] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89f4798012d18d7400720ff98003801492b..."} 
[2026-04-26 12:40:18] local.INFO: Packet analysis {"connection_id":54480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:40:18] local.INFO: Extracted packet for processing {"connection_id":54480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603096,"longitude_deg":75.6602688,"latitude_deg":11.9603096,"altitude":56,"angle":329,"satellites":43,"speed":39,"hex_longitude":"2d18d740","hex_latitude":"0720ff98","is_valid_coordinates":true} 
[2026-04-26 12:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959967232001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114765224115961856,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207334572032,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:18] 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-04-26 12:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777187375000,"timestamp_ms":1777187375000,"timestamp_seconds":1777187375,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89f4798"} 
[2026-04-26 12:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:40:18] 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-04-26 12:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 12:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959967232001,"66":13993,"121":206,"28":31744,"24":39,"16":114765224115961856,"45":1792151207334572032},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959967232001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:40:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:40:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114765224115961856,"km_value":114765224115961.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207334572032,"description":"Unknown IO ID 45"} 
[2026-04-26 12:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959967232001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1792151207334572032}} 
[2026-04-26 12:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":54480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:40:18] local.INFO: GPS data processed {"connection_id":54480,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:40:18] local.INFO: Acknowledgment sent {"connection_id":54480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:40:19] local.INFO: TCP Data received {"connection_id":55403,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:40:19] local.INFO: Processing buffer {"connection_id":55403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:40:19] local.INFO: IMEI packet received {"connection_id":55403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":55403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:40:24] local.INFO: TCP Data received {"connection_id":55403,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:40:24] local.INFO: Processing buffer {"connection_id":55403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:40:24] local.INFO: IMEI packet received {"connection_id":55403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":55403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:40:25] local.INFO: TCP Data received {"connection_id":55403,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:40:25] local.INFO: Processing buffer {"connection_id":55403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:40:25] local.INFO: Packet analysis {"connection_id":55403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:40:25] local.INFO: Extracted packet for processing {"connection_id":55403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:40:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:40:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":55403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:40:25] local.INFO: GPS data processed {"connection_id":55403,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:40:25] local.INFO: Acknowledgment sent {"connection_id":55403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:40:29] local.INFO: TCP Data received {"connection_id":55403,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:40:29] local.INFO: Processing buffer {"connection_id":55403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89b0d90012cb299c007822ce0004e001231..."} 
[2026-04-26 12:40:29] local.INFO: Packet analysis {"connection_id":55403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:40:29] local.INFO: Extracted packet for processing {"connection_id":55403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89b"} 
[2026-04-26 12:40:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":49,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959820032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777187098000,"timestamp_ms":1777187098000,"timestamp_seconds":1777187098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89b0d90"} 
[2026-04-26 12:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:40:29] 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-04-26 12:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959820032001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959820032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:40:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959820032001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":55403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:40:29] local.INFO: GPS data processed {"connection_id":55403,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:40:29] local.INFO: Acknowledgment sent {"connection_id":55403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:40:49] local.INFO: TCP Data received {"connection_id":54480,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89f4f68012d18d44007210690003901562c..."} 
[2026-04-26 12:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89f4f68012d18d44007210690003901562c..."} 
[2026-04-26 12:40:49] local.INFO: Processing buffer {"connection_id":54480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89f4f68012d18d44007210690003901562c..."} 
[2026-04-26 12:40:49] local.INFO: Packet analysis {"connection_id":54480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:40:49] local.INFO: Extracted packet for processing {"connection_id":54480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119604880,"longitude_deg":75.660192,"latitude_deg":11.960488,"altitude":57,"angle":342,"satellites":44,"speed":37,"hex_longitude":"2d18d440","hex_latitude":"07210690","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959968000001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114765318605242368,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265631744,"note":"Value kept but may cause issues"} 
[2026-04-26 12:40:49] 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-04-26 12:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777187377000,"timestamp_ms":1777187377000,"timestamp_seconds":1777187377,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89f4f68"} 
[2026-04-26 12:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:40:49] 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-04-26 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 12:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959968000001,"66":13993,"121":206,"28":31744,"24":37,"16":114765318605242368,"45":1789969776265631744},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959968000001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:40:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:40:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114765318605242368,"km_value":114765318605242.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265631744,"description":"Unknown IO ID 45"} 
[2026-04-26 12:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959968000001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1789969776265631744}} 
[2026-04-26 12:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":54480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:40:50] local.INFO: GPS data processed {"connection_id":54480,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:40:50] local.INFO: Acknowledgment sent {"connection_id":54480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:41:12] local.INFO: TCP Data received {"connection_id":54744,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:41:12] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:41:12] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:41:14] local.INFO: TCP Data received {"connection_id":54682,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:41:14] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:41:14] local.INFO: IMEI packet received {"connection_id":54682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":54682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:41:16] local.INFO: TCP Data received {"connection_id":54744,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:41:16] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:41:16] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:41:16] local.INFO: TCP Data received {"connection_id":54744,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89ff760012d188400072181600046011c2e..."} 
[2026-04-26 12:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89ff760012d188400072181600046011c2e..."} 
[2026-04-26 12:41:16] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89ff760012d188400072181600046011c2e..."} 
[2026-04-26 12:41:16] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:16] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":756581376,"raw_latitude":119636320,"longitude_deg":75.6581376,"latitude_deg":11.963632,"altitude":70,"angle":284,"satellites":46,"speed":44,"hex_longitude":"2d188400","hex_latitude":"07218160","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959979520001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114767307175100416,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984462974976,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:16] 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-04-26 12:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777187420000,"timestamp_ms":1777187420000,"timestamp_seconds":1777187420,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89ff760"} 
[2026-04-26 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-04-26 12:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 12:41:16] 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-04-26 12:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 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-04-26 12:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959979520001,"66":13678,"121":206,"28":31744,"24":44,"16":114767307175100416,"45":1766536984462974976},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 12:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959979520001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:41:16] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 12:41:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114767307175100416,"km_value":114767307175100.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984462974976,"description":"Unknown IO ID 45"} 
[2026-04-26 12:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959979520001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1766536984462974976}} 
[2026-04-26 12:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:41:16] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:41:16] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:41:19] local.INFO: TCP Data received {"connection_id":54682,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:41:19] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:41:19] local.INFO: IMEI packet received {"connection_id":54682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":54682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:41:20] local.INFO: TCP Data received {"connection_id":54682,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:41:20] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:41:20] local.INFO: Packet analysis {"connection_id":54682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:20] local.INFO: Extracted packet for processing {"connection_id":54682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:41: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-04-26 12: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-04-26 12:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:41:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":54682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:41:20] local.INFO: GPS data processed {"connection_id":54682,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:41:20] local.INFO: Acknowledgment sent {"connection_id":54682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:41:49] local.INFO: TCP Data received {"connection_id":54744,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fff30012d187ac007218260004701102e..."} 
[2026-04-26 12:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fff30012d187ac007218260004701102e..."} 
[2026-04-26 12:41:49] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fff30012d187ac007218260004701102e..."} 
[2026-04-26 12:41:49] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:49] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756579008,"raw_latitude":119636576,"longitude_deg":75.6579008,"latitude_deg":11.9636576,"altitude":71,"angle":272,"satellites":46,"speed":44,"hex_longitude":"2d187ac0","hex_latitude":"07218260","is_valid_coordinates":true} 
[2026-04-26 12:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959979520001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114767423139217408,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766536984462974976,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777187422000,"timestamp_ms":1777187422000,"timestamp_seconds":1777187422,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fff30"} 
[2026-04-26 12:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:41:49] 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-04-26 12:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 12:41: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-04-26 12:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959979520001,"66":13820,"120":206,"28":31744,"24":44,"16":114767423139217408,"45":1766536984462974976},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959979520001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:41:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:41:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114767423139217408,"km_value":114767423139217.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766536984462974976,"description":"Unknown IO ID 45"} 
[2026-04-26 12:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959979520001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1766536984462974976}} 
[2026-04-26 12:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:41:49] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:41:49] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:41:51] local.INFO: TCP Data received {"connection_id":54682,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:41:51] local.INFO: Processing buffer {"connection_id":54682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:41:51] local.INFO: Packet analysis {"connection_id":54682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:51] local.INFO: Extracted packet for processing {"connection_id":54682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:41: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-04-26 12: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-04-26 12:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:41:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:41:51] local.INFO: GPS data processed {"connection_id":54682,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:41:51] local.INFO: Acknowledgment sent {"connection_id":54682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:42:12] local.INFO: TCP Data received {"connection_id":54683,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:42:12] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:42:12] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:42:14] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:42:14] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:42:14] local.INFO: IMEI packet received {"connection_id":54745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:42:18] local.INFO: TCP Data received {"connection_id":54683,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:42:18] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:42:18] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:42:19] local.INFO: TCP Data received {"connection_id":54683,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a016a0012d1860c0072183200048011d2a..."} 
[2026-04-26 12:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a016a0012d1860c0072183200048011d2a..."} 
[2026-04-26 12:42:19] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a016a0012d1860c0072183200048011d2a..."} 
[2026-04-26 12:42:19] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:42:19] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:42:19] local.INFO: GPS Element Parsed {"raw_longitude":756572352,"raw_latitude":119636768,"longitude_deg":75.6572352,"latitude_deg":11.9636768,"altitude":72,"angle":285,"satellites":42,"speed":41,"hex_longitude":"2d1860c0","hex_latitude":"07218320","is_valid_coordinates":true} 
[2026-04-26 12:42: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-04-26 12:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959980032001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114767736671830016,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763933340928466944,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187428000,"timestamp_ms":1777187428000,"timestamp_seconds":1777187428,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a016a0"} 
[2026-04-26 12:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:42:19] 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-04-26 12:42: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":252,"data_length":795,"current_offset":136} 
[2026-04-26 12:42:19] 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-04-26 12:42: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-04-26 12:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959980032001,"66":13722,"120":206,"28":31744,"24":41,"16":114767736671830016,"45":1763933340928466944},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959980032001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:42:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:42:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114767736671830016,"km_value":114767736671830.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:42:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763933340928466944,"description":"Unknown IO ID 45"} 
[2026-04-26 12:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959980032001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1763933340928466944}} 
[2026-04-26 12:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:42:19] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:42:19] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:42:19] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:42:19] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:42:19] local.INFO: IMEI packet received {"connection_id":54745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:42:20] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:42:20] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:42:20] local.INFO: Packet analysis {"connection_id":54745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:42:20] local.INFO: Extracted packet for processing {"connection_id":54745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:42: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-04-26 12: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-04-26 12:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:42:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:42:20] local.INFO: GPS data processed {"connection_id":54745,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:42:20] local.INFO: Acknowledgment sent {"connection_id":54745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:42:50] local.INFO: TCP Data received {"connection_id":54683,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a039c8012d183f0007219188004b01242c..."} 
[2026-04-26 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a039c8012d183f0007219188004b01242c..."} 
[2026-04-26 12:42:50] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a039c8012d183f0007219188004b01242c..."} 
[2026-04-26 12:42:50] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:42:50] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756563712,"raw_latitude":119640456,"longitude_deg":75.6563712,"latitude_deg":11.9640456,"altitude":75,"angle":292,"satellites":44,"speed":38,"hex_longitude":"2d183f00","hex_latitude":"07219188","is_valid_coordinates":true} 
[2026-04-26 12:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959981568001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114768183348428800,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756614991534039040,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777187437000,"timestamp_ms":1777187437000,"timestamp_seconds":1777187437,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a039c8"} 
[2026-04-26 12:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:42: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-04-26 12:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 12:42:50] 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-04-26 12:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959981568001,"66":14265,"120":206,"28":31744,"24":38,"16":114768183348428800,"45":1756614991534039040},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959981568001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:42:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114768183348428800,"km_value":114768183348428.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756614991534039040,"description":"Unknown IO ID 45"} 
[2026-04-26 12:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959981568001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1756614991534039040}} 
[2026-04-26 12:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:42:50] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:42:50] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:42:51] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:42:51] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:42:51] local.INFO: Packet analysis {"connection_id":54745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:42:51] local.INFO: Extracted packet for processing {"connection_id":54745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:42: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-04-26 12: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-04-26 12:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:42:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:42:51] local.INFO: GPS data processed {"connection_id":54745,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:42:51] local.INFO: Acknowledgment sent {"connection_id":54745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:43:12] local.INFO: TCP Data received {"connection_id":54482,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:43:12] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:43:12] local.INFO: IMEI packet received {"connection_id":54482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":54482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:43:14] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:43:14] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:43:14] local.INFO: IMEI packet received {"connection_id":54483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":54483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:43:18] local.INFO: TCP Data received {"connection_id":54482,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:43:18] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:43:18] local.INFO: IMEI packet received {"connection_id":54482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":54482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:43:19] local.INFO: TCP Data received {"connection_id":54482,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a05520012d18294007219ba0004a01322a..."} 
[2026-04-26 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a05520012d18294007219ba0004a01322a..."} 
[2026-04-26 12:43:19] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a05520012d18294007219ba0004a01322a..."} 
[2026-04-26 12:43:19] local.INFO: Packet analysis {"connection_id":54482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:43:19] local.INFO: Extracted packet for processing {"connection_id":54482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756558144,"raw_latitude":119643040,"longitude_deg":75.6558144,"latitude_deg":11.964304,"altitude":74,"angle":306,"satellites":42,"speed":27,"hex_longitude":"2d182940","hex_latitude":"07219ba0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959983872001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114768475406204928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747115211070998528,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187444000,"timestamp_ms":1777187444000,"timestamp_seconds":1777187444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a05520"} 
[2026-04-26 12:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:43:19] 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-04-26 12: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 12:43:19] 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-04-26 12: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-04-26 12:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959983872001,"66":14515,"120":206,"28":31744,"24":27,"16":114768475406204928,"45":1747115211070998528},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959983872001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:43:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:43:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114768475406204928,"km_value":114768475406204.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747115211070998528,"description":"Unknown IO ID 45"} 
[2026-04-26 12:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959983872001,"power":14515,"unknown_120":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1747115211070998528}} 
[2026-04-26 12:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":54482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:43:19] local.INFO: GPS data processed {"connection_id":54482,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:43:19] local.INFO: Acknowledgment sent {"connection_id":54482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:43:19] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:43:19] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:43:19] local.INFO: IMEI packet received {"connection_id":54483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":54483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:43:20] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:43:20] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:43:20] local.INFO: Packet analysis {"connection_id":54483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:43:20] local.INFO: Extracted packet for processing {"connection_id":54483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:43: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-04-26 12: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-04-26 12:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:43:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:43:20] local.INFO: GPS data processed {"connection_id":54483,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:43:20] local.INFO: Acknowledgment sent {"connection_id":54483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:43:51] local.INFO: TCP Data received {"connection_id":54482,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a07848012d181d000721a5e00047011d2b..."} 
[2026-04-26 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a07848012d181d000721a5e00047011d2b..."} 
[2026-04-26 12:43:51] local.INFO: Processing buffer {"connection_id":54482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a07848012d181d000721a5e00047011d2b..."} 
[2026-04-26 12:43:51] local.INFO: Packet analysis {"connection_id":54482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:43:51] local.INFO: Extracted packet for processing {"connection_id":54482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a0"} 
[2026-04-26 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645664,"longitude_deg":75.6555008,"latitude_deg":11.9645664,"altitude":71,"angle":285,"satellites":43,"speed":6,"hex_longitude":"2d181d00","hex_latitude":"0721a5e0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959985664001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114768672974700544,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740993130328203264,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187453000,"timestamp_ms":1777187453000,"timestamp_seconds":1777187453,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a07848"} 
[2026-04-26 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:43: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-04-26 12: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 12:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959985664001,"66":14428,"120":206,"28":31744,"24":6,"16":114768672974700544,"45":1740993130328203264},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959985664001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114768672974700544,"km_value":114768672974700.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740993130328203264,"description":"Unknown IO ID 45"} 
[2026-04-26 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959985664001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740993130328203264}} 
[2026-04-26 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:43:51] local.INFO: GPS data processed {"connection_id":54482,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:43:51] local.INFO: Acknowledgment sent {"connection_id":54482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:43:51] local.INFO: TCP Data received {"connection_id":54483,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:43:51] local.INFO: Processing buffer {"connection_id":54483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:43:51] local.INFO: Packet analysis {"connection_id":54483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:43:51] local.INFO: Extracted packet for processing {"connection_id":54483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:43: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-04-26 12: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-04-26 12:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:43:51] local.INFO: GPS data processed {"connection_id":54483,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:43:51] local.INFO: Acknowledgment sent {"connection_id":54483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:44:12] local.INFO: TCP Data received {"connection_id":54684,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:12] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:12] local.INFO: IMEI packet received {"connection_id":54684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":54684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:44:13] local.INFO: TCP Data received {"connection_id":54684,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:13] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:13] local.INFO: IMEI packet received {"connection_id":54684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":54684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:44:14] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:44:14] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:44:14] local.INFO: IMEI packet received {"connection_id":54484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":54484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:44:18] local.INFO: TCP Data received {"connection_id":54684,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:18] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:44:18] local.INFO: IMEI packet received {"connection_id":54684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":54684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:44:19] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:44:19] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:44:19] local.INFO: IMEI packet received {"connection_id":54484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:44:19] local.INFO: TCP Data received {"connection_id":54684,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a24920012d1823400721b578004b01072d..."} 
[2026-04-26 12:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a24920012d1823400721b578004b01072d..."} 
[2026-04-26 12:44:19] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a24920012d1823400721b578004b01072d..."} 
[2026-04-26 12:44:19] local.INFO: Packet analysis {"connection_id":54684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a2"} 
[2026-04-26 12:44:19] local.INFO: Extracted packet for processing {"connection_id":54684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a2"} 
[2026-04-26 12:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960013056001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187572000,"timestamp_ms":1777187572000,"timestamp_seconds":1777187572,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a24920"} 
[2026-04-26 12:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:44:19] 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-04-26 12:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 12:44:19] 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-04-26 12:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960013056001,"66":12950,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960013056001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:44:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:44:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960013056001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":54684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:44:19] local.INFO: GPS data processed {"connection_id":54684,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:44:19] local.INFO: Acknowledgment sent {"connection_id":54684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:44:20] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:44:20] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:44:20] local.INFO: Packet analysis {"connection_id":54484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:44:20] local.INFO: Extracted packet for processing {"connection_id":54484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:44: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-04-26 12:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:44: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-04-26 12:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:44:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:44:20] local.INFO: GPS data processed {"connection_id":54484,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:44:20] local.INFO: Acknowledgment sent {"connection_id":54484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:44:51] local.INFO: TCP Data received {"connection_id":54484,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:44:51] local.INFO: Processing buffer {"connection_id":54484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:44:51] local.INFO: Packet analysis {"connection_id":54484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:44:51] local.INFO: Extracted packet for processing {"connection_id":54484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:44: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-04-26 12: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-04-26 12:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:44:51] local.INFO: GPS data processed {"connection_id":54484,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:44:51] local.INFO: Acknowledgment sent {"connection_id":54484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:44:51] local.INFO: TCP Data received {"connection_id":54684,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a29b28012d1823400721b578004b01072e..."} 
[2026-04-26 12:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a29b28012d1823400721b578004b01072e..."} 
[2026-04-26 12:44:51] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a29b28012d1823400721b578004b01072e..."} 
[2026-04-26 12:44:51] local.INFO: Packet analysis {"connection_id":54684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a2"} 
[2026-04-26 12:44:51] local.INFO: Extracted packet for processing {"connection_id":54684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a2"} 
[2026-04-26 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960018432001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187593000,"timestamp_ms":1777187593000,"timestamp_seconds":1777187593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a29b28"} 
[2026-04-26 12:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 12:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960018432001,"66":12885,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960018432001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960018432001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:44:51] local.INFO: GPS data processed {"connection_id":54684,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:44:51] local.INFO: Acknowledgment sent {"connection_id":54684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:45:10] local.INFO: TCP Data received {"connection_id":54746,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:45:10] local.INFO: Processing buffer {"connection_id":54746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:45:10] local.INFO: IMEI packet received {"connection_id":54746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":54746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:45:16] local.INFO: TCP Data received {"connection_id":54485,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:16] local.INFO: Processing buffer {"connection_id":54485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:16] local.INFO: IMEI packet received {"connection_id":54485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":54485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:45:17] local.INFO: TCP Data received {"connection_id":54485,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:17] local.INFO: Processing buffer {"connection_id":54485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:17] local.INFO: IMEI packet received {"connection_id":54485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":54485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:45:19] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:45:19] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:45:19] local.INFO: IMEI packet received {"connection_id":54685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":54685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:45:22] local.INFO: TCP Data received {"connection_id":54485,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:22] local.INFO: Processing buffer {"connection_id":54485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:45:22] local.INFO: IMEI packet received {"connection_id":54485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":54485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:45:24] local.INFO: TCP Data received {"connection_id":54485,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a2ed30012d1823400721b578004b01072d..."} 
[2026-04-26 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a2ed30012d1823400721b578004b01072d..."} 
[2026-04-26 12:45:24] local.INFO: Processing buffer {"connection_id":54485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a2ed30012d1823400721b578004b01072d..."} 
[2026-04-26 12:45:24] local.INFO: Packet analysis {"connection_id":54485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a2"} 
[2026-04-26 12:45:24] local.INFO: Extracted packet for processing {"connection_id":54485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a2"} 
[2026-04-26 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960023808001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777187614000,"timestamp_ms":1777187614000,"timestamp_seconds":1777187614,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a2ed30"} 
[2026-04-26 12:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 12:45:24] 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-04-26 12:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960023808001,"66":12841,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960023808001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:45:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:45:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960023808001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:45:24] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:45:24] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:45:24] local.INFO: IMEI packet received {"connection_id":54685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":54685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":54485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:45:24] local.INFO: GPS data processed {"connection_id":54485,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:45:24] local.INFO: Acknowledgment sent {"connection_id":54485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:45:25] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:45:25] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:45:25] local.INFO: Packet analysis {"connection_id":54685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:45:25] local.INFO: Extracted packet for processing {"connection_id":54685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:45:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":54685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:45:25] local.INFO: GPS data processed {"connection_id":54685,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:45:25] local.INFO: Acknowledgment sent {"connection_id":54685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:45:29] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:45:29] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc89fa558012cb299c007822ce0004c001232..."} 
[2026-04-26 12:45:29] local.INFO: Packet analysis {"connection_id":54685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:45:29] local.INFO: Extracted packet for processing {"connection_id":54685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc89f"} 
[2026-04-26 12:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959897088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777187399000,"timestamp_ms":1777187399000,"timestamp_seconds":1777187399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc89fa558"} 
[2026-04-26 12:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959897088001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959897088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:45:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959897088001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":54685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:45:29] local.INFO: GPS data processed {"connection_id":54685,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:45:29] local.INFO: Acknowledgment sent {"connection_id":54685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:45:40] local.INFO: TCP Data received {"connection_id":54486,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:45:40] local.INFO: Processing buffer {"connection_id":54486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:45:40] local.INFO: IMEI packet received {"connection_id":54486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":54486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:45:56] local.INFO: TCP Data received {"connection_id":54485,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a33f38012d1823400721b578004b01072c..."} 
[2026-04-26 12:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a33f38012d1823400721b578004b01072c..."} 
[2026-04-26 12:45:56] local.INFO: Processing buffer {"connection_id":54485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a33f38012d1823400721b578004b01072c..."} 
[2026-04-26 12:45:56] local.INFO: Packet analysis {"connection_id":54485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a3"} 
[2026-04-26 12:45:56] local.INFO: Extracted packet for processing {"connection_id":54485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a3"} 
[2026-04-26 12:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960029184001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777187635000,"timestamp_ms":1777187635000,"timestamp_seconds":1777187635,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a33f38"} 
[2026-04-26 12:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:45:56] 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-04-26 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 12:45:56] 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-04-26 12: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-04-26 12:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960029184001,"66":12809,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960029184001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:45:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:45:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960029184001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":54485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:45:56] local.INFO: GPS data processed {"connection_id":54485,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:45:56] local.INFO: Acknowledgment sent {"connection_id":54485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:46:13] local.INFO: TCP Data received {"connection_id":54487,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:46:13] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:46:13] local.INFO: IMEI packet received {"connection_id":54487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":54487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:46:14] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:46:14] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:46:14] local.INFO: IMEI packet received {"connection_id":54488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:46:18] local.INFO: TCP Data received {"connection_id":54487,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:46:18] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:46:18] local.INFO: IMEI packet received {"connection_id":54487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":54487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:46:19] local.INFO: TCP Data received {"connection_id":54487,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a39140012d1823400721b578004b01072c..."} 
[2026-04-26 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a39140012d1823400721b578004b01072c..."} 
[2026-04-26 12:46:19] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a39140012d1823400721b578004b01072c..."} 
[2026-04-26 12:46:19] local.INFO: Packet analysis {"connection_id":54487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a3"} 
[2026-04-26 12:46:19] local.INFO: Extracted packet for processing {"connection_id":54487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a3"} 
[2026-04-26 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960034560001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187656000,"timestamp_ms":1777187656000,"timestamp_seconds":1777187656,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a39140"} 
[2026-04-26 12:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:46:19] 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-04-26 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3366015752,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":-6845189953574919360,"corrected_to":0} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3044540491,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154151,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3184459776,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429683204098164526,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522489593372,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,189,157,237,45,64,181,75,10,66,155,46,73,1,240,150,200,33,4,113,205,165,35,239,50,2,151,7,74,53,124,199],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":200,"original":-6845189953574919360,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-04-26 12:46:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404608913381261312,"timestamp_seconds":5404608913381261.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 12:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960034560001,"66":12798,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960034560001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:46:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:46:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960034560001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":54487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:46:19] local.INFO: GPS data processed {"connection_id":54487,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:46:19] local.INFO: Acknowledgment sent {"connection_id":54487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:46:19] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:46:19] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:46:19] local.INFO: IMEI packet received {"connection_id":54488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":54488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:46:20] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:46:20] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:46:20] local.INFO: Packet analysis {"connection_id":54488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:46:20] local.INFO: Extracted packet for processing {"connection_id":54488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:46:20] 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-04-26 12: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-04-26 12:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:46: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-04-26 12:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:46:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":54488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:46:20] local.INFO: GPS data processed {"connection_id":54488,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:46:20] local.INFO: Acknowledgment sent {"connection_id":54488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:46:51] local.INFO: TCP Data received {"connection_id":54487,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a3e348012d1823400721b578004b01072f..."} 
[2026-04-26 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a3e348012d1823400721b578004b01072f..."} 
[2026-04-26 12:46:51] local.INFO: Processing buffer {"connection_id":54487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a3e348012d1823400721b578004b01072f..."} 
[2026-04-26 12:46:51] local.INFO: Packet analysis {"connection_id":54487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a3"} 
[2026-04-26 12:46:51] local.INFO: Extracted packet for processing {"connection_id":54487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a3"} 
[2026-04-26 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960039936001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187677000,"timestamp_ms":1777187677000,"timestamp_seconds":1777187677,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a3e348"} 
[2026-04-26 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-04-26 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 12:46:51] 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-04-26 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-04-26 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-04-26 12:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960039936001,"66":12711,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960039936001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960039936001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":54487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:46:51] local.INFO: GPS data processed {"connection_id":54487,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:46:51] local.INFO: Acknowledgment sent {"connection_id":54487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:46:51] local.INFO: TCP Data received {"connection_id":54488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:46:51] local.INFO: Processing buffer {"connection_id":54488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:46:51] local.INFO: Packet analysis {"connection_id":54488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:46:51] local.INFO: Extracted packet for processing {"connection_id":54488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 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-04-26 12:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:46:51] 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-04-26 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-04-26 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-04-26 12:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:46: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-04-26 12:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":54488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:46:51] local.INFO: GPS data processed {"connection_id":54488,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:46:51] local.INFO: Acknowledgment sent {"connection_id":54488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:47:12] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:47:12] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:47:12] local.INFO: IMEI packet received {"connection_id":54686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":54686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:47:14] local.INFO: TCP Data received {"connection_id":55407,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:47:14] local.INFO: Processing buffer {"connection_id":55407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:47:14] local.INFO: IMEI packet received {"connection_id":55407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":55407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:47:18] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:47:18] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:47:18] local.INFO: IMEI packet received {"connection_id":54686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":54686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:47:19] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43550012d1823400721b578004b01072d..."} 
[2026-04-26 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43550012d1823400721b578004b01072d..."} 
[2026-04-26 12:47:19] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43550012d1823400721b578004b01072d..."} 
[2026-04-26 12:47:19] local.INFO: Packet analysis {"connection_id":54686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:19] local.INFO: Extracted packet for processing {"connection_id":54686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960045312001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187698000,"timestamp_ms":1777187698000,"timestamp_seconds":1777187698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43550"} 
[2026-04-26 12:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:47:19] 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-04-26 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-26 12:47:19] 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-04-26 12:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960045312001,"66":12711,"122":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-26 12:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960045312001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:47:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-26 12:47:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960045312001,"power":12711,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":54686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:47:19] local.INFO: GPS data processed {"connection_id":54686,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:47:19] local.INFO: Acknowledgment sent {"connection_id":54686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:47:19] local.INFO: TCP Data received {"connection_id":55407,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:47:19] local.INFO: Processing buffer {"connection_id":55407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:47:19] local.INFO: IMEI packet received {"connection_id":55407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":55407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:47:20] local.INFO: TCP Data received {"connection_id":55407,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:47:20] local.INFO: Processing buffer {"connection_id":55407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:47:20] local.INFO: Packet analysis {"connection_id":55407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:20] local.INFO: Extracted packet for processing {"connection_id":55407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:47:20] 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-04-26 12: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-04-26 12:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:47: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-04-26 12:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:47:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":55407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:47:20] local.INFO: GPS data processed {"connection_id":55407,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:47:20] local.INFO: Acknowledgment sent {"connection_id":55407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:47:51] local.INFO: TCP Data received {"connection_id":54686,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a48758012d1823400721b578004b01072f..."} 
[2026-04-26 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a48758012d1823400721b578004b01072f..."} 
[2026-04-26 12:47:51] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a48758012d1823400721b578004b01072f..."} 
[2026-04-26 12:47:51] local.INFO: Packet analysis {"connection_id":54686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:51] local.INFO: Extracted packet for processing {"connection_id":54686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960050688001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187719000,"timestamp_ms":1777187719000,"timestamp_seconds":1777187719,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a48758"} 
[2026-04-26 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":167,"data_length":795,"current_offset":136} 
[2026-04-26 12:47:51] 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-04-26 12: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-04-26 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960050688001,"66":12613,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960050688001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960050688001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":54686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:47:51] local.INFO: GPS data processed {"connection_id":54686,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:47:51] local.INFO: Acknowledgment sent {"connection_id":54686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:47:51] local.INFO: TCP Data received {"connection_id":55407,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:47:51] local.INFO: Processing buffer {"connection_id":55407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:47:51] local.INFO: Packet analysis {"connection_id":55407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:51] local.INFO: Extracted packet for processing {"connection_id":55407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:47:51] 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-04-26 12: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-04-26 12:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:47: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-04-26 12:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":55407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:47:51] local.INFO: GPS data processed {"connection_id":55407,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:47:51] local.INFO: Acknowledgment sent {"connection_id":55407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:48:13] local.INFO: TCP Data received {"connection_id":54687,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:48:13] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:48:13] local.INFO: IMEI packet received {"connection_id":54687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":54687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:48:14] local.INFO: TCP Data received {"connection_id":55408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:48:14] local.INFO: Processing buffer {"connection_id":55408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:48:14] local.INFO: IMEI packet received {"connection_id":55408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":55408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:48:17] local.INFO: TCP Data received {"connection_id":54687,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:48:17] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:48:17] local.INFO: IMEI packet received {"connection_id":54687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":54687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:48:19] local.INFO: TCP Data received {"connection_id":54687,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a4d960012d1823400721b578004b010730..."} 
[2026-04-26 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a4d960012d1823400721b578004b010730..."} 
[2026-04-26 12:48:19] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a4d960012d1823400721b578004b010730..."} 
[2026-04-26 12:48:19] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:48:19] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960056064001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187740000,"timestamp_ms":1777187740000,"timestamp_seconds":1777187740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a4d960"} 
[2026-04-26 12:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 12:48:19] 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-04-26 12: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-04-26 12:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960056064001,"66":12613,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960056064001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:48:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:48:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960056064001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:48:19] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:48:19] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:48:19] local.INFO: TCP Data received {"connection_id":55408,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:48:19] local.INFO: Processing buffer {"connection_id":55408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:48:19] local.INFO: IMEI packet received {"connection_id":55408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":55408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:48:20] local.INFO: TCP Data received {"connection_id":55408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:48:20] local.INFO: Processing buffer {"connection_id":55408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:48:20] local.INFO: Packet analysis {"connection_id":55408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:48:20] local.INFO: Extracted packet for processing {"connection_id":55408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:48:20] 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-04-26 12: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-04-26 12:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:48:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":55408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:48:20] local.INFO: GPS data processed {"connection_id":55408,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:48:20] local.INFO: Acknowledgment sent {"connection_id":55408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:48:51] local.INFO: TCP Data received {"connection_id":54687,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a52f50012d1823400721b578004b01072f..."} 
[2026-04-26 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a52f50012d1823400721b578004b01072f..."} 
[2026-04-26 12:48:51] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a52f50012d1823400721b578004b01072f..."} 
[2026-04-26 12:48:51] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a5"} 
[2026-04-26 12:48:51] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a5"} 
[2026-04-26 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960061440001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187762000,"timestamp_ms":1777187762000,"timestamp_seconds":1777187762,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a52f50"} 
[2026-04-26 12:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 12:48:51] 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-04-26 12: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-04-26 12:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960061440001,"66":12461,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960061440001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960061440001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:48:51] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:48:51] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:48:51] local.INFO: TCP Data received {"connection_id":55408,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:48:51] local.INFO: Processing buffer {"connection_id":55408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:48:51] local.INFO: Packet analysis {"connection_id":55408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:48:51] local.INFO: Extracted packet for processing {"connection_id":55408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:48:51] 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-04-26 12: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-04-26 12:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":55408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:48:51] local.INFO: GPS data processed {"connection_id":55408,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:48:51] local.INFO: Acknowledgment sent {"connection_id":55408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:49:13] local.INFO: TCP Data received {"connection_id":55409,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:49:13] local.INFO: Processing buffer {"connection_id":55409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:49:13] local.INFO: IMEI packet received {"connection_id":55409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":55409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:49:14] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:49:14] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:49:14] local.INFO: IMEI packet received {"connection_id":54688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:49:18] local.INFO: TCP Data received {"connection_id":55409,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:49:18] local.INFO: Processing buffer {"connection_id":55409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:49:18] local.INFO: IMEI packet received {"connection_id":55409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":55409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:49:19] local.INFO: TCP Data received {"connection_id":55409,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a57d70012d1823400721b578004b01072e..."} 
[2026-04-26 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a57d70012d1823400721b578004b01072e..."} 
[2026-04-26 12:49:19] local.INFO: Processing buffer {"connection_id":55409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a57d70012d1823400721b578004b01072e..."} 
[2026-04-26 12:49:19] local.INFO: Packet analysis {"connection_id":55409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a5"} 
[2026-04-26 12:49:19] local.INFO: Extracted packet for processing {"connection_id":55409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a5"} 
[2026-04-26 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960067072001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187782000,"timestamp_ms":1777187782000,"timestamp_seconds":1777187782,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a57d70"} 
[2026-04-26 12:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:49:19] 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-04-26 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:49: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-04-26 12:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960067072001,"66":12526,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960067072001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:49:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:49:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960067072001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":55409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:49:19] local.INFO: GPS data processed {"connection_id":55409,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:49:19] local.INFO: Acknowledgment sent {"connection_id":55409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:49:19] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:49:19] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:49:19] local.INFO: IMEI packet received {"connection_id":54688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:49:20] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:49:20] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:49:20] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:49:20] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:49:20] 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-04-26 12:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:49: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-04-26 12:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:49:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:49:20] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:49:20] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:49:50] local.INFO: TCP Data received {"connection_id":55409,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a5cf78012d1823400721b578004b01072c..."} 
[2026-04-26 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a5cf78012d1823400721b578004b01072c..."} 
[2026-04-26 12:49:50] local.INFO: Processing buffer {"connection_id":55409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a5cf78012d1823400721b578004b01072c..."} 
[2026-04-26 12:49:50] local.INFO: Packet analysis {"connection_id":55409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a5"} 
[2026-04-26 12:49:50] local.INFO: Extracted packet for processing {"connection_id":55409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a5"} 
[2026-04-26 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960072192001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777187803000,"timestamp_ms":1777187803000,"timestamp_seconds":1777187803,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a5cf78"} 
[2026-04-26 12:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:49:50] 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-04-26 12: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 12:49: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-04-26 12: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-04-26 12:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960072192001,"66":12526,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960072192001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:49:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960072192001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":55409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:49:50] local.INFO: GPS data processed {"connection_id":55409,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:49:50] local.INFO: Acknowledgment sent {"connection_id":55409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:49:52] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:49:52] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:49:52] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:49:52] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:49:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 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-04-26 12:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:49:52] 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-04-26 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-04-26 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-04-26 12:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:49: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-04-26 12:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:49:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:49:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:49:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:49:52] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:49:52] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:50:12] local.INFO: TCP Data received {"connection_id":54489,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:50:12] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:50:12] local.INFO: IMEI packet received {"connection_id":54489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":54489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:50:17] local.INFO: TCP Data received {"connection_id":54489,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:50:17] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:50:17] local.INFO: IMEI packet received {"connection_id":54489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":54489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:50:18] local.INFO: TCP Data received {"connection_id":54489,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a62180012d1823400721b578004b01072f..."} 
[2026-04-26 12:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a62180012d1823400721b578004b01072f..."} 
[2026-04-26 12:50:18] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a62180012d1823400721b578004b01072f..."} 
[2026-04-26 12:50:18] local.INFO: Packet analysis {"connection_id":54489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a6"} 
[2026-04-26 12:50:18] local.INFO: Extracted packet for processing {"connection_id":54489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a6"} 
[2026-04-26 12:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960077568001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777187824000,"timestamp_ms":1777187824000,"timestamp_seconds":1777187824,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a62180"} 
[2026-04-26 12:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:50: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-04-26 12:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 12:50:18] 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-04-26 12: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-04-26 12:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960077568001,"66":12515,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960077568001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:50:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:50:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960077568001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":54489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:50:19] local.INFO: GPS data processed {"connection_id":54489,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:50:19] local.INFO: Acknowledgment sent {"connection_id":54489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:50:19] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:50:19] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:50:19] local.INFO: IMEI packet received {"connection_id":54751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:50:24] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:50:24] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:50:24] local.INFO: IMEI packet received {"connection_id":54751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":54751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:50:25] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:50:25] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a43d20012cb299c007822ce0004d001232..."} 
[2026-04-26 12:50:25] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:50:25] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a4"} 
[2026-04-26 12:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454959974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777187700000,"timestamp_ms":1777187700000,"timestamp_seconds":1777187700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a43d20"} 
[2026-04-26 12:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 12:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454959974144001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454959974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:50:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454959974144001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:50:25] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:50:25] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:50:50] local.INFO: TCP Data received {"connection_id":54489,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a67388012d1823400721b578004b010730..."} 
[2026-04-26 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a67388012d1823400721b578004b010730..."} 
[2026-04-26 12:50:50] local.INFO: Processing buffer {"connection_id":54489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a67388012d1823400721b578004b010730..."} 
[2026-04-26 12:50:50] local.INFO: Packet analysis {"connection_id":54489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a6"} 
[2026-04-26 12:50:50] local.INFO: Extracted packet for processing {"connection_id":54489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a6"} 
[2026-04-26 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960082944001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777187845000,"timestamp_ms":1777187845000,"timestamp_seconds":1777187845,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a67388"} 
[2026-04-26 12:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:50:50] 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-04-26 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-26 12:50:50] 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-04-26 12:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960082944001,"66":12461,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960082944001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:50:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960082944001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":54489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:50:50] local.INFO: GPS data processed {"connection_id":54489,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:50:50] local.INFO: Acknowledgment sent {"connection_id":54489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:50:56] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:50:56] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:50:56] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:50:56] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:50:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:50: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-04-26 12:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:50:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:50:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:50:56] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:50:56] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:51:05] local.INFO: TCP Data received {"connection_id":55410,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:51:05] local.INFO: Processing buffer {"connection_id":55410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:51:05] local.INFO: IMEI packet received {"connection_id":55410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":55410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:51:12] local.INFO: TCP Data received {"connection_id":54490,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:12] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:12] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:51:13] local.INFO: TCP Data received {"connection_id":54490,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:13] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:13] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:51:14] local.INFO: TCP Data received {"connection_id":55411,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:51:14] local.INFO: Processing buffer {"connection_id":55411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:51:14] local.INFO: IMEI packet received {"connection_id":55411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":55411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:51:17] local.INFO: TCP Data received {"connection_id":54490,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:17] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:51:17] local.INFO: IMEI packet received {"connection_id":54490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":54490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:51:19] local.INFO: TCP Data received {"connection_id":54490,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a6c590012d1823400721b578004b010730..."} 
[2026-04-26 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a6c590012d1823400721b578004b010730..."} 
[2026-04-26 12:51:19] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a6c590012d1823400721b578004b010730..."} 
[2026-04-26 12:51:19] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a6"} 
[2026-04-26 12:51:19] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a6"} 
[2026-04-26 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960088320001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777187866000,"timestamp_ms":1777187866000,"timestamp_seconds":1777187866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a6c590"} 
[2026-04-26 12:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:51:19] 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-04-26 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:51: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-04-26 12: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-04-26 12:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960088320001,"66":12461,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960088320001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:51:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:51:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960088320001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:51:19] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:51:19] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:51:19] local.INFO: TCP Data received {"connection_id":55411,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:51:19] local.INFO: Processing buffer {"connection_id":55411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:51:19] local.INFO: IMEI packet received {"connection_id":55411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":55411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:51:20] local.INFO: TCP Data received {"connection_id":55411,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:51:20] local.INFO: Processing buffer {"connection_id":55411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:51:20] local.INFO: Packet analysis {"connection_id":55411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:51:20] local.INFO: Extracted packet for processing {"connection_id":55411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:51: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-04-26 12: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-04-26 12:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:51:20] 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-04-26 12:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:51:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":55411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:51:20] local.INFO: GPS data processed {"connection_id":55411,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:51:20] local.INFO: Acknowledgment sent {"connection_id":55411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:51:40] local.INFO: TCP Data received {"connection_id":55412,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:51:40] local.INFO: Processing buffer {"connection_id":55412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:51:40] local.INFO: IMEI packet received {"connection_id":55412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":55412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:51:50] local.INFO: TCP Data received {"connection_id":54490,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a71798012d1823400721b578004b01072e..."} 
[2026-04-26 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a71798012d1823400721b578004b01072e..."} 
[2026-04-26 12:51:50] local.INFO: Processing buffer {"connection_id":54490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a71798012d1823400721b578004b01072e..."} 
[2026-04-26 12:51:50] local.INFO: Packet analysis {"connection_id":54490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a7"} 
[2026-04-26 12:51:50] local.INFO: Extracted packet for processing {"connection_id":54490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a7"} 
[2026-04-26 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960093696001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777187887000,"timestamp_ms":1777187887000,"timestamp_seconds":1777187887,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a71798"} 
[2026-04-26 12:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:51:50] 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-04-26 12: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:51: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-04-26 12: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-04-26 12:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960093696001,"66":12461,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960093696001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:51:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960093696001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":54490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:51:50] local.INFO: GPS data processed {"connection_id":54490,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:51:50] local.INFO: Acknowledgment sent {"connection_id":54490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:51:51] local.INFO: TCP Data received {"connection_id":55411,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:51:51] local.INFO: Processing buffer {"connection_id":55411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:51:51] local.INFO: Packet analysis {"connection_id":55411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:51:51] local.INFO: Extracted packet for processing {"connection_id":55411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:51: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-04-26 12: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-04-26 12:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:51:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":55411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:51:51] local.INFO: GPS data processed {"connection_id":55411,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:51:51] local.INFO: Acknowledgment sent {"connection_id":55411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:52:14] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:52:14] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:52:14] local.INFO: IMEI packet received {"connection_id":54690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:52:16] local.INFO: TCP Data received {"connection_id":54689,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:16] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:16] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:52:17] local.INFO: TCP Data received {"connection_id":54689,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:17] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:17] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:52:18] local.INFO: TCP Data received {"connection_id":54689,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:18] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:18] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:52:19] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:52:19] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:52:19] local.INFO: IMEI packet received {"connection_id":54690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:52:20] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:52:20] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:52:20] local.INFO: Packet analysis {"connection_id":54690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:52:20] local.INFO: Extracted packet for processing {"connection_id":54690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:52: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-04-26 12: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-04-26 12:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:52:20] 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-04-26 12:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:52:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":54690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:52:20] local.INFO: GPS data processed {"connection_id":54690,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:52:20] local.INFO: Acknowledgment sent {"connection_id":54690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:52:23] local.INFO: TCP Data received {"connection_id":54689,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:23] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:52:23] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:52:24] local.INFO: TCP Data received {"connection_id":54689,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a769a0012d1823400721b578004b01072f..."} 
[2026-04-26 12:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a769a0012d1823400721b578004b01072f..."} 
[2026-04-26 12:52:24] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a769a0012d1823400721b578004b01072f..."} 
[2026-04-26 12:52:24] local.INFO: Packet analysis {"connection_id":54689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a7"} 
[2026-04-26 12:52:24] local.INFO: Extracted packet for processing {"connection_id":54689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a7"} 
[2026-04-26 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 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-04-26 12:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960099072001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777187908000,"timestamp_ms":1777187908000,"timestamp_seconds":1777187908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a769a0"} 
[2026-04-26 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-04-26 12:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:52: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-04-26 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-04-26 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-04-26 12:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960099072001,"66":12461,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960099072001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:52:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960099072001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":54689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:52:24] local.INFO: GPS data processed {"connection_id":54689,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:52:24] local.INFO: Acknowledgment sent {"connection_id":54689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:52:28] local.INFO: TCP Data received {"connection_id":54689,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a7bba8012d1823400721b578004b01072d..."} 
[2026-04-26 12:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a7bba8012d1823400721b578004b01072d..."} 
[2026-04-26 12:52:28] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a7bba8012d1823400721b578004b01072d..."} 
[2026-04-26 12:52:28] local.INFO: Packet analysis {"connection_id":54689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a7"} 
[2026-04-26 12:52:28] local.INFO: Extracted packet for processing {"connection_id":54689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a7"} 
[2026-04-26 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960104448001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777187929000,"timestamp_ms":1777187929000,"timestamp_seconds":1777187929,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a7bba8"} 
[2026-04-26 12:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:52:28] 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-04-26 12:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960104448001,"66":12135,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960104448001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:52:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960104448001,"power":12135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":54689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:52:28] local.INFO: GPS data processed {"connection_id":54689,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:52:28] local.INFO: Acknowledgment sent {"connection_id":54689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:52:51] local.INFO: TCP Data received {"connection_id":54690,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:52:51] local.INFO: Processing buffer {"connection_id":54690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:52:51] local.INFO: Packet analysis {"connection_id":54690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:52:51] local.INFO: Extracted packet for processing {"connection_id":54690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:52: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-04-26 12: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-04-26 12:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:52:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:52:51] local.INFO: GPS data processed {"connection_id":54690,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:52:51] local.INFO: Acknowledgment sent {"connection_id":54690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:53:13] local.INFO: TCP Data received {"connection_id":55413,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:53:13] local.INFO: Processing buffer {"connection_id":55413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:53:13] local.INFO: IMEI packet received {"connection_id":55413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":55413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:53:17] local.INFO: TCP Data received {"connection_id":55413,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:53:17] local.INFO: Processing buffer {"connection_id":55413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:53:17] local.INFO: IMEI packet received {"connection_id":55413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":55413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:53:18] local.INFO: TCP Data received {"connection_id":55413,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a80db0012d1823400721b578004b01072c..."} 
[2026-04-26 12:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a80db0012d1823400721b578004b01072c..."} 
[2026-04-26 12:53:18] local.INFO: Processing buffer {"connection_id":55413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a80db0012d1823400721b578004b01072c..."} 
[2026-04-26 12:53:18] local.INFO: Packet analysis {"connection_id":55413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:18] local.INFO: Extracted packet for processing {"connection_id":55413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960109824001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777187950000,"timestamp_ms":1777187950000,"timestamp_seconds":1777187950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a80db0"} 
[2026-04-26 12:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:53: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-04-26 12:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 12:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960109824001,"66":12406,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960109824001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:53:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:53:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960109824001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":55413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:53:18] local.INFO: GPS data processed {"connection_id":55413,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:53:18] local.INFO: Acknowledgment sent {"connection_id":55413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:53:19] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:53:19] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:53:19] local.INFO: IMEI packet received {"connection_id":54752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":54752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:53:24] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:53:24] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:53:24] local.INFO: IMEI packet received {"connection_id":54752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":54752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:53:25] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:53:25] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:53:25] local.INFO: Packet analysis {"connection_id":54752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:25] local.INFO: Extracted packet for processing {"connection_id":54752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:53:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:53:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:53:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":54752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:53:25] local.INFO: GPS data processed {"connection_id":54752,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:53:25] local.INFO: Acknowledgment sent {"connection_id":54752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:53:29] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:53:29] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:53:29] local.INFO: Packet analysis {"connection_id":54752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:29] local.INFO: Extracted packet for processing {"connection_id":54752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:53:29] 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-04-26 12:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:53:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":54752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:53:29] local.INFO: GPS data processed {"connection_id":54752,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:53:29] local.INFO: Acknowledgment sent {"connection_id":54752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:53:50] local.INFO: TCP Data received {"connection_id":55413,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a85fb8012d1823400721b578004b01072e..."} 
[2026-04-26 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a85fb8012d1823400721b578004b01072e..."} 
[2026-04-26 12:53:50] local.INFO: Processing buffer {"connection_id":55413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a85fb8012d1823400721b578004b01072e..."} 
[2026-04-26 12:53:50] local.INFO: Packet analysis {"connection_id":55413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:50] local.INFO: Extracted packet for processing {"connection_id":55413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960115200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777187971000,"timestamp_ms":1777187971000,"timestamp_seconds":1777187971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a85fb8"} 
[2026-04-26 12:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 12:53:50] 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-04-26 12: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-04-26 12:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960115200001,"66":12428,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960115200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:53:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:53:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960115200001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":55413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:53:51] local.INFO: GPS data processed {"connection_id":55413,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:53:51] local.INFO: Acknowledgment sent {"connection_id":55413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:54:13] local.INFO: TCP Data received {"connection_id":55414,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:54:13] local.INFO: Processing buffer {"connection_id":55414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:54:13] local.INFO: IMEI packet received {"connection_id":55414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":55414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:54:14] local.INFO: TCP Data received {"connection_id":55415,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:54:14] local.INFO: Processing buffer {"connection_id":55415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:54:14] local.INFO: IMEI packet received {"connection_id":55415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":55415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:54:17] local.INFO: TCP Data received {"connection_id":55414,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:54:17] local.INFO: Processing buffer {"connection_id":55414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:54:17] local.INFO: IMEI packet received {"connection_id":55414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":55414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:54:18] local.INFO: TCP Data received {"connection_id":55414,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8b1c0012d1823400721b578004b01072e..."} 
[2026-04-26 12:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8b1c0012d1823400721b578004b01072e..."} 
[2026-04-26 12:54:18] local.INFO: Processing buffer {"connection_id":55414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8b1c0012d1823400721b578004b01072e..."} 
[2026-04-26 12:54:18] local.INFO: Packet analysis {"connection_id":55414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:54:18] local.INFO: Extracted packet for processing {"connection_id":55414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":75,"angle":263,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 12:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960120576001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769012277116928,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777187992000,"timestamp_ms":1777187992000,"timestamp_seconds":1777187992,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8b1c0"} 
[2026-04-26 12:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-26 12:54:18] 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-04-26 12:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960120576001,"66":12406,"120":206,"28":31744,"24":0,"16":114769012277116928,"45":1739304280469633024},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960120576001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:54:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:54:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769012277116928,"km_value":114769012277116.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 12:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960120576001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 12:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":55414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:54:18] local.INFO: GPS data processed {"connection_id":55414,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:54:18] local.INFO: Acknowledgment sent {"connection_id":55414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:54:19] local.INFO: TCP Data received {"connection_id":55415,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:54:19] local.INFO: Processing buffer {"connection_id":55415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:54:19] local.INFO: IMEI packet received {"connection_id":55415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":55415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:54:20] local.INFO: TCP Data received {"connection_id":55415,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:54:20] local.INFO: Processing buffer {"connection_id":55415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:54:20] local.INFO: Packet analysis {"connection_id":55415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:54:20] local.INFO: Extracted packet for processing {"connection_id":55415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:54: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-04-26 12: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-04-26 12:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:54:20] 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-04-26 12:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:54:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":55415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:54:20] local.INFO: GPS data processed {"connection_id":55415,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:54:20] local.INFO: Acknowledgment sent {"connection_id":55415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:54:50] local.INFO: TCP Data received {"connection_id":55414,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8abe610012d1821000721b2b8004d00d42f..."} 
[2026-04-26 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8abe610012d1821000721b2b8004d00d42f..."} 
[2026-04-26 12:54:50] local.INFO: Processing buffer {"connection_id":55414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8abe610012d1821000721b2b8004d00d42f..."} 
[2026-04-26 12:54:50] local.INFO: Packet analysis {"connection_id":55414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ab"} 
[2026-04-26 12:54:50] local.INFO: Extracted packet for processing {"connection_id":55414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ab"} 
[2026-04-26 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960174336001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777188202000,"timestamp_ms":1777188202000,"timestamp_seconds":1777188202,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8abe610"} 
[2026-04-26 12:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-26 12:54: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-04-26 12:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960174336001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960174336001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:54:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960174336001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":55414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:54:50] local.INFO: GPS data processed {"connection_id":55414,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:54:50] local.INFO: Acknowledgment sent {"connection_id":55414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:54:51] local.INFO: TCP Data received {"connection_id":55415,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:54:51] local.INFO: Processing buffer {"connection_id":55415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:54:51] local.INFO: Packet analysis {"connection_id":55415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:54:51] local.INFO: Extracted packet for processing {"connection_id":55415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:54: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-04-26 12: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-04-26 12:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:54:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":55415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:54:51] local.INFO: GPS data processed {"connection_id":55415,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:54:51] local.INFO: Acknowledgment sent {"connection_id":55415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:55:12] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:55:12] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:55:12] local.INFO: IMEI packet received {"connection_id":54692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":54692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:55:14] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:55:14] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:55:14] local.INFO: IMEI packet received {"connection_id":54753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":54753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:55:17] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:55:17] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:55:17] local.INFO: IMEI packet received {"connection_id":54692,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":54692,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:55:19] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ac3818012d1821000721b2b8004d00d42d..."} 
[2026-04-26 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ac3818012d1821000721b2b8004d00d42d..."} 
[2026-04-26 12:55:19] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ac3818012d1821000721b2b8004d00d42d..."} 
[2026-04-26 12:55:19] local.INFO: Packet analysis {"connection_id":54692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ac"} 
[2026-04-26 12:55:19] local.INFO: Extracted packet for processing {"connection_id":54692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ac"} 
[2026-04-26 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:55: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-04-26 12:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960179712001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777188223000,"timestamp_ms":1777188223000,"timestamp_seconds":1777188223,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ac3818"} 
[2026-04-26 12:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:55: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-04-26 12:55: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-04-26 12:55: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-04-26 12:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960179712001,"66":12406,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960179712001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:55:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:55:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960179712001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":54692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:55:19] local.INFO: GPS data processed {"connection_id":54692,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:55:19] local.INFO: Acknowledgment sent {"connection_id":54692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:55:22] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:55:22] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:55:22] local.INFO: IMEI packet received {"connection_id":54753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":54753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:55:23] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:55:23] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8a8d4e8012cb299c007822ce00050001232..."} 
[2026-04-26 12:55:23] local.INFO: Packet analysis {"connection_id":54753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:55:23] local.INFO: Extracted packet for processing {"connection_id":54753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8a8"} 
[2026-04-26 12:55:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":50,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960051200001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777188001000,"timestamp_ms":1777188001000,"timestamp_seconds":1777188001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8a8d4e8"} 
[2026-04-26 12:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960051200001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960051200001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:55:23] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:55:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960051200001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":54753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:55:23] local.INFO: GPS data processed {"connection_id":54753,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:55:23] local.INFO: Acknowledgment sent {"connection_id":54753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:55:51] local.INFO: TCP Data received {"connection_id":54692,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ac8a20012d1821000721b2b8004d00d42c..."} 
[2026-04-26 12:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ac8a20012d1821000721b2b8004d00d42c..."} 
[2026-04-26 12:55:51] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ac8a20012d1821000721b2b8004d00d42c..."} 
[2026-04-26 12:55:51] local.INFO: Packet analysis {"connection_id":54692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ac"} 
[2026-04-26 12:55:51] local.INFO: Extracted packet for processing {"connection_id":54692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ac"} 
[2026-04-26 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960185088001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188244000,"timestamp_ms":1777188244000,"timestamp_seconds":1777188244,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ac8a20"} 
[2026-04-26 12:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 12:55:51] 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-04-26 12: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-04-26 12:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54692,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960185088001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960185088001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:55:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:55:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960185088001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:55:51] local.INFO: GPS data processed {"connection_id":54692,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:55:51] local.INFO: Acknowledgment sent {"connection_id":54692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:55:54] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:55:54] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:55:54] local.INFO: Packet analysis {"connection_id":54753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:55:54] local.INFO: Extracted packet for processing {"connection_id":54753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:55:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:55:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:55:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:55:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:55:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:55:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:55:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:55:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:55:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:55:54] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:55:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:55:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:55:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:55:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:55:54] local.INFO: DEBUG: GPS processor result {"connection_id":54753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:55:54] local.INFO: GPS data processed {"connection_id":54753,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:55:54] local.INFO: Acknowledgment sent {"connection_id":54753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:56:12] local.INFO: TCP Data received {"connection_id":55416,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:56:12] local.INFO: Processing buffer {"connection_id":55416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:56:12] local.INFO: IMEI packet received {"connection_id":55416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":55416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:56:14] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:56:14] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:56:14] local.INFO: IMEI packet received {"connection_id":54755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:56:17] local.INFO: TCP Data received {"connection_id":55416,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:56:17] local.INFO: Processing buffer {"connection_id":55416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:56:17] local.INFO: IMEI packet received {"connection_id":55416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":55416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:56:18] local.INFO: TCP Data received {"connection_id":55416,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8acdc28012d1821000721b2b8004d00d42f..."} 
[2026-04-26 12:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8acdc28012d1821000721b2b8004d00d42f..."} 
[2026-04-26 12:56:18] local.INFO: Processing buffer {"connection_id":55416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8acdc28012d1821000721b2b8004d00d42f..."} 
[2026-04-26 12:56:18] local.INFO: Packet analysis {"connection_id":55416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ac"} 
[2026-04-26 12:56:18] local.INFO: Extracted packet for processing {"connection_id":55416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ac"} 
[2026-04-26 12:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960190464001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777188265000,"timestamp_ms":1777188265000,"timestamp_seconds":1777188265,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8acdc28"} 
[2026-04-26 12:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:56:18] 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-04-26 12:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960190464001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960190464001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:56:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:56:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960190464001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":55416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:56:18] local.INFO: GPS data processed {"connection_id":55416,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:56:18] local.INFO: Acknowledgment sent {"connection_id":55416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:56:19] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:56:19] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:56:19] local.INFO: IMEI packet received {"connection_id":54755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:56:20] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:56:20] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:56:20] local.INFO: Packet analysis {"connection_id":54755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:56:20] local.INFO: Extracted packet for processing {"connection_id":54755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:56: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-04-26 12: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-04-26 12:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:56: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-04-26 12:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:56:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:56:20] local.INFO: GPS data processed {"connection_id":54755,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:56:20] local.INFO: Acknowledgment sent {"connection_id":54755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:56:50] local.INFO: TCP Data received {"connection_id":55416,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad2e30012d1821000721b2b8004d00d430..."} 
[2026-04-26 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad2e30012d1821000721b2b8004d00d430..."} 
[2026-04-26 12:56:50] local.INFO: Processing buffer {"connection_id":55416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad2e30012d1821000721b2b8004d00d430..."} 
[2026-04-26 12:56:50] local.INFO: Packet analysis {"connection_id":55416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:56:50] local.INFO: Extracted packet for processing {"connection_id":55416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960195840001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777188286000,"timestamp_ms":1777188286000,"timestamp_seconds":1777188286,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad2e30"} 
[2026-04-26 12:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:56:50] 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-04-26 12:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:56: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-04-26 12:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960195840001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960195840001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:56:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:56:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960195840001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":55416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:56:50] local.INFO: GPS data processed {"connection_id":55416,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:56:50] local.INFO: Acknowledgment sent {"connection_id":55416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:56:51] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:56:51] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:56:51] local.INFO: Packet analysis {"connection_id":54755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:56:51] local.INFO: Extracted packet for processing {"connection_id":54755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:56: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-04-26 12: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-04-26 12:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:56: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-04-26 12:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:56:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":54755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:56:51] local.INFO: GPS data processed {"connection_id":54755,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:56:51] local.INFO: Acknowledgment sent {"connection_id":54755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:57:12] local.INFO: TCP Data received {"connection_id":54757,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:57:12] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:57:12] local.INFO: IMEI packet received {"connection_id":54757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":54757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:57:17] local.INFO: TCP Data received {"connection_id":54757,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:57:17] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:57:17] local.INFO: IMEI packet received {"connection_id":54757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":54757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:57:18] local.INFO: TCP Data received {"connection_id":54757,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad8038012d1821000721b2b8004d00d431..."} 
[2026-04-26 12:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad8038012d1821000721b2b8004d00d431..."} 
[2026-04-26 12:57:18] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad8038012d1821000721b2b8004d00d431..."} 
[2026-04-26 12:57:18] local.INFO: Packet analysis {"connection_id":54757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:18] local.INFO: Extracted packet for processing {"connection_id":54757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960201216001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777188307000,"timestamp_ms":1777188307000,"timestamp_seconds":1777188307,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad8038"} 
[2026-04-26 12:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:57:18] 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-04-26 12:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:57:18] 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-04-26 12:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960201216001,"66":12504,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960201216001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:57:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:57:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960201216001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":54757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:57:18] local.INFO: GPS data processed {"connection_id":54757,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:57:18] local.INFO: Acknowledgment sent {"connection_id":54757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:57:19] local.INFO: TCP Data received {"connection_id":55417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:57:19] local.INFO: Processing buffer {"connection_id":55417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:57:19] local.INFO: IMEI packet received {"connection_id":55417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":55417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:57:24] local.INFO: TCP Data received {"connection_id":55417,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:57:24] local.INFO: Processing buffer {"connection_id":55417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:57:24] local.INFO: IMEI packet received {"connection_id":55417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":55417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:57:25] local.INFO: TCP Data received {"connection_id":55417,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:57:25] local.INFO: Processing buffer {"connection_id":55417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:57:25] local.INFO: Packet analysis {"connection_id":55417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:25] local.INFO: Extracted packet for processing {"connection_id":55417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:57:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:57:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:57:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":55417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:57:25] local.INFO: GPS data processed {"connection_id":55417,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:57:25] local.INFO: Acknowledgment sent {"connection_id":55417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:57:30] local.INFO: TCP Data received {"connection_id":55417,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:57:30] local.INFO: Processing buffer {"connection_id":55417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:57:30] local.INFO: Packet analysis {"connection_id":55417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:30] local.INFO: Extracted packet for processing {"connection_id":55417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 12: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-04-26 12:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:57:30] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":55417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:57:30] local.INFO: GPS data processed {"connection_id":55417,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:57:30] local.INFO: Acknowledgment sent {"connection_id":55417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:57:40] local.INFO: TCP Data received {"connection_id":54493,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:57:40] local.INFO: Processing buffer {"connection_id":54493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 12:57:40] local.INFO: IMEI packet received {"connection_id":54493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 12:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":54493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:57:50] local.INFO: TCP Data received {"connection_id":54757,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8add240012d1821000721b2b8004d00d432..."} 
[2026-04-26 12:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8add240012d1821000721b2b8004d00d432..."} 
[2026-04-26 12:57:50] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8add240012d1821000721b2b8004d00d432..."} 
[2026-04-26 12:57:50] local.INFO: Packet analysis {"connection_id":54757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:50] local.INFO: Extracted packet for processing {"connection_id":54757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":50,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960206592001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777188328000,"timestamp_ms":1777188328000,"timestamp_seconds":1777188328,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8add240"} 
[2026-04-26 12:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:57:50] 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-04-26 12: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 12:57: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-04-26 12: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-04-26 12:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960206592001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960206592001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:57:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960206592001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":54757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:57:50] local.INFO: GPS data processed {"connection_id":54757,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:57:50] local.INFO: Acknowledgment sent {"connection_id":54757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:58:14] local.INFO: TCP Data received {"connection_id":55418,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:58:14] local.INFO: Processing buffer {"connection_id":55418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:58:14] local.INFO: IMEI packet received {"connection_id":55418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":55418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:58:17] local.INFO: TCP Data received {"connection_id":54693,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:58:17] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:58:17] local.INFO: IMEI packet received {"connection_id":54693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":54693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:58:19] local.INFO: TCP Data received {"connection_id":55418,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:58:19] local.INFO: Processing buffer {"connection_id":55418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:58:19] local.INFO: IMEI packet received {"connection_id":55418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":55418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:58:20] local.INFO: TCP Data received {"connection_id":55418,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:58:20] local.INFO: Processing buffer {"connection_id":55418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:58:20] local.INFO: Packet analysis {"connection_id":55418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:58:20] local.INFO: Extracted packet for processing {"connection_id":55418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:58: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-04-26 12: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-04-26 12:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:58:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":55418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:58:20] local.INFO: GPS data processed {"connection_id":55418,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:58:20] local.INFO: Acknowledgment sent {"connection_id":55418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:58:22] local.INFO: TCP Data received {"connection_id":54693,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:58:22] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:58:22] local.INFO: IMEI packet received {"connection_id":54693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":54693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:58:23] local.INFO: TCP Data received {"connection_id":54693,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ae2448012d1821000721b2b8004d00d42e..."} 
[2026-04-26 12:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ae2448012d1821000721b2b8004d00d42e..."} 
[2026-04-26 12:58:23] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ae2448012d1821000721b2b8004d00d42e..."} 
[2026-04-26 12:58:23] local.INFO: Packet analysis {"connection_id":54693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ae"} 
[2026-04-26 12:58:23] local.INFO: Extracted packet for processing {"connection_id":54693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ae"} 
[2026-04-26 12:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777188349000,"timestamp_ms":1777188349000,"timestamp_seconds":1777188349,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ae2448"} 
[2026-04-26 12:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 12:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:58: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-04-26 12:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960211968001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:58:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:58:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960211968001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":54693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:58:24] local.INFO: GPS data processed {"connection_id":54693,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:58:24] local.INFO: Acknowledgment sent {"connection_id":54693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:58:28] local.INFO: TCP Data received {"connection_id":54693,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ae7650012d1821000721b2b8004d00d430..."} 
[2026-04-26 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ae7650012d1821000721b2b8004d00d430..."} 
[2026-04-26 12:58:28] local.INFO: Processing buffer {"connection_id":54693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ae7650012d1821000721b2b8004d00d430..."} 
[2026-04-26 12:58:28] local.INFO: Packet analysis {"connection_id":54693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ae"} 
[2026-04-26 12:58:28] local.INFO: Extracted packet for processing {"connection_id":54693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ae"} 
[2026-04-26 12:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":48,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960217344001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777188370000,"timestamp_ms":1777188370000,"timestamp_seconds":1777188370,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ae7650"} 
[2026-04-26 12:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:58:28] 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-04-26 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:58:28] 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-04-26 12:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960217344001,"66":12406,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960217344001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:58:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:58:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960217344001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":54693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:58:28] local.INFO: GPS data processed {"connection_id":54693,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:58:28] local.INFO: Acknowledgment sent {"connection_id":54693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:58:51] local.INFO: TCP Data received {"connection_id":55418,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:58:51] local.INFO: Processing buffer {"connection_id":55418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:58:51] local.INFO: Packet analysis {"connection_id":55418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:58:51] local.INFO: Extracted packet for processing {"connection_id":55418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:58: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-04-26 12: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-04-26 12:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12: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-04-26 12:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:58:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":55418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:58:51] local.INFO: GPS data processed {"connection_id":55418,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:58:51] local.INFO: Acknowledgment sent {"connection_id":55418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:59:13] local.INFO: TCP Data received {"connection_id":55420,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:59:13] local.INFO: Processing buffer {"connection_id":55420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:59:13] local.INFO: IMEI packet received {"connection_id":55420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 12:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":55420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:59:14] local.INFO: TCP Data received {"connection_id":54494,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:59:14] local.INFO: Processing buffer {"connection_id":54494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:59:14] local.INFO: IMEI packet received {"connection_id":54494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":54494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 12:59:16] local.INFO: TCP Data received {"connection_id":55420,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55420,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:59:16] local.INFO: Processing buffer {"connection_id":55420,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 12:59:16] local.INFO: IMEI packet received {"connection_id":55420,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 12:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":55420,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:59:18] local.INFO: TCP Data received {"connection_id":55420,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8aec858012d1821000721b2b8004d00d432..."} 
[2026-04-26 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8aec858012d1821000721b2b8004d00d432..."} 
[2026-04-26 12:59:18] local.INFO: Processing buffer {"connection_id":55420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8aec858012d1821000721b2b8004d00d432..."} 
[2026-04-26 12:59:18] local.INFO: Packet analysis {"connection_id":55420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ae"} 
[2026-04-26 12:59:18] local.INFO: Extracted packet for processing {"connection_id":55420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ae"} 
[2026-04-26 12:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":50,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960222720001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777188391000,"timestamp_ms":1777188391000,"timestamp_seconds":1777188391,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8aec858"} 
[2026-04-26 12:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:59:18] 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-04-26 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 12:59:18] 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-04-26 12:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960222720001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960222720001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:59:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:59:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960222720001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":55420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:59:18] local.INFO: GPS data processed {"connection_id":55420,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:59:18] local.INFO: Acknowledgment sent {"connection_id":55420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:59:19] local.INFO: TCP Data received {"connection_id":54494,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:59:19] local.INFO: Processing buffer {"connection_id":54494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 12:59:19] local.INFO: IMEI packet received {"connection_id":54494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 12:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":54494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 12:59:20] local.INFO: TCP Data received {"connection_id":54494,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:59:20] local.INFO: Processing buffer {"connection_id":54494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:59:20] local.INFO: Packet analysis {"connection_id":54494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:59:20] local.INFO: Extracted packet for processing {"connection_id":54494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:59: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-04-26 12: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-04-26 12:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:59:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":54494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:59:20] local.INFO: GPS data processed {"connection_id":54494,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:59:20] local.INFO: Acknowledgment sent {"connection_id":54494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:59:50] local.INFO: TCP Data received {"connection_id":55420,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8af1a60012d1821000721b2b8004d00d431..."} 
[2026-04-26 12:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8af1a60012d1821000721b2b8004d00d431..."} 
[2026-04-26 12:59:50] local.INFO: Processing buffer {"connection_id":55420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8af1a60012d1821000721b2b8004d00d431..."} 
[2026-04-26 12:59:50] local.INFO: Packet analysis {"connection_id":55420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8af"} 
[2026-04-26 12:59:50] local.INFO: Extracted packet for processing {"connection_id":55420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8af"} 
[2026-04-26 12:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":49,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 12:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 12:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960228096001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777188412000,"timestamp_ms":1777188412000,"timestamp_seconds":1777188412,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8af1a60"} 
[2026-04-26 12:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:59:50] 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-04-26 12:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 12:59: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-04-26 12:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 12:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55420,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 12:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 12:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 12:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960228096001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 12:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 12:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 12:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960228096001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:59:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 12:59:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 12:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 12:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960228096001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 12:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":55420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:59:50] local.INFO: GPS data processed {"connection_id":55420,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:59:50] local.INFO: Acknowledgment sent {"connection_id":55420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 12:59:51] local.INFO: TCP Data received {"connection_id":54494,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:59:51] local.INFO: Processing buffer {"connection_id":54494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 12:59:51] local.INFO: Packet analysis {"connection_id":54494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:59:51] local.INFO: Extracted packet for processing {"connection_id":54494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 12: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-04-26 12:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 12:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 12:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 12:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 12:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 12: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 12:59: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-04-26 12: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-04-26 12:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 12:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 12:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 12:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 12:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 12:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 12:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 12:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 12:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 12:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 12:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 12:59:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 12:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 12:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 12:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 12:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 12:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":54494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 12:59:51] local.INFO: GPS data processed {"connection_id":54494,"processed":1,"errors":0,"total":1} 
[2026-04-26 12:59:51] local.INFO: Acknowledgment sent {"connection_id":54494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:00:12] local.INFO: TCP Data received {"connection_id":55422,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:12] local.INFO: Processing buffer {"connection_id":55422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:12] local.INFO: IMEI packet received {"connection_id":55422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":55422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:00:13] local.INFO: TCP Data received {"connection_id":55422,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:13] local.INFO: Processing buffer {"connection_id":55422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:13] local.INFO: IMEI packet received {"connection_id":55422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":55422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:00:14] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:00:14] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:00:14] local.INFO: IMEI packet received {"connection_id":54694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:00:17] local.INFO: TCP Data received {"connection_id":55422,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:17] local.INFO: Processing buffer {"connection_id":55422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:00:17] local.INFO: IMEI packet received {"connection_id":55422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":55422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:00:19] local.INFO: TCP Data received {"connection_id":55422,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8af6c68012d1821000721b2b8004d00d432..."} 
[2026-04-26 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8af6c68012d1821000721b2b8004d00d432..."} 
[2026-04-26 13:00:19] local.INFO: Processing buffer {"connection_id":55422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8af6c68012d1821000721b2b8004d00d432..."} 
[2026-04-26 13:00:19] local.INFO: Packet analysis {"connection_id":55422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8af"} 
[2026-04-26 13:00:19] local.INFO: Extracted packet for processing {"connection_id":55422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8af"} 
[2026-04-26 13:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":50,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 13:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960233472001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777188433000,"timestamp_ms":1777188433000,"timestamp_seconds":1777188433,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8af6c68"} 
[2026-04-26 13:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:00:19] 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-04-26 13:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 13:00: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-04-26 13:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960233472001,"66":12113,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960233472001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:00:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 13:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960233472001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 13:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":55422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:00:19] local.INFO: GPS data processed {"connection_id":55422,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:00:19] local.INFO: Acknowledgment sent {"connection_id":55422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:00:19] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:00:19] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:00:19] local.INFO: IMEI packet received {"connection_id":54694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":54694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:00:20] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 13:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 13:00:20] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ad6cb0012cb299c007822ce00050001230..."} 
[2026-04-26 13:00:20] local.INFO: Packet analysis {"connection_id":54694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 13:00:20] local.INFO: Extracted packet for processing {"connection_id":54694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ad"} 
[2026-04-26 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960128256001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188302000,"timestamp_ms":1777188302000,"timestamp_seconds":1777188302,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ad6cb0"} 
[2026-04-26 13:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:00: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-04-26 13: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-04-26 13:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:00:20] 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-04-26 13:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960128256001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960128256001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:00:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960128256001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:00:20] local.INFO: GPS data processed {"connection_id":54694,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:00:20] local.INFO: Acknowledgment sent {"connection_id":54694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:00:51] local.INFO: TCP Data received {"connection_id":55422,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8afbe70012d1821000721b2b8004d00d42e..."} 
[2026-04-26 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8afbe70012d1821000721b2b8004d00d42e..."} 
[2026-04-26 13:00:51] local.INFO: Processing buffer {"connection_id":55422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8afbe70012d1821000721b2b8004d00d42e..."} 
[2026-04-26 13:00:51] local.INFO: Packet analysis {"connection_id":55422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8af"} 
[2026-04-26 13:00:51] local.INFO: Extracted packet for processing {"connection_id":55422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8af"} 
[2026-04-26 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960238848001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188454000,"timestamp_ms":1777188454000,"timestamp_seconds":1777188454,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8afbe70"} 
[2026-04-26 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-04-26 13:00: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-04-26 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-26 13:00:51] 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-04-26 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-04-26 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-04-26 13:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960238848001,"66":12461,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960238848001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 13:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960238848001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 13:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":55422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:00:51] local.INFO: GPS data processed {"connection_id":55422,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:00:51] local.INFO: Acknowledgment sent {"connection_id":55422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:00:51] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:00:51] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:00:51] local.INFO: Packet analysis {"connection_id":54694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:00:51] local.INFO: Extracted packet for processing {"connection_id":54694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 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-04-26 13:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:00: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-04-26 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-04-26 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-04-26 13:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:00:51] local.INFO: GPS data processed {"connection_id":54694,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:00:51] local.INFO: Acknowledgment sent {"connection_id":54694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:01:12] local.INFO: TCP Data received {"connection_id":54758,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:12] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:12] local.INFO: IMEI packet received {"connection_id":54758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":54758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:01:14] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:01:14] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:01:14] local.INFO: IMEI packet received {"connection_id":54496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:01:14] local.INFO: TCP Data received {"connection_id":54758,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:14] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:14] local.INFO: IMEI packet received {"connection_id":54758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:01:18] local.INFO: TCP Data received {"connection_id":54758,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:18] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:01:18] local.INFO: IMEI packet received {"connection_id":54758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":54758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:01:19] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:01:19] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:01:19] local.INFO: IMEI packet received {"connection_id":54496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":54496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:01:19] local.INFO: TCP Data received {"connection_id":54758,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b01078012d1821000721b2b8004d00d42f..."} 
[2026-04-26 13:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b01078012d1821000721b2b8004d00d42f..."} 
[2026-04-26 13:01:19] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b01078012d1821000721b2b8004d00d42f..."} 
[2026-04-26 13:01:19] local.INFO: Packet analysis {"connection_id":54758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b0"} 
[2026-04-26 13:01:19] local.INFO: Extracted packet for processing {"connection_id":54758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b0"} 
[2026-04-26 13:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648952,"longitude_deg":75.6556032,"latitude_deg":11.9648952,"altitude":77,"angle":212,"satellites":47,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2b8","is_valid_coordinates":true} 
[2026-04-26 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960244224001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769059521757184,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771853824,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777188475000,"timestamp_ms":1777188475000,"timestamp_seconds":1777188475,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b01078"} 
[2026-04-26 13:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:01:19] 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-04-26 13:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 13:01: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-04-26 13:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960244224001,"66":12428,"120":206,"28":31744,"24":0,"16":114769059521757184,"45":1738670961771853824},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960244224001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:01:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769059521757184,"km_value":114769059521757.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771853824,"description":"Unknown IO ID 45"} 
[2026-04-26 13:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960244224001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738670961771853824}} 
[2026-04-26 13:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":54758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:01:20] local.INFO: GPS data processed {"connection_id":54758,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:01:20] local.INFO: Acknowledgment sent {"connection_id":54758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:01:20] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:01:20] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:01:20] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:01:20] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:01: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-04-26 13: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-04-26 13:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:01: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-04-26 13:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:01:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:01:20] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:01:20] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:01:51] local.INFO: TCP Data received {"connection_id":54758,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b30a30012d181f400721b058004a00a72d..."} 
[2026-04-26 13:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b30a30012d181f400721b058004a00a72d..."} 
[2026-04-26 13:01:51] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b30a30012d181f400721b058004a00a72d..."} 
[2026-04-26 13:01:51] local.INFO: Packet analysis {"connection_id":54758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:01:51] local.INFO: Extracted packet for processing {"connection_id":54758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648344,"longitude_deg":75.6555584,"latitude_deg":11.9648344,"altitude":74,"angle":167,"satellites":45,"speed":3,"hex_longitude":"2d181f40","hex_latitude":"0721b058","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960295936001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769119651299328,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329978880,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188670000,"timestamp_ms":1777188670000,"timestamp_seconds":1777188670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b30a30"} 
[2026-04-26 13:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:01: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-04-26 13: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 13:01:51] 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-04-26 13: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-04-26 13:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960295936001,"66":14102,"120":206,"28":31744,"24":3,"16":114769119651299328,"45":1737967274329978880},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960295936001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:01:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:01:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769119651299328,"km_value":114769119651299.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329978880,"description":"Unknown IO ID 45"} 
[2026-04-26 13:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960295936001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1737967274329978880}} 
[2026-04-26 13:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":54758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:01:51] local.INFO: GPS data processed {"connection_id":54758,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:01:51] local.INFO: Acknowledgment sent {"connection_id":54758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:01:52] local.INFO: TCP Data received {"connection_id":54496,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:01:52] local.INFO: Processing buffer {"connection_id":54496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:01:52] local.INFO: Packet analysis {"connection_id":54496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:01:52] local.INFO: Extracted packet for processing {"connection_id":54496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 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-04-26 13:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:01: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-04-26 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-04-26 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-04-26 13:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:01: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-04-26 13:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:01:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:01:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:01:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":54496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:01:52] local.INFO: GPS data processed {"connection_id":54496,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:01:52] local.INFO: Acknowledgment sent {"connection_id":54496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:02:12] local.INFO: TCP Data received {"connection_id":55424,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:02:12] local.INFO: Processing buffer {"connection_id":55424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:02:12] local.INFO: IMEI packet received {"connection_id":55424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":55424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:02:17] local.INFO: TCP Data received {"connection_id":55424,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:02:17] local.INFO: Processing buffer {"connection_id":55424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:02:17] local.INFO: IMEI packet received {"connection_id":55424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":55424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:02:18] local.INFO: TCP Data received {"connection_id":55424,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b30e18012d181f800721afe0004a008b2e..."} 
[2026-04-26 13:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b30e18012d181f800721afe0004a008b2e..."} 
[2026-04-26 13:02:18] local.INFO: Processing buffer {"connection_id":55424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b30e18012d181f800721afe0004a008b2e..."} 
[2026-04-26 13:02:18] local.INFO: Packet analysis {"connection_id":55424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:02:18] local.INFO: Extracted packet for processing {"connection_id":55424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648224,"longitude_deg":75.6555648,"latitude_deg":11.9648224,"altitude":74,"angle":139,"satellites":46,"speed":5,"hex_longitude":"2d181f80","hex_latitude":"0721afe0","is_valid_coordinates":true} 
[2026-04-26 13:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960299520001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769128241233920,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562454528,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777188671000,"timestamp_ms":1777188671000,"timestamp_seconds":1777188671,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b30e18"} 
[2026-04-26 13:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:02:18] 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-04-26 13:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 13:02:18] 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-04-26 13:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960299520001,"66":14102,"120":206,"28":31744,"24":5,"16":114769128241233920,"45":1738178380562454528},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960299520001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:02:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:02:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769128241233920,"km_value":114769128241233.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562454528,"description":"Unknown IO ID 45"} 
[2026-04-26 13:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960299520001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1738178380562454528}} 
[2026-04-26 13:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":55424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:02:19] local.INFO: GPS data processed {"connection_id":55424,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:02:19] local.INFO: Acknowledgment sent {"connection_id":55424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:02:19] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:02:19] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:02:19] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:02:24] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:02:24] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:02:24] local.INFO: IMEI packet received {"connection_id":54497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":54497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:02:25] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:02:25] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:02:25] local.INFO: Packet analysis {"connection_id":54497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:02:25] local.INFO: Extracted packet for processing {"connection_id":54497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:02:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:02: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-04-26 13:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:02:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:02:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:02:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":54497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:02:25] local.INFO: GPS data processed {"connection_id":54497,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:02:25] local.INFO: Acknowledgment sent {"connection_id":54497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:02:29] local.INFO: TCP Data received {"connection_id":54497,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:02:29] local.INFO: Processing buffer {"connection_id":54497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:02:29] local.INFO: Packet analysis {"connection_id":54497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:02:29] local.INFO: Extracted packet for processing {"connection_id":54497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:02: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-04-26 13:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:02:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":54497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:02:29] local.INFO: GPS data processed {"connection_id":54497,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:02:29] local.INFO: Acknowledgment sent {"connection_id":54497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:02:51] local.INFO: TCP Data received {"connection_id":55424,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b3b9f8012d1820400721a688004a00791e..."} 
[2026-04-26 13:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b3b9f8012d1820400721a688004a00791e..."} 
[2026-04-26 13:02:51] local.INFO: Processing buffer {"connection_id":55424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b3b9f8012d1820400721a688004a00791e..."} 
[2026-04-26 13:02:51] local.INFO: Packet analysis {"connection_id":55424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:02:51] local.INFO: Extracted packet for processing {"connection_id":55424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645832,"longitude_deg":75.655584,"latitude_deg":11.9645832,"altitude":74,"angle":121,"satellites":30,"speed":6,"hex_longitude":"2d182040","hex_latitude":"0721a688","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960310528001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769261385220096,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050209792,"note":"Value kept but may cause issues"} 
[2026-04-26 13:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188715000,"timestamp_ms":1777188715000,"timestamp_seconds":1777188715,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b3b9f8"} 
[2026-04-26 13:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:02: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-04-26 13: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":77,"data_length":795,"current_offset":136} 
[2026-04-26 13:02:51] 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-04-26 13: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-04-26 13:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960310528001,"66":14135,"120":206,"28":31744,"24":6,"16":114769261385220096,"45":1738319118050209792},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960310528001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:02:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769261385220096,"km_value":114769261385220.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050209792,"description":"Unknown IO ID 45"} 
[2026-04-26 13:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960310528001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738319118050209792}} 
[2026-04-26 13:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":55424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:02:51] local.INFO: GPS data processed {"connection_id":55424,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:02:51] local.INFO: Acknowledgment sent {"connection_id":55424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:03:05] local.INFO: TCP Data received {"connection_id":54759,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:03:05] local.INFO: Processing buffer {"connection_id":54759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:03:05] local.INFO: IMEI packet received {"connection_id":54759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":54759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:03:14] local.INFO: TCP Data received {"connection_id":54695,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:03:14] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:03:14] local.INFO: IMEI packet received {"connection_id":54695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":54695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:03:18] local.INFO: TCP Data received {"connection_id":54760,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:03:18] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:03:18] local.INFO: IMEI packet received {"connection_id":54760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":54760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:03:19] local.INFO: TCP Data received {"connection_id":54760,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:03:19] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:03:19] local.INFO: IMEI packet received {"connection_id":54760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:03:19] local.INFO: TCP Data received {"connection_id":54695,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:03:19] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:03:19] local.INFO: IMEI packet received {"connection_id":54695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:03:20] local.INFO: TCP Data received {"connection_id":54760,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b3c998012d1823400721a430004a008629..."} 
[2026-04-26 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b3c998012d1823400721a430004a008629..."} 
[2026-04-26 13:03:20] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b3c998012d1823400721a430004a008629..."} 
[2026-04-26 13:03:20] local.INFO: Packet analysis {"connection_id":54760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:03:20] local.INFO: Extracted packet for processing {"connection_id":54760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119645232,"longitude_deg":75.6556608,"latitude_deg":11.9645232,"altitude":74,"angle":134,"satellites":41,"speed":11,"hex_longitude":"2d182340","hex_latitude":"0721a430","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960311040001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769308629860352,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538522112,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188719000,"timestamp_ms":1777188719000,"timestamp_seconds":1777188719,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b3c998"} 
[2026-04-26 13:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:03:20] 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-04-26 13: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-26 13:03:20] 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-04-26 13: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-04-26 13:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960311040001,"66":14189,"120":206,"28":31744,"24":11,"16":114769308629860352,"45":1738459855538522112},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960311040001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769308629860352,"km_value":114769308629860.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538522112,"description":"Unknown IO ID 45"} 
[2026-04-26 13:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960311040001,"power":14189,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1738459855538522112}} 
[2026-04-26 13:03:20] local.INFO: TCP Data received {"connection_id":54695,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:03:20] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:03:20] local.INFO: Packet analysis {"connection_id":54695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:03:20] local.INFO: Extracted packet for processing {"connection_id":54695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:03: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-04-26 13: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-04-26 13:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:03: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-04-26 13:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:03:20] local.INFO: GPS data processed {"connection_id":54760,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:03:20] local.INFO: Acknowledgment sent {"connection_id":54760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:03:20] local.INFO: GPS data processed {"connection_id":54695,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:03:20] local.INFO: Acknowledgment sent {"connection_id":54695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:03:23] local.INFO: TCP Data received {"connection_id":54760,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b3e108012d1826800721a0e8004b00392d..."} 
[2026-04-26 13:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b3e108012d1826800721a0e8004b00392d..."} 
[2026-04-26 13:03:23] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b3e108012d1826800721a0e8004b00392d..."} 
[2026-04-26 13:03:23] local.INFO: Packet analysis {"connection_id":54760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:03:23] local.INFO: Extracted packet for processing {"connection_id":54760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b3"} 
[2026-04-26 13:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119644392,"longitude_deg":75.655744,"latitude_deg":11.9644392,"altitude":75,"angle":57,"satellites":45,"speed":0,"hex_longitude":"2d182680","hex_latitude":"0721a0e8","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960312064001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769368759402496,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280468500480,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777188725000,"timestamp_ms":1777188725000,"timestamp_seconds":1777188725,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b3e108"} 
[2026-04-26 13:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-26 13:03:23] 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-04-26 13: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-04-26 13:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960312064001,"66":14211,"120":206,"28":31744,"24":0,"16":114769368759402496,"45":1739304280468500480},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-26 13:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960312064001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:03:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-26 13:03:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769368759402496,"km_value":114769368759402.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280468500480,"description":"Unknown IO ID 45"} 
[2026-04-26 13:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960312064001,"power":14211,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280468500480}} 
[2026-04-26 13:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":54760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:03:23] local.INFO: GPS data processed {"connection_id":54760,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:03:23] local.INFO: Acknowledgment sent {"connection_id":54760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:03:40] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:03:40] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:03:40] local.INFO: IMEI packet received {"connection_id":54761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":54761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:03:51] local.INFO: TCP Data received {"connection_id":54695,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:03:51] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:03:51] local.INFO: Packet analysis {"connection_id":54695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:03:51] local.INFO: Extracted packet for processing {"connection_id":54695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:03: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-04-26 13: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-04-26 13:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:03:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:03:51] local.INFO: GPS data processed {"connection_id":54695,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:03:51] local.INFO: Acknowledgment sent {"connection_id":54695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:03:54] local.INFO: TCP Data received {"connection_id":54760,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b40fe8012d18274007219ff8004b008c2e..."} 
[2026-04-26 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b40fe8012d18274007219ff8004b008c2e..."} 
[2026-04-26 13:03:54] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b40fe8012d18274007219ff8004b008c2e..."} 
[2026-04-26 13:03:54] local.INFO: Packet analysis {"connection_id":54760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b4"} 
[2026-04-26 13:03:54] local.INFO: Extracted packet for processing {"connection_id":54760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b4"} 
[2026-04-26 13:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644152,"longitude_deg":75.6557632,"latitude_deg":11.9644152,"altitude":75,"angle":140,"satellites":46,"speed":5,"hex_longitude":"2d182740","hex_latitude":"07219ff8","is_valid_coordinates":true} 
[2026-04-26 13:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960313600001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114769381644304384,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074142595072,"note":"Value kept but may cause issues"} 
[2026-04-26 13:03:54] 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-04-26 13:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777188737000,"timestamp_ms":1777188737000,"timestamp_seconds":1777188737,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b40fe8"} 
[2026-04-26 13:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-26 13:03:54] 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-04-26 13:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960313600001,"66":14265,"121":206,"28":31744,"24":5,"16":114769381644304384,"45":1740219074142595072},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960313600001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:03:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114769381644304384,"km_value":114769381644304.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074142595072,"description":"Unknown IO ID 45"} 
[2026-04-26 13:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960313600001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1740219074142595072}} 
[2026-04-26 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":54760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:03:55] local.INFO: GPS data processed {"connection_id":54760,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:03:55] local.INFO: Acknowledgment sent {"connection_id":54760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:04:09] local.INFO: TCP Data received {"connection_id":55425,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:09] local.INFO: Processing buffer {"connection_id":55425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:09] local.INFO: IMEI packet received {"connection_id":55425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":55425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:04:13] local.INFO: TCP Data received {"connection_id":55425,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:13] local.INFO: Processing buffer {"connection_id":55425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:13] local.INFO: IMEI packet received {"connection_id":55425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":55425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:04:14] local.INFO: TCP Data received {"connection_id":55426,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:04:14] local.INFO: Processing buffer {"connection_id":55426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:04:14] local.INFO: IMEI packet received {"connection_id":55426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":55426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:04:16] local.INFO: TCP Data received {"connection_id":55425,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:16] local.INFO: Processing buffer {"connection_id":55425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:04:16] local.INFO: IMEI packet received {"connection_id":55425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":55425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:04:18] local.INFO: TCP Data received {"connection_id":55425,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b51d70012d18c60007214a08004700ac2f..."} 
[2026-04-26 13:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b51d70012d18c60007214a08004700ac2f..."} 
[2026-04-26 13:04:18] local.INFO: Processing buffer {"connection_id":55425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b51d70012d18c60007214a08004700ac2f..."} 
[2026-04-26 13:04:18] local.INFO: Packet analysis {"connection_id":55425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b5"} 
[2026-04-26 13:04:18] local.INFO: Extracted packet for processing {"connection_id":55425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b5"} 
[2026-04-26 13:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119622152,"longitude_deg":75.6598272,"latitude_deg":11.9622152,"altitude":71,"angle":172,"satellites":47,"speed":37,"hex_longitude":"2d18c600","hex_latitude":"07214a08","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960333824001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114771730991415296,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457648128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:18] 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-04-26 13:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777188806000,"timestamp_ms":1777188806000,"timestamp_seconds":1777188806,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b51d70"} 
[2026-04-26 13:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13: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-04-26 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:04: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-04-26 13: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-04-26 13:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960333824001,"66":14461,"121":206,"28":31744,"24":37,"16":114771730991415296,"45":1784692120457648128},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960333824001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:04:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:04:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114771730991415296,"km_value":114771730991415.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457648128,"description":"Unknown IO ID 45"} 
[2026-04-26 13:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960333824001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1784692120457648128}} 
[2026-04-26 13:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":55425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:04:18] local.INFO: GPS data processed {"connection_id":55425,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:04:18] local.INFO: Acknowledgment sent {"connection_id":55425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:04:19] local.INFO: TCP Data received {"connection_id":55426,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:04:19] local.INFO: Processing buffer {"connection_id":55426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:04:19] local.INFO: IMEI packet received {"connection_id":55426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":55426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:04:19] local.INFO: TCP Data received {"connection_id":55425,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b530f8012d18c900072138600045009b2a..."} 
[2026-04-26 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b530f8012d18c900072138600045009b2a..."} 
[2026-04-26 13:04:19] local.INFO: Processing buffer {"connection_id":55425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b530f8012d18c900072138600045009b2a..."} 
[2026-04-26 13:04:19] local.INFO: Packet analysis {"connection_id":55425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b5"} 
[2026-04-26 13:04:19] local.INFO: Extracted packet for processing {"connection_id":55425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b5"} 
[2026-04-26 13:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119617632,"longitude_deg":75.659904,"latitude_deg":11.9617632,"altitude":69,"angle":155,"satellites":42,"speed":35,"hex_longitude":"2d18c900","hex_latitude":"07213860","is_valid_coordinates":true} 
[2026-04-26 13:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960334336001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114771954329714688,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332922251264,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:19] 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-04-26 13:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777188811000,"timestamp_ms":1777188811000,"timestamp_seconds":1777188811,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b530f8"} 
[2026-04-26 13:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:04: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-04-26 13:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 13:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960334336001,"66":14428,"121":206,"28":31744,"24":35,"16":114771954329714688,"45":1785114332922251264},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960334336001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:04:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114771954329714688,"km_value":114771954329714.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332922251264,"description":"Unknown IO ID 45"} 
[2026-04-26 13:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960334336001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1785114332922251264}} 
[2026-04-26 13:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":55425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:04:19] local.INFO: GPS data processed {"connection_id":55425,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:04:19] local.INFO: Acknowledgment sent {"connection_id":55425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:04:20] local.INFO: TCP Data received {"connection_id":55426,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:04:20] local.INFO: Processing buffer {"connection_id":55426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:04:20] local.INFO: Packet analysis {"connection_id":55426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:04:20] local.INFO: Extracted packet for processing {"connection_id":55426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:04: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-04-26 13: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-04-26 13:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:04:20] 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-04-26 13:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:04:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":55426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:04:20] local.INFO: GPS data processed {"connection_id":55426,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:04:20] local.INFO: Acknowledgment sent {"connection_id":55426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:04:51] local.INFO: TCP Data received {"connection_id":55425,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b54868012d18d24007212560004300a92b..."} 
[2026-04-26 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b54868012d18d24007212560004300a92b..."} 
[2026-04-26 13:04:51] local.INFO: Processing buffer {"connection_id":55425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b54868012d18d24007212560004300a92b..."} 
[2026-04-26 13:04:51] local.INFO: Packet analysis {"connection_id":55425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b5"} 
[2026-04-26 13:04:51] local.INFO: Extracted packet for processing {"connection_id":55425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b5"} 
[2026-04-26 13:04:51] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119612768,"longitude_deg":75.6601408,"latitude_deg":11.9612768,"altitude":67,"angle":169,"satellites":43,"speed":36,"hex_longitude":"2d18d240","hex_latitude":"07212560","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960335616001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114772216322719744,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851226112,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:51] 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-04-26 13:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188817000,"timestamp_ms":1777188817000,"timestamp_seconds":1777188817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b54868"} 
[2026-04-26 13:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:04: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-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:04:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960335616001,"66":14396,"121":206,"28":31744,"24":36,"16":114772216322719744,"45":1785958757851226112},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960335616001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114772216322719744,"km_value":114772216322719.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851226112,"description":"Unknown IO ID 45"} 
[2026-04-26 13:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960335616001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1785958757851226112}} 
[2026-04-26 13:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":55425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:04:51] local.INFO: GPS data processed {"connection_id":55425,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:04:51] local.INFO: Acknowledgment sent {"connection_id":55425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:04:51] local.INFO: TCP Data received {"connection_id":55426,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:04:51] local.INFO: Processing buffer {"connection_id":55426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:04:51] local.INFO: Packet analysis {"connection_id":55426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:04:51] local.INFO: Extracted packet for processing {"connection_id":55426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:04: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-04-26 13: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-04-26 13:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":55426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:04:51] local.INFO: GPS data processed {"connection_id":55426,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:04:51] local.INFO: Acknowledgment sent {"connection_id":55426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:05:13] local.INFO: TCP Data received {"connection_id":54499,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:05:13] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:05:13] local.INFO: IMEI packet received {"connection_id":54499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":54499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:05:14] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:05:14] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:05:14] local.INFO: IMEI packet received {"connection_id":54762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:05:16] local.INFO: TCP Data received {"connection_id":54499,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:05:16] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:05:16] local.INFO: IMEI packet received {"connection_id":54499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":54499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:05:19] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:05:19] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:05:19] local.INFO: IMEI packet received {"connection_id":54762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":54762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:05:19] local.INFO: TCP Data received {"connection_id":54499,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b603e8012d195cc00720aa50002b00542a..."} 
[2026-04-26 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b603e8012d195cc00720aa50002b00542a..."} 
[2026-04-26 13:05:19] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b603e8012d195cc00720aa50002b00542a..."} 
[2026-04-26 13:05:19] local.INFO: Packet analysis {"connection_id":54499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:05:19] local.INFO: Extracted packet for processing {"connection_id":54499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119581264,"longitude_deg":75.6636864,"latitude_deg":11.9581264,"altitude":43,"angle":84,"satellites":42,"speed":39,"hex_longitude":"2d195cc0","hex_latitude":"0720aa50","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960348928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114774707403751424,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885837211648,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:19] 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-04-26 13:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777188865000,"timestamp_ms":1777188865000,"timestamp_seconds":1777188865,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b603e8"} 
[2026-04-26 13:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:05: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-04-26 13: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":71,"data_length":795,"current_offset":136} 
[2026-04-26 13:05: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-04-26 13: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-04-26 13:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960348928001,"66":14374,"121":206,"28":31744,"24":39,"16":114774707403751424,"45":1825294885837211648},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960348928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:05:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:05:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114774707403751424,"km_value":114774707403751.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885837211648,"description":"Unknown IO ID 45"} 
[2026-04-26 13:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960348928001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1825294885837211648}} 
[2026-04-26 13:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":54499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:05:20] local.INFO: GPS data processed {"connection_id":54499,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:05:20] local.INFO: Acknowledgment sent {"connection_id":54499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:05:20] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:05:20] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b20478012cb299c007822ce0004f001230..."} 
[2026-04-26 13:05:20] local.INFO: Packet analysis {"connection_id":54762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:05:20] local.INFO: Extracted packet for processing {"connection_id":54762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b2"} 
[2026-04-26 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960205312001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188603000,"timestamp_ms":1777188603000,"timestamp_seconds":1777188603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b20478"} 
[2026-04-26 13:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:05: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-04-26 13: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-04-26 13:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:05:20] 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-04-26 13:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960205312001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960205312001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:05:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:05:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:05:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960205312001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":54762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:05:20] local.INFO: GPS data processed {"connection_id":54762,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:05:20] local.INFO: Acknowledgment sent {"connection_id":54762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:05:51] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:05:51] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:05:51] local.INFO: Packet analysis {"connection_id":54762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:05:51] local.INFO: Extracted packet for processing {"connection_id":54762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:05:51] 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-04-26 13: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-04-26 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:05:51] local.INFO: GPS data processed {"connection_id":54762,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:05:51] local.INFO: Acknowledgment sent {"connection_id":54762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:05:51] local.INFO: TCP Data received {"connection_id":54499,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69088012d19aec007208e08002e00b92a..."} 
[2026-04-26 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69088012d19aec007208e08002e00b92a..."} 
[2026-04-26 13:05:51] local.INFO: Processing buffer {"connection_id":54499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69088012d19aec007208e08002e00b92a..."} 
[2026-04-26 13:05:51] local.INFO: Packet analysis {"connection_id":54499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:05:51] local.INFO: Extracted packet for processing {"connection_id":54499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574024,"longitude_deg":75.6657856,"latitude_deg":11.9574024,"altitude":46,"angle":185,"satellites":42,"speed":36,"hex_longitude":"2d19aec0","hex_latitude":"07208e08","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960358144001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114776292246683648,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851260952437385216,"note":"Value kept but may cause issues"} 
[2026-04-26 13:05:51] 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-04-26 13:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188901000,"timestamp_ms":1777188901000,"timestamp_seconds":1777188901,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69088"} 
[2026-04-26 13:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:05: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-04-26 13: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 13:05:51] 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-04-26 13: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-04-26 13:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960358144001,"66":13580,"121":206,"28":31744,"24":36,"16":114776292246683648,"45":1851260952437385216},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960358144001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114776292246683648,"km_value":114776292246683.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851260952437385216,"description":"Unknown IO ID 45"} 
[2026-04-26 13:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960358144001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1851260952437385216}} 
[2026-04-26 13:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:05:51] local.INFO: GPS data processed {"connection_id":54499,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:05:51] local.INFO: Acknowledgment sent {"connection_id":54499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:06:12] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:12] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:12] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:06:13] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:13] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:13] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:06:16] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:16] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:16] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:06:17] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:17] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:06:17] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:06:18] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69858012d19afc0072085e0002e00ab2b..."} 
[2026-04-26 13:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69858012d19afc0072085e0002e00ab2b..."} 
[2026-04-26 13:06:18] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69858012d19afc0072085e0002e00ab2b..."} 
[2026-04-26 13:06:18] local.INFO: Packet analysis {"connection_id":54697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:18] local.INFO: Extracted packet for processing {"connection_id":54697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756658112,"raw_latitude":119571936,"longitude_deg":75.6658112,"latitude_deg":11.9571936,"altitude":46,"angle":171,"satellites":43,"speed":43,"hex_longitude":"2d19afc0","hex_latitude":"072085e0","is_valid_coordinates":true} 
[2026-04-26 13:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960358656001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114776395325898752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739335680,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] 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-04-26 13:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777188903000,"timestamp_ms":1777188903000,"timestamp_seconds":1777188903,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69858"} 
[2026-04-26 13:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:06: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-04-26 13:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867890116,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3367397752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7510852989779705856,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3060877313,"corrected_to":0} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637684176971641,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3290234880,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4971966151757135824,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":9007425648792227356,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755511110336753,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,196,157,136,45,148,47,41,10,66,125,192,156,42,117,1,240,38,200,32,4,113,205,21,109,189,239,54,2,151,7,48,25,56,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":200,"original":3060877313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 13:06:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314852915786809344,"timestamp_seconds":3314852915786809.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960358656001,"66":14341,"121":206,"28":31744,"24":43,"16":114776395325898752,"45":1850627633739335680},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960358656001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:06:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:06:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114776395325898752,"km_value":114776395325898.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739335680,"description":"Unknown IO ID 45"} 
[2026-04-26 13:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960358656001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1850627633739335680}} 
[2026-04-26 13:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":54697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:06:19] local.INFO: GPS data processed {"connection_id":54697,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:06:19] local.INFO: Acknowledgment sent {"connection_id":54697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:06:19] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:06:19] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:06:19] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:06:23] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b6abe0012d19b5c007206f90002b009e2e..."} 
[2026-04-26 13:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b6abe0012d19b5c007206f90002b009e2e..."} 
[2026-04-26 13:06:23] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b6abe0012d19b5c007206f90002b009e2e..."} 
[2026-04-26 13:06:23] local.INFO: Packet analysis {"connection_id":54697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:23] local.INFO: Extracted packet for processing {"connection_id":54697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119566224,"longitude_deg":75.6659648,"latitude_deg":11.9566224,"altitude":43,"angle":158,"satellites":46,"speed":47,"hex_longitude":"2d19b5c0","hex_latitude":"07206f90","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359168001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114776683088707584,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850909108715511808,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] 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-04-26 13:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777188908000,"timestamp_ms":1777188908000,"timestamp_seconds":1777188908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b6abe0"} 
[2026-04-26 13:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942144105,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505350969294848,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3367398752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3061133313,"corrected_to":0} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2696413231,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3221692578,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3290693632,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":84752265382404263,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.WARNING: Large IO value detected {"io_id":72,"raw_value":13511430946953216,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:23] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,196,157,144,45,192,142,46,42,10,66,136,148,47,41,125,1,240,60,200,32,4,113,205,20,188,224,239,56,2,151,7,48,22,206,120,72],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":200,"original":3061133313,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-26 13:06:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314837526919446528,"timestamp_seconds":3314837526919446.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359168001,"66":13928,"121":206,"28":31744,"24":47,"16":114776683088707584,"45":1850909108715511808},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359168001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:06:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:06:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114776683088707584,"km_value":114776683088707.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850909108715511808,"description":"Unknown IO ID 45"} 
[2026-04-26 13:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359168001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1850909108715511808}} 
[2026-04-26 13:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":54697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:06:23] local.INFO: GPS data processed {"connection_id":54697,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:06:23] local.INFO: Acknowledgment sent {"connection_id":54697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:06:24] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:06:24] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:06:24] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:06:25] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:06:25] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:06:25] local.INFO: Packet analysis {"connection_id":54698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:25] local.INFO: Extracted packet for processing {"connection_id":54698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:06: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-04-26 13:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:06:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":54698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:06:25] local.INFO: GPS data processed {"connection_id":54698,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:06:25] local.INFO: Acknowledgment sent {"connection_id":54698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:06:29] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:06:29] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:06:29] local.INFO: Packet analysis {"connection_id":54698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:29] local.INFO: Extracted packet for processing {"connection_id":54698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:06:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:06:29] 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-04-26 13: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-04-26 13:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:06:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":54698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:06:29] local.INFO: GPS data processed {"connection_id":54698,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:06:29] local.INFO: Acknowledgment sent {"connection_id":54698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:06:56] local.INFO: TCP Data received {"connection_id":54697,"ip":"117.224.181.140","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b782b8012d1a2440071fef70002c00692c..."} 
[2026-04-26 13:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b782b8012d1a2440071fef70002c00692c..."} 
[2026-04-26 13:06:56] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b782b8012d1a2440071fef70002c00692c..."} 
[2026-04-26 13:06:56] local.INFO: Packet analysis {"connection_id":54697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b7"} 
[2026-04-26 13:06:56] local.INFO: Extracted packet for processing {"connection_id":54697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b7"} 
[2026-04-26 13:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756687936,"raw_latitude":119533424,"longitude_deg":75.6687936,"latitude_deg":11.9533424,"altitude":44,"angle":105,"satellites":44,"speed":45,"hex_longitude":"2d1a2440","hex_latitude":"071fef70","is_valid_coordinates":true} 
[2026-04-26 13:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960372224001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114779041025753088,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873427106843228160,"note":"Value kept but may cause issues"} 
[2026-04-26 13:06:56] 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-04-26 13:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777188963000,"timestamp_ms":1777188963000,"timestamp_seconds":1777188963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b782b8"} 
[2026-04-26 13:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:06:56] 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-04-26 13:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 13:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.181.140","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960372224001,"66":14080,"121":206,"28":31744,"24":45,"16":114779041025753088,"45":1873427106843228160},"client_ip":"117.224.181.140","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-26 13:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960372224001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:06:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-26 13:06:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-26 13:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114779041025753088,"km_value":114779041025753.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873427106843228160,"description":"Unknown IO ID 45"} 
[2026-04-26 13:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960372224001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1873427106843228160}} 
[2026-04-26 13:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":54697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:06:56] local.INFO: GPS data processed {"connection_id":54697,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:06:56] local.INFO: Acknowledgment sent {"connection_id":54697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:07:12] local.INFO: TCP Data received {"connection_id":54763,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:07:12] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:07:12] local.INFO: IMEI packet received {"connection_id":54763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":54763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:07:14] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:07:14] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:07:14] local.INFO: IMEI packet received {"connection_id":54699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":54699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:07:19] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:07:19] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:07:19] local.INFO: IMEI packet received {"connection_id":54699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":54699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:07:20] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:07:20] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:07:20] local.INFO: Packet analysis {"connection_id":54699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:07:20] local.INFO: Extracted packet for processing {"connection_id":54699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:07:20] 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-04-26 13: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-04-26 13:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:07: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-04-26 13:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:07:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":54699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:07:20] local.INFO: GPS data processed {"connection_id":54699,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:07:20] local.INFO: Acknowledgment sent {"connection_id":54699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:07:51] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:07:51] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:07:51] local.INFO: Packet analysis {"connection_id":54699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:07:51] local.INFO: Extracted packet for processing {"connection_id":54699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:07:51] 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-04-26 13: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-04-26 13:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:07: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-04-26 13:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:07:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":54699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:07:51] local.INFO: GPS data processed {"connection_id":54699,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:07:51] local.INFO: Acknowledgment sent {"connection_id":54699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:07:59] local.INFO: TCP Data received {"connection_id":54763,"ip":"117.224.181.140","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:07:59] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:07:59] local.INFO: IMEI packet received {"connection_id":54763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":54763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:08:02] local.INFO: TCP Data received {"connection_id":54763,"ip":"117.224.181.140","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:08:02] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:08:02] local.INFO: IMEI packet received {"connection_id":54763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":54763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:08:14] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:08:14] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:08:14] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:08:19] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:08:19] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:08:19] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:08:20] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:08:20] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:08:20] local.INFO: Packet analysis {"connection_id":54701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:08:20] local.INFO: Extracted packet for processing {"connection_id":54701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:08:20] 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-04-26 13:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:08:20] 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-04-26 13:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:08:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":54701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:08:20] local.INFO: GPS data processed {"connection_id":54701,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:08:20] local.INFO: Acknowledgment sent {"connection_id":54701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:08:51] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:08:51] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:08:51] local.INFO: Packet analysis {"connection_id":54701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:08:51] local.INFO: Extracted packet for processing {"connection_id":54701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:08:51] 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-04-26 13:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:08:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":54701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:08:51] local.INFO: GPS data processed {"connection_id":54701,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:08:51] local.INFO: Acknowledgment sent {"connection_id":54701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:09:10] local.INFO: TCP Data received {"connection_id":55427,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:09:10] local.INFO: Processing buffer {"connection_id":55427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:09:10] local.INFO: IMEI packet received {"connection_id":55427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":55427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:09:14] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:09:14] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:09:14] local.INFO: IMEI packet received {"connection_id":54501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":54501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:09:19] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:09:19] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:09:19] local.INFO: IMEI packet received {"connection_id":54501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:09:20] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:09:20] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:09:20] local.INFO: Packet analysis {"connection_id":54501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:09:20] local.INFO: Extracted packet for processing {"connection_id":54501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:09:20] 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-04-26 13: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-04-26 13:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:09: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-04-26 13:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:09:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":54501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:09:20] local.INFO: GPS data processed {"connection_id":54501,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:09:20] local.INFO: Acknowledgment sent {"connection_id":54501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:09:45] local.INFO: TCP Data received {"connection_id":54502,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:09:45] local.INFO: Processing buffer {"connection_id":54502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:09:45] local.INFO: IMEI packet received {"connection_id":54502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":54502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:09:51] local.INFO: TCP Data received {"connection_id":54501,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:09:51] local.INFO: Processing buffer {"connection_id":54501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:09:51] local.INFO: Packet analysis {"connection_id":54501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:09:51] local.INFO: Extracted packet for processing {"connection_id":54501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:09:51] 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-04-26 13: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-04-26 13:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:09:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":54501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:09:51] local.INFO: GPS data processed {"connection_id":54501,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:09:51] local.INFO: Acknowledgment sent {"connection_id":54501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:10:14] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:10:14] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:10:14] local.INFO: IMEI packet received {"connection_id":54503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:10:19] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:10:19] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:10:19] local.INFO: IMEI packet received {"connection_id":54503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":54503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:10:20] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:10:20] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8b69c40012cb299c007822ce0004e001230..."} 
[2026-04-26 13:10:20] local.INFO: Packet analysis {"connection_id":54503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:10:20] local.INFO: Extracted packet for processing {"connection_id":54503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8b6"} 
[2026-04-26 13:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960282368001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777188904000,"timestamp_ms":1777188904000,"timestamp_seconds":1777188904,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8b69c40"} 
[2026-04-26 13:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:10:20] 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-04-26 13: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-04-26 13:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:10:20] 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-04-26 13:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960282368001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960282368001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:10:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960282368001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":54503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:10:20] local.INFO: GPS data processed {"connection_id":54503,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:10:20] local.INFO: Acknowledgment sent {"connection_id":54503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:10:51] local.INFO: TCP Data received {"connection_id":54503,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:10:51] local.INFO: Processing buffer {"connection_id":54503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:10:51] local.INFO: Packet analysis {"connection_id":54503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:10:51] local.INFO: Extracted packet for processing {"connection_id":54503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:10:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:10:51] 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-04-26 13: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-04-26 13:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:10:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":54503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:10:51] local.INFO: GPS data processed {"connection_id":54503,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:10:51] local.INFO: Acknowledgment sent {"connection_id":54503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:11:19] local.INFO: TCP Data received {"connection_id":55429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:11:19] local.INFO: Processing buffer {"connection_id":55429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:11:19] local.INFO: IMEI packet received {"connection_id":55429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":55429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:11:24] local.INFO: TCP Data received {"connection_id":55429,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:11:24] local.INFO: Processing buffer {"connection_id":55429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:11:24] local.INFO: IMEI packet received {"connection_id":55429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":55429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:11:25] local.INFO: TCP Data received {"connection_id":55429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:11:25] local.INFO: Processing buffer {"connection_id":55429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:11:25] local.INFO: Packet analysis {"connection_id":55429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:11:25] local.INFO: Extracted packet for processing {"connection_id":55429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:11:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:11:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:11:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:11:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:11:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:11:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":55429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:11:25] local.INFO: GPS data processed {"connection_id":55429,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:11:25] local.INFO: Acknowledgment sent {"connection_id":55429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:11:56] local.INFO: TCP Data received {"connection_id":55429,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:11:56] local.INFO: Processing buffer {"connection_id":55429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:11:56] local.INFO: Packet analysis {"connection_id":55429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:11:56] local.INFO: Extracted packet for processing {"connection_id":55429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:11:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:11:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:11:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":55429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:11:56] local.INFO: GPS data processed {"connection_id":55429,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:11:56] local.INFO: Acknowledgment sent {"connection_id":55429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:12:14] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:12:14] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:12:14] local.INFO: IMEI packet received {"connection_id":54766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":54766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:12:19] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:12:19] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:12:19] local.INFO: IMEI packet received {"connection_id":54766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":54766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:12:20] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:12:20] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:12:20] local.INFO: Packet analysis {"connection_id":54766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:12:20] local.INFO: Extracted packet for processing {"connection_id":54766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:12:20] 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-04-26 13: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-04-26 13:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:12: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-04-26 13:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:12:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":54766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:12:20] local.INFO: GPS data processed {"connection_id":54766,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:12:20] local.INFO: Acknowledgment sent {"connection_id":54766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:12:51] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:12:51] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:12:51] local.INFO: Packet analysis {"connection_id":54766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:12:51] local.INFO: Extracted packet for processing {"connection_id":54766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:12:51] 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-04-26 13: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-04-26 13:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:12: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-04-26 13:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:12:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":54766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:12:51] local.INFO: GPS data processed {"connection_id":54766,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:12:51] local.INFO: Acknowledgment sent {"connection_id":54766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:13:19] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:13:19] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:13:19] local.INFO: IMEI packet received {"connection_id":54504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:13:24] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:13:24] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:13:24] local.INFO: IMEI packet received {"connection_id":54504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":54504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:13:25] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:13:25] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:13:25] local.INFO: Packet analysis {"connection_id":54504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:13:25] local.INFO: Extracted packet for processing {"connection_id":54504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:13:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":54504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:13:25] local.INFO: GPS data processed {"connection_id":54504,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:13:25] local.INFO: Acknowledgment sent {"connection_id":54504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:13:29] local.INFO: TCP Data received {"connection_id":54504,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:13:29] local.INFO: Processing buffer {"connection_id":54504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:13:29] local.INFO: Packet analysis {"connection_id":54504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:13:29] local.INFO: Extracted packet for processing {"connection_id":54504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:13:29] 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-04-26 13:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:13: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-04-26 13:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:13:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":54504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:13:29] local.INFO: GPS data processed {"connection_id":54504,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:13:29] local.INFO: Acknowledgment sent {"connection_id":54504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:14:14] local.INFO: TCP Data received {"connection_id":55430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:14:14] local.INFO: Processing buffer {"connection_id":55430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:14:14] local.INFO: IMEI packet received {"connection_id":55430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":55430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:14:19] local.INFO: TCP Data received {"connection_id":55430,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:14:19] local.INFO: Processing buffer {"connection_id":55430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:14:19] local.INFO: IMEI packet received {"connection_id":55430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":55430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:14:20] local.INFO: TCP Data received {"connection_id":55430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:14:20] local.INFO: Processing buffer {"connection_id":55430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:14:20] local.INFO: Packet analysis {"connection_id":55430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:14:20] local.INFO: Extracted packet for processing {"connection_id":55430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 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-04-26 13:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:14:20] 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-04-26 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-04-26 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-04-26 13:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:14: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-04-26 13:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:14:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":55430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:14:20] local.INFO: GPS data processed {"connection_id":55430,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:14:20] local.INFO: Acknowledgment sent {"connection_id":55430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:14:50] local.INFO: TCP Data received {"connection_id":55430,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:14:50] local.INFO: Processing buffer {"connection_id":55430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:14:50] local.INFO: Packet analysis {"connection_id":55430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:14:50] local.INFO: Extracted packet for processing {"connection_id":55430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:14:50] 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-04-26 13:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:14:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":55430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:14:50] local.INFO: GPS data processed {"connection_id":55430,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:14:50] local.INFO: Acknowledgment sent {"connection_id":55430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:15:14] local.INFO: TCP Data received {"connection_id":54704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:15:14] local.INFO: Processing buffer {"connection_id":54704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:15:14] local.INFO: IMEI packet received {"connection_id":54704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":54704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:15:19] local.INFO: TCP Data received {"connection_id":54704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:15:19] local.INFO: Processing buffer {"connection_id":54704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:15:19] local.INFO: IMEI packet received {"connection_id":54704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":54704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:15:19] local.INFO: TCP Data received {"connection_id":54704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:15:19] local.INFO: Processing buffer {"connection_id":54704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bb3408012cb299c007822ce0004e00122f..."} 
[2026-04-26 13:15:19] local.INFO: Packet analysis {"connection_id":54704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:15:19] local.INFO: Extracted packet for processing {"connection_id":54704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bb"} 
[2026-04-26 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960359424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777189205000,"timestamp_ms":1777189205000,"timestamp_seconds":1777189205,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bb3408"} 
[2026-04-26 13:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:15:19] 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-04-26 13:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960359424001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960359424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:15:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960359424001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":54704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:15:19] local.INFO: GPS data processed {"connection_id":54704,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:15:19] local.INFO: Acknowledgment sent {"connection_id":54704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:15:40] local.INFO: TCP Data received {"connection_id":54705,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:15:40] local.INFO: Processing buffer {"connection_id":54705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:15:40] local.INFO: IMEI packet received {"connection_id":54705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:15:40] local.INFO: IMEI acknowledgment sent {"connection_id":54705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:15:50] local.INFO: TCP Data received {"connection_id":54704,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:15:50] local.INFO: Processing buffer {"connection_id":54704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:15:50] local.INFO: Packet analysis {"connection_id":54704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:15:50] local.INFO: Extracted packet for processing {"connection_id":54704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:15:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:15:50] 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-04-26 13:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:15:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":54704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:15:50] local.INFO: GPS data processed {"connection_id":54704,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:15:50] local.INFO: Acknowledgment sent {"connection_id":54704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:16:14] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:16:14] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:16:14] local.INFO: IMEI packet received {"connection_id":54767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":54767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:16:19] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:16:19] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:16:19] local.INFO: IMEI packet received {"connection_id":54767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:16:20] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:16:20] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:16:20] local.INFO: Packet analysis {"connection_id":54767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:16:20] local.INFO: Extracted packet for processing {"connection_id":54767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:16:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:16:20] 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-04-26 13:16:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:16: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-04-26 13:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:16:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:16:20] local.INFO: GPS data processed {"connection_id":54767,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:16:20] local.INFO: Acknowledgment sent {"connection_id":54767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:16:50] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:16:51] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:16:51] local.INFO: Packet analysis {"connection_id":54767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:16:51] local.INFO: Extracted packet for processing {"connection_id":54767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:16:51] 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-04-26 13: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-04-26 13:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:16: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-04-26 13:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:16:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":54767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:16:51] local.INFO: GPS data processed {"connection_id":54767,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:16:51] local.INFO: Acknowledgment sent {"connection_id":54767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:17:14] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:17:14] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:17:14] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:17:19] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:17:19] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:17:19] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:17:20] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:17:20] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:17:20] local.INFO: Packet analysis {"connection_id":54706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:17:20] local.INFO: Extracted packet for processing {"connection_id":54706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 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-04-26 13:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:17:20] 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-04-26 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-04-26 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-04-26 13:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 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-04-26 13:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:17:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":54706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:17:20] local.INFO: GPS data processed {"connection_id":54706,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:17:20] local.INFO: Acknowledgment sent {"connection_id":54706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:17:27] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:27] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:27] local.INFO: IMEI packet received {"connection_id":54707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":54707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:17:32] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:32] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:32] local.INFO: IMEI packet received {"connection_id":54707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":54707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:17:32] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:32] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:17:32] local.INFO: IMEI packet received {"connection_id":54707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":54707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:17:33] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c0c5d0012d1ab780071f95b0003b011a29..."} 
[2026-04-26 13:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c0c5d0012d1ab780071f95b0003b011a29..."} 
[2026-04-26 13:17:33] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c0c5d0012d1ab780071f95b0003b011a29..."} 
[2026-04-26 13:17:33] local.INFO: Packet analysis {"connection_id":54707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c0"} 
[2026-04-26 13:17:33] local.INFO: Extracted packet for processing {"connection_id":54707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c0"} 
[2026-04-26 13:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756725632,"raw_latitude":119510448,"longitude_deg":75.6725632,"latitude_deg":11.9510448,"altitude":59,"angle":282,"satellites":41,"speed":11,"hex_longitude":"2d1ab780","hex_latitude":"071f95b0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960528896001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114787347492503552,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926977721155682304,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777189570000,"timestamp_ms":1777189570000,"timestamp_seconds":1777189570,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c0c5d0"} 
[2026-04-26 13:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:17:33] 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-04-26 13: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-26 13:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:17: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-04-26 13:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960528896001,"66":13722,"106":206,"83":41984,"24":11,"16":114787347492503552,"45":1926977721155682304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960528896001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:17:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114787347492503552,"km_value":114787347492503.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926977721155682304,"description":"Unknown IO ID 45"} 
[2026-04-26 13:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960528896001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1926977721155682304}} 
[2026-04-26 13:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":54707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:17:33] local.INFO: GPS data processed {"connection_id":54707,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:17:33] local.INFO: Acknowledgment sent {"connection_id":54707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:17:38] local.INFO: TCP Data received {"connection_id":54707,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c117d8012d1ab540071f95d8003a01152c..."} 
[2026-04-26 13:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c117d8012d1ab540071f95d8003a01152c..."} 
[2026-04-26 13:17:38] local.INFO: Processing buffer {"connection_id":54707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c117d8012d1ab540071f95d8003a01152c..."} 
[2026-04-26 13:17:38] local.INFO: Packet analysis {"connection_id":54707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c1"} 
[2026-04-26 13:17:38] local.INFO: Extracted packet for processing {"connection_id":54707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c1"} 
[2026-04-26 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756725056,"raw_latitude":119510488,"longitude_deg":75.6725056,"latitude_deg":11.9510488,"altitude":58,"angle":277,"satellites":44,"speed":0,"hex_longitude":"2d1ab540","hex_latitude":"071f95d8","is_valid_coordinates":true} 
[2026-04-26 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960529920001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114787373262307328,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925148133807206400,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777189591000,"timestamp_ms":1777189591000,"timestamp_seconds":1777189591,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c117d8"} 
[2026-04-26 13:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 13:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:17:38] 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-04-26 13:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960529920001,"66":14265,"106":206,"83":41984,"24":0,"16":114787373262307328,"45":1925148133807206400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960529920001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:17:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114787373262307328,"km_value":114787373262307.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925148133807206400,"description":"Unknown IO ID 45"} 
[2026-04-26 13:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960529920001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1925148133807206400}} 
[2026-04-26 13:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":54707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:17:38] local.INFO: GPS data processed {"connection_id":54707,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:17:38] local.INFO: Acknowledgment sent {"connection_id":54707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:17:50] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:17:50] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:17:50] local.INFO: Packet analysis {"connection_id":54706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:17:50] local.INFO: Extracted packet for processing {"connection_id":54706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:17:50] 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-04-26 13: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-04-26 13:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:17:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":54706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:17:50] local.INFO: GPS data processed {"connection_id":54706,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:17:50] local.INFO: Acknowledgment sent {"connection_id":54706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:18:12] local.INFO: TCP Data received {"connection_id":55433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:12] local.INFO: Processing buffer {"connection_id":55433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:12] local.INFO: IMEI packet received {"connection_id":55433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":55433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:18:13] local.INFO: TCP Data received {"connection_id":55433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:13] local.INFO: Processing buffer {"connection_id":55433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:13] local.INFO: IMEI packet received {"connection_id":55433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":55433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:18:14] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:18:14] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:18:14] local.INFO: IMEI packet received {"connection_id":54507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:18:17] local.INFO: TCP Data received {"connection_id":55433,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:17] local.INFO: Processing buffer {"connection_id":55433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:18:17] local.INFO: IMEI packet received {"connection_id":55433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":55433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:18:18] local.INFO: TCP Data received {"connection_id":55433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c169e0012d1aa640071f97e8003a010f2d..."} 
[2026-04-26 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c169e0012d1aa640071f97e8003a010f2d..."} 
[2026-04-26 13:18:18] local.INFO: Processing buffer {"connection_id":55433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c169e0012d1aa640071f97e8003a010f2d..."} 
[2026-04-26 13:18:18] local.INFO: Packet analysis {"connection_id":55433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c1"} 
[2026-04-26 13:18:18] local.INFO: Extracted packet for processing {"connection_id":55433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c1"} 
[2026-04-26 13:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756721216,"raw_latitude":119511016,"longitude_deg":75.6721216,"latitude_deg":11.9511016,"altitude":58,"angle":271,"satellites":45,"speed":0,"hex_longitude":"2d1aa640","hex_latitude":"071f97e8","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960535296001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114787562240868352,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924514815109617664,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18: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-04-26 13:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777189612000,"timestamp_ms":1777189612000,"timestamp_seconds":1777189612,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c169e0"} 
[2026-04-26 13:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 13:18: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-04-26 13: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-04-26 13:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:18:18] 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-04-26 13:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960535296001,"66":14341,"106":206,"83":41984,"24":0,"16":114787562240868352,"45":1924514815109617664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960535296001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:18:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114787562240868352,"km_value":114787562240868.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924514815109617664,"description":"Unknown IO ID 45"} 
[2026-04-26 13:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960535296001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1924514815109617664}} 
[2026-04-26 13:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":55433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:18:18] local.INFO: GPS data processed {"connection_id":55433,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:18:18] local.INFO: Acknowledgment sent {"connection_id":55433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:18:19] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:18:19] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:18:19] local.INFO: IMEI packet received {"connection_id":54507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":54507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:18:19] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:18:19] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:18:19] local.INFO: Packet analysis {"connection_id":54507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:18:19] local.INFO: Extracted packet for processing {"connection_id":54507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:18:19] 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-04-26 13:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:18:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":54507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:18:19] local.INFO: GPS data processed {"connection_id":54507,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:18:19] local.INFO: Acknowledgment sent {"connection_id":54507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:18:49] local.INFO: TCP Data received {"connection_id":55433,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c25440012d1a48c0071fe520002f01202d..."} 
[2026-04-26 13:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c25440012d1a48c0071fe520002f01202d..."} 
[2026-04-26 13:18:49] local.INFO: Processing buffer {"connection_id":55433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c25440012d1a48c0071fe520002f01202d..."} 
[2026-04-26 13:18:49] local.INFO: Packet analysis {"connection_id":55433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c2"} 
[2026-04-26 13:18:49] local.INFO: Extracted packet for processing {"connection_id":55433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c2"} 
[2026-04-26 13:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756697280,"raw_latitude":119530784,"longitude_deg":75.669728,"latitude_deg":11.9530784,"altitude":47,"angle":288,"satellites":45,"speed":41,"hex_longitude":"2d1a48c0","hex_latitude":"071fe520","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960555264001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114789108429094912,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896859898652637184,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18: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-04-26 13:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777189672000,"timestamp_ms":1777189672000,"timestamp_seconds":1777189672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c25440"} 
[2026-04-26 13:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:18:49] 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-04-26 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 13:18:49] 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-04-26 13: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-04-26 13:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:18:49] 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-04-26 13:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960555264001,"66":14374,"106":206,"83":41984,"24":41,"16":114789108429094912,"45":1896859898652637184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960555264001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:18:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114789108429094912,"km_value":114789108429094.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896859898652637184,"description":"Unknown IO ID 45"} 
[2026-04-26 13:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960555264001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1896859898652637184}} 
[2026-04-26 13:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":55433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:18:49] local.INFO: GPS data processed {"connection_id":55433,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:18:49] local.INFO: Acknowledgment sent {"connection_id":55433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:18:51] local.INFO: TCP Data received {"connection_id":54507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:18:51] local.INFO: Processing buffer {"connection_id":54507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:18:51] local.INFO: Packet analysis {"connection_id":54507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:18:51] local.INFO: Extracted packet for processing {"connection_id":54507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:18:51] 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-04-26 13: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-04-26 13:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:18: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-04-26 13:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:18:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":54507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:18:51] local.INFO: GPS data processed {"connection_id":54507,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:18:51] local.INFO: Acknowledgment sent {"connection_id":54507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:19:12] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:12] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:12] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:19:15] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:15] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:15] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:19:18] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:18] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:19:18] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:19:19] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c27380012d1a2600071fee70002f011d2c..."} 
[2026-04-26 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c27380012d1a2600071fee70002f011d2c..."} 
[2026-04-26 13:19:19] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c27380012d1a2600071fee70002f011d2c..."} 
[2026-04-26 13:19:19] local.INFO: Packet analysis {"connection_id":54768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c2"} 
[2026-04-26 13:19:19] local.INFO: Extracted packet for processing {"connection_id":54768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c2"} 
[2026-04-26 13:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756688384,"raw_latitude":119533168,"longitude_deg":75.6688384,"latitude_deg":11.9533168,"altitude":47,"angle":285,"satellites":44,"speed":47,"hex_longitude":"2d1a2600","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-26 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960556032001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114789546515759104,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893974780141707264,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19: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-04-26 13:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777189680000,"timestamp_ms":1777189680000,"timestamp_seconds":1777189680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c27380"} 
[2026-04-26 13:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:19:19] 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-04-26 13:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:19:19] 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-04-26 13:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:19:19] 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-04-26 13:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960556032001,"66":14374,"106":206,"83":41984,"24":47,"16":114789546515759104,"45":1893974780141707264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960556032001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:19:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114789546515759104,"km_value":114789546515759.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893974780141707264,"description":"Unknown IO ID 45"} 
[2026-04-26 13:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960556032001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1893974780141707264}} 
[2026-04-26 13:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":54768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:19:19] local.INFO: GPS data processed {"connection_id":54768,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:19:19] local.INFO: Acknowledgment sent {"connection_id":54768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:19:19] local.INFO: TCP Data received {"connection_id":54508,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:19:19] local.INFO: Processing buffer {"connection_id":54508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:19:19] local.INFO: IMEI packet received {"connection_id":54508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":54508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:19:24] local.INFO: TCP Data received {"connection_id":54508,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:19:24] local.INFO: Processing buffer {"connection_id":54508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:19:24] local.INFO: IMEI packet received {"connection_id":54508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":54508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:19:25] local.INFO: TCP Data received {"connection_id":54508,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:19:25] local.INFO: Processing buffer {"connection_id":54508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:19:25] local.INFO: Packet analysis {"connection_id":54508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:19:25] local.INFO: Extracted packet for processing {"connection_id":54508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:19:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:19:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:19:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:19:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:19:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:19:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":54508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:19:25] local.INFO: GPS data processed {"connection_id":54508,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:19:25] local.INFO: Acknowledgment sent {"connection_id":54508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:19:29] local.INFO: TCP Data received {"connection_id":54508,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:19:29] local.INFO: Processing buffer {"connection_id":54508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:19:29] local.INFO: Packet analysis {"connection_id":54508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:19:29] local.INFO: Extracted packet for processing {"connection_id":54508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:19:29] 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-04-26 13:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:19:29] 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-04-26 13:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:19:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":54508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:19:29] local.INFO: GPS data processed {"connection_id":54508,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:19:29] local.INFO: Acknowledgment sent {"connection_id":54508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:19:50] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c36d80012d19ae4007209518003100182e..."} 
[2026-04-26 13:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c36d80012d19ae4007209518003100182e..."} 
[2026-04-26 13:19:50] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c36d80012d19ae4007209518003100182e..."} 
[2026-04-26 13:19:50] local.INFO: Packet analysis {"connection_id":54768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c3"} 
[2026-04-26 13:19:50] local.INFO: Extracted packet for processing {"connection_id":54768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c3"} 
[2026-04-26 13:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119575832,"longitude_deg":75.6657728,"latitude_deg":11.9575832,"altitude":49,"angle":24,"satellites":46,"speed":34,"hex_longitude":"2d19ae40","hex_latitude":"07209518","is_valid_coordinates":true} 
[2026-04-26 13:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960574208001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114792432733782016,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683786172416,"note":"Value kept but may cause issues"} 
[2026-04-26 13:19:50] 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-04-26 13:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777189744000,"timestamp_ms":1777189744000,"timestamp_seconds":1777189744,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c36d80"} 
[2026-04-26 13:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:19:50] 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-04-26 13:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 13:19: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-04-26 13:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:19:50] 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-04-26 13:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960574208001,"66":13678,"106":206,"83":41984,"24":34,"16":114792432733782016,"45":1850064683786172416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960574208001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:19:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:19:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114792432733782016,"km_value":114792432733782.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683786172416,"description":"Unknown IO ID 45"} 
[2026-04-26 13:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960574208001,"power":13678,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850064683786172416}} 
[2026-04-26 13:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":54768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:19:50] local.INFO: GPS data processed {"connection_id":54768,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:19:50] local.INFO: Acknowledgment sent {"connection_id":54768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:20:12] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:20:12] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:20:12] local.INFO: IMEI packet received {"connection_id":54709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":54709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:20:14] local.INFO: TCP Data received {"connection_id":54708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:20:14] local.INFO: Processing buffer {"connection_id":54708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:20:14] local.INFO: IMEI packet received {"connection_id":54708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":54708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:20:18] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:20:18] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:20:18] local.INFO: IMEI packet received {"connection_id":54709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:20:19] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c37550012d19b24007209ae8003000232d..."} 
[2026-04-26 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c37550012d19b24007209ae8003000232d..."} 
[2026-04-26 13:20:19] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c37550012d19b24007209ae8003000232d..."} 
[2026-04-26 13:20:19] local.INFO: Packet analysis {"connection_id":54709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c3"} 
[2026-04-26 13:20:19] local.INFO: Extracted packet for processing {"connection_id":54709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c3"} 
[2026-04-26 13:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756658752,"raw_latitude":119577320,"longitude_deg":75.6658752,"latitude_deg":11.957732,"altitude":48,"angle":35,"satellites":45,"speed":35,"hex_longitude":"2d19b240","hex_latitude":"07209ae8","is_valid_coordinates":true} 
[2026-04-26 13:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960574464001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114792522928095232,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251443200,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20: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-04-26 13:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777189746000,"timestamp_ms":1777189746000,"timestamp_seconds":1777189746,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c37550"} 
[2026-04-26 13:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:20:19] 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-04-26 13:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 13:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:20:19] 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-04-26 13:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960574464001,"66":13820,"106":206,"83":41984,"24":35,"16":114792522928095232,"45":1850486896251443200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960574464001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:20:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114792522928095232,"km_value":114792522928095.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251443200,"description":"Unknown IO ID 45"} 
[2026-04-26 13:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960574464001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850486896251443200}} 
[2026-04-26 13:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:20:19] local.INFO: GPS data processed {"connection_id":54709,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:20:19] local.INFO: Acknowledgment sent {"connection_id":54709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:20:19] local.INFO: TCP Data received {"connection_id":54708,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:20:19] local.INFO: Processing buffer {"connection_id":54708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:20:19] local.INFO: IMEI packet received {"connection_id":54708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":54708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:20:20] local.INFO: TCP Data received {"connection_id":54708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:20:20] local.INFO: Processing buffer {"connection_id":54708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bfcbd0012cb299c007822ce00049001230..."} 
[2026-04-26 13:20:20] local.INFO: Packet analysis {"connection_id":54708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:20:20] local.INFO: Extracted packet for processing {"connection_id":54708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bf"} 
[2026-04-26 13:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":48,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960436480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189506000,"timestamp_ms":1777189506000,"timestamp_seconds":1777189506,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bfcbd0"} 
[2026-04-26 13:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:20:20] 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-04-26 13:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:20: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-04-26 13:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960436480001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960436480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:20:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960436480001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":54708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:20:20] local.INFO: GPS data processed {"connection_id":54708,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:20:20] local.INFO: Acknowledgment sent {"connection_id":54708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:20:50] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c388d8012d19ba000720a6a8003200082f..."} 
[2026-04-26 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c388d8012d19ba000720a6a8003200082f..."} 
[2026-04-26 13:20:50] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c388d8012d19ba000720a6a8003200082f..."} 
[2026-04-26 13:20:50] local.INFO: Packet analysis {"connection_id":54709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c3"} 
[2026-04-26 13:20:50] local.INFO: Extracted packet for processing {"connection_id":54709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c3"} 
[2026-04-26 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119580328,"longitude_deg":75.6660736,"latitude_deg":11.9580328,"altitude":50,"angle":8,"satellites":47,"speed":19,"hex_longitude":"2d19ba00","hex_latitude":"0720a6a8","is_valid_coordinates":true} 
[2026-04-26 13:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960574976001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114792699021754368,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851612796158666752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:50] 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-04-26 13:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777189751000,"timestamp_ms":1777189751000,"timestamp_seconds":1777189751,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c388d8"} 
[2026-04-26 13:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:20:50] 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-04-26 13:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 13:20: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-04-26 13:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:20:50] 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-04-26 13:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960574976001,"66":13798,"106":206,"83":41984,"24":19,"16":114792699021754368,"45":1851612796158666752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960574976001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:20:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114792699021754368,"km_value":114792699021754.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851612796158666752,"description":"Unknown IO ID 45"} 
[2026-04-26 13:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960574976001,"power":13798,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1851612796158666752}} 
[2026-04-26 13:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":54709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:20:50] local.INFO: GPS data processed {"connection_id":54709,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:20:50] local.INFO: Acknowledgment sent {"connection_id":54709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:20:51] local.INFO: TCP Data received {"connection_id":54708,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:20:51] local.INFO: Processing buffer {"connection_id":54708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:20:51] local.INFO: Packet analysis {"connection_id":54708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:20:51] local.INFO: Extracted packet for processing {"connection_id":54708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 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-04-26 13:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:20:51] 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-04-26 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-04-26 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-04-26 13:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:20:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:20:51] local.INFO: GPS data processed {"connection_id":54708,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:20:51] local.INFO: Acknowledgment sent {"connection_id":54708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:21:10] local.INFO: TCP Data received {"connection_id":54769,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:21:10] local.INFO: Processing buffer {"connection_id":54769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:21:10] local.INFO: IMEI packet received {"connection_id":54769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":54769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:21:14] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:21:14] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:21:14] local.INFO: IMEI packet received {"connection_id":54509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:21:17] local.INFO: TCP Data received {"connection_id":55436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:21:17] local.INFO: Processing buffer {"connection_id":55436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:21:17] local.INFO: IMEI packet received {"connection_id":55436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":55436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:21:19] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:21:19] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:21:19] local.INFO: IMEI packet received {"connection_id":54509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:21:20] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:21:20] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:21:20] local.INFO: Packet analysis {"connection_id":54509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:20] local.INFO: Extracted packet for processing {"connection_id":54509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:21:20] 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-04-26 13: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-04-26 13:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:21: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-04-26 13:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:21:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:21:20] local.INFO: GPS data processed {"connection_id":54509,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:21:20] local.INFO: Acknowledgment sent {"connection_id":54509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:21:22] local.INFO: TCP Data received {"connection_id":55436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:21:22] local.INFO: Processing buffer {"connection_id":55436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:21:22] local.INFO: IMEI packet received {"connection_id":55436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":55436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:21:23] local.INFO: TCP Data received {"connection_id":55436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c45bc8012d1908400720cb480034012f2b..."} 
[2026-04-26 13:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c45bc8012d1908400720cb480034012f2b..."} 
[2026-04-26 13:21:23] local.INFO: Processing buffer {"connection_id":55436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c45bc8012d1908400720cb480034012f2b..."} 
[2026-04-26 13:21:23] local.INFO: Packet analysis {"connection_id":55436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:23] local.INFO: Extracted packet for processing {"connection_id":55436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756615232,"raw_latitude":119589704,"longitude_deg":75.6615232,"latitude_deg":11.9589704,"altitude":52,"angle":303,"satellites":43,"speed":29,"hex_longitude":"2d190840","hex_latitude":"0720cb48","is_valid_coordinates":true} 
[2026-04-26 13:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960588288001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114795005419192320,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1809602655887065088,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21: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-04-26 13:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777189805000,"timestamp_ms":1777189805000,"timestamp_seconds":1777189805,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c45bc8"} 
[2026-04-26 13:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 13:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960588288001,"66":13939,"106":206,"83":41984,"24":29,"16":114795005419192320,"45":1809602655887065088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960588288001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:21:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114795005419192320,"km_value":114795005419192.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1809602655887065088,"description":"Unknown IO ID 45"} 
[2026-04-26 13:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960588288001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1809602655887065088}} 
[2026-04-26 13:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":55436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:21:23] local.INFO: GPS data processed {"connection_id":55436,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:21:23] local.INFO: Acknowledgment sent {"connection_id":55436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:21:40] local.INFO: TCP Data received {"connection_id":54770,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:21:40] local.INFO: Processing buffer {"connection_id":54770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:21:40] local.INFO: IMEI packet received {"connection_id":54770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":54770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:21:51] local.INFO: TCP Data received {"connection_id":54509,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:21:51] local.INFO: Processing buffer {"connection_id":54509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:21:51] local.INFO: Packet analysis {"connection_id":54509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:51] local.INFO: Extracted packet for processing {"connection_id":54509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:21:51] 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-04-26 13: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-04-26 13:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:21: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-04-26 13:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:21:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:21:51] local.INFO: GPS data processed {"connection_id":54509,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:21:51] local.INFO: Acknowledgment sent {"connection_id":54509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:21:54] local.INFO: TCP Data received {"connection_id":55436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c47ef0012d18f2800720db48003801412d..."} 
[2026-04-26 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c47ef0012d18f2800720db48003801412d..."} 
[2026-04-26 13:21:54] local.INFO: Processing buffer {"connection_id":55436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c47ef0012d18f2800720db48003801412d..."} 
[2026-04-26 13:21:54] local.INFO: Packet analysis {"connection_id":55436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:54] local.INFO: Extracted packet for processing {"connection_id":55436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756609664,"raw_latitude":119593800,"longitude_deg":75.6609664,"latitude_deg":11.95938,"altitude":56,"angle":321,"satellites":45,"speed":34,"hex_longitude":"2d18f280","hex_latitude":"0720db48","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590080001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114795340426641408,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803762050121025536,"note":"Value kept but may cause issues"} 
[2026-04-26 13:21: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-04-26 13:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777189814000,"timestamp_ms":1777189814000,"timestamp_seconds":1777189814,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c47ef0"} 
[2026-04-26 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-04-26 13:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-26 13:21:54] 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-04-26 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-04-26 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-04-26 13:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:21:54] 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-04-26 13:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590080001,"66":14428,"106":206,"83":41984,"24":34,"16":114795340426641408,"45":1803762050121025536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590080001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:21:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114795340426641408,"km_value":114795340426641.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803762050121025536,"description":"Unknown IO ID 45"} 
[2026-04-26 13:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590080001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1803762050121025536}} 
[2026-04-26 13:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":55436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:21:54] local.INFO: GPS data processed {"connection_id":55436,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:21:54] local.INFO: Acknowledgment sent {"connection_id":55436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:22:12] local.INFO: TCP Data received {"connection_id":55437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:22:12] local.INFO: Processing buffer {"connection_id":55437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:22:12] local.INFO: IMEI packet received {"connection_id":55437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":55437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:22:14] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:22:14] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:22:14] local.INFO: IMEI packet received {"connection_id":54771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":54771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:22:17] local.INFO: TCP Data received {"connection_id":55437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55437,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:22:17] local.INFO: Processing buffer {"connection_id":55437,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:22:17] local.INFO: IMEI packet received {"connection_id":55437,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":55437,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:22:17] local.INFO: TCP Data received {"connection_id":55437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c56d38012d18c300072150080044015a2c..."} 
[2026-04-26 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c56d38012d18c300072150080044015a2c..."} 
[2026-04-26 13:22:17] local.INFO: Processing buffer {"connection_id":55437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c56d38012d18c300072150080044015a2c..."} 
[2026-04-26 13:22:17] local.INFO: Packet analysis {"connection_id":55437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c5"} 
[2026-04-26 13:22:17] local.INFO: Extracted packet for processing {"connection_id":55437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c5"} 
[2026-04-26 13:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623688,"longitude_deg":75.6597504,"latitude_deg":11.9623688,"altitude":68,"angle":346,"satellites":44,"speed":38,"hex_longitude":"2d18c300","hex_latitude":"07215008","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960607232001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114796955334344704,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784481014224295936,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22: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-04-26 13:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777189875000,"timestamp_ms":1777189875000,"timestamp_seconds":1777189875,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c56d38"} 
[2026-04-26 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-04-26 13:22: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-04-26 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 13:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 13:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:22:17] 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-04-26 13:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960607232001,"66":14004,"106":206,"83":41984,"24":38,"16":114796955334344704,"45":1784481014224295936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960607232001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:22:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114796955334344704,"km_value":114796955334344.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784481014224295936,"description":"Unknown IO ID 45"} 
[2026-04-26 13:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960607232001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1784481014224295936}} 
[2026-04-26 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":55437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:22:18] local.INFO: GPS data processed {"connection_id":55437,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:22:18] local.INFO: Acknowledgment sent {"connection_id":55437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:22:19] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:22:19] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:22:19] local.INFO: IMEI packet received {"connection_id":54771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":54771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:22:20] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:22:20] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:22:20] local.INFO: Packet analysis {"connection_id":54771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:22:20] local.INFO: Extracted packet for processing {"connection_id":54771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:22:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:22:20] 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-04-26 13: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-04-26 13:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:22: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-04-26 13:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:22:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":54771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:22:20] local.INFO: GPS data processed {"connection_id":54771,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:22:20] local.INFO: Acknowledgment sent {"connection_id":54771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:22:48] local.INFO: TCP Data received {"connection_id":55437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c57120012d18c180072153a00045014d2d..."} 
[2026-04-26 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c57120012d18c180072153a00045014d2d..."} 
[2026-04-26 13:22:48] local.INFO: Processing buffer {"connection_id":55437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c57120012d18c180072153a00045014d2d..."} 
[2026-04-26 13:22:48] local.INFO: Packet analysis {"connection_id":55437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c5"} 
[2026-04-26 13:22:48] local.INFO: Extracted packet for processing {"connection_id":55437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c5"} 
[2026-04-26 13:22:48] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119624608,"longitude_deg":75.659712,"latitude_deg":11.9624608,"altitude":69,"angle":333,"satellites":45,"speed":38,"hex_longitude":"2d18c180","hex_latitude":"072153a0","is_valid_coordinates":true} 
[2026-04-26 13:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960608000001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114797002578984960,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992512512,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22: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-04-26 13:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777189876000,"timestamp_ms":1777189876000,"timestamp_seconds":1777189876,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c57120"} 
[2026-04-26 13:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:22:48] 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-04-26 13:22:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 13:22:48] 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-04-26 13:22:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55437,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:22:48] 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-04-26 13:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960608000001,"66":14004,"106":206,"83":41984,"24":38,"16":114797002578984960,"45":1784269907992512512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960608000001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:22:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:22:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114797002578984960,"km_value":114797002578984.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992512512,"description":"Unknown IO ID 45"} 
[2026-04-26 13:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960608000001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1784269907992512512}} 
[2026-04-26 13:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":55437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:22:48] local.INFO: GPS data processed {"connection_id":55437,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:22:48] local.INFO: Acknowledgment sent {"connection_id":55437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:22:51] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:22:51] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:22:51] local.INFO: Packet analysis {"connection_id":54771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:22:51] local.INFO: Extracted packet for processing {"connection_id":54771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:22:51] 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-04-26 13: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-04-26 13:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:22: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-04-26 13:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:22:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":54771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:22:51] local.INFO: GPS data processed {"connection_id":54771,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:22:51] local.INFO: Acknowledgment sent {"connection_id":54771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:23:12] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:12] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:12] local.INFO: IMEI packet received {"connection_id":55438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":55438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:23:13] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:13] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:13] local.INFO: IMEI packet received {"connection_id":55438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":55438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:23:14] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:23:14] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:23:14] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:23:14] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:14] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:14] local.INFO: IMEI packet received {"connection_id":55438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":55438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:23:15] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:15] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:23:15] local.INFO: IMEI packet received {"connection_id":55438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":55438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:23:16] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c66f08012d181e800721a5b0004901242d..."} 
[2026-04-26 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c66f08012d181e800721a5b0004901242d..."} 
[2026-04-26 13:23:16] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c66f08012d181e800721a5b0004901242d..."} 
[2026-04-26 13:23:16] local.INFO: Packet analysis {"connection_id":55438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:23:16] local.INFO: Extracted packet for processing {"connection_id":55438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645616,"longitude_deg":75.6555392,"latitude_deg":11.9645616,"altitude":73,"angle":292,"satellites":45,"speed":5,"hex_longitude":"2d181e80","hex_latitude":"0721a5b0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960623872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799330451259392,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699259230208,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777189941000,"timestamp_ms":1777189941000,"timestamp_seconds":1777189941,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c66f08"} 
[2026-04-26 13:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:23: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-04-26 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:23: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-04-26 13: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-04-26 13:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":55438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":55438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":55438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:23:16] 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-04-26 13:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960623872001,"66":14428,"105":206,"83":41984,"24":5,"16":114799330451259392,"45":1738811699259230208},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960623872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799330451259392,"km_value":114799330451259.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699259230208,"description":"Unknown IO ID 45"} 
[2026-04-26 13:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960623872001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738811699259230208}} 
[2026-04-26 13:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":55438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:23:16] local.INFO: GPS data processed {"connection_id":55438,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:23:16] local.INFO: Acknowledgment sent {"connection_id":55438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:23:16] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c6a5b8012d181d000721a690004901412b..."} 
[2026-04-26 13:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c6a5b8012d181d000721a690004901412b..."} 
[2026-04-26 13:23:16] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c6a5b8012d181d000721a690004901412b..."} 
[2026-04-26 13:23:16] local.INFO: Packet analysis {"connection_id":55438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:23:16] local.INFO: Extracted packet for processing {"connection_id":55438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645840,"longitude_deg":75.6555008,"latitude_deg":11.964584,"altitude":73,"angle":321,"satellites":43,"speed":6,"hex_longitude":"2d181d00","hex_latitude":"0721a690","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960624896001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799351926095872,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329223168,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777189955000,"timestamp_ms":1777189955000,"timestamp_seconds":1777189955,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c6a5b8"} 
[2026-04-26 13:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:23: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-04-26 13: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:23: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-04-26 13: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-04-26 13:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":55438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":55438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":55438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:23:16] 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-04-26 13:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960624896001,"66":13156,"105":206,"83":41984,"24":6,"16":114799351926095872,"45":1737967274329223168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960624896001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799351926095872,"km_value":114799351926095.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329223168,"description":"Unknown IO ID 45"} 
[2026-04-26 13:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960624896001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737967274329223168}} 
[2026-04-26 13:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":55438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:23:17] local.INFO: GPS data processed {"connection_id":55438,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:23:17] local.INFO: Acknowledgment sent {"connection_id":55438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:23:19] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:23:19] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:23:19] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:23:20] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:23:20] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:23:20] local.INFO: Packet analysis {"connection_id":54710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:23:20] local.INFO: Extracted packet for processing {"connection_id":54710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:23:20] 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-04-26 13: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-04-26 13:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:23: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-04-26 13:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:23:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:23:20] local.INFO: GPS data processed {"connection_id":54710,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:23:20] local.INFO: Acknowledgment sent {"connection_id":54710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:23:47] local.INFO: TCP Data received {"connection_id":55438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c6a9a0012d181cc00721a7480049015c2c..."} 
[2026-04-26 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c6a9a0012d181cc00721a7480049015c2c..."} 
[2026-04-26 13:23:47] local.INFO: Processing buffer {"connection_id":55438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c6a9a0012d181cc00721a7480049015c2c..."} 
[2026-04-26 13:23:47] local.INFO: Packet analysis {"connection_id":55438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:23:47] local.INFO: Extracted packet for processing {"connection_id":55438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646024,"longitude_deg":75.6554944,"latitude_deg":11.9646024,"altitude":73,"angle":348,"satellites":44,"speed":9,"hex_longitude":"2d181cc0","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960628480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799364810997760,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864214528,"note":"Value kept but may cause issues"} 
[2026-04-26 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-04-26 13:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777189956000,"timestamp_ms":1777189956000,"timestamp_seconds":1777189956,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c6a9a0"} 
[2026-04-26 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-04-26 13:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-26 13:23:47] 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-04-26 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-04-26 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-04-26 13:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":55438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":55438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":55438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:23:47] 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-04-26 13:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960628480001,"66":13156,"105":206,"83":41984,"24":9,"16":114799364810997760,"45":1737545061864214528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960628480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:23:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:23:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799364810997760,"km_value":114799364810997.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864214528,"description":"Unknown IO ID 45"} 
[2026-04-26 13:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960628480001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737545061864214528}} 
[2026-04-26 13:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":55438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:23:47] local.INFO: GPS data processed {"connection_id":55438,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:23:47] local.INFO: Acknowledgment sent {"connection_id":55438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:23:51] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:23:51] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:23:51] local.INFO: Packet analysis {"connection_id":54710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:23:51] local.INFO: Extracted packet for processing {"connection_id":54710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:23:51] 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-04-26 13: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-04-26 13:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:23: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-04-26 13:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:23:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:23:51] local.INFO: GPS data processed {"connection_id":54710,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:23:51] local.INFO: Acknowledgment sent {"connection_id":54710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:24:12] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:24:12] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:24:12] local.INFO: IMEI packet received {"connection_id":54772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":54772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:24:14] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:24:14] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:24:14] local.INFO: IMEI packet received {"connection_id":54511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":54511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:24:17] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:24:17] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:24:17] local.INFO: IMEI packet received {"connection_id":54772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":54772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:24:18] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c6ad88012d181cc00721a868004a00082b..."} 
[2026-04-26 13:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c6ad88012d181cc00721a868004a00082b..."} 
[2026-04-26 13:24:18] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c6ad88012d181cc00721a868004a00082b..."} 
[2026-04-26 13:24:18] local.INFO: Packet analysis {"connection_id":54772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:24:18] local.INFO: Extracted packet for processing {"connection_id":54772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646312,"longitude_deg":75.6554944,"latitude_deg":11.9646312,"altitude":74,"angle":8,"satellites":43,"speed":13,"hex_longitude":"2d181cc0","hex_latitude":"0721a868","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960628736001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799377695899648,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120083968,"note":"Value kept but may cause issues"} 
[2026-04-26 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-04-26 13:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777189957000,"timestamp_ms":1777189957000,"timestamp_seconds":1777189957,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c6ad88"} 
[2026-04-26 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-04-26 13:24:18] 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-04-26 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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-26 13:24:18] 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-04-26 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-04-26 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-04-26 13:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:24:18] 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-04-26 13:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960628736001,"66":13080,"105":206,"83":41984,"24":13,"16":114799377695899648,"45":1737474693120083968},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960628736001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:24:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799377695899648,"km_value":114799377695899.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120083968,"description":"Unknown IO ID 45"} 
[2026-04-26 13:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960628736001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737474693120083968}} 
[2026-04-26 13:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":54772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:24:18] local.INFO: GPS data processed {"connection_id":54772,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:24:18] local.INFO: Acknowledgment sent {"connection_id":54772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:24:19] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:24:19] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:24:19] local.INFO: IMEI packet received {"connection_id":54511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:24:20] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:24:20] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:24:20] local.INFO: Packet analysis {"connection_id":54511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:24:20] local.INFO: Extracted packet for processing {"connection_id":54511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:24:20] 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-04-26 13: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-04-26 13:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:24: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-04-26 13:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:24:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:24:20] local.INFO: GPS data processed {"connection_id":54511,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:24:20] local.INFO: Acknowledgment sent {"connection_id":54511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:24:49] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c6b170012d181d400721a9a8004a001b2d..."} 
[2026-04-26 13:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c6b170012d181d400721a9a8004a001b2d..."} 
[2026-04-26 13:24:49] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c6b170012d181d400721a9a8004a001b2d..."} 
[2026-04-26 13:24:49] local.INFO: Packet analysis {"connection_id":54772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:24:49] local.INFO: Extracted packet for processing {"connection_id":54772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119646632,"longitude_deg":75.6555072,"latitude_deg":11.9646632,"altitude":74,"angle":27,"satellites":45,"speed":14,"hex_longitude":"2d181d40","hex_latitude":"0721a9a8","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960628992001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799394875768832,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120157696,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777189958000,"timestamp_ms":1777189958000,"timestamp_seconds":1777189958,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c6b170"} 
[2026-04-26 13:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:24:49] 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-04-26 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:24:49] 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-04-26 13: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-04-26 13:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:24:49] 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-04-26 13:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960628992001,"66":13080,"105":206,"83":41984,"24":14,"16":114799394875768832,"45":1737474693120157696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960628992001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:24:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799394875768832,"km_value":114799394875768.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120157696,"description":"Unknown IO ID 45"} 
[2026-04-26 13:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960628992001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737474693120157696}} 
[2026-04-26 13:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":54772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:24:49] local.INFO: GPS data processed {"connection_id":54772,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:24:49] local.INFO: Acknowledgment sent {"connection_id":54772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:24:51] local.INFO: TCP Data received {"connection_id":54511,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:24:51] local.INFO: Processing buffer {"connection_id":54511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:24:51] local.INFO: Packet analysis {"connection_id":54511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:24:51] local.INFO: Extracted packet for processing {"connection_id":54511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:24:51] 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-04-26 13: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-04-26 13:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:24: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-04-26 13:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:24:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:24:51] local.INFO: GPS data processed {"connection_id":54511,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:24:51] local.INFO: Acknowledgment sent {"connection_id":54511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:25:12] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:25:12] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:25:12] local.INFO: IMEI packet received {"connection_id":54512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":54512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:25:17] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:25:17] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:25:17] local.INFO: IMEI packet received {"connection_id":54512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":54512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:25:18] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c6ccc8012d1822400721b1c0004a00072e..."} 
[2026-04-26 13:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c6ccc8012d1822400721b1c0004a00072e..."} 
[2026-04-26 13:25:18] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c6ccc8012d1822400721b1c0004a00072e..."} 
[2026-04-26 13:25:18] local.INFO: Packet analysis {"connection_id":54512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:25:18] local.INFO: Extracted packet for processing {"connection_id":54512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c6"} 
[2026-04-26 13:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119648704,"longitude_deg":75.6556352,"latitude_deg":11.9648704,"altitude":74,"angle":7,"satellites":46,"speed":6,"hex_longitude":"2d182240","hex_latitude":"0721b1c0","is_valid_coordinates":true} 
[2026-04-26 13:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960629248001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799510839885824,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608594944,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25: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-04-26 13:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777189965000,"timestamp_ms":1777189965000,"timestamp_seconds":1777189965,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c6ccc8"} 
[2026-04-26 13:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:25:18] 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-04-26 13:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:25: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-04-26 13:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:25:18] 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-04-26 13:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960629248001,"66":13167,"105":206,"83":41984,"24":6,"16":114799510839885824,"45":1737615430608594944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960629248001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:25:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799510839885824,"km_value":114799510839885.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608594944,"description":"Unknown IO ID 45"} 
[2026-04-26 13:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960629248001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737615430608594944}} 
[2026-04-26 13:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":54512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:25:18] local.INFO: GPS data processed {"connection_id":54512,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:25:18] local.INFO: Acknowledgment sent {"connection_id":54512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:25:19] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:25:19] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:25:19] local.INFO: IMEI packet received {"connection_id":54712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":54712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:25:24] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:25:24] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:25:24] local.INFO: IMEI packet received {"connection_id":54712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":54712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:25:25] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:25:25] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:25:25] local.INFO: Packet analysis {"connection_id":54712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:25:25] local.INFO: Extracted packet for processing {"connection_id":54712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:25:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:25:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:25:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:25:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:25:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:25:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":54712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:25:25] local.INFO: GPS data processed {"connection_id":54712,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:25:25] local.INFO: Acknowledgment sent {"connection_id":54712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:25:29] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:25:29] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c46398012cb299c007822ce0004900122f..."} 
[2026-04-26 13:25:29] local.INFO: Packet analysis {"connection_id":54712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:25:29] local.INFO: Extracted packet for processing {"connection_id":54712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c4"} 
[2026-04-26 13:25:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960513536001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777189807000,"timestamp_ms":1777189807000,"timestamp_seconds":1777189807,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c46398"} 
[2026-04-26 13:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:25:29] 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-04-26 13: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-04-26 13:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:25:29] 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-04-26 13:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960513536001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960513536001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:25:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960513536001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":54712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:25:29] local.INFO: GPS data processed {"connection_id":54712,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:25:29] local.INFO: Acknowledgment sent {"connection_id":54712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:25:49] local.INFO: TCP Data received {"connection_id":54512,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c71ed0012d1820400721b148004900072f..."} 
[2026-04-26 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c71ed0012d1820400721b148004900072f..."} 
[2026-04-26 13:25:49] local.INFO: Processing buffer {"connection_id":54512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c71ed0012d1820400721b148004900072f..."} 
[2026-04-26 13:25:49] local.INFO: Packet analysis {"connection_id":54512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c7"} 
[2026-04-26 13:25:49] local.INFO: Extracted packet for processing {"connection_id":54512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c7"} 
[2026-04-26 13:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960631040001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492678656,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777189986000,"timestamp_ms":1777189986000,"timestamp_seconds":1777189986,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c71ed0"} 
[2026-04-26 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-04-26 13:25:49] 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-04-26 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-26 13:25:49] 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-04-26 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-04-26 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-04-26 13:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:25:49] 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-04-26 13:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960631040001,"66":13091,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1739022805492678656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960631040001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:25:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492678656,"description":"Unknown IO ID 45"} 
[2026-04-26 13:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960631040001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492678656}} 
[2026-04-26 13:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":54512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:25:49] local.INFO: GPS data processed {"connection_id":54512,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:25:49] local.INFO: Acknowledgment sent {"connection_id":54512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:26:12] local.INFO: TCP Data received {"connection_id":55441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:26:12] local.INFO: Processing buffer {"connection_id":55441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:26:12] local.INFO: IMEI packet received {"connection_id":55441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":55441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:26:14] local.INFO: TCP Data received {"connection_id":55440,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:26:14] local.INFO: Processing buffer {"connection_id":55440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:26:14] local.INFO: IMEI packet received {"connection_id":55440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":55440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:26:17] local.INFO: TCP Data received {"connection_id":55441,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:26:17] local.INFO: Processing buffer {"connection_id":55441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:26:17] local.INFO: IMEI packet received {"connection_id":55441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":55441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:26:18] local.INFO: TCP Data received {"connection_id":55441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c770d8012d1820400721b148004900072c..."} 
[2026-04-26 13:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c770d8012d1820400721b148004900072c..."} 
[2026-04-26 13:26:18] local.INFO: Processing buffer {"connection_id":55441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c770d8012d1820400721b148004900072c..."} 
[2026-04-26 13:26:18] local.INFO: Packet analysis {"connection_id":55441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c7"} 
[2026-04-26 13:26:18] local.INFO: Extracted packet for processing {"connection_id":55441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c7"} 
[2026-04-26 13:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960636416001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26: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-04-26 13:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190007000,"timestamp_ms":1777190007000,"timestamp_seconds":1777190007,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c770d8"} 
[2026-04-26 13:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:26:18] 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-04-26 13:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-26 13:26: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-04-26 13:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:26:18] 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-04-26 13:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960636416001,"66":12939,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960636416001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:26:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960636416001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":55441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:26:18] local.INFO: GPS data processed {"connection_id":55441,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:26:18] local.INFO: Acknowledgment sent {"connection_id":55441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:26:22] local.INFO: TCP Data received {"connection_id":55440,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:26:22] local.INFO: Processing buffer {"connection_id":55440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:26:22] local.INFO: IMEI packet received {"connection_id":55440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":55440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:26:23] local.INFO: TCP Data received {"connection_id":55440,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:26:23] local.INFO: Processing buffer {"connection_id":55440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:26:23] local.INFO: Packet analysis {"connection_id":55440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:26:23] local.INFO: Extracted packet for processing {"connection_id":55440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:26:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:26:23] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:26:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:26:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":55440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:26:23] local.INFO: GPS data processed {"connection_id":55440,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:26:23] local.INFO: Acknowledgment sent {"connection_id":55440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:26:49] local.INFO: TCP Data received {"connection_id":55441,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c7c2e0012d1820400721b148004900072d..."} 
[2026-04-26 13:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c7c2e0012d1820400721b148004900072d..."} 
[2026-04-26 13:26:49] local.INFO: Processing buffer {"connection_id":55441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c7c2e0012d1820400721b148004900072d..."} 
[2026-04-26 13:26:49] local.INFO: Packet analysis {"connection_id":55441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c7"} 
[2026-04-26 13:26:49] local.INFO: Extracted packet for processing {"connection_id":55441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c7"} 
[2026-04-26 13:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:26: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-04-26 13:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960641792001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26: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-04-26 13:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190028000,"timestamp_ms":1777190028000,"timestamp_seconds":1777190028,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c7c2e0"} 
[2026-04-26 13:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:26:49] 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-04-26 13:26: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":139,"data_length":795,"current_offset":136} 
[2026-04-26 13:26:49] 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-04-26 13:26: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-04-26 13:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:26:49] 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-04-26 13:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960641792001,"66":13015,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960641792001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:26:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960641792001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":55441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:26:50] local.INFO: GPS data processed {"connection_id":55441,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:26:50] local.INFO: Acknowledgment sent {"connection_id":55441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:26:54] local.INFO: TCP Data received {"connection_id":55440,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:26:54] local.INFO: Processing buffer {"connection_id":55440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:26:54] local.INFO: Packet analysis {"connection_id":55440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:26:54] local.INFO: Extracted packet for processing {"connection_id":55440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:26:54] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:26:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:26:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:26:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:26:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:26:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:26:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:26:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:26:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:26:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:26:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:26:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:26:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:26:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:26:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:26:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:26:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:26:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:26:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:26:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:26:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:26:54] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:26:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:26:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:26:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:26:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":55440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:26:54] local.INFO: GPS data processed {"connection_id":55440,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:26:54] local.INFO: Acknowledgment sent {"connection_id":55440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:27:12] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:12] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:12] local.INFO: IMEI packet received {"connection_id":54774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":54774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:27:14] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:27:14] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:27:14] local.INFO: IMEI packet received {"connection_id":54773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:27:14] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:14] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:14] local.INFO: IMEI packet received {"connection_id":54774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:27:17] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:17] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:27:17] local.INFO: IMEI packet received {"connection_id":54774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":54774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:27:18] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c814e8012d1820400721b148004900072c..."} 
[2026-04-26 13:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c814e8012d1820400721b148004900072c..."} 
[2026-04-26 13:27:18] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c814e8012d1820400721b148004900072c..."} 
[2026-04-26 13:27:18] local.INFO: Packet analysis {"connection_id":54774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:18] local.INFO: Extracted packet for processing {"connection_id":54774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960647168001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27: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-04-26 13:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190049000,"timestamp_ms":1777190049000,"timestamp_seconds":1777190049,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c814e8"} 
[2026-04-26 13:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:27:18] 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-04-26 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 13:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:27:18] 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-04-26 13:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960647168001,"66":13015,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960647168001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:27:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960647168001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":54774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:27:18] local.INFO: GPS data processed {"connection_id":54774,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:27:18] local.INFO: Acknowledgment sent {"connection_id":54774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:27:19] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:27:19] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:27:19] local.INFO: IMEI packet received {"connection_id":54773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":54773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:27:20] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:27:20] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:27:20] local.INFO: Packet analysis {"connection_id":54773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:20] local.INFO: Extracted packet for processing {"connection_id":54773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:27: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-04-26 13:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:27: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-04-26 13:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:27:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":54773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:27:20] local.INFO: GPS data processed {"connection_id":54773,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:27:20] local.INFO: Acknowledgment sent {"connection_id":54773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:27:45] local.INFO: TCP Data received {"connection_id":54775,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:27:45] local.INFO: Processing buffer {"connection_id":54775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:27:45] local.INFO: IMEI packet received {"connection_id":54775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":54775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:27:49] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c866f0012d1820400721b148004900072a..."} 
[2026-04-26 13:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c866f0012d1820400721b148004900072a..."} 
[2026-04-26 13:27:49] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c866f0012d1820400721b148004900072a..."} 
[2026-04-26 13:27:49] local.INFO: Packet analysis {"connection_id":54774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:49] local.INFO: Extracted packet for processing {"connection_id":54774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960652544001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27: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-04-26 13:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190070000,"timestamp_ms":1777190070000,"timestamp_seconds":1777190070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c866f0"} 
[2026-04-26 13:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:27:49] 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-04-26 13:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 13:27: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-04-26 13:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:27:49] 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-04-26 13:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960652544001,"66":12972,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960652544001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:27:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960652544001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":54774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:27:49] local.INFO: GPS data processed {"connection_id":54774,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:27:49] local.INFO: Acknowledgment sent {"connection_id":54774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:27:51] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:27:51] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:27:51] local.INFO: Packet analysis {"connection_id":54773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:51] local.INFO: Extracted packet for processing {"connection_id":54773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:27: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-04-26 13: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-04-26 13:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:27: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-04-26 13:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:27:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:27:51] local.INFO: GPS data processed {"connection_id":54773,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:27:51] local.INFO: Acknowledgment sent {"connection_id":54773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:28:14] local.INFO: TCP Data received {"connection_id":55443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:28:14] local.INFO: Processing buffer {"connection_id":55443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:28:14] local.INFO: IMEI packet received {"connection_id":55443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":55443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:28:17] local.INFO: TCP Data received {"connection_id":55442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:28:17] local.INFO: Processing buffer {"connection_id":55442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:28:17] local.INFO: IMEI packet received {"connection_id":55442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":55442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:28:18] local.INFO: TCP Data received {"connection_id":55442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:28:18] local.INFO: Processing buffer {"connection_id":55442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:28:18] local.INFO: IMEI packet received {"connection_id":55442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":55442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:28:18] local.INFO: TCP Data received {"connection_id":55442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8b8f8012d1820400721b148004900072c..."} 
[2026-04-26 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8b8f8012d1820400721b148004900072c..."} 
[2026-04-26 13:28:18] local.INFO: Processing buffer {"connection_id":55442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8b8f8012d1820400721b148004900072c..."} 
[2026-04-26 13:28:18] local.INFO: Packet analysis {"connection_id":55442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:28:18] local.INFO: Extracted packet for processing {"connection_id":55442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960657920001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28: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-04-26 13:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190091000,"timestamp_ms":1777190091000,"timestamp_seconds":1777190091,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8b8f8"} 
[2026-04-26 13:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:28:18] 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-04-26 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 13:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:28:18] 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-04-26 13:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960657920001,"66":12950,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960657920001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:28:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960657920001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":55442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:28:19] local.INFO: GPS data processed {"connection_id":55442,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:28:19] local.INFO: Acknowledgment sent {"connection_id":55442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:28:19] local.INFO: TCP Data received {"connection_id":55443,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:28:19] local.INFO: Processing buffer {"connection_id":55443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:28:19] local.INFO: IMEI packet received {"connection_id":55443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":55443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:28:20] local.INFO: TCP Data received {"connection_id":55443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:28:20] local.INFO: Processing buffer {"connection_id":55443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:28:20] local.INFO: Packet analysis {"connection_id":55443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:28:20] local.INFO: Extracted packet for processing {"connection_id":55443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:28: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-04-26 13: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-04-26 13:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:28:20] 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-04-26 13:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:28:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":55443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:28:20] local.INFO: GPS data processed {"connection_id":55443,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:28:20] local.INFO: Acknowledgment sent {"connection_id":55443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:28:23] local.INFO: TCP Data received {"connection_id":55442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c90b00012d1820400721b148004900072e..."} 
[2026-04-26 13:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c90b00012d1820400721b148004900072e..."} 
[2026-04-26 13:28:23] local.INFO: Processing buffer {"connection_id":55442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c90b00012d1820400721b148004900072e..."} 
[2026-04-26 13:28:23] local.INFO: Packet analysis {"connection_id":55442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c9"} 
[2026-04-26 13:28:23] local.INFO: Extracted packet for processing {"connection_id":55442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c9"} 
[2026-04-26 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960663296001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28: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-04-26 13:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777190112000,"timestamp_ms":1777190112000,"timestamp_seconds":1777190112,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c90b00"} 
[2026-04-26 13:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:28:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 13:28:23] 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-04-26 13:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960663296001,"66":12917,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960663296001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:28:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:28:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960663296001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":55442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:28:23] local.INFO: GPS data processed {"connection_id":55442,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:28:23] local.INFO: Acknowledgment sent {"connection_id":55442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:28:51] local.INFO: TCP Data received {"connection_id":55443,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:28:51] local.INFO: Processing buffer {"connection_id":55443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:28:51] local.INFO: Packet analysis {"connection_id":55443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:28:51] local.INFO: Extracted packet for processing {"connection_id":55443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:28:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":55443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:28:51] local.INFO: GPS data processed {"connection_id":55443,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:28:51] local.INFO: Acknowledgment sent {"connection_id":55443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:28:54] local.INFO: TCP Data received {"connection_id":55442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c95d08012d1820400721b148004900072d..."} 
[2026-04-26 13:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c95d08012d1820400721b148004900072d..."} 
[2026-04-26 13:28:54] local.INFO: Processing buffer {"connection_id":55442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c95d08012d1820400721b148004900072d..."} 
[2026-04-26 13:28:54] local.INFO: Packet analysis {"connection_id":55442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c9"} 
[2026-04-26 13:28:54] local.INFO: Extracted packet for processing {"connection_id":55442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c9"} 
[2026-04-26 13:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960668672001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:28: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-04-26 13:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777190133000,"timestamp_ms":1777190133000,"timestamp_seconds":1777190133,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c95d08"} 
[2026-04-26 13:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:28: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-04-26 13:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-26 13:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:28:54] 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-04-26 13:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960668672001,"66":12885,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960668672001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:28:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:28:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960668672001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":55442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:28:54] local.INFO: GPS data processed {"connection_id":55442,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:28:54] local.INFO: Acknowledgment sent {"connection_id":55442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:29:19] local.INFO: TCP Data received {"connection_id":54514,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:29:19] local.INFO: Processing buffer {"connection_id":54514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:29:19] local.INFO: IMEI packet received {"connection_id":54514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":54514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:29:24] local.INFO: TCP Data received {"connection_id":54514,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:29:24] local.INFO: Processing buffer {"connection_id":54514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:29:24] local.INFO: IMEI packet received {"connection_id":54514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":54514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:29:25] local.INFO: TCP Data received {"connection_id":54514,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:29:25] local.INFO: Processing buffer {"connection_id":54514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:29:25] local.INFO: Packet analysis {"connection_id":54514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:29:25] local.INFO: Extracted packet for processing {"connection_id":54514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:29:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:29:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:29:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":54514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:29:25] local.INFO: GPS data processed {"connection_id":54514,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:29:25] local.INFO: Acknowledgment sent {"connection_id":54514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:29:29] local.INFO: TCP Data received {"connection_id":54514,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:29:29] local.INFO: Processing buffer {"connection_id":54514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:29:29] local.INFO: Packet analysis {"connection_id":54514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:29:29] local.INFO: Extracted packet for processing {"connection_id":54514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:29:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:29:29] 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-04-26 13:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:29:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":54514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:29:29] local.INFO: GPS data processed {"connection_id":54514,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:29:29] local.INFO: Acknowledgment sent {"connection_id":54514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:29:41] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:41] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:41] local.INFO: IMEI packet received {"connection_id":54776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":54776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:29:42] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:42] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:42] local.INFO: IMEI packet received {"connection_id":54776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":54776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:29:47] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:47] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:29:47] local.INFO: IMEI packet received {"connection_id":54776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":54776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:29:48] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c9af10012d1820400721b148004900072f..."} 
[2026-04-26 13:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c9af10012d1820400721b148004900072f..."} 
[2026-04-26 13:29:48] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c9af10012d1820400721b148004900072f..."} 
[2026-04-26 13:29:48] local.INFO: Packet analysis {"connection_id":54776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c9"} 
[2026-04-26 13:29:48] local.INFO: Extracted packet for processing {"connection_id":54776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c9"} 
[2026-04-26 13:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960674048001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:29: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-04-26 13:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777190154000,"timestamp_ms":1777190154000,"timestamp_seconds":1777190154,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c9af10"} 
[2026-04-26 13:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:29:48] 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-04-26 13: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 13:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:29:48] 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-04-26 13:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960674048001,"66":12885,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960674048001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:29:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:29:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960674048001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":54776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:29:48] local.INFO: GPS data processed {"connection_id":54776,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:29:48] local.INFO: Acknowledgment sent {"connection_id":54776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:30:12] local.INFO: TCP Data received {"connection_id":54715,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:30:12] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:30:12] local.INFO: IMEI packet received {"connection_id":54715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":54715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:30:14] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:30:14] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:30:14] local.INFO: IMEI packet received {"connection_id":54515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":54515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:30:17] local.INFO: TCP Data received {"connection_id":54715,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:30:17] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:30:17] local.INFO: IMEI packet received {"connection_id":54715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":54715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:30:18] local.INFO: TCP Data received {"connection_id":54715,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ca0118012d1820400721b148004900072a..."} 
[2026-04-26 13:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ca0118012d1820400721b148004900072a..."} 
[2026-04-26 13:30:18] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ca0118012d1820400721b148004900072a..."} 
[2026-04-26 13:30:18] local.INFO: Packet analysis {"connection_id":54715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:30:18] local.INFO: Extracted packet for processing {"connection_id":54715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":42,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960679424001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30: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-04-26 13:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190175000,"timestamp_ms":1777190175000,"timestamp_seconds":1777190175,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ca0118"} 
[2026-04-26 13:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:30:18] 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-04-26 13:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 13:30:18] 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-04-26 13:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:30:18] 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-04-26 13:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960679424001,"66":12852,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960679424001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:30:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960679424001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":54715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:30:19] local.INFO: GPS data processed {"connection_id":54715,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:30:19] local.INFO: Acknowledgment sent {"connection_id":54715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:30:19] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:30:19] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:30:19] local.INFO: IMEI packet received {"connection_id":54515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":54515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:30:20] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:30:20] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8c8fb60012cb299c007822ce0004600122d..."} 
[2026-04-26 13:30:20] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:30:20] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8c8"} 
[2026-04-26 13:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":70,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960590592001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190108000,"timestamp_ms":1777190108000,"timestamp_seconds":1777190108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8c8fb60"} 
[2026-04-26 13:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:30: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-04-26 13: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-04-26 13:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:30:20] 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-04-26 13:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960590592001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960590592001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:30:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960590592001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:30:20] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:30:20] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:30:50] local.INFO: TCP Data received {"connection_id":54715,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ca5320012d1820400721b148004900072c..."} 
[2026-04-26 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ca5320012d1820400721b148004900072c..."} 
[2026-04-26 13:30:50] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ca5320012d1820400721b148004900072c..."} 
[2026-04-26 13:30:50] local.INFO: Packet analysis {"connection_id":54715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:30:50] local.INFO: Extracted packet for processing {"connection_id":54715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960684800001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30: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-04-26 13:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777190196000,"timestamp_ms":1777190196000,"timestamp_seconds":1777190196,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ca5320"} 
[2026-04-26 13:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:30: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-04-26 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 13:30:50] 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-04-26 13:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:30:50] 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-04-26 13:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960684800001,"66":12863,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960684800001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:30:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960684800001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":54715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:30:50] local.INFO: GPS data processed {"connection_id":54715,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:30:50] local.INFO: Acknowledgment sent {"connection_id":54715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:30:51] local.INFO: TCP Data received {"connection_id":54515,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:30:51] local.INFO: Processing buffer {"connection_id":54515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:30:51] local.INFO: Packet analysis {"connection_id":54515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:30:51] local.INFO: Extracted packet for processing {"connection_id":54515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:30:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":54515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:30:51] local.INFO: GPS data processed {"connection_id":54515,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:30:51] local.INFO: Acknowledgment sent {"connection_id":54515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:31:14] local.INFO: TCP Data received {"connection_id":54777,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:31:14] local.INFO: Processing buffer {"connection_id":54777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:31:14] local.INFO: IMEI packet received {"connection_id":54777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":54777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:31:17] local.INFO: TCP Data received {"connection_id":54516,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:31:17] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:31:17] local.INFO: IMEI packet received {"connection_id":54516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":54516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:31:19] local.INFO: TCP Data received {"connection_id":54777,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:31:19] local.INFO: Processing buffer {"connection_id":54777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:31:19] local.INFO: IMEI packet received {"connection_id":54777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":54777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:31:20] local.INFO: TCP Data received {"connection_id":54777,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:31:20] local.INFO: Processing buffer {"connection_id":54777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:31:20] local.INFO: Packet analysis {"connection_id":54777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:31:20] local.INFO: Extracted packet for processing {"connection_id":54777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 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-04-26 13:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:31: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-04-26 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-04-26 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-04-26 13:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:31:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:31:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":54777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:31:20] local.INFO: GPS data processed {"connection_id":54777,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:31:20] local.INFO: Acknowledgment sent {"connection_id":54777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:31:22] local.INFO: TCP Data received {"connection_id":54516,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:31:22] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:31:22] local.INFO: IMEI packet received {"connection_id":54516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":54516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:31:23] local.INFO: TCP Data received {"connection_id":54516,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8caa528012d1820400721b148004900072d..."} 
[2026-04-26 13:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8caa528012d1820400721b148004900072d..."} 
[2026-04-26 13:31:23] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8caa528012d1820400721b148004900072d..."} 
[2026-04-26 13:31:23] local.INFO: Packet analysis {"connection_id":54516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:31:23] local.INFO: Extracted packet for processing {"connection_id":54516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960690176001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31: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-04-26 13:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777190217000,"timestamp_ms":1777190217000,"timestamp_seconds":1777190217,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8caa528"} 
[2026-04-26 13:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-26 13:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960690176001,"66":12841,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960690176001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:31:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960690176001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":54516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:31:23] local.INFO: GPS data processed {"connection_id":54516,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:31:23] local.INFO: Acknowledgment sent {"connection_id":54516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:31:27] local.INFO: TCP Data received {"connection_id":54516,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8caf730012d1820400721b148004900072b..."} 
[2026-04-26 13:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8caf730012d1820400721b148004900072b..."} 
[2026-04-26 13:31:27] local.INFO: Processing buffer {"connection_id":54516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8caf730012d1820400721b148004900072b..."} 
[2026-04-26 13:31:27] local.INFO: Packet analysis {"connection_id":54516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:31:27] local.INFO: Extracted packet for processing {"connection_id":54516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ca"} 
[2026-04-26 13:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648584,"longitude_deg":75.655584,"latitude_deg":11.9648584,"altitude":73,"angle":7,"satellites":43,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960695552001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799558084526080,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31: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-04-26 13:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777190238000,"timestamp_ms":1777190238000,"timestamp_seconds":1777190238,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8caf730"} 
[2026-04-26 13:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:31: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-04-26 13:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 13:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:31:27] 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-04-26 13:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960695552001,"66":12841,"105":206,"83":41984,"24":0,"16":114799558084526080,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960695552001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:31:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799558084526080,"km_value":114799558084526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960695552001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":54516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:31:27] local.INFO: GPS data processed {"connection_id":54516,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:31:27] local.INFO: Acknowledgment sent {"connection_id":54516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:31:51] local.INFO: TCP Data received {"connection_id":54777,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:31:51] local.INFO: Processing buffer {"connection_id":54777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:31:51] local.INFO: Packet analysis {"connection_id":54777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:31:51] local.INFO: Extracted packet for processing {"connection_id":54777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:31:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:31: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-04-26 13:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:31:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":54777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:31:51] local.INFO: GPS data processed {"connection_id":54777,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:31:51] local.INFO: Acknowledgment sent {"connection_id":54777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:32:12] local.INFO: TCP Data received {"connection_id":54779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:32:12] local.INFO: Processing buffer {"connection_id":54779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:32:12] local.INFO: IMEI packet received {"connection_id":54779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":54779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:32:14] local.INFO: TCP Data received {"connection_id":55445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:32:14] local.INFO: Processing buffer {"connection_id":55445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:32:14] local.INFO: IMEI packet received {"connection_id":55445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":55445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:32:14] local.INFO: TCP Data received {"connection_id":54779,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:32:14] local.INFO: Processing buffer {"connection_id":54779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:32:14] local.INFO: IMEI packet received {"connection_id":54779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:32:15] local.INFO: TCP Data received {"connection_id":54779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ce42f0012d181f400721b120004200ce2d..."} 
[2026-04-26 13:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ce42f0012d181f400721b120004200ce2d..."} 
[2026-04-26 13:32:15] local.INFO: Processing buffer {"connection_id":54779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ce42f0012d181f400721b120004200ce2d..."} 
[2026-04-26 13:32:15] local.INFO: Packet analysis {"connection_id":54779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ce"} 
[2026-04-26 13:32:15] local.INFO: Extracted packet for processing {"connection_id":54779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ce"} 
[2026-04-26 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648544,"longitude_deg":75.6555584,"latitude_deg":11.9648544,"altitude":66,"angle":206,"satellites":45,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721b120","is_valid_coordinates":true} 
[2026-04-26 13:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960754688001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799575264395264,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539226624,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777190454000,"timestamp_ms":1777190454000,"timestamp_seconds":1777190454,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ce42f0"} 
[2026-04-26 13:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 13:32: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-04-26 13:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":54779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":54779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":54779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13: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-04-26 13:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960754688001,"66":12667,"105":206,"83":41984,"24":1,"16":114799575264395264,"45":1738459855539226624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960754688001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799575264395264,"km_value":114799575264395.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539226624,"description":"Unknown IO ID 45"} 
[2026-04-26 13:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960754688001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738459855539226624}} 
[2026-04-26 13:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":54779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:32:15] local.INFO: GPS data processed {"connection_id":54779,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:32:15] local.INFO: Acknowledgment sent {"connection_id":54779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:32:19] local.INFO: TCP Data received {"connection_id":55445,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:32:19] local.INFO: Processing buffer {"connection_id":55445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:32:19] local.INFO: IMEI packet received {"connection_id":55445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":55445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:32:20] local.INFO: TCP Data received {"connection_id":55445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:32:20] local.INFO: Processing buffer {"connection_id":55445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:32:20] local.INFO: Packet analysis {"connection_id":55445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:32:20] local.INFO: Extracted packet for processing {"connection_id":55445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:32: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-04-26 13: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-04-26 13:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:32: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-04-26 13:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:32:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":55445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:32:20] local.INFO: GPS data processed {"connection_id":55445,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:32:20] local.INFO: Acknowledgment sent {"connection_id":55445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:32:46] local.INFO: TCP Data received {"connection_id":54779,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ce94f8012d181e800721b040004300d12b..."} 
[2026-04-26 13:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ce94f8012d181e800721b040004300d12b..."} 
[2026-04-26 13:32:46] local.INFO: Processing buffer {"connection_id":54779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ce94f8012d181e800721b040004300d12b..."} 
[2026-04-26 13:32:46] local.INFO: Packet analysis {"connection_id":54779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ce"} 
[2026-04-26 13:32:46] local.INFO: Extracted packet for processing {"connection_id":54779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ce"} 
[2026-04-26 13:32:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960756224001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562505728,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777190475000,"timestamp_ms":1777190475000,"timestamp_seconds":1777190475,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ce94f8"} 
[2026-04-26 13:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:32: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-04-26 13:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 13:32: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-04-26 13:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13: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-04-26 13:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960756224001,"66":12667,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1738178380562505728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960756224001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:32:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:32:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562505728,"description":"Unknown IO ID 45"} 
[2026-04-26 13:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960756224001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562505728}} 
[2026-04-26 13:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":54779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:32:46] local.INFO: GPS data processed {"connection_id":54779,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:32:46] local.INFO: Acknowledgment sent {"connection_id":54779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:32:51] local.INFO: TCP Data received {"connection_id":55445,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:32:51] local.INFO: Processing buffer {"connection_id":55445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:32:51] local.INFO: Packet analysis {"connection_id":55445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:32:51] local.INFO: Extracted packet for processing {"connection_id":55445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:32: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-04-26 13:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:32:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":55445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:32:51] local.INFO: GPS data processed {"connection_id":55445,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:32:51] local.INFO: Acknowledgment sent {"connection_id":55445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:33:12] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:33:12] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:33:12] local.INFO: IMEI packet received {"connection_id":54517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":54517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:33:14] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:33:14] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:33:14] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:33:15] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:33:15] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:33:15] local.INFO: IMEI packet received {"connection_id":54780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:33:17] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:33:17] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:33:17] local.INFO: IMEI packet received {"connection_id":54517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":54517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:33:18] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cee700012d181e800721b040004300d12c..."} 
[2026-04-26 13:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cee700012d181e800721b040004300d12c..."} 
[2026-04-26 13:33:18] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cee700012d181e800721b040004300d12c..."} 
[2026-04-26 13:33:18] local.INFO: Packet analysis {"connection_id":54517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ce"} 
[2026-04-26 13:33:18] local.INFO: Extracted packet for processing {"connection_id":54517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ce"} 
[2026-04-26 13:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960761600001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33: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-04-26 13:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190496000,"timestamp_ms":1777190496000,"timestamp_seconds":1777190496,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cee700"} 
[2026-04-26 13:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:33:18] 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-04-26 13: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 13:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:33:18] 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-04-26 13:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960761600001,"66":12645,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960761600001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:33:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960761600001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":54517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:33:18] local.INFO: GPS data processed {"connection_id":54517,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:33:18] local.INFO: Acknowledgment sent {"connection_id":54517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:33:19] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:33:19] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:33:19] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:33:20] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:33:20] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:33:20] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:33:20] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:33: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-04-26 13: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-04-26 13:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:33: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-04-26 13:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:33:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:33:20] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:33:20] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:33:41] local.INFO: TCP Data received {"connection_id":54781,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:33:41] local.INFO: Processing buffer {"connection_id":54781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:33:41] local.INFO: IMEI packet received {"connection_id":54781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":54781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:33:49] local.INFO: TCP Data received {"connection_id":54517,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cf3908012d181e800721b040004300d12d..."} 
[2026-04-26 13:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cf3908012d181e800721b040004300d12d..."} 
[2026-04-26 13:33:49] local.INFO: Processing buffer {"connection_id":54517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cf3908012d181e800721b040004300d12d..."} 
[2026-04-26 13:33:49] local.INFO: Packet analysis {"connection_id":54517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cf"} 
[2026-04-26 13:33:49] local.INFO: Extracted packet for processing {"connection_id":54517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cf"} 
[2026-04-26 13:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960766976001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33: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-04-26 13:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190517000,"timestamp_ms":1777190517000,"timestamp_seconds":1777190517,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cf3908"} 
[2026-04-26 13:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:33:49] 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-04-26 13: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":101,"data_length":795,"current_offset":136} 
[2026-04-26 13:33:49] 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-04-26 13: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-04-26 13:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:33:49] 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-04-26 13:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960766976001,"66":12667,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960766976001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:33:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960766976001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":54517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:33:49] local.INFO: GPS data processed {"connection_id":54517,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:33:49] local.INFO: Acknowledgment sent {"connection_id":54517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:33:51] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:33:51] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:33:51] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:33:51] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:33: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-04-26 13:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:33: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-04-26 13:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:33:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:33:51] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:33:51] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:34:12] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:34:12] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:34:12] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:34:14] local.INFO: TCP Data received {"connection_id":55446,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:34:14] local.INFO: Processing buffer {"connection_id":55446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:34:14] local.INFO: IMEI packet received {"connection_id":55446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":55446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:34:17] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:34:17] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:34:17] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:34:18] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cf8b10012d181e800721b040004300d12c..."} 
[2026-04-26 13:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cf8b10012d181e800721b040004300d12c..."} 
[2026-04-26 13:34:18] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cf8b10012d181e800721b040004300d12c..."} 
[2026-04-26 13:34:18] local.INFO: Packet analysis {"connection_id":54782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cf"} 
[2026-04-26 13:34:18] local.INFO: Extracted packet for processing {"connection_id":54782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cf"} 
[2026-04-26 13:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960772352001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34: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-04-26 13:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190538000,"timestamp_ms":1777190538000,"timestamp_seconds":1777190538,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cf8b10"} 
[2026-04-26 13:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:34:18] 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-04-26 13:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 13:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:34:18] 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-04-26 13:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960772352001,"66":12613,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960772352001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:34:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960772352001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":54782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:34:18] local.INFO: GPS data processed {"connection_id":54782,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:34:18] local.INFO: Acknowledgment sent {"connection_id":54782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:34:19] local.INFO: TCP Data received {"connection_id":55446,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:34:19] local.INFO: Processing buffer {"connection_id":55446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:34:19] local.INFO: IMEI packet received {"connection_id":55446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":55446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:34:20] local.INFO: TCP Data received {"connection_id":55446,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:34:20] local.INFO: Processing buffer {"connection_id":55446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:34:20] local.INFO: Packet analysis {"connection_id":55446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:34:20] local.INFO: Extracted packet for processing {"connection_id":55446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:34: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-04-26 13: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-04-26 13:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:34:20] 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-04-26 13:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:34:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:34:20] local.INFO: GPS data processed {"connection_id":55446,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:34:20] local.INFO: Acknowledgment sent {"connection_id":55446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:34:49] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cfdd18012d181e800721b040004300d12d..."} 
[2026-04-26 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cfdd18012d181e800721b040004300d12d..."} 
[2026-04-26 13:34:49] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cfdd18012d181e800721b040004300d12d..."} 
[2026-04-26 13:34:49] local.INFO: Packet analysis {"connection_id":54782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cf"} 
[2026-04-26 13:34:49] local.INFO: Extracted packet for processing {"connection_id":54782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cf"} 
[2026-04-26 13:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960777728001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190559000,"timestamp_ms":1777190559000,"timestamp_seconds":1777190559,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cfdd18"} 
[2026-04-26 13:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:34:49] 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-04-26 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 13:34:49] 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-04-26 13: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-04-26 13:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:34:49] 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-04-26 13:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960777728001,"66":12548,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960777728001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:34:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960777728001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":54782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:34:49] local.INFO: GPS data processed {"connection_id":54782,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:34:49] local.INFO: Acknowledgment sent {"connection_id":54782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:34:51] local.INFO: TCP Data received {"connection_id":55446,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:34:51] local.INFO: Processing buffer {"connection_id":55446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:34:51] local.INFO: Packet analysis {"connection_id":55446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:34:51] local.INFO: Extracted packet for processing {"connection_id":55446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:34: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-04-26 13:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:34:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:34:51] local.INFO: GPS data processed {"connection_id":55446,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:34:51] local.INFO: Acknowledgment sent {"connection_id":55446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:35:12] local.INFO: TCP Data received {"connection_id":55447,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:35:12] local.INFO: Processing buffer {"connection_id":55447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:35:12] local.INFO: IMEI packet received {"connection_id":55447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":55447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:35:17] local.INFO: TCP Data received {"connection_id":55447,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:35:17] local.INFO: Processing buffer {"connection_id":55447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:35:17] local.INFO: IMEI packet received {"connection_id":55447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":55447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:35:19] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:35:19] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:35:19] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:35:20] local.INFO: TCP Data received {"connection_id":55447,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d02f20012d181e800721b040004300d12d..."} 
[2026-04-26 13:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d02f20012d181e800721b040004300d12d..."} 
[2026-04-26 13:35:20] local.INFO: Processing buffer {"connection_id":55447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d02f20012d181e800721b040004300d12d..."} 
[2026-04-26 13:35:20] local.INFO: Packet analysis {"connection_id":55447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d0"} 
[2026-04-26 13:35:20] local.INFO: Extracted packet for processing {"connection_id":55447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d0"} 
[2026-04-26 13:35:20] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960783104001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190580000,"timestamp_ms":1777190580000,"timestamp_seconds":1777190580,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d02f20"} 
[2026-04-26 13:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3368954752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3465869313,"corrected_to":0} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2956984387,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3650813952,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:20] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,217,139,45,128,176,67,44,10,66,57,231,1,240,101,227,200,33,4,113,205,31,32,239,49,2,151,7,73,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":200,"original":3465869313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:35:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828088791744905216,"timestamp_seconds":4828088791744905.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:35: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-04-26 13:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960783104001,"66":12558,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960783104001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:35:20] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:35:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960783104001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":55447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:35:20] local.INFO: GPS data processed {"connection_id":55447,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:35:20] local.INFO: Acknowledgment sent {"connection_id":55447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:35:24] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:35:24] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:35:24] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:35:25] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:35:25] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:35:25] local.INFO: Packet analysis {"connection_id":54718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:35:25] local.INFO: Extracted packet for processing {"connection_id":54718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:35:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:35:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:35:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:35:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:35:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:35:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:35:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:35:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:35:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:35:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:35:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:35:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:35: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-04-26 13:35:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:35:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:35:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:35:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:35:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:35:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:35:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:35:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:35:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:35:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:35:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:35:25] local.INFO: DEBUG: GPS processor result {"connection_id":54718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:35:25] local.INFO: GPS data processed {"connection_id":54718,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:35:25] local.INFO: Acknowledgment sent {"connection_id":54718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:35:29] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:35:29] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8cd9328012cb299c007822ce0004900122c..."} 
[2026-04-26 13:35:29] local.INFO: Packet analysis {"connection_id":54718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:35:29] local.INFO: Extracted packet for processing {"connection_id":54718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8cd"} 
[2026-04-26 13:35:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960667648001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777190409000,"timestamp_ms":1777190409000,"timestamp_seconds":1777190409,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8cd9328"} 
[2026-04-26 13:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:35:29] 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-04-26 13:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960667648001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960667648001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:35:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960667648001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":54718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:35:29] local.INFO: GPS data processed {"connection_id":54718,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:35:29] local.INFO: Acknowledgment sent {"connection_id":54718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:35:51] local.INFO: TCP Data received {"connection_id":55447,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d08128012d181e800721b040004300d12c..."} 
[2026-04-26 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d08128012d181e800721b040004300d12c..."} 
[2026-04-26 13:35:51] local.INFO: Processing buffer {"connection_id":55447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d08128012d181e800721b040004300d12c..."} 
[2026-04-26 13:35:51] local.INFO: Packet analysis {"connection_id":55447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d0"} 
[2026-04-26 13:35:51] local.INFO: Extracted packet for processing {"connection_id":55447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d0"} 
[2026-04-26 13:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648320,"longitude_deg":75.6555392,"latitude_deg":11.964832,"altitude":67,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960788480001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799588149297152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35: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-04-26 13:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190601000,"timestamp_ms":1777190601000,"timestamp_seconds":1777190601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d08128"} 
[2026-04-26 13:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:35: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-04-26 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3368960752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457224,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3471245313,"corrected_to":0} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2956984387,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":148,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3651010560,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-26 13:35:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,217,221,45,128,176,67,10,66,139,44,57,1,240,123,227,200,33,4,113,205,148,30,64,43,239,49,2,151,7,106,70,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":200,"original":3471245313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:35:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828088791744905216,"timestamp_seconds":4828088791744905.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:35:51] 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-04-26 13:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960788480001,"66":12558,"105":206,"83":41984,"24":0,"16":114799588149297152,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960788480001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:35:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:35:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799588149297152,"km_value":114799588149297.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960788480001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":55447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:35:51] local.INFO: GPS data processed {"connection_id":55447,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:35:51] local.INFO: Acknowledgment sent {"connection_id":55447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:36:12] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:36:12] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:36:12] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:36:14] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:36:14] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:36:14] local.INFO: IMEI packet received {"connection_id":54784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":54784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:36:17] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:36:17] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:36:17] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:36:18] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d0d330012d181e800721af78004800d42e..."} 
[2026-04-26 13:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d0d330012d181e800721af78004800d42e..."} 
[2026-04-26 13:36:18] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d0d330012d181e800721af78004800d42e..."} 
[2026-04-26 13:36:18] local.INFO: Packet analysis {"connection_id":54785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d0"} 
[2026-04-26 13:36:18] local.INFO: Extracted packet for processing {"connection_id":54785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d0"} 
[2026-04-26 13:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960793856001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329915392,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36: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-04-26 13:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190622000,"timestamp_ms":1777190622000,"timestamp_seconds":1777190622,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d0d330"} 
[2026-04-26 13:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:36:18] 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-04-26 13:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3368981752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829408,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3476621313,"corrected_to":0} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2956984387,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3651010560,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407846914,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,217,47,45,128,176,67,10,66,221,139,1,240,69,227,200,33,4,113,205,231,30,64,44,239,49,2,151,7,106,70,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":200,"original":3476621313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:36:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828088787449937920,"timestamp_seconds":4828088787449938.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:36:18] 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-04-26 13:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960793856001,"66":12558,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329915392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960793856001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:36:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329915392,"description":"Unknown IO ID 45"} 
[2026-04-26 13:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960793856001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329915392}} 
[2026-04-26 13:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":54785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:36:18] local.INFO: GPS data processed {"connection_id":54785,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:36:18] local.INFO: Acknowledgment sent {"connection_id":54785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:36:20] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:36:20] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:36:20] local.INFO: IMEI packet received {"connection_id":54784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":54784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:36:20] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:20] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:20] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:36:20] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:36:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:36:21] 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-04-26 13: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-04-26 13:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:36: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-04-26 13:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:36:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:36:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:36:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:36:21] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:36:21] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:36:26] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:26] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:26] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:36:26] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 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-04-26 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:36:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:36:26] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:36:26] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:36:26] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:36:49] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d12538012d181e800721af78004800d42e..."} 
[2026-04-26 13:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d12538012d181e800721af78004800d42e..."} 
[2026-04-26 13:36:49] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d12538012d181e800721af78004800d42e..."} 
[2026-04-26 13:36:49] local.INFO: Packet analysis {"connection_id":54785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d1"} 
[2026-04-26 13:36:49] local.INFO: Extracted packet for processing {"connection_id":54785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d1"} 
[2026-04-26 13:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960799232001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36: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-04-26 13:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190643000,"timestamp_ms":1777190643000,"timestamp_seconds":1777190643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d12538"} 
[2026-04-26 13:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:36:49] 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-04-26 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369002752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380666372108352,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3481997313,"corrected_to":0} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2956984387,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3651010560,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,217,129,45,128,176,67,44,10,66,47,221,1,240,4,227,200,33,113,205,57,30,64,239,49,2,151,7,106,70,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":200,"original":3481997313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:36:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188380064764395520,"timestamp_seconds":5188380064764396.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:36:49] 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-04-26 13:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960799232001,"66":12580,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960799232001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:36:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960799232001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":54785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:36:49] local.INFO: GPS data processed {"connection_id":54785,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:36:49] local.INFO: Acknowledgment sent {"connection_id":54785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:36:58] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:58] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:36:58] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:36:58] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:36:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:36:58] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:36:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:36:58] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:36:58] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:37:12] local.INFO: TCP Data received {"connection_id":55451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:37:12] local.INFO: Processing buffer {"connection_id":55451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:37:12] local.INFO: IMEI packet received {"connection_id":55451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":55451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:37:14] local.INFO: TCP Data received {"connection_id":55450,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:37:14] local.INFO: Processing buffer {"connection_id":55450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:37:14] local.INFO: IMEI packet received {"connection_id":55450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":55450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:37:17] local.INFO: TCP Data received {"connection_id":55451,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:37:17] local.INFO: Processing buffer {"connection_id":55451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:37:17] local.INFO: IMEI packet received {"connection_id":55451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":55451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:37:18] local.INFO: TCP Data received {"connection_id":55451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d17740012d181e800721af78004800d42e..."} 
[2026-04-26 13:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d17740012d181e800721af78004800d42e..."} 
[2026-04-26 13:37:18] local.INFO: Processing buffer {"connection_id":55451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d17740012d181e800721af78004800d42e..."} 
[2026-04-26 13:37:18] local.INFO: Packet analysis {"connection_id":55451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d1"} 
[2026-04-26 13:37:18] local.INFO: Extracted packet for processing {"connection_id":55451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d1"} 
[2026-04-26 13:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960804608001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190664000,"timestamp_ms":1777190664000,"timestamp_seconds":1777190664,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d17740"} 
[2026-04-26 13:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:37:18] 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-04-26 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 13:37:18] 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-04-26 13: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-04-26 13:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:37:18] 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-04-26 13:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960804608001,"66":12580,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960804608001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:37:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960804608001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":55451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:37:18] local.INFO: GPS data processed {"connection_id":55451,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:37:18] local.INFO: Acknowledgment sent {"connection_id":55451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:37:19] local.INFO: TCP Data received {"connection_id":55450,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:37:19] local.INFO: Processing buffer {"connection_id":55450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:37:19] local.INFO: IMEI packet received {"connection_id":55450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":55450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:37:20] local.INFO: TCP Data received {"connection_id":55450,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:37:20] local.INFO: Processing buffer {"connection_id":55450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:37:20] local.INFO: Packet analysis {"connection_id":55450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:37:20] local.INFO: Extracted packet for processing {"connection_id":55450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13: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-04-26 13: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-04-26 13:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:37:20] 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-04-26 13:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:37:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":55450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:37:20] local.INFO: GPS data processed {"connection_id":55450,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:37:20] local.INFO: Acknowledgment sent {"connection_id":55450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:37:49] local.INFO: TCP Data received {"connection_id":55451,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d1c948012d181e800721af78004800d42c..."} 
[2026-04-26 13:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d1c948012d181e800721af78004800d42c..."} 
[2026-04-26 13:37:49] local.INFO: Processing buffer {"connection_id":55451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d1c948012d181e800721af78004800d42c..."} 
[2026-04-26 13:37:49] local.INFO: Packet analysis {"connection_id":55451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d1"} 
[2026-04-26 13:37:49] local.INFO: Extracted packet for processing {"connection_id":55451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d1"} 
[2026-04-26 13:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960809984001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190685000,"timestamp_ms":1777190685000,"timestamp_seconds":1777190685,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d1c948"} 
[2026-04-26 13:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:37:49] 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-04-26 13: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 13:37:49] 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-04-26 13: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-04-26 13:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:37:49] 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-04-26 13:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960809984001,"66":12548,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960809984001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960809984001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":55451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:37:49] local.INFO: GPS data processed {"connection_id":55451,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:37:49] local.INFO: Acknowledgment sent {"connection_id":55451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:37:51] local.INFO: TCP Data received {"connection_id":55450,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:37:51] local.INFO: Processing buffer {"connection_id":55450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:37:51] local.INFO: Packet analysis {"connection_id":55450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:37:51] local.INFO: Extracted packet for processing {"connection_id":55450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13: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-04-26 13:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:37:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":55450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:37:51] local.INFO: GPS data processed {"connection_id":55450,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:37:51] local.INFO: Acknowledgment sent {"connection_id":55450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:38:12] local.INFO: TCP Data received {"connection_id":54786,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:38:12] local.INFO: Processing buffer {"connection_id":54786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:38:12] local.INFO: IMEI packet received {"connection_id":54786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":54786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:38:14] local.INFO: TCP Data received {"connection_id":55453,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:38:14] local.INFO: Processing buffer {"connection_id":55453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:38:14] local.INFO: IMEI packet received {"connection_id":55453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":55453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:38:17] local.INFO: TCP Data received {"connection_id":54786,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:38:17] local.INFO: Processing buffer {"connection_id":54786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:38:17] local.INFO: IMEI packet received {"connection_id":54786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":54786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:38:18] local.INFO: TCP Data received {"connection_id":54786,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d21b50012d181e800721af78004800d42b..."} 
[2026-04-26 13:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d21b50012d181e800721af78004800d42b..."} 
[2026-04-26 13:38:18] local.INFO: Processing buffer {"connection_id":54786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d21b50012d181e800721af78004800d42b..."} 
[2026-04-26 13:38:18] local.INFO: Packet analysis {"connection_id":54786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:18] local.INFO: Extracted packet for processing {"connection_id":54786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960815360001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38: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-04-26 13:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190706000,"timestamp_ms":1777190706000,"timestamp_seconds":1777190706,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d21b50"} 
[2026-04-26 13:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:38:18] 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-04-26 13:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369065752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3498125313,"corrected_to":0} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2956984387,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3651010560,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,217,119,45,128,175,72,46,10,66,37,211,1,240,14,227,200,33,4,113,205,47,30,64,239,49,2,151,7,67,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":200,"original":3498125313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:38:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188380056174460928,"timestamp_seconds":5188380056174461.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:38:18] 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-04-26 13:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960815360001,"66":12548,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960815360001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:38:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960815360001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":54786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:38:18] local.INFO: GPS data processed {"connection_id":54786,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:38:18] local.INFO: Acknowledgment sent {"connection_id":54786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:38:19] local.INFO: TCP Data received {"connection_id":55453,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:38:19] local.INFO: Processing buffer {"connection_id":55453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:38:19] local.INFO: IMEI packet received {"connection_id":55453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":55453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:38:20] local.INFO: TCP Data received {"connection_id":55453,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:38:20] local.INFO: Processing buffer {"connection_id":55453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:38:20] local.INFO: Packet analysis {"connection_id":55453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:20] local.INFO: Extracted packet for processing {"connection_id":55453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 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-04-26 13:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13: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-04-26 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-04-26 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-04-26 13:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:38:20] 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-04-26 13:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:38:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":55453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:38:20] local.INFO: GPS data processed {"connection_id":55453,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:38:20] local.INFO: Acknowledgment sent {"connection_id":55453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:38:49] local.INFO: TCP Data received {"connection_id":54786,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d26d58012d181e800721af78004800d42c..."} 
[2026-04-26 13:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d26d58012d181e800721af78004800d42c..."} 
[2026-04-26 13:38:49] local.INFO: Processing buffer {"connection_id":54786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d26d58012d181e800721af78004800d42c..."} 
[2026-04-26 13:38:49] local.INFO: Packet analysis {"connection_id":54786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:49] local.INFO: Extracted packet for processing {"connection_id":54786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960820736001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38: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-04-26 13:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190727000,"timestamp_ms":1777190727000,"timestamp_seconds":1777190727,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d26d58"} 
[2026-04-26 13:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:38:49] 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-04-26 13:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369086752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3503501313,"corrected_to":0} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2943877192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951024,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3651010560,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,217,201,45,128,175,72,44,10,66,119,46,37,1,240,36,227,200,33,4,113,205,129,30,64,239,49,2,151,7,67,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":200,"original":3503501313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:38:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188380051879493632,"timestamp_seconds":5188380051879494.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:38:49] 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-04-26 13:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960820736001,"66":12548,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960820736001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:38:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960820736001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":54786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:38:49] local.INFO: GPS data processed {"connection_id":54786,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:38:49] local.INFO: Acknowledgment sent {"connection_id":54786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:38:52] local.INFO: TCP Data received {"connection_id":55453,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:38:52] local.INFO: Processing buffer {"connection_id":55453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:38:52] local.INFO: Packet analysis {"connection_id":55453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:52] local.INFO: Extracted packet for processing {"connection_id":55453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 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-04-26 13:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:38: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-04-26 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-04-26 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-04-26 13:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:38:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:38:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":55453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:38:52] local.INFO: GPS data processed {"connection_id":55453,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:38:52] local.INFO: Acknowledgment sent {"connection_id":55453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:39:10] local.INFO: TCP Data received {"connection_id":55454,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:39:10] local.INFO: Processing buffer {"connection_id":55454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:39:10] local.INFO: IMEI packet received {"connection_id":55454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":55454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:39:14] local.INFO: TCP Data received {"connection_id":55455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:39:14] local.INFO: Processing buffer {"connection_id":55455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:39:14] local.INFO: IMEI packet received {"connection_id":55455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":55455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:39:14] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:14] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:14] local.INFO: IMEI packet received {"connection_id":54787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":54787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:39:17] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:17] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:17] local.INFO: IMEI packet received {"connection_id":54787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":54787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:39:19] local.INFO: TCP Data received {"connection_id":55455,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:39:19] local.INFO: Processing buffer {"connection_id":55455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:39:19] local.INFO: IMEI packet received {"connection_id":55455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":55455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:39:20] local.INFO: TCP Data received {"connection_id":55455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:39:20] local.INFO: Processing buffer {"connection_id":55455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:39:20] local.INFO: Packet analysis {"connection_id":55455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:39:20] local.INFO: Extracted packet for processing {"connection_id":55455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13: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-04-26 13: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-04-26 13:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:39: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-04-26 13:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:39:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":55455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:39:20] local.INFO: GPS data processed {"connection_id":55455,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:39:20] local.INFO: Acknowledgment sent {"connection_id":55455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:39:22] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:22] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:39:22] local.INFO: IMEI packet received {"connection_id":54787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":54787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:39:23] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d2bf60012d181e800721af78004800d42c..."} 
[2026-04-26 13:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d2bf60012d181e800721af78004800d42c..."} 
[2026-04-26 13:39:23] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d2bf60012d181e800721af78004800d42c..."} 
[2026-04-26 13:39:23] local.INFO: Packet analysis {"connection_id":54787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:39:23] local.INFO: Extracted packet for processing {"connection_id":54787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960826112001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39: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-04-26 13:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777190748000,"timestamp_ms":1777190748000,"timestamp_seconds":1777190748,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d2bf60"} 
[2026-04-26 13:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:39: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-04-26 13:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369107752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3508877313,"corrected_to":0} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2943877192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3651207168,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,217,27,45,128,175,72,43,10,66,201,44,119,1,240,36,227,200,33,4,113,205,211,30,120,46,239,49,2,151,7,67,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":200,"original":3508877313,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 13:39:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188380056174460928,"timestamp_seconds":5188380056174461.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960826112001,"66":12537,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960826112001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:39:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960826112001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":54787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:39:23] local.INFO: GPS data processed {"connection_id":54787,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:39:23] local.INFO: Acknowledgment sent {"connection_id":54787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:39:28] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d31168012d181e800721af78004800d42d..."} 
[2026-04-26 13:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d31168012d181e800721af78004800d42d..."} 
[2026-04-26 13:39:28] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d31168012d181e800721af78004800d42d..."} 
[2026-04-26 13:39:28] local.INFO: Packet analysis {"connection_id":54787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d3"} 
[2026-04-26 13:39:28] local.INFO: Extracted packet for processing {"connection_id":54787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d3"} 
[2026-04-26 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648120,"longitude_deg":75.6555392,"latitude_deg":11.964812,"altitude":72,"angle":212,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af78","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960831488001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799601034199040,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777190769000,"timestamp_ms":1777190769000,"timestamp_seconds":1777190769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d31168"} 
[2026-04-26 13:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-26 13:39:28] 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-04-26 13: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-04-26 13:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:39:28] 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-04-26 13:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960831488001,"66":12504,"105":206,"83":41984,"24":0,"16":114799601034199040,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960831488001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:39:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:39:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799601034199040,"km_value":114799601034199.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960831488001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":54787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:39:28] local.INFO: GPS data processed {"connection_id":54787,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:39:28] local.INFO: Acknowledgment sent {"connection_id":54787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:39:40] local.INFO: TCP Data received {"connection_id":54518,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:39:40] local.INFO: Processing buffer {"connection_id":54518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:39:40] local.INFO: IMEI packet received {"connection_id":54518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":54518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:39:51] local.INFO: TCP Data received {"connection_id":55455,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:39:51] local.INFO: Processing buffer {"connection_id":55455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:39:51] local.INFO: Packet analysis {"connection_id":55455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:39:51] local.INFO: Extracted packet for processing {"connection_id":55455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13: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-04-26 13: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-04-26 13:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:39: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-04-26 13:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:39:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":55455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:39:51] local.INFO: GPS data processed {"connection_id":55455,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:39:51] local.INFO: Acknowledgment sent {"connection_id":55455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:40:12] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:40:12] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:40:12] local.INFO: IMEI packet received {"connection_id":54719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":54719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:40:14] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:40:14] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:40:14] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:40:17] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:40:17] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:40:17] local.INFO: IMEI packet received {"connection_id":54719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":54719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:40:18] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d36370012d181e800721ae50004c00cd2e..."} 
[2026-04-26 13:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d36370012d181e800721ae50004c00cd2e..."} 
[2026-04-26 13:40:18] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d36370012d181e800721ae50004c00cd2e..."} 
[2026-04-26 13:40:18] local.INFO: Packet analysis {"connection_id":54719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d3"} 
[2026-04-26 13:40:18] local.INFO: Extracted packet for processing {"connection_id":54719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d3"} 
[2026-04-26 13:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647824,"longitude_deg":75.6555392,"latitude_deg":11.9647824,"altitude":76,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae50","is_valid_coordinates":true} 
[2026-04-26 13:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960836864001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799613919100928,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329864192,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40: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-04-26 13:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190790000,"timestamp_ms":1777190790000,"timestamp_seconds":1777190790,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d36370"} 
[2026-04-26 13:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:40:18] 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-04-26 13:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 13:40:18] 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-04-26 13:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:40:18] 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-04-26 13:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960836864001,"66":12526,"105":206,"83":41984,"24":0,"16":114799613919100928,"45":1737967274329864192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960836864001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:40:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799613919100928,"km_value":114799613919100.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329864192,"description":"Unknown IO ID 45"} 
[2026-04-26 13:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960836864001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329864192}} 
[2026-04-26 13:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":54719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:40:18] local.INFO: GPS data processed {"connection_id":54719,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:40:18] local.INFO: Acknowledgment sent {"connection_id":54719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:40:19] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:40:19] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:40:19] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:40:20] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:40:20] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d22af0012cb299c007822ce0004b00122e..."} 
[2026-04-26 13:40:20] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:40:20] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d2"} 
[2026-04-26 13:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960744704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777190710000,"timestamp_ms":1777190710000,"timestamp_seconds":1777190710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d22af0"} 
[2026-04-26 13:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:40:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:40: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-04-26 13:40:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:40: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-04-26 13:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960744704001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960744704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:40:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960744704001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:40:20] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:40:20] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:40:49] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d3b578012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d3b578012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:40:49] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d3b578012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:40:49] local.INFO: Packet analysis {"connection_id":54719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d3"} 
[2026-04-26 13:40:49] local.INFO: Extracted packet for processing {"connection_id":54719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d3"} 
[2026-04-26 13:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647824,"longitude_deg":75.6555392,"latitude_deg":11.9647824,"altitude":76,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae50","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960842240001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799613919100928,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329788416,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40: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-04-26 13:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190811000,"timestamp_ms":1777190811000,"timestamp_seconds":1777190811,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d3b578"} 
[2026-04-26 13:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:40:49] 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-04-26 13: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 13:40:49] 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-04-26 13: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-04-26 13:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:40:49] 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-04-26 13:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960842240001,"66":12526,"105":206,"83":41984,"24":0,"16":114799613919100928,"45":1737967274329788416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960842240001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:40:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799613919100928,"km_value":114799613919100.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329788416,"description":"Unknown IO ID 45"} 
[2026-04-26 13:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960842240001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329788416}} 
[2026-04-26 13:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":54719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:40:49] local.INFO: GPS data processed {"connection_id":54719,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:40:49] local.INFO: Acknowledgment sent {"connection_id":54719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:40:50] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:40:50] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:40:50] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:40:50] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:40:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:40:50] 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-04-26 13:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:40:50] 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-04-26 13:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:40:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:40:50] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:40:50] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:41:12] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:41:12] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:41:12] local.INFO: IMEI packet received {"connection_id":54788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":54788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:41:17] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:41:17] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:41:17] local.INFO: IMEI packet received {"connection_id":54788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":54788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:41:18] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d40780012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d40780012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:41:18] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d40780012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:41:18] local.INFO: Packet analysis {"connection_id":54788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d4"} 
[2026-04-26 13:41:18] local.INFO: Extracted packet for processing {"connection_id":54788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d4"} 
[2026-04-26 13:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647824,"longitude_deg":75.6555392,"latitude_deg":11.9647824,"altitude":76,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae50","is_valid_coordinates":true} 
[2026-04-26 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960847616001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799613919100928,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329788416,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41: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-04-26 13:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777190832000,"timestamp_ms":1777190832000,"timestamp_seconds":1777190832,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d40780"} 
[2026-04-26 13:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:41:18] 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-04-26 13:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 13:41:18] 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-04-26 13:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:41:18] 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-04-26 13:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960847616001,"66":12461,"105":206,"83":41984,"24":0,"16":114799613919100928,"45":1737967274329788416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960847616001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:41:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799613919100928,"km_value":114799613919100.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329788416,"description":"Unknown IO ID 45"} 
[2026-04-26 13:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960847616001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329788416}} 
[2026-04-26 13:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":54788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:41:18] local.INFO: GPS data processed {"connection_id":54788,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:41:18] local.INFO: Acknowledgment sent {"connection_id":54788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:41:19] local.INFO: TCP Data received {"connection_id":55456,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:41:19] local.INFO: Processing buffer {"connection_id":55456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:41:19] local.INFO: IMEI packet received {"connection_id":55456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":55456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:41:24] local.INFO: TCP Data received {"connection_id":55456,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:41:24] local.INFO: Processing buffer {"connection_id":55456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:41:24] local.INFO: IMEI packet received {"connection_id":55456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":55456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:41:25] local.INFO: TCP Data received {"connection_id":55456,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:41:25] local.INFO: Processing buffer {"connection_id":55456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:41:25] local.INFO: Packet analysis {"connection_id":55456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:41:25] local.INFO: Extracted packet for processing {"connection_id":55456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:41: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-04-26 13:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:41:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":55456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:41:25] local.INFO: GPS data processed {"connection_id":55456,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:41:25] local.INFO: Acknowledgment sent {"connection_id":55456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:41:49] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d45988012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d45988012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:41:49] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d45988012d181e800721ae50004c00cd2c..."} 
[2026-04-26 13:41:49] local.INFO: Packet analysis {"connection_id":54788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d4"} 
[2026-04-26 13:41:49] local.INFO: Extracted packet for processing {"connection_id":54788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d4"} 
[2026-04-26 13:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647824,"longitude_deg":75.6555392,"latitude_deg":11.9647824,"altitude":76,"angle":205,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae50","is_valid_coordinates":true} 
[2026-04-26 13:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960852992001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799613919100928,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329788416,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41: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-04-26 13:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777190853000,"timestamp_ms":1777190853000,"timestamp_seconds":1777190853,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d45988"} 
[2026-04-26 13:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:41:49] 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-04-26 13:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 13:41: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-04-26 13:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:41:49] 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-04-26 13:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960852992001,"66":12504,"105":206,"83":41984,"24":0,"16":114799613919100928,"45":1737967274329788416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960852992001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:41:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799613919100928,"km_value":114799613919100.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329788416,"description":"Unknown IO ID 45"} 
[2026-04-26 13:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960852992001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329788416}} 
[2026-04-26 13:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":54788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:41:49] local.INFO: GPS data processed {"connection_id":54788,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:41:49] local.INFO: Acknowledgment sent {"connection_id":54788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:41:56] local.INFO: TCP Data received {"connection_id":55456,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:41:56] local.INFO: Processing buffer {"connection_id":55456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:41:56] local.INFO: Packet analysis {"connection_id":55456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:41:56] local.INFO: Extracted packet for processing {"connection_id":55456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:41: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-04-26 13:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:41:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:41:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":55456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:41:56] local.INFO: GPS data processed {"connection_id":55456,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:41:56] local.INFO: Acknowledgment sent {"connection_id":55456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:42:11] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:11] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:11] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:42:12] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:12] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:12] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:42:13] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:13] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:13] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:42:14] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:42:14] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:42:14] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:42:15] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:15] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:42:15] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:42:16] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d7dfe0012d181e800721ae50004c00cd2d..."} 
[2026-04-26 13:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d7dfe0012d181e800721ae50004c00cd2d..."} 
[2026-04-26 13:42:16] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d7dfe0012d181e800721ae50004c00cd2d..."} 
[2026-04-26 13:42:16] local.INFO: Packet analysis {"connection_id":54789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d7"} 
[2026-04-26 13:42:16] local.INFO: Extracted packet for processing {"connection_id":54789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d7"} 
[2026-04-26 13:42:16] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647824,"longitude_deg":75.6555392,"latitude_deg":11.9647824,"altitude":76,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae50","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960912128001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799613919100928,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329788416,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777191084000,"timestamp_ms":1777191084000,"timestamp_seconds":1777191084,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d7dfe0"} 
[2026-04-26 13:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:42: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-04-26 13:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 13:42:16] 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-04-26 13: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-04-26 13:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:42:16] 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-04-26 13:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960912128001,"66":14048,"105":206,"83":41984,"24":0,"16":114799613919100928,"45":1737967274329788416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960912128001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:42:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:42:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799613919100928,"km_value":114799613919100.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329788416,"description":"Unknown IO ID 45"} 
[2026-04-26 13:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960912128001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329788416}} 
[2026-04-26 13:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":54789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:42:16] local.INFO: GPS data processed {"connection_id":54789,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:42:16] local.INFO: Acknowledgment sent {"connection_id":54789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:42:19] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:42:19] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:42:19] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:42:20] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:42:20] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:42:20] local.INFO: Packet analysis {"connection_id":54790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:42:20] local.INFO: Extracted packet for processing {"connection_id":54790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:42: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-04-26 13: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-04-26 13:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:42: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-04-26 13:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:42:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:42:20] local.INFO: GPS data processed {"connection_id":54790,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:42:20] local.INFO: Acknowledgment sent {"connection_id":54790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:42:47] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d7fb38012d181e000721ac40004700b82e..."} 
[2026-04-26 13:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d7fb38012d181e000721ac40004700b82e..."} 
[2026-04-26 13:42:47] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d7fb38012d181e000721ac40004700b82e..."} 
[2026-04-26 13:42:47] local.INFO: Packet analysis {"connection_id":54789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d7"} 
[2026-04-26 13:42:47] local.INFO: Extracted packet for processing {"connection_id":54789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d7"} 
[2026-04-26 13:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647296,"longitude_deg":75.6555264,"latitude_deg":11.9647296,"altitude":71,"angle":184,"satellites":46,"speed":2,"hex_longitude":"2d181e00","hex_latitude":"0721ac40","is_valid_coordinates":true} 
[2026-04-26 13:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960917504001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114799643983872000,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329788416,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42: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-04-26 13:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777191091000,"timestamp_ms":1777191091000,"timestamp_seconds":1777191091,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d7fb38"} 
[2026-04-26 13:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:42: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-04-26 13:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-26 13:42: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-04-26 13:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:42:47] 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-04-26 13:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960917504001,"66":13276,"105":206,"83":41984,"24":2,"16":114799643983872000,"45":1737967274329788416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 13:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960917504001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:42:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 13:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114799643983872000,"km_value":114799643983872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329788416,"description":"Unknown IO ID 45"} 
[2026-04-26 13:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960917504001,"power":13276,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737967274329788416}} 
[2026-04-26 13:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":54789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:42:47] local.INFO: GPS data processed {"connection_id":54789,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:42:47] local.INFO: Acknowledgment sent {"connection_id":54789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:42:51] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:42:51] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:42:51] local.INFO: Packet analysis {"connection_id":54790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:42:51] local.INFO: Extracted packet for processing {"connection_id":54790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 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-04-26 13:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:42: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-04-26 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-04-26 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-04-26 13:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:42:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:42:51] local.INFO: GPS data processed {"connection_id":54790,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:42:51] local.INFO: Acknowledgment sent {"connection_id":54790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:43:12] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:43:12] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:43:12] local.INFO: IMEI packet received {"connection_id":54521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":54521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:43:14] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:43:14] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:43:14] local.INFO: IMEI packet received {"connection_id":54522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":54522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:43:18] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:43:18] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:43:18] local.INFO: IMEI packet received {"connection_id":54521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":54521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:43:18] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d8aee8012d18834007218200004e006228..."} 
[2026-04-26 13:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d8aee8012d18834007218200004e006228..."} 
[2026-04-26 13:43:18] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d8aee8012d18834007218200004e006228..."} 
[2026-04-26 13:43:18] local.INFO: Packet analysis {"connection_id":54521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d8"} 
[2026-04-26 13:43:18] local.INFO: Extracted packet for processing {"connection_id":54521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d8"} 
[2026-04-26 13:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756581184,"raw_latitude":119636480,"longitude_deg":75.6581184,"latitude_deg":11.963648,"altitude":78,"angle":98,"satellites":40,"speed":42,"hex_longitude":"2d188340","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-04-26 13:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960930048001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114801039848243200,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761751909858940928,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43: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-04-26 13:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777191137000,"timestamp_ms":1777191137000,"timestamp_seconds":1777191137,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d8aee8"} 
[2026-04-26 13:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:43:18] 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-04-26 13:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 13:43:18] 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-04-26 13:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:43:18] 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-04-26 13:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960930048001,"66":13928,"106":206,"83":41984,"24":42,"16":114801039848243200,"45":1761751909858940928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960930048001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:43:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114801039848243200,"km_value":114801039848243.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761751909858940928,"description":"Unknown IO ID 45"} 
[2026-04-26 13:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960930048001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1761751909858940928}} 
[2026-04-26 13:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":54521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:43:18] local.INFO: GPS data processed {"connection_id":54521,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:43:18] local.INFO: Acknowledgment sent {"connection_id":54521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:43:19] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:43:19] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:43:19] local.INFO: IMEI packet received {"connection_id":54522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":54522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:43:20] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:43:20] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:43:20] local.INFO: Packet analysis {"connection_id":54522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:43:20] local.INFO: Extracted packet for processing {"connection_id":54522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:43: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-04-26 13: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-04-26 13:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:43: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-04-26 13:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:43:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:43:20] local.INFO: GPS data processed {"connection_id":54522,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:43:20] local.INFO: Acknowledgment sent {"connection_id":54522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:43:49] local.INFO: TCP Data received {"connection_id":54521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d8baa0012d188fc007217e90004e006f2a..."} 
[2026-04-26 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d8baa0012d188fc007217e90004e006f2a..."} 
[2026-04-26 13:43:49] local.INFO: Processing buffer {"connection_id":54521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d8baa0012d188fc007217e90004e006f2a..."} 
[2026-04-26 13:43:49] local.INFO: Packet analysis {"connection_id":54521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d8"} 
[2026-04-26 13:43:49] local.INFO: Extracted packet for processing {"connection_id":54521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d8"} 
[2026-04-26 13:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756584384,"raw_latitude":119635600,"longitude_deg":75.6584384,"latitude_deg":11.96356,"altitude":78,"angle":111,"satellites":42,"speed":41,"hex_longitude":"2d188fc0","hex_latitude":"07217e90","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960931072001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114801198762033152,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766325878230482944,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777191140000,"timestamp_ms":1777191140000,"timestamp_seconds":1777191140,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d8baa0"} 
[2026-04-26 13:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 13:43:49] 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-04-26 13: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-04-26 13:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:43:49] 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-04-26 13:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960931072001,"66":14374,"106":206,"83":41984,"24":41,"16":114801198762033152,"45":1766325878230482944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960931072001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:43:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114801198762033152,"km_value":114801198762033.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766325878230482944,"description":"Unknown IO ID 45"} 
[2026-04-26 13:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960931072001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1766325878230482944}} 
[2026-04-26 13:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":54521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:43:49] local.INFO: GPS data processed {"connection_id":54521,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:43:49] local.INFO: Acknowledgment sent {"connection_id":54521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:43:51] local.INFO: TCP Data received {"connection_id":54522,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:43:51] local.INFO: Processing buffer {"connection_id":54522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:43:51] local.INFO: Packet analysis {"connection_id":54522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:43:51] local.INFO: Extracted packet for processing {"connection_id":54522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:43: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-04-26 13: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-04-26 13:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:43:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:43:51] local.INFO: GPS data processed {"connection_id":54522,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:43:51] local.INFO: Acknowledgment sent {"connection_id":54522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:44:11] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:11] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:11] local.INFO: IMEI packet received {"connection_id":54721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":54721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:44:12] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:12] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:12] local.INFO: IMEI packet received {"connection_id":54721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":54721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:44:14] local.INFO: TCP Data received {"connection_id":54791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:44:14] local.INFO: Processing buffer {"connection_id":54791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:44:14] local.INFO: IMEI packet received {"connection_id":54791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":54791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:44:14] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:15] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:15] local.INFO: IMEI packet received {"connection_id":54721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":54721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:44:19] local.INFO: TCP Data received {"connection_id":54791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:44:19] local.INFO: Processing buffer {"connection_id":54791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:44:19] local.INFO: IMEI packet received {"connection_id":54791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:44:20] local.INFO: TCP Data received {"connection_id":54791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:44:20] local.INFO: Processing buffer {"connection_id":54791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:44:20] local.INFO: Packet analysis {"connection_id":54791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:44:20] local.INFO: Extracted packet for processing {"connection_id":54791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:44: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-04-26 13: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-04-26 13:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:44: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-04-26 13:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:44:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:44:20] local.INFO: GPS data processed {"connection_id":54791,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:44:20] local.INFO: Acknowledgment sent {"connection_id":54791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:44:20] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:20] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:44:20] local.INFO: IMEI packet received {"connection_id":54721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:44:22] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d989a8012d18f0c00720de58003200922b..."} 
[2026-04-26 13:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d989a8012d18f0c00720de58003200922b..."} 
[2026-04-26 13:44:22] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d989a8012d18f0c00720de58003200922b..."} 
[2026-04-26 13:44:22] local.INFO: Packet analysis {"connection_id":54721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d9"} 
[2026-04-26 13:44:22] local.INFO: Extracted packet for processing {"connection_id":54721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d9"} 
[2026-04-26 13:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756609216,"raw_latitude":119594584,"longitude_deg":75.6609216,"latitude_deg":11.9594584,"altitude":50,"angle":146,"satellites":43,"speed":39,"hex_longitude":"2d18f0c0","hex_latitude":"0720de58","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960942848001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114803659778293760,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790884569939681280,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:22] 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-04-26 13:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777191193000,"timestamp_ms":1777191193000,"timestamp_seconds":1777191193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d989a8"} 
[2026-04-26 13:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:44:22] 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-04-26 13: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 13:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:44:22] 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-04-26 13:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960942848001,"66":14298,"106":206,"83":41984,"24":39,"16":114803659778293760,"45":1790884569939681280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960942848001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:44:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:44:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114803659778293760,"km_value":114803659778293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790884569939681280,"description":"Unknown IO ID 45"} 
[2026-04-26 13:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960942848001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1790884569939681280}} 
[2026-04-26 13:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":54721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:44:22] local.INFO: GPS data processed {"connection_id":54721,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:44:22] local.INFO: Acknowledgment sent {"connection_id":54721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:44:51] local.INFO: TCP Data received {"connection_id":54791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:44:51] local.INFO: Processing buffer {"connection_id":54791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:44:51] local.INFO: Packet analysis {"connection_id":54791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:44:51] local.INFO: Extracted packet for processing {"connection_id":54791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:44: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-04-26 13: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-04-26 13:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:44:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:44:51] local.INFO: GPS data processed {"connection_id":54791,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:44:51] local.INFO: Acknowledgment sent {"connection_id":54791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:44:53] local.INFO: TCP Data received {"connection_id":54721,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8da6468012d19bcc00720a5b0002f00a729..."} 
[2026-04-26 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8da6468012d19bcc00720a5b0002f00a729..."} 
[2026-04-26 13:44:53] local.INFO: Processing buffer {"connection_id":54721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8da6468012d19bcc00720a5b0002f00a729..."} 
[2026-04-26 13:44:53] local.INFO: Packet analysis {"connection_id":54721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:44:53] local.INFO: Extracted packet for processing {"connection_id":54721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:44:53] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580080,"longitude_deg":75.666144,"latitude_deg":11.958008,"altitude":47,"angle":167,"satellites":41,"speed":19,"hex_longitude":"2d19bcc0","hex_latitude":"0720a5b0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960959488001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114806378492592128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926604800,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] 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-04-26 13:44:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777191249000,"timestamp_ms":1777191249000,"timestamp_seconds":1777191249,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8da6468"} 
[2026-04-26 13:44:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:44:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369722752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3221692586,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7503460973106167808,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505351411990528,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84751731732717744,"corrected_to":0} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2899836968,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639552487713386,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3735158784,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":248,"raw_value":11259502166814720,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2251807650937307178,"note":"Value kept but may cause issues"} 
[2026-04-26 13:44:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,223,88,45,170,47,41,10,66,73,176,43,128,1,240,104,227,200,32,4,113,205,37,239,36,56,2,151,7,40,42,206,248,25],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":200,"original":84751731732717744,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-26 13:44:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386869823598493696,"timestamp_seconds":3386869823598493.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:44:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:44:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:44:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:44:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:44:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:44:53] 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-04-26 13:44:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:44:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:44:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960959488001,"66":14352,"106":206,"83":41984,"24":19,"16":114806378492592128,"45":1854427545926604800},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:44:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:44:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:44:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960959488001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:44:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:44:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:44:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114806378492592128,"km_value":114806378492592.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:44:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926604800,"description":"Unknown IO ID 45"} 
[2026-04-26 13:44:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960959488001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1854427545926604800}} 
[2026-04-26 13:44:53] local.INFO: DEBUG: GPS processor result {"connection_id":54721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:44:53] local.INFO: GPS data processed {"connection_id":54721,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:44:53] local.INFO: Acknowledgment sent {"connection_id":54721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:45:05] local.INFO: TCP Data received {"connection_id":55459,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:45:05] local.INFO: Processing buffer {"connection_id":55459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:45:05] local.INFO: IMEI packet received {"connection_id":55459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":55459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:45:12] local.INFO: TCP Data received {"connection_id":55460,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:45:12] local.INFO: Processing buffer {"connection_id":55460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:45:12] local.INFO: IMEI packet received {"connection_id":55460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":55460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:45:14] local.INFO: TCP Data received {"connection_id":55461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:45:14] local.INFO: Processing buffer {"connection_id":55461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:45:14] local.INFO: IMEI packet received {"connection_id":55461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":55461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:45:17] local.INFO: TCP Data received {"connection_id":55460,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:45:17] local.INFO: Processing buffer {"connection_id":55460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:45:17] local.INFO: IMEI packet received {"connection_id":55460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":55460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:45:18] local.INFO: TCP Data received {"connection_id":55460,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8da6850012d19bc800720a3c0002f00bd27..."} 
[2026-04-26 13:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8da6850012d19bc800720a3c0002f00bd27..."} 
[2026-04-26 13:45:18] local.INFO: Processing buffer {"connection_id":55460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8da6850012d19bc800720a3c0002f00bd27..."} 
[2026-04-26 13:45:18] local.INFO: Packet analysis {"connection_id":55460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:45:18] local.INFO: Extracted packet for processing {"connection_id":55460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119579584,"longitude_deg":75.6661376,"latitude_deg":11.9579584,"altitude":47,"angle":189,"satellites":39,"speed":19,"hex_longitude":"2d19bc80","hex_latitude":"0720a3c0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960959744001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114806404262395904,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854568283414835200,"note":"Value kept but may cause issues"} 
[2026-04-26 13: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-04-26 13:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777191250000,"timestamp_ms":1777191250000,"timestamp_seconds":1777191250,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8da6850"} 
[2026-04-26 13:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:45:18] 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-04-26 13: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":16,"data_length":795,"current_offset":136} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369725752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":223,"raw_value":2466250752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7503419191664312320,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505351414218752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3660173313,"corrected_to":0} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":11259450643982848,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639084336278122,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":110,"raw_value":3221692588,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3739222016,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":128,"raw_value":84751786493550764,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.WARNING: Large IO value detected {"io_id":25,"raw_value":4629708253926260776,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,223,96,45,64,167,47,41,10,66,88,170,73,1,240,158,227,200,32,4,113,205,35,6,110,216,39,239,54,2,151,7,36,206,128,25],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":200,"original":3660173313,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-26 13:45:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386890714319355904,"timestamp_seconds":3386890714319356.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:45:18] 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-04-26 13:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960959744001,"66":14352,"106":206,"83":41984,"24":19,"16":114806404262395904,"45":1854568283414835200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960959744001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:45:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114806404262395904,"km_value":114806404262395.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854568283414835200,"description":"Unknown IO ID 45"} 
[2026-04-26 13:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960959744001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1854568283414835200}} 
[2026-04-26 13:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":55460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:45:18] local.INFO: GPS data processed {"connection_id":55460,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:45:18] local.INFO: Acknowledgment sent {"connection_id":55460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:45:19] local.INFO: TCP Data received {"connection_id":55461,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:45:19] local.INFO: Processing buffer {"connection_id":55461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:45:19] local.INFO: IMEI packet received {"connection_id":55461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":55461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:45:20] local.INFO: TCP Data received {"connection_id":55461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:45:20] local.INFO: Processing buffer {"connection_id":55461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8d6c2b8012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:45:20] local.INFO: Packet analysis {"connection_id":55461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:45:20] local.INFO: Extracted packet for processing {"connection_id":55461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8d6"} 
[2026-04-26 13:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960821760001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191011000,"timestamp_ms":1777191011000,"timestamp_seconds":1777191011,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8d6c2b8"} 
[2026-04-26 13:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:45: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-04-26 13:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:45: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-04-26 13:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960821760001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960821760001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:45:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960821760001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":55461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:45:20] local.INFO: GPS data processed {"connection_id":55461,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:45:20] local.INFO: Acknowledgment sent {"connection_id":55461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:45:40] local.INFO: TCP Data received {"connection_id":55462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:45:40] local.INFO: Processing buffer {"connection_id":55462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:45:40] local.INFO: IMEI packet received {"connection_id":55462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":55462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:45:49] local.INFO: TCP Data received {"connection_id":55460,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8da6c38012d19bb400720a1c8002e00d027..."} 
[2026-04-26 13:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8da6c38012d19bb400720a1c8002e00d027..."} 
[2026-04-26 13:45:49] local.INFO: Processing buffer {"connection_id":55460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8da6c38012d19bb400720a1c8002e00d027..."} 
[2026-04-26 13:45:49] local.INFO: Packet analysis {"connection_id":55460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:45:49] local.INFO: Extracted packet for processing {"connection_id":55460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119579080,"longitude_deg":75.6661056,"latitude_deg":11.957908,"altitude":46,"angle":208,"satellites":39,"speed":22,"hex_longitude":"2d19bb40","hex_latitude":"0720a1c8","is_valid_coordinates":true} 
[2026-04-26 13:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960960000001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114806434327166976,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670530560,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45: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-04-26 13:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777191251000,"timestamp_ms":1777191251000,"timestamp_seconds":1777191251,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8da6c38"} 
[2026-04-26 13:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3369731752,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7503381808268967936,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505351418281984,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":10977915537728512,"corrected_to":0} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2953838639,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638942602357354,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5116353063783039232,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2147950771,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3745447936,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84751836959416490,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.WARNING: Large IO value detected {"io_id":25,"raw_value":5548442577828577320,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,223,100,45,192,165,47,41,10,66,96,64,167,88,1,240,38,227,200,32,4,113,205,143,72,239,54,2,151,7,40,37,206,56,25],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":200,"original":10977915537728512,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-26 13:45:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386914894985232384,"timestamp_seconds":3386914894985232.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 13:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:45:49] 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-04-26 13:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960960000001,"66":13624,"106":206,"83":41984,"24":22,"16":114806434327166976,"45":1854497914670530560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960960000001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:45:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114806434327166976,"km_value":114806434327166.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670530560,"description":"Unknown IO ID 45"} 
[2026-04-26 13:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960960000001,"power":13624,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1854497914670530560}} 
[2026-04-26 13:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":55460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:45:49] local.INFO: GPS data processed {"connection_id":55460,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:45:49] local.INFO: Acknowledgment sent {"connection_id":55460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:45:51] local.INFO: TCP Data received {"connection_id":55461,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:45:51] local.INFO: Processing buffer {"connection_id":55461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:45:51] local.INFO: Packet analysis {"connection_id":55461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:45:51] local.INFO: Extracted packet for processing {"connection_id":55461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:45:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:45: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-04-26 13: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-04-26 13:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:45: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-04-26 13:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:45:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":55461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:45:51] local.INFO: GPS data processed {"connection_id":55461,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:45:51] local.INFO: Acknowledgment sent {"connection_id":55461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:46:12] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:46:12] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:46:12] local.INFO: IMEI packet received {"connection_id":54523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":54523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:46:17] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:46:17] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:46:17] local.INFO: IMEI packet received {"connection_id":54523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":54523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:46:18] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8da7bd8012d19b3c007209920002d00dc29..."} 
[2026-04-26 13:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8da7bd8012d19b3c007209920002d00dc29..."} 
[2026-04-26 13:46:18] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8da7bd8012d19b3c007209920002d00dc29..."} 
[2026-04-26 13:46:18] local.INFO: Packet analysis {"connection_id":54523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:46:18] local.INFO: Extracted packet for processing {"connection_id":54523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8da"} 
[2026-04-26 13:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119576864,"longitude_deg":75.6659136,"latitude_deg":11.9576864,"altitude":45,"angle":220,"satellites":41,"speed":32,"hex_longitude":"2d19b3c0","hex_latitude":"07209920","is_valid_coordinates":true} 
[2026-04-26 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960960256001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114806571766120448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949513216,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46: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-04-26 13:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777191255000,"timestamp_ms":1777191255000,"timestamp_seconds":1777191255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8da7bd8"} 
[2026-04-26 13:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:46:18] 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-04-26 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 13:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:46:18] 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-04-26 13:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960960256001,"66":14428,"106":206,"83":41984,"24":32,"16":114806571766120448,"45":1854146070949513216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960960256001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:46:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114806571766120448,"km_value":114806571766120.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949513216,"description":"Unknown IO ID 45"} 
[2026-04-26 13:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960960256001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1854146070949513216}} 
[2026-04-26 13:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":54523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:46:18] local.INFO: GPS data processed {"connection_id":54523,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:46:18] local.INFO: Acknowledgment sent {"connection_id":54523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:46:19] local.INFO: TCP Data received {"connection_id":54524,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:46:19] local.INFO: Processing buffer {"connection_id":54524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:46:19] local.INFO: IMEI packet received {"connection_id":54524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":54524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:46:24] local.INFO: TCP Data received {"connection_id":54524,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:46:24] local.INFO: Processing buffer {"connection_id":54524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:46:24] local.INFO: IMEI packet received {"connection_id":54524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":54524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:46:25] local.INFO: TCP Data received {"connection_id":54524,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:46:25] local.INFO: Processing buffer {"connection_id":54524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:46:25] local.INFO: Packet analysis {"connection_id":54524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:46:25] local.INFO: Extracted packet for processing {"connection_id":54524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:46:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:46: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-04-26 13:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:46:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":54524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:46:25] local.INFO: GPS data processed {"connection_id":54524,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:46:25] local.INFO: Acknowledgment sent {"connection_id":54524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:46:49] local.INFO: TCP Data received {"connection_id":54523,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dba8a0012d19e00007200af00026007528..."} 
[2026-04-26 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dba8a0012d19e00007200af00026007528..."} 
[2026-04-26 13:46:49] local.INFO: Processing buffer {"connection_id":54523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dba8a0012d19e00007200af00026007528..."} 
[2026-04-26 13:46:49] local.INFO: Packet analysis {"connection_id":54523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:46:49] local.INFO: Extracted packet for processing {"connection_id":54523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756670464,"raw_latitude":119540464,"longitude_deg":75.6670464,"latitude_deg":11.9540464,"altitude":38,"angle":117,"satellites":40,"speed":0,"hex_longitude":"2d19e000","hex_latitude":"07200af0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975616001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114808538861142016,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264055310336,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46: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-04-26 13:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777191332000,"timestamp_ms":1777191332000,"timestamp_seconds":1777191332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dba8a0"} 
[2026-04-26 13:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 13: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-26 13:46:49] 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-04-26 13: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-04-26 13:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:46:49] 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-04-26 13:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975616001,"66":13896,"106":206,"83":41984,"24":0,"16":114808538861142016,"45":1861816264055310336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975616001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:46:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114808538861142016,"km_value":114808538861142.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264055310336,"description":"Unknown IO ID 45"} 
[2026-04-26 13:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975616001,"power":13896,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1861816264055310336}} 
[2026-04-26 13:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":54523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:46:50] local.INFO: GPS data processed {"connection_id":54523,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:46:50] local.INFO: Acknowledgment sent {"connection_id":54523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:46:56] local.INFO: TCP Data received {"connection_id":54524,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:46:56] local.INFO: Processing buffer {"connection_id":54524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:46:56] local.INFO: Packet analysis {"connection_id":54524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:46:56] local.INFO: Extracted packet for processing {"connection_id":54524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:46: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-04-26 13:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:46:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:46:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":54524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:46:56] local.INFO: GPS data processed {"connection_id":54524,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:46:56] local.INFO: Acknowledgment sent {"connection_id":54524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:47:15] local.INFO: TCP Data received {"connection_id":54792,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:47:15] local.INFO: Processing buffer {"connection_id":54792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:47:15] local.INFO: IMEI packet received {"connection_id":54792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":54792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:47:20] local.INFO: TCP Data received {"connection_id":54792,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:47:20] local.INFO: Processing buffer {"connection_id":54792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:47:20] local.INFO: IMEI packet received {"connection_id":54792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:47:21] local.INFO: TCP Data received {"connection_id":54792,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:21] local.INFO: Processing buffer {"connection_id":54792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:21] local.INFO: Packet analysis {"connection_id":54792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:47:21] local.INFO: Extracted packet for processing {"connection_id":54792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 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-04-26 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:47:21] 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-04-26 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-04-26 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-04-26 13:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:47: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-04-26 13:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:47:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":54792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:47:21] local.INFO: GPS data processed {"connection_id":54792,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:47:21] local.INFO: Acknowledgment sent {"connection_id":54792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:47:24] local.INFO: TCP Data received {"connection_id":54792,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:24] local.INFO: Processing buffer {"connection_id":54792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:24] local.INFO: Packet analysis {"connection_id":54792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:47:24] local.INFO: Extracted packet for processing {"connection_id":54792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:47:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:47: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-04-26 13: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-04-26 13:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:47:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":54792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:47:24] local.INFO: GPS data processed {"connection_id":54792,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:47:24] local.INFO: Acknowledgment sent {"connection_id":54792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:47:52] local.INFO: TCP Data received {"connection_id":54525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:47:52] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:47:52] local.INFO: IMEI packet received {"connection_id":54525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":54525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:47:53] local.INFO: TCP Data received {"connection_id":54525,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:47:53] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:47:53] local.INFO: IMEI packet received {"connection_id":54525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":54525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:47:54] local.INFO: TCP Data received {"connection_id":54525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dcd950012d19ce80071ff9c8002a00e32a..."} 
[2026-04-26 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dcd950012d19ce80071ff9c8002a00e32a..."} 
[2026-04-26 13:47:54] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc8..."} 
[2026-04-26 13:47:54] local.INFO: IMEI packet received {"connection_id":54525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":54525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:47:56] local.INFO: TCP Data received {"connection_id":54792,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:56] local.INFO: Processing buffer {"connection_id":54792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:47:56] local.INFO: Packet analysis {"connection_id":54792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:47:56] local.INFO: Extracted packet for processing {"connection_id":54792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:47:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:47: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-04-26 13:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:47:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:47:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":54792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:47:56] local.INFO: GPS data processed {"connection_id":54792,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:47:56] local.INFO: Acknowledgment sent {"connection_id":54792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:47:57] local.INFO: TCP Data received {"connection_id":54525,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dcdd38012d19cd80071ff868002a00d22b..."} 
[2026-04-26 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dcdd38012d19cd80071ff868002a00d22b..."} 
[2026-04-26 13:47:57] local.INFO: Processing buffer {"connection_id":54525,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dc8dcd950012d19ce80071ff9c8002a00e32a..."} 
[2026-04-26 13:47:57] local.INFO: Packet analysis {"connection_id":54525,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dc8dc"} 
[2026-04-26 13:47:57] local.INFO: Extracted packet for processing {"connection_id":54525,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dc"} 
[2026-04-26 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756665984,"raw_latitude":119536072,"longitude_deg":75.6665984,"latitude_deg":11.9536072,"altitude":42,"angle":227,"satellites":42,"speed":17,"hex_longitude":"2d19ce80","hex_latitude":"071ff9c8","is_valid_coordinates":true} 
[2026-04-26 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961000704001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114808908228329472,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859986676705316864,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777191410000,"timestamp_ms":1777191410000,"timestamp_seconds":1777191410,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dcd950"} 
[2026-04-26 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961000704001,"66":13972,"106":206,"83":41984,"24":17,"16":114808908228329472,"45":1859986676705316864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961000704001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114808908228329472,"km_value":114808908228329.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859986676705316864,"description":"Unknown IO ID 45"} 
[2026-04-26 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961000704001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1859986676705316864}} 
[2026-04-26 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":54525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:47:57] local.INFO: GPS data processed {"connection_id":54525,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:47:57] local.INFO: Acknowledgment sent {"connection_id":54525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:47:57] local.INFO: Packet analysis {"connection_id":54525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dc"} 
[2026-04-26 13:47:57] local.INFO: Extracted packet for processing {"connection_id":54525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dc"} 
[2026-04-26 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":756665728,"raw_latitude":119535720,"longitude_deg":75.6665728,"latitude_deg":11.953572,"altitude":42,"angle":210,"satellites":43,"speed":17,"hex_longitude":"2d19cd80","hex_latitude":"071ff868","is_valid_coordinates":true} 
[2026-04-26 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961000960001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114808929703165952,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464240183296,"note":"Value kept but may cause issues"} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777191411000,"timestamp_ms":1777191411000,"timestamp_seconds":1777191411,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dcdd38"} 
[2026-04-26 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:47:57] 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-04-26 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961000960001,"66":13993,"106":206,"83":41984,"24":17,"16":114808929703165952,"45":1859564464240183296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961000960001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114808929703165952,"km_value":114808929703165.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464240183296,"description":"Unknown IO ID 45"} 
[2026-04-26 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961000960001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1859564464240183296}} 
[2026-04-26 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":54525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:47:57] local.INFO: GPS data processed {"connection_id":54525,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:47:57] local.INFO: Acknowledgment sent {"connection_id":54525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:48:14] local.INFO: TCP Data received {"connection_id":55463,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:48:14] local.INFO: Processing buffer {"connection_id":55463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:48:14] local.INFO: IMEI packet received {"connection_id":55463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":55463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:48:19] local.INFO: TCP Data received {"connection_id":55463,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:48:19] local.INFO: Processing buffer {"connection_id":55463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:48:19] local.INFO: IMEI packet received {"connection_id":55463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":55463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:48:20] local.INFO: TCP Data received {"connection_id":55463,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:48:20] local.INFO: Processing buffer {"connection_id":55463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:48:20] local.INFO: Packet analysis {"connection_id":55463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:48:20] local.INFO: Extracted packet for processing {"connection_id":55463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 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-04-26 13:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:48: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-04-26 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-04-26 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-04-26 13:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:48:20] 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-04-26 13:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:48:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":55463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:48:20] local.INFO: GPS data processed {"connection_id":55463,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:48:20] local.INFO: Acknowledgment sent {"connection_id":55463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:48:22] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:48:22] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:48:22] local.INFO: IMEI packet received {"connection_id":54793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":54793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:48:28] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:48:28] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:48:28] local.INFO: IMEI packet received {"connection_id":54793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":54793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:48:29] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:48:29] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:48:29] local.INFO: Packet analysis {"connection_id":54793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:48:29] local.INFO: Extracted packet for processing {"connection_id":54793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:48: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-04-26 13:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961008384001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845772190380709888,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:29] 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-04-26 13:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:48:29] 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-04-26 13:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 13:48:29] 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-04-26 13:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961008384001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1845772190380709888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961008384001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:48:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845772190380709888,"description":"Unknown IO ID 45"} 
[2026-04-26 13:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961008384001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1845772190380709888}} 
[2026-04-26 13:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":54793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:48:29] local.INFO: GPS data processed {"connection_id":54793,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:48:29] local.INFO: Acknowledgment sent {"connection_id":54793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:48:51] local.INFO: TCP Data received {"connection_id":55463,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:48:51] local.INFO: Processing buffer {"connection_id":55463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:48:51] local.INFO: Packet analysis {"connection_id":55463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:48:51] local.INFO: Extracted packet for processing {"connection_id":55463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:48: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-04-26 13: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-04-26 13:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:48:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":55463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:48:51] local.INFO: GPS data processed {"connection_id":55463,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:48:51] local.INFO: Acknowledgment sent {"connection_id":55463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:49:12] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:49:12] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:49:12] local.INFO: IMEI packet received {"connection_id":54724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":54724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:49:14] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:49:14] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:49:14] local.INFO: IMEI packet received {"connection_id":54725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:49:17] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:49:17] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:49:17] local.INFO: IMEI packet received {"connection_id":54724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":54724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:49:19] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:49:19] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:49:19] local.INFO: Packet analysis {"connection_id":54724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:49:19] local.INFO: Extracted packet for processing {"connection_id":54724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:49:19] 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-04-26 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49: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-04-26 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:49:19] 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-04-26 13:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:49:19] 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-04-26 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1843661128055445504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:49:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":54724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:49:19] local.INFO: GPS data processed {"connection_id":54724,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:49:19] local.INFO: Acknowledgment sent {"connection_id":54724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:49:19] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:49:19] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:49:19] local.INFO: IMEI packet received {"connection_id":54725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:49:20] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:49:20] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:49:20] local.INFO: Packet analysis {"connection_id":54725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:49:20] local.INFO: Extracted packet for processing {"connection_id":54725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:49: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-04-26 13: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-04-26 13:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:49:20] 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-04-26 13:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:49:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":54725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:49:20] local.INFO: GPS data processed {"connection_id":54725,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:49:20] local.INFO: Acknowledgment sent {"connection_id":54725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:49:50] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:49:50] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:49:50] local.INFO: Packet analysis {"connection_id":54724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:49:50] local.INFO: Extracted packet for processing {"connection_id":54724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:49:50] 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-04-26 13:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:50] 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-04-26 13:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:49:50] 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-04-26 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:49: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-04-26 13: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-04-26 13:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:49:50] 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-04-26 13:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1843661128055445504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:49:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":54724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:49:50] local.INFO: GPS data processed {"connection_id":54724,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:49:50] local.INFO: Acknowledgment sent {"connection_id":54724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:49:51] local.INFO: TCP Data received {"connection_id":54725,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:49:51] local.INFO: Processing buffer {"connection_id":54725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:49:51] local.INFO: Packet analysis {"connection_id":54725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:49:51] local.INFO: Extracted packet for processing {"connection_id":54725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:49:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:49: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-04-26 13: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-04-26 13:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:49:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":54725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:49:51] local.INFO: GPS data processed {"connection_id":54725,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:49:51] local.INFO: Acknowledgment sent {"connection_id":54725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:50:12] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:50:12] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:50:12] local.INFO: IMEI packet received {"connection_id":54527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":54527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:50:14] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:50:14] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:50:14] local.INFO: IMEI packet received {"connection_id":54794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":54794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:50:17] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:50:17] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:50:17] local.INFO: IMEI packet received {"connection_id":54527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":54527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:50:19] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:50:19] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:50:19] local.INFO: IMEI packet received {"connection_id":54794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:50:19] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:50:19] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:50:19] local.INFO: Packet analysis {"connection_id":54527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:50:19] local.INFO: Extracted packet for processing {"connection_id":54527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50: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-04-26 13:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:50:19] 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-04-26 13: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-04-26 13:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:50: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-04-26 13:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1843661128055445504},"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-04-26 13:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:50:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":54527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:50:19] local.INFO: GPS data processed {"connection_id":54527,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:50:19] local.INFO: Acknowledgment sent {"connection_id":54527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:50:20] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:50:20] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:50:20] local.INFO: Packet analysis {"connection_id":54794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:50:20] local.INFO: Extracted packet for processing {"connection_id":54794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:50:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:50: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-04-26 13:50:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:50:20] 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-04-26 13:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:50:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":54794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:50:20] local.INFO: GPS data processed {"connection_id":54794,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:50:20] local.INFO: Acknowledgment sent {"connection_id":54794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:50:50] local.INFO: TCP Data received {"connection_id":54527,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:50:50] local.INFO: Processing buffer {"connection_id":54527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:50:50] local.INFO: Packet analysis {"connection_id":54527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:50:50] local.INFO: Extracted packet for processing {"connection_id":54527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:50:50] 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-04-26 13:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:50] 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-04-26 13:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:50:50] 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-04-26 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:50: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-04-26 13:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:50: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-04-26 13:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1843661128055445504},"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-04-26 13:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:50:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":54527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:50:51] local.INFO: GPS data processed {"connection_id":54527,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:50:51] local.INFO: Acknowledgment sent {"connection_id":54527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:50:51] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:50:51] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8db5a80012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:50:51] local.INFO: Packet analysis {"connection_id":54794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:50:51] local.INFO: Extracted packet for processing {"connection_id":54794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8db"} 
[2026-04-26 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960898816001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191312000,"timestamp_ms":1777191312000,"timestamp_seconds":1777191312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8db5a80"} 
[2026-04-26 13:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 13:50: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-04-26 13: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-04-26 13:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960898816001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960898816001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:50:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960898816001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":54794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:50:51] local.INFO: GPS data processed {"connection_id":54794,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:50:51] local.INFO: Acknowledgment sent {"connection_id":54794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:51:05] local.INFO: TCP Data received {"connection_id":54795,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:05] local.INFO: Processing buffer {"connection_id":54795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:05] local.INFO: IMEI packet received {"connection_id":54795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":54795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:51:14] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:51:14] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:51:14] local.INFO: IMEI packet received {"connection_id":54528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":54528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:51:17] local.INFO: TCP Data received {"connection_id":55465,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:51:17] local.INFO: Processing buffer {"connection_id":55465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:51:17] local.INFO: IMEI packet received {"connection_id":55465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":55465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:51:19] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:51:19] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:51:19] local.INFO: IMEI packet received {"connection_id":54528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":54528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:51:20] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:51:20] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:51:20] local.INFO: Packet analysis {"connection_id":54528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:51:20] local.INFO: Extracted packet for processing {"connection_id":54528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:51:20] 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-04-26 13: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-04-26 13:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:51:20] 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-04-26 13:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:51:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":54528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:51:20] local.INFO: GPS data processed {"connection_id":54528,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:51:20] local.INFO: Acknowledgment sent {"connection_id":54528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:51:22] local.INFO: TCP Data received {"connection_id":55465,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:51:22] local.INFO: Processing buffer {"connection_id":55465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:51:22] local.INFO: IMEI packet received {"connection_id":55465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":55465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:51:23] local.INFO: TCP Data received {"connection_id":55465,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:51:23] local.INFO: Processing buffer {"connection_id":55465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:51:23] local.INFO: Packet analysis {"connection_id":55465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:51:23] local.INFO: Extracted packet for processing {"connection_id":55465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51: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-04-26 13:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:51: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-04-26 13:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:51:23] 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-04-26 13:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:51: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-04-26 13:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1843661128055445504},"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-04-26 13:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:51:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":55465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:51:23] local.INFO: GPS data processed {"connection_id":55465,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:51:23] local.INFO: Acknowledgment sent {"connection_id":55465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:51:40] local.INFO: TCP Data received {"connection_id":54726,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:40] local.INFO: Processing buffer {"connection_id":54726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:40] local.INFO: IMEI packet received {"connection_id":54726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":54726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:51:45] local.INFO: TCP Data received {"connection_id":54726,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:45] local.INFO: Processing buffer {"connection_id":54726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:51:45] local.INFO: IMEI packet received {"connection_id":54726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 13:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":54726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:51:46] local.INFO: TCP Data received {"connection_id":54726,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8bc7c28012cb29a4007822e80004900962d..."} 
[2026-04-26 13:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8bc7c28012cb29a4007822e80004900962d..."} 
[2026-04-26 13:51:46] local.INFO: Processing buffer {"connection_id":54726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8bc7c28012cb29a4007822e80004900962d..."} 
[2026-04-26 13:51:46] local.INFO: Packet analysis {"connection_id":54726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8bc"} 
[2026-04-26 13:51:46] local.INFO: Extracted packet for processing {"connection_id":54726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8bc"} 
[2026-04-26 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":749902400,"raw_latitude":125972096,"longitude_deg":74.99024,"latitude_deg":12.5972096,"altitude":73,"angle":150,"satellites":45,"speed":0,"hex_longitude":"2cb29a40","hex_latitude":"07822e80","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960380928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577074787551903744,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777189289000,"timestamp_ms":1777189289000,"timestamp_seconds":1777189289,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8bc7c28"} 
[2026-04-26 13:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 13:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 13:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 13:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 13:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 13:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960380928001,"66":25147,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5577074787551903744},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 13:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 13:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 13:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960380928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:51:46] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 13:51:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 13:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:51:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577074787551903744,"description":"Unknown IO ID 44"} 
[2026-04-26 13:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960380928001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5577074787551903744}} 
[2026-04-26 13:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":54726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:51:46] local.INFO: GPS data processed {"connection_id":54726,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:51:46] local.INFO: Acknowledgment sent {"connection_id":54726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:51:51] local.INFO: TCP Data received {"connection_id":54528,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:51:51] local.INFO: Processing buffer {"connection_id":54528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:51:51] local.INFO: Packet analysis {"connection_id":54528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:51:51] local.INFO: Extracted packet for processing {"connection_id":54528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:51:51] 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-04-26 13: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-04-26 13:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:51:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":54528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:51:51] local.INFO: GPS data processed {"connection_id":54528,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:51:51] local.INFO: Acknowledgment sent {"connection_id":54528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:51:54] local.INFO: TCP Data received {"connection_id":55465,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:51:54] local.INFO: Processing buffer {"connection_id":55465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dd5e20012d199600071ff0d8003a01162b..."} 
[2026-04-26 13:51:54] local.INFO: Packet analysis {"connection_id":55465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:51:54] local.INFO: Extracted packet for processing {"connection_id":55465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8dd"} 
[2026-04-26 13:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756651520,"raw_latitude":119533784,"longitude_deg":75.665152,"latitude_deg":11.9533784,"altitude":58,"angle":278,"satellites":43,"speed":16,"hex_longitude":"2d199600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-04-26 13:51:54] 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-04-26 13:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:51: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-04-26 13:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777191444000,"timestamp_ms":1777191444000,"timestamp_seconds":1777191444,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dd5e20"} 
[2026-04-26 13:51:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:51: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-04-26 13:51:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:51:54] 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-04-26 13:51:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:51:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:51: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-04-26 13:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":13080,"106":206,"83":41984,"24":16,"16":114809664142573568,"45":1843661128055445504},"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-04-26 13:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:51:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":55465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:51:54] local.INFO: GPS data processed {"connection_id":55465,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:51:54] local.INFO: Acknowledgment sent {"connection_id":55465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:52:13] local.INFO: TCP Data received {"connection_id":55467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:52:13] local.INFO: Processing buffer {"connection_id":55467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:52:13] local.INFO: IMEI packet received {"connection_id":55467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":55467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:52:14] local.INFO: TCP Data received {"connection_id":55466,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:52:14] local.INFO: Processing buffer {"connection_id":55466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:52:14] local.INFO: IMEI packet received {"connection_id":55466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":55466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:52:19] local.INFO: TCP Data received {"connection_id":55466,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:52:19] local.INFO: Processing buffer {"connection_id":55466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:52:19] local.INFO: IMEI packet received {"connection_id":55466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":55466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:52:20] local.INFO: TCP Data received {"connection_id":55466,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:52:20] local.INFO: Processing buffer {"connection_id":55466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:52:20] local.INFO: Packet analysis {"connection_id":55466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:52:20] local.INFO: Extracted packet for processing {"connection_id":55466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:52:20] 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-04-26 13: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-04-26 13:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:52: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-04-26 13:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:52:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":55466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:52:20] local.INFO: GPS data processed {"connection_id":55466,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:52:20] local.INFO: Acknowledgment sent {"connection_id":55466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:52:30] local.INFO: TCP Data received {"connection_id":54727,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:52:30] local.INFO: Processing buffer {"connection_id":54727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:52:30] local.INFO: IMEI packet received {"connection_id":54727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":54727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:52:41] local.INFO: TCP Data received {"connection_id":55467,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:52:41] local.INFO: Processing buffer {"connection_id":55467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:52:41] local.INFO: IMEI packet received {"connection_id":55467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":55467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:52:41] local.INFO: TCP Data received {"connection_id":55467,"ip":"42.106.6.36","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55467,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:52:41] local.INFO: Processing buffer {"connection_id":55467,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 13:52:41] local.INFO: IMEI packet received {"connection_id":55467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":55467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:52:51] local.INFO: TCP Data received {"connection_id":55466,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:52:51] local.INFO: Processing buffer {"connection_id":55466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:52:51] local.INFO: Packet analysis {"connection_id":55466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:52:51] local.INFO: Extracted packet for processing {"connection_id":55466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:52:51] 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-04-26 13: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-04-26 13:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:52: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-04-26 13:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:52:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":55466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:52:51] local.INFO: GPS data processed {"connection_id":55466,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:52:51] local.INFO: Acknowledgment sent {"connection_id":55466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:53:14] local.INFO: TCP Data received {"connection_id":54530,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:53:14] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:53:14] local.INFO: IMEI packet received {"connection_id":54530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":54530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:53:19] local.INFO: TCP Data received {"connection_id":54530,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:53:19] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:53:19] local.INFO: IMEI packet received {"connection_id":54530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":54530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:53:20] local.INFO: TCP Data received {"connection_id":54530,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:53:20] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:53:20] local.INFO: Packet analysis {"connection_id":54530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:53:20] local.INFO: Extracted packet for processing {"connection_id":54530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:53:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:53:20] 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-04-26 13:53:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:53: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-04-26 13:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:53:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":54530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:53:20] local.INFO: GPS data processed {"connection_id":54530,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:53:20] local.INFO: Acknowledgment sent {"connection_id":54530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:53:51] local.INFO: TCP Data received {"connection_id":54530,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:53:51] local.INFO: Processing buffer {"connection_id":54530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:53:51] local.INFO: Packet analysis {"connection_id":54530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:53:51] local.INFO: Extracted packet for processing {"connection_id":54530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:53:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:53:51] 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-04-26 13: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-04-26 13:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:53: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-04-26 13:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:53:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":54530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:53:51] local.INFO: GPS data processed {"connection_id":54530,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:53:51] local.INFO: Acknowledgment sent {"connection_id":54530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:54:14] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:54:14] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:54:14] local.INFO: IMEI packet received {"connection_id":54729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":54729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:54:19] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:54:19] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:54:19] local.INFO: IMEI packet received {"connection_id":54729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":54729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:54:20] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:54:20] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:54:20] local.INFO: Packet analysis {"connection_id":54729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:54:20] local.INFO: Extracted packet for processing {"connection_id":54729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:54:20] 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-04-26 13: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-04-26 13:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:54: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-04-26 13:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:54:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:54:20] local.INFO: GPS data processed {"connection_id":54729,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:54:20] local.INFO: Acknowledgment sent {"connection_id":54729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:54:51] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:54:51] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:54:51] local.INFO: Packet analysis {"connection_id":54729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:54:51] local.INFO: Extracted packet for processing {"connection_id":54729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:54:51] 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-04-26 13: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-04-26 13:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:54: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-04-26 13:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:54:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:54:51] local.INFO: GPS data processed {"connection_id":54729,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:54:51] local.INFO: Acknowledgment sent {"connection_id":54729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:55:14] local.INFO: TCP Data received {"connection_id":54533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:55:14] local.INFO: Processing buffer {"connection_id":54533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:55:14] local.INFO: IMEI packet received {"connection_id":54533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":54533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:55:19] local.INFO: TCP Data received {"connection_id":54533,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:55:19] local.INFO: Processing buffer {"connection_id":54533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:55:19] local.INFO: IMEI packet received {"connection_id":54533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":54533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:55:20] local.INFO: TCP Data received {"connection_id":54533,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:55:20] local.INFO: Processing buffer {"connection_id":54533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:55:20] local.INFO: Packet analysis {"connection_id":54533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:55:20] local.INFO: Extracted packet for processing {"connection_id":54533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:55:20] 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-04-26 13:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:55: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-04-26 13:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":54533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:55:20] local.INFO: GPS data processed {"connection_id":54533,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:55:20] local.INFO: Acknowledgment sent {"connection_id":54533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:55:51] local.INFO: TCP Data received {"connection_id":54533,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:55:51] local.INFO: Processing buffer {"connection_id":54533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8dff248012cb299c007822ce0004e00122e..."} 
[2026-04-26 13:55:51] local.INFO: Packet analysis {"connection_id":54533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:55:51] local.INFO: Extracted packet for processing {"connection_id":54533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8df"} 
[2026-04-26 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454960975872001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191613000,"timestamp_ms":1777191613000,"timestamp_seconds":1777191613,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8dff248"} 
[2026-04-26 13:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 13:55:51] 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-04-26 13: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-04-26 13:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:55: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-04-26 13:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454960975872001,"66":24614,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454960975872001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:55:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454960975872001,"power":24614,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:55:51] local.INFO: GPS data processed {"connection_id":54533,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:55:51] local.INFO: Acknowledgment sent {"connection_id":54533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:56:19] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:56:19] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:56:19] local.INFO: IMEI packet received {"connection_id":54797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:56:24] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:56:24] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:56:24] local.INFO: IMEI packet received {"connection_id":54797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":54797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:56:25] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:56:25] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:56:25] local.INFO: Packet analysis {"connection_id":54797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:56:25] local.INFO: Extracted packet for processing {"connection_id":54797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:56:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:56:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":54797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:56:25] local.INFO: GPS data processed {"connection_id":54797,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:56:25] local.INFO: Acknowledgment sent {"connection_id":54797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:56:56] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:56:56] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:56:56] local.INFO: Packet analysis {"connection_id":54797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:56:56] local.INFO: Extracted packet for processing {"connection_id":54797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:56:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:56:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:56: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-04-26 13:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:56:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:56:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":54797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:56:56] local.INFO: GPS data processed {"connection_id":54797,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:56:56] local.INFO: Acknowledgment sent {"connection_id":54797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:57:16] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:57:16] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:57:16] local.INFO: IMEI packet received {"connection_id":54731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":54731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:57:19] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:57:19] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:57:19] local.INFO: IMEI packet received {"connection_id":54731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":54731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:57:20] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:20] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:20] local.INFO: Packet analysis {"connection_id":54731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:57:20] local.INFO: Extracted packet for processing {"connection_id":54731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:57:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:57:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":54731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:57:20] local.INFO: GPS data processed {"connection_id":54731,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:57:20] local.INFO: Acknowledgment sent {"connection_id":54731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:57:24] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:24] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:24] local.INFO: Packet analysis {"connection_id":54731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:57:24] local.INFO: Extracted packet for processing {"connection_id":54731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:57: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-04-26 13:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:57:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:57:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":54731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:57:24] local.INFO: GPS data processed {"connection_id":54731,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:57:24] local.INFO: Acknowledgment sent {"connection_id":54731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:57:44] local.INFO: TCP Data received {"connection_id":54534,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:57:44] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:57:44] local.INFO: IMEI packet received {"connection_id":54534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":54534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:57:45] local.INFO: TCP Data received {"connection_id":54534,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e20970012d196f80071fecc00041010d2b..."} 
[2026-04-26 13:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e20970012d196f80071fecc00041010d2b..."} 
[2026-04-26 13:57:45] local.INFO: Processing buffer {"connection_id":54534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e20970012d196f80071fecc00041010d2b..."} 
[2026-04-26 13:57:45] local.INFO: Packet analysis {"connection_id":54534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e2"} 
[2026-04-26 13:57:45] local.INFO: Extracted packet for processing {"connection_id":54534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e2"} 
[2026-04-26 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 13:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1843661128055445504,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57: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-04-26 13:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777191750000,"timestamp_ms":1777191750000,"timestamp_seconds":1777191750,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e20970"} 
[2026-04-26 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-04-26 13:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 13:57: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-04-26 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-04-26 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-04-26 13:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":54534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":54534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:57:45] 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-04-26 13:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961009664001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1843661128055445504},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:57:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:57:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1843661128055445504,"description":"Unknown IO ID 45"} 
[2026-04-26 13:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961009664001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1843661128055445504}} 
[2026-04-26 13:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":54534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:57:45] local.INFO: GPS data processed {"connection_id":54534,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:57:45] local.INFO: Acknowledgment sent {"connection_id":54534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:57:56] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:56] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:57:56] local.INFO: Packet analysis {"connection_id":54731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:57:56] local.INFO: Extracted packet for processing {"connection_id":54731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:57:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:57:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:57:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":54731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:57:56] local.INFO: GPS data processed {"connection_id":54731,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:57:56] local.INFO: Acknowledgment sent {"connection_id":54731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:58:00] local.INFO: TCP Data received {"connection_id":55469,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:58:00] local.INFO: Processing buffer {"connection_id":55469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:58:00] local.INFO: IMEI packet received {"connection_id":55469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":55469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:58:12] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:12] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:12] local.INFO: IMEI packet received {"connection_id":54799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":54799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:58:14] local.INFO: TCP Data received {"connection_id":55470,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:58:14] local.INFO: Processing buffer {"connection_id":55470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:58:14] local.INFO: IMEI packet received {"connection_id":55470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":55470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:58:17] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:17] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:17] local.INFO: IMEI packet received {"connection_id":54799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":54799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:58:19] local.INFO: TCP Data received {"connection_id":55470,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:58:19] local.INFO: Processing buffer {"connection_id":55470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:58:19] local.INFO: IMEI packet received {"connection_id":55470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":55470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:58:20] local.INFO: TCP Data received {"connection_id":55470,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:58:20] local.INFO: Processing buffer {"connection_id":55470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:58:20] local.INFO: Packet analysis {"connection_id":55470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:58:20] local.INFO: Extracted packet for processing {"connection_id":55470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:58:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":55470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:58:20] local.INFO: GPS data processed {"connection_id":55470,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:58:20] local.INFO: Acknowledgment sent {"connection_id":55470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:58:22] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:22] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:58:22] local.INFO: IMEI packet received {"connection_id":54799,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":54799,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:58:23] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:58:23] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:58:23] local.INFO: Packet analysis {"connection_id":54799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:58:23] local.INFO: Extracted packet for processing {"connection_id":54799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58: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-04-26 13:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 13:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 13:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:58:23] 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-04-26 13:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:58:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 13:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 13:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":54799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:58:23] local.INFO: GPS data processed {"connection_id":54799,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:58:23] local.INFO: Acknowledgment sent {"connection_id":54799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:58:28] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:58:28] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:58:28] local.INFO: Packet analysis {"connection_id":54799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:58:28] local.INFO: Extracted packet for processing {"connection_id":54799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:28] 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-04-26 13:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 13:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 13:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54799,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:58:28] 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-04-26 13:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:58:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 13:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 13:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":54799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:58:28] local.INFO: GPS data processed {"connection_id":54799,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:58:28] local.INFO: Acknowledgment sent {"connection_id":54799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:58:40] local.INFO: TCP Data received {"connection_id":54732,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:58:40] local.INFO: Processing buffer {"connection_id":54732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 13:58:40] local.INFO: IMEI packet received {"connection_id":54732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 13:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":54732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:58:51] local.INFO: TCP Data received {"connection_id":55470,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:58:51] local.INFO: Processing buffer {"connection_id":55470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:58:51] local.INFO: Packet analysis {"connection_id":55470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:58:51] local.INFO: Extracted packet for processing {"connection_id":55470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:58:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":55470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:58:51] local.INFO: GPS data processed {"connection_id":55470,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:58:51] local.INFO: Acknowledgment sent {"connection_id":55470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:59:12] local.INFO: TCP Data received {"connection_id":55471,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:59:12] local.INFO: Processing buffer {"connection_id":55471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:59:12] local.INFO: IMEI packet received {"connection_id":55471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 13:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":55471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:59:14] local.INFO: TCP Data received {"connection_id":55472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:59:14] local.INFO: Processing buffer {"connection_id":55472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:59:14] local.INFO: IMEI packet received {"connection_id":55472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 13:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":55472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 13:59:17] local.INFO: TCP Data received {"connection_id":55471,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:59:17] local.INFO: Processing buffer {"connection_id":55471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 13:59:17] local.INFO: IMEI packet received {"connection_id":55471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 13:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":55471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:59:18] local.INFO: TCP Data received {"connection_id":55471,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:59:18] local.INFO: Processing buffer {"connection_id":55471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:59:18] local.INFO: Packet analysis {"connection_id":55471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:59:18] local.INFO: Extracted packet for processing {"connection_id":55471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 13:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 13:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59: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-04-26 13:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 13:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 13:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 13:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:59:18] 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-04-26 13:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:59:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 13:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 13:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":55471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:59:18] local.INFO: GPS data processed {"connection_id":55471,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:59:18] local.INFO: Acknowledgment sent {"connection_id":55471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:59:19] local.INFO: TCP Data received {"connection_id":55472,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:59:19] local.INFO: Processing buffer {"connection_id":55472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 13:59:19] local.INFO: IMEI packet received {"connection_id":55472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 13:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":55472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 13:59:20] local.INFO: TCP Data received {"connection_id":55472,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:59:20] local.INFO: Processing buffer {"connection_id":55472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:59:20] local.INFO: Packet analysis {"connection_id":55472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:59:20] local.INFO: Extracted packet for processing {"connection_id":55472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:59:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:59: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-04-26 13:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:59:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:59:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:59:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":55472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:59:20] local.INFO: GPS data processed {"connection_id":55472,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:59:20] local.INFO: Acknowledgment sent {"connection_id":55472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:59:49] local.INFO: TCP Data received {"connection_id":55471,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:59:49] local.INFO: Processing buffer {"connection_id":55471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 13:59:49] local.INFO: Packet analysis {"connection_id":55471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:59:49] local.INFO: Extracted packet for processing {"connection_id":55471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59: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-04-26 13:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 13:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 13:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 13:59:49] 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-04-26 13:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 13:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 13:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 13:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 13:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 13:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:59:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 13:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 13:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 13:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 13:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":55471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:59:49] local.INFO: GPS data processed {"connection_id":55471,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:59:49] local.INFO: Acknowledgment sent {"connection_id":55471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 13:59:51] local.INFO: TCP Data received {"connection_id":55472,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:59:51] local.INFO: Processing buffer {"connection_id":55472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 13:59:51] local.INFO: Packet analysis {"connection_id":55472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:59:51] local.INFO: Extracted packet for processing {"connection_id":55472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 13: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-04-26 13:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 13:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 13:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 13:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 13:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 13: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 13:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 13: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-04-26 13:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 13:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 13:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 13:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 13:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 13:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 13:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 13:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 13:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 13:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 13:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 13:59:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 13:59:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 13:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 13:59:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 13:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 13:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":55472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 13:59:51] local.INFO: GPS data processed {"connection_id":55472,"processed":1,"errors":0,"total":1} 
[2026-04-26 13:59:51] local.INFO: Acknowledgment sent {"connection_id":55472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:00:13] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:00:13] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:00:13] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:00:14] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:00:14] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:00:14] local.INFO: IMEI packet received {"connection_id":54802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:00:17] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:00:17] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:00:17] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:00:18] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:00:18] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:00:18] local.INFO: Packet analysis {"connection_id":54801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:00:18] local.INFO: Extracted packet for processing {"connection_id":54801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00: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-04-26 14:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 14:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:00:18] 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-04-26 14:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:00:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":54801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:00:18] local.INFO: GPS data processed {"connection_id":54801,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:00:18] local.INFO: Acknowledgment sent {"connection_id":54801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:00:19] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:00:19] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:00:19] local.INFO: IMEI packet received {"connection_id":54802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":54802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:00:20] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 14:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 14:00:20] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 14:00:20] local.INFO: Packet analysis {"connection_id":54802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 14:00:20] local.INFO: Extracted packet for processing {"connection_id":54802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 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-04-26 14:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 14:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 14:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:00:20] 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-04-26 14:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:00:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:00:20] local.INFO: GPS data processed {"connection_id":54802,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:00:20] local.INFO: Acknowledgment sent {"connection_id":54802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:00:49] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:00:49] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:00:49] local.INFO: Packet analysis {"connection_id":54801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:00:49] local.INFO: Extracted packet for processing {"connection_id":54801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00: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-04-26 14:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 14:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:00:49] 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-04-26 14:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:00:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":54801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:00:49] local.INFO: GPS data processed {"connection_id":54801,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:00:49] local.INFO: Acknowledgment sent {"connection_id":54801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:00:51] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 14:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 14:00:51] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e48a10012cb299c007822ce0005200122e..."} 
[2026-04-26 14:00:51] local.INFO: Packet analysis {"connection_id":54802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 14:00:51] local.INFO: Extracted packet for processing {"connection_id":54802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e4"} 
[2026-04-26 14:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961052928001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777191914000,"timestamp_ms":1777191914000,"timestamp_seconds":1777191914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e48a10"} 
[2026-04-26 14:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 14:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961052928001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961052928001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:00:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961052928001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:00:51] local.INFO: GPS data processed {"connection_id":54802,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:00:51] local.INFO: Acknowledgment sent {"connection_id":54802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:01:12] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:01:12] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:01:12] local.INFO: IMEI packet received {"connection_id":54733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":54733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:01:17] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:01:17] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:01:17] local.INFO: IMEI packet received {"connection_id":54733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":54733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:01:18] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:01:18] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:01:18] local.INFO: Packet analysis {"connection_id":54733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:01:18] local.INFO: Extracted packet for processing {"connection_id":54733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01: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-04-26 14:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 14:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:01:18] 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-04-26 14:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:01:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":54733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:01:18] local.INFO: GPS data processed {"connection_id":54733,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:01:18] local.INFO: Acknowledgment sent {"connection_id":54733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:01:19] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:01:19] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:01:19] local.INFO: IMEI packet received {"connection_id":54535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":54535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:01:24] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:01:24] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:01:24] local.INFO: IMEI packet received {"connection_id":54535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":54535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:01:25] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:01:25] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:01:25] local.INFO: Packet analysis {"connection_id":54535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:01:25] local.INFO: Extracted packet for processing {"connection_id":54535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:01:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:01:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:01:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:01:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:01:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:01:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:01:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:01:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:01:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:01:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:01:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:01:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:01:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:01:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:01:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:01:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:01:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:01:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:01:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:01:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:01:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:01:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:01:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:01:25] local.INFO: DEBUG: GPS processor result {"connection_id":54535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:01:25] local.INFO: GPS data processed {"connection_id":54535,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:01:25] local.INFO: Acknowledgment sent {"connection_id":54535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:01:50] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:01:50] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:01:50] local.INFO: Packet analysis {"connection_id":54733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:01:50] local.INFO: Extracted packet for processing {"connection_id":54733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:50] 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-04-26 14:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 14:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:01:50] 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-04-26 14:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:01:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":54733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:01:50] local.INFO: GPS data processed {"connection_id":54733,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:01:50] local.INFO: Acknowledgment sent {"connection_id":54733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:01:56] local.INFO: TCP Data received {"connection_id":54535,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:01:56] local.INFO: Processing buffer {"connection_id":54535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:01:56] local.INFO: Packet analysis {"connection_id":54535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:01:56] local.INFO: Extracted packet for processing {"connection_id":54535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:01:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:01:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":54535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:01:56] local.INFO: GPS data processed {"connection_id":54535,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:01:56] local.INFO: Acknowledgment sent {"connection_id":54535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:02:12] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:02:12] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:02:12] local.INFO: IMEI packet received {"connection_id":54803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":54803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:02:14] local.INFO: TCP Data received {"connection_id":55475,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:02:14] local.INFO: Processing buffer {"connection_id":55475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:02:14] local.INFO: IMEI packet received {"connection_id":55475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":55475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:02:17] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:02:17] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:02:17] local.INFO: IMEI packet received {"connection_id":54803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":54803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:02:18] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:02:18] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:02:18] local.INFO: Packet analysis {"connection_id":54803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:02:18] local.INFO: Extracted packet for processing {"connection_id":54803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02: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-04-26 14:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 14:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:02:18] 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-04-26 14:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:02:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":54803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:02:18] local.INFO: GPS data processed {"connection_id":54803,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:02:18] local.INFO: Acknowledgment sent {"connection_id":54803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:02:19] local.INFO: TCP Data received {"connection_id":55475,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:02:19] local.INFO: Processing buffer {"connection_id":55475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:02:19] local.INFO: IMEI packet received {"connection_id":55475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":55475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:02:20] local.INFO: TCP Data received {"connection_id":55475,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:02:20] local.INFO: Processing buffer {"connection_id":55475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:02:20] local.INFO: Packet analysis {"connection_id":55475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:02:20] local.INFO: Extracted packet for processing {"connection_id":55475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 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-04-26 14:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:02: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-04-26 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-04-26 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-04-26 14:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:02: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-04-26 14:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:02:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":55475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:02:20] local.INFO: GPS data processed {"connection_id":55475,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:02:20] local.INFO: Acknowledgment sent {"connection_id":55475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:02:49] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:02:49] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e6a138012d196f80071fecc00041010d29..."} 
[2026-04-26 14:02:49] local.INFO: Packet analysis {"connection_id":54803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:02:49] local.INFO: Extracted packet for processing {"connection_id":54803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e6"} 
[2026-04-26 14:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961088000001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02: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-04-26 14:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192051000,"timestamp_ms":1777192051000,"timestamp_seconds":1777192051,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e6a138"} 
[2026-04-26 14:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:02:49] 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-04-26 14:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961088000001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961088000001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:02:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961088000001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":54803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:02:49] local.INFO: GPS data processed {"connection_id":54803,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:02:49] local.INFO: Acknowledgment sent {"connection_id":54803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:02:51] local.INFO: TCP Data received {"connection_id":55475,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:02:51] local.INFO: Processing buffer {"connection_id":55475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:02:51] local.INFO: Packet analysis {"connection_id":55475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:02:51] local.INFO: Extracted packet for processing {"connection_id":55475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:02: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-04-26 14: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-04-26 14:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:02: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-04-26 14:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:02:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":55475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:02:51] local.INFO: GPS data processed {"connection_id":55475,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:02:51] local.INFO: Acknowledgment sent {"connection_id":55475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:03:14] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:03:14] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:03:14] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:03:17] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:03:17] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:03:17] local.INFO: IMEI packet received {"connection_id":54734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":54734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:03:19] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:03:19] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:03:19] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:03:20] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:03:20] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:03:20] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:03:20] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 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-04-26 14:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:03: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-04-26 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-04-26 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-04-26 14:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:03: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-04-26 14:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:03:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:03:20] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:03:20] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:03:22] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:03:22] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:03:22] local.INFO: IMEI packet received {"connection_id":54734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":54734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:03:23] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:03:23] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:03:23] local.INFO: Packet analysis {"connection_id":54734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:03:23] local.INFO: Extracted packet for processing {"connection_id":54734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03: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-04-26 14:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:03:23] 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-04-26 14:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:03:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":54734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:03:23] local.INFO: GPS data processed {"connection_id":54734,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:03:23] local.INFO: Acknowledgment sent {"connection_id":54734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:03:51] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:03:51] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:03:51] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:03:51] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:03: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-04-26 14: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-04-26 14:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:03: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-04-26 14:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:03:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:03:51] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:03:51] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:03:54] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:03:54] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:03:54] local.INFO: Packet analysis {"connection_id":54734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:03:54] local.INFO: Extracted packet for processing {"connection_id":54734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:03: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-04-26 14:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:03:54] 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-04-26 14:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:03:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":54734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:03:54] local.INFO: GPS data processed {"connection_id":54734,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:03:54] local.INFO: Acknowledgment sent {"connection_id":54734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:04:05] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:04:05] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:04:05] local.INFO: IMEI packet received {"connection_id":54735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":54735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:04:12] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:04:12] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:04:12] local.INFO: IMEI packet received {"connection_id":54536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":54536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:04:14] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:04:14] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:04:14] local.INFO: IMEI packet received {"connection_id":54537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":54537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:04:17] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:04:17] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:04:17] local.INFO: IMEI packet received {"connection_id":54536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":54536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:04:18] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:04:18] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:04:18] local.INFO: Packet analysis {"connection_id":54536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:04:18] local.INFO: Extracted packet for processing {"connection_id":54536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04: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-04-26 14:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:04:18] 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-04-26 14: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-04-26 14:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:04:18] 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-04-26 14:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:04:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":54536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:04:18] local.INFO: GPS data processed {"connection_id":54536,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:04:18] local.INFO: Acknowledgment sent {"connection_id":54536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:04:19] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:04:19] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:04:19] local.INFO: IMEI packet received {"connection_id":54537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:04:20] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:04:20] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:04:20] local.INFO: Packet analysis {"connection_id":54537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:04:20] local.INFO: Extracted packet for processing {"connection_id":54537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:04: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-04-26 14: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-04-26 14:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:04: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-04-26 14:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":54537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:04:20] local.INFO: GPS data processed {"connection_id":54537,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:04:20] local.INFO: Acknowledgment sent {"connection_id":54537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:04:40] local.INFO: TCP Data received {"connection_id":54805,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:04:40] local.INFO: Processing buffer {"connection_id":54805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:04:40] local.INFO: IMEI packet received {"connection_id":54805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":54805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:04:49] local.INFO: TCP Data received {"connection_id":54536,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:04:49] local.INFO: Processing buffer {"connection_id":54536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:04:49] local.INFO: Packet analysis {"connection_id":54536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:04:49] local.INFO: Extracted packet for processing {"connection_id":54536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04: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-04-26 14:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:04:49] 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-04-26 14: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-04-26 14:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:04:49] 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-04-26 14:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:04:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":54536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:04:49] local.INFO: GPS data processed {"connection_id":54536,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:04:49] local.INFO: Acknowledgment sent {"connection_id":54536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:04:51] local.INFO: TCP Data received {"connection_id":54537,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:04:51] local.INFO: Processing buffer {"connection_id":54537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:04:51] local.INFO: Packet analysis {"connection_id":54537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:04:51] local.INFO: Extracted packet for processing {"connection_id":54537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:04: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-04-26 14: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-04-26 14:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:04: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-04-26 14:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:04:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:04:51] local.INFO: GPS data processed {"connection_id":54537,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:04:51] local.INFO: Acknowledgment sent {"connection_id":54537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:05:12] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:05:12] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:05:12] local.INFO: IMEI packet received {"connection_id":54736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":54736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:05:14] local.INFO: TCP Data received {"connection_id":54737,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:05:14] local.INFO: Processing buffer {"connection_id":54737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:05:14] local.INFO: IMEI packet received {"connection_id":54737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":54737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:05:17] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:05:17] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:05:17] local.INFO: IMEI packet received {"connection_id":54736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":54736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:05:18] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:05:18] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:05:18] local.INFO: Packet analysis {"connection_id":54736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:05:18] local.INFO: Extracted packet for processing {"connection_id":54736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05: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-04-26 14:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:05:18] 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-04-26 14: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-04-26 14:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:05:18] 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-04-26 14:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:05:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":54736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:05:18] local.INFO: GPS data processed {"connection_id":54736,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:05:18] local.INFO: Acknowledgment sent {"connection_id":54736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:05:19] local.INFO: TCP Data received {"connection_id":54737,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:05:19] local.INFO: Processing buffer {"connection_id":54737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:05:19] local.INFO: IMEI packet received {"connection_id":54737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":54737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:05:22] local.INFO: TCP Data received {"connection_id":54737,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:05:22] local.INFO: Processing buffer {"connection_id":54737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8e921d8012cb299c007822ce0005100122e..."} 
[2026-04-26 14:05:22] local.INFO: Packet analysis {"connection_id":54737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:05:22] local.INFO: Extracted packet for processing {"connection_id":54737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8e9"} 
[2026-04-26 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961129984001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777192215000,"timestamp_ms":1777192215000,"timestamp_seconds":1777192215,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8e921d8"} 
[2026-04-26 14:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:05:22] 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-04-26 14: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-04-26 14:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:05: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-04-26 14:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961129984001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961129984001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:05:22] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:05:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961129984001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":54737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:05:22] local.INFO: GPS data processed {"connection_id":54737,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:05:22] local.INFO: Acknowledgment sent {"connection_id":54737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:05:49] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:05:49] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:05:49] local.INFO: Packet analysis {"connection_id":54736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:05:49] local.INFO: Extracted packet for processing {"connection_id":54736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:05: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-04-26 14:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:05:49] 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-04-26 14:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:05:49] 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-04-26 14:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:05:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":54736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:05:49] local.INFO: GPS data processed {"connection_id":54736,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:05:49] local.INFO: Acknowledgment sent {"connection_id":54736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:06:17] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:06:17] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:06:17] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:06:19] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:06:19] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:06:19] local.INFO: IMEI packet received {"connection_id":54806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":54806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:06:22] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:06:22] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:06:22] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:06:23] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:06:23] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:06:23] local.INFO: Packet analysis {"connection_id":54738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:06:23] local.INFO: Extracted packet for processing {"connection_id":54738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06: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-04-26 14:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:06:23] 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-04-26 14:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:06:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":54738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:06:23] local.INFO: GPS data processed {"connection_id":54738,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:06:23] local.INFO: Acknowledgment sent {"connection_id":54738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:06:24] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:06:24] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:06:24] local.INFO: IMEI packet received {"connection_id":54806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":54806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:06:25] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:06:25] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:06:25] local.INFO: Packet analysis {"connection_id":54806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:06:25] local.INFO: Extracted packet for processing {"connection_id":54806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:06:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:06:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:06:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:06:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:06:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:06:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:06:25] local.INFO: DEBUG: GPS processor result {"connection_id":54806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:06:25] local.INFO: GPS data processed {"connection_id":54806,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:06:25] local.INFO: Acknowledgment sent {"connection_id":54806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:06:27] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:06:27] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:06:27] local.INFO: Packet analysis {"connection_id":54738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:06:27] local.INFO: Extracted packet for processing {"connection_id":54738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:27] 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-04-26 14:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:06:27] 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-04-26 14: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-04-26 14:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:06:27] 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-04-26 14:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:06:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":54738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:06:27] local.INFO: GPS data processed {"connection_id":54738,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:06:27] local.INFO: Acknowledgment sent {"connection_id":54738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:06:56] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:06:56] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:06:56] local.INFO: Packet analysis {"connection_id":54806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:06:56] local.INFO: Extracted packet for processing {"connection_id":54806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:06:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:06:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:06:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":54806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:06:56] local.INFO: GPS data processed {"connection_id":54806,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:06:56] local.INFO: Acknowledgment sent {"connection_id":54806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:07:10] local.INFO: TCP Data received {"connection_id":55479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:10] local.INFO: Processing buffer {"connection_id":55479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:10] local.INFO: IMEI packet received {"connection_id":55479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":55479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:07:10] local.INFO: TCP Data received {"connection_id":55479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:10] local.INFO: Processing buffer {"connection_id":55479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:10] local.INFO: IMEI packet received {"connection_id":55479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":55479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:07:12] local.INFO: TCP Data received {"connection_id":55478,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:07:12] local.INFO: Processing buffer {"connection_id":55478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:07:12] local.INFO: IMEI packet received {"connection_id":55478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":55478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:07:14] local.INFO: TCP Data received {"connection_id":55480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:07:14] local.INFO: Processing buffer {"connection_id":55480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:07:14] local.INFO: IMEI packet received {"connection_id":55480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":55480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:07:15] local.INFO: TCP Data received {"connection_id":55479,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55479,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:15] local.INFO: Processing buffer {"connection_id":55479,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:07:15] local.INFO: IMEI packet received {"connection_id":55479,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":55479,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:07:16] local.INFO: TCP Data received {"connection_id":55479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000000000021b100100000000000000000000000000..."} 
[2026-04-26 14:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000021b100100000000000000000000000000..."} 
[2026-04-26 14:07:16] local.INFO: Processing buffer {"connection_id":55479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000021b100100000000000000000000000000..."} 
[2026-04-26 14:07:16] local.INFO: Packet analysis {"connection_id":55479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-26 14:07:16] local.INFO: Extracted packet for processing {"connection_id":55479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-26 14:07:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 14:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76453033503883264,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,188,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 14:07:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":138000,"timestamp_seconds":138,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 14:07:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 14:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":55479,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":55479,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 14:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":55479,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 14:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 14:07:16] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 14:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":55479,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 14:07:16] local.ERROR: GPS data processing failed {"connection_id":55479,"error":"No valid data to process"} 
[2026-04-26 14:07:16] local.INFO: Acknowledgment sent {"connection_id":55479,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 14:07:17] local.INFO: TCP Data received {"connection_id":55478,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:07:17] local.INFO: Processing buffer {"connection_id":55478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:07:17] local.INFO: IMEI packet received {"connection_id":55478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":55478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:07:18] local.INFO: TCP Data received {"connection_id":55478,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:07:18] local.INFO: Processing buffer {"connection_id":55478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:07:18] local.INFO: Packet analysis {"connection_id":55478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:07:18] local.INFO: Extracted packet for processing {"connection_id":55478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07: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-04-26 14:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:07:18] 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-04-26 14:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:07:18] 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-04-26 14:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:07:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":55478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:07:18] local.INFO: GPS data processed {"connection_id":55478,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:07:18] local.INFO: Acknowledgment sent {"connection_id":55478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:07:19] local.INFO: TCP Data received {"connection_id":55480,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:07:19] local.INFO: Processing buffer {"connection_id":55480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:07:19] local.INFO: IMEI packet received {"connection_id":55480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":55480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:07:20] local.INFO: TCP Data received {"connection_id":55480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:07:20] local.INFO: Processing buffer {"connection_id":55480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:07:20] local.INFO: Packet analysis {"connection_id":55480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:07:20] local.INFO: Extracted packet for processing {"connection_id":55480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:07: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-04-26 14: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-04-26 14:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:07:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":55480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:07:20] local.INFO: GPS data processed {"connection_id":55480,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:07:20] local.INFO: Acknowledgment sent {"connection_id":55480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:07:34] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:34] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:34] local.INFO: IMEI packet received {"connection_id":54807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-04-26 14:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":54807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:07:35] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:35] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:35] local.INFO: IMEI packet received {"connection_id":54807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-04-26 14:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":54807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:07:39] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:39] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-04-26 14:07:39] local.INFO: IMEI packet received {"connection_id":54807,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-04-26 14:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":54807,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:07:39] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 14:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 14:07:39] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 14:07:39] local.INFO: Packet analysis {"connection_id":54807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 14:07:39] local.INFO: Extracted packet for processing {"connection_id":54807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 14:07:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 14:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111839963021312,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 14:07:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 14:07:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 14:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54807,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":0} 
[2026-04-26 14:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":0} 
[2026-04-26 14:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 14:07:39] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 14:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":54807,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 14:07:39] local.ERROR: GPS data processing failed {"connection_id":54807,"error":"No valid data to process"} 
[2026-04-26 14:07:39] local.INFO: Acknowledgment sent {"connection_id":54807,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 14:07:47] local.INFO: TCP Data received {"connection_id":55479,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eff7d8012d77c30005d82158000e00bd0a..."} 
[2026-04-26 14:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eff7d8012d77c30005d82158000e00bd0a..."} 
[2026-04-26 14:07:47] local.INFO: Processing buffer {"connection_id":55479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eff7d8012d77c30005d82158000e00bd0a..."} 
[2026-04-26 14:07:47] local.INFO: Packet analysis {"connection_id":55479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:07:47] local.INFO: Extracted packet for processing {"connection_id":55479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:07:47] local.INFO: GPS Element Parsed {"raw_longitude":762823424,"raw_latitude":98050392,"longitude_deg":76.2823424,"latitude_deg":9.8050392,"altitude":14,"angle":189,"satellites":10,"speed":7,"hex_longitude":"2d77c300","hex_latitude":"05d82158","is_valid_coordinates":true} 
[2026-04-26 14:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961321472001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76454098655772672,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8629670967328798720,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] 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-04-26 14:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777192663000,"timestamp_ms":1777192663000,"timestamp_seconds":1777192663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eff7d8"} 
[2026-04-26 14:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3659183302967296,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-2089652630356880640,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4021389313,"corrected_to":0} 
[2026-04-26 14:07:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2918449358,"corrected_to":0} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2654797824,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3892391287,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3221608511,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3628955648,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-9223040569675086376,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.WARNING: Large IO value detected {"io_id":84,"raw_value":-6917515830699098103,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:47] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,244,85,24,241,157,16,158,240,45,192,35,14,10,66,228,38,212,1,6,227,200,216,4,113,205,15,161,184,239,53,2,5,11,13,95,84],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":200,"original":4021389313,"validated":0},{"io_id":205,"original":2918449358,"validated":0}]} 
[2026-04-26 14:07:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008997674504421376,"timestamp_seconds":1008997674504421.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 14:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":55479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":55479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":55479,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:07:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961321472001,"66":13472,"244":206,"85":15104,"24":7,"16":76454098655772672,"45":8629670967328798720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-26 14:07:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:07:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:07:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961321472001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:07:47] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-26 14:07:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:07:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76454098655772672,"km_value":76454098655772.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:07:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8629670967328798720,"description":"Unknown IO ID 45"} 
[2026-04-26 14:07:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961321472001,"power":13472,"unknown_244":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8629670967328798720}} 
[2026-04-26 14:07:47] local.INFO: DEBUG: GPS processor result {"connection_id":55479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:07:47] local.INFO: GPS data processed {"connection_id":55479,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:07:47] local.INFO: Acknowledgment sent {"connection_id":55479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:07:49] local.INFO: TCP Data received {"connection_id":55478,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:07:49] local.INFO: Processing buffer {"connection_id":55478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8eb3900012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:07:49] local.INFO: Packet analysis {"connection_id":55478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:07:49] local.INFO: Extracted packet for processing {"connection_id":55478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8eb"} 
[2026-04-26 14:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961165056001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07: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-04-26 14:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192352000,"timestamp_ms":1777192352000,"timestamp_seconds":1777192352,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8eb3900"} 
[2026-04-26 14:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:07:49] 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-04-26 14:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:07:49] 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-04-26 14:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961165056001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961165056001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:07:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961165056001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":55478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:07:49] local.INFO: GPS data processed {"connection_id":55478,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:07:49] local.INFO: Acknowledgment sent {"connection_id":55478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:07:51] local.INFO: TCP Data received {"connection_id":55480,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:07:51] local.INFO: Processing buffer {"connection_id":55480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:07:51] local.INFO: Packet analysis {"connection_id":55480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:07:51] local.INFO: Extracted packet for processing {"connection_id":55480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 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-04-26 14:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:07: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-04-26 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-04-26 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-04-26 14:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:07:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":55480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:07:51] local.INFO: GPS data processed {"connection_id":55480,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:07:51] local.INFO: Acknowledgment sent {"connection_id":55480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:08:10] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 14:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 14:08:10] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 14:08:10] local.INFO: Packet analysis {"connection_id":54807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 14:08:10] local.INFO: Extracted packet for processing {"connection_id":54807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 14:08:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111839963021312,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 14:08:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 14:08:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 14:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54807,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":0} 
[2026-04-26 14:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":0} 
[2026-04-26 14:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 14:08:10] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 14:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":54807,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 14:08:10] local.ERROR: GPS data processing failed {"connection_id":54807,"error":"No valid data to process"} 
[2026-04-26 14:08:10] local.INFO: Acknowledgment sent {"connection_id":54807,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 14:08:11] local.INFO: TCP Data received {"connection_id":55481,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:11] local.INFO: Processing buffer {"connection_id":55481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:11] local.INFO: IMEI packet received {"connection_id":55481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":55481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:08:12] local.INFO: TCP Data received {"connection_id":55481,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:12] local.INFO: Processing buffer {"connection_id":55481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:12] local.INFO: IMEI packet received {"connection_id":55481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":55481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:08:14] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:08:14] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:08:14] local.INFO: IMEI packet received {"connection_id":54739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":54739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:08:17] local.INFO: TCP Data received {"connection_id":55481,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:17] local.INFO: Processing buffer {"connection_id":55481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:08:17] local.INFO: IMEI packet received {"connection_id":55481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":55481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:08:18] local.INFO: TCP Data received {"connection_id":55481,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:08:18] local.INFO: Processing buffer {"connection_id":55481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:08:18] local.INFO: Packet analysis {"connection_id":55481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:08:18] local.INFO: Extracted packet for processing {"connection_id":55481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08: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-04-26 14:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:08:18] 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-04-26 14:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:08:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":55481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:08:18] local.INFO: GPS data processed {"connection_id":55481,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:08:18] local.INFO: Acknowledgment sent {"connection_id":55481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:08:19] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:08:19] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:08:19] local.INFO: IMEI packet received {"connection_id":54739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:08:20] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:08:20] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:08:20] local.INFO: Packet analysis {"connection_id":54739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:08:20] local.INFO: Extracted packet for processing {"connection_id":54739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:08: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-04-26 14: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-04-26 14:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:08:20] 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-04-26 14:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:08:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":54739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:08:20] local.INFO: GPS data processed {"connection_id":54739,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:08:20] local.INFO: Acknowledgment sent {"connection_id":54739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:08:42] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:42] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:42] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:08:42] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f074d80100000000000000000000000000..."} 
[2026-04-26 14:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f074d80100000000000000000000000000..."} 
[2026-04-26 14:08:42] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f074d80100000000000000000000000000..."} 
[2026-04-26 14:08:42] local.INFO: Packet analysis {"connection_id":54807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:08:42] local.INFO: Extracted packet for processing {"connection_id":54807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 14:08: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-04-26 14:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111839963021312,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 14:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777192695000,"timestamp_ms":1777192695000,"timestamp_seconds":1777192695,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f074d8"} 
[2026-04-26 14:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:08: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-04-26 14:08: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-04-26 14:08: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-04-26 14:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-04-26 14:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-04-26 14:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-04-26 14:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-04-26 14:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":54807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 14:08:42] local.INFO: GPS data processed {"connection_id":54807,"processed":0,"errors":0,"total":1} 
[2026-04-26 14:08:42] local.INFO: Acknowledgment sent {"connection_id":54807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:08:43] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:43] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:43] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:08:48] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:48] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:48] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:08:49] local.INFO: TCP Data received {"connection_id":55481,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:08:49] local.INFO: Processing buffer {"connection_id":55481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:08:49] local.INFO: Packet analysis {"connection_id":55481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:08:49] local.INFO: Extracted packet for processing {"connection_id":55481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08: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-04-26 14:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:08:49] 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-04-26 14:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":55481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:08:49] local.INFO: GPS data processed {"connection_id":55481,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:08:49] local.INFO: Acknowledgment sent {"connection_id":55481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:08:51] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:51] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:08:51] local.INFO: IMEI packet received {"connection_id":54540,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":54540,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:08:51] local.INFO: TCP Data received {"connection_id":54739,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:08:51] local.INFO: Processing buffer {"connection_id":54739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:08:51] local.INFO: Packet analysis {"connection_id":54739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:08:51] local.INFO: Extracted packet for processing {"connection_id":54739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:08: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-04-26 14: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-04-26 14:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:08:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":54739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:08:51] local.INFO: GPS data processed {"connection_id":54739,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:08:51] local.INFO: Acknowledgment sent {"connection_id":54739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:08:52] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f08860012d779e4005d81738000001070c..."} 
[2026-04-26 14:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f08860012d779e4005d81738000001070c..."} 
[2026-04-26 14:08:52] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f08860012d779e4005d81738000001070c..."} 
[2026-04-26 14:08:52] local.INFO: Packet analysis {"connection_id":54540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:08:52] local.INFO: Extracted packet for processing {"connection_id":54540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:08:52] local.INFO: GPS Element Parsed {"raw_longitude":762814016,"raw_latitude":98047800,"longitude_deg":76.2814016,"latitude_deg":9.80478,"altitude":0,"angle":263,"satellites":12,"speed":9,"hex_longitude":"2d779e40","hex_latitude":"05d81738","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:08:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961326080001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76454575397142528,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8624745155235915776,"note":"Value kept but may cause issues"} 
[2026-04-26 14:08:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:08:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777192700000,"timestamp_ms":1777192700000,"timestamp_seconds":1777192700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f08860"} 
[2026-04-26 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-04-26 14:08:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 14:08:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 14:08:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:08:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:08:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:08:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:08:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:08:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:08:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:08:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961326080001,"66":13624,"168":206,"87":12288,"24":9,"16":76454575397142528,"45":8624745155235915776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 14:08:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:08:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:08:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961326080001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:08:52] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 14:08:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 14:08:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76454575397142528,"km_value":76454575397142.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:08:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8624745155235915776,"description":"Unknown IO ID 45"} 
[2026-04-26 14:08:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961326080001,"power":13624,"unknown_168":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8624745155235915776}} 
[2026-04-26 14:08:52] local.INFO: DEBUG: GPS processor result {"connection_id":54540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:08:52] local.INFO: GPS data processed {"connection_id":54540,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:08:52] local.INFO: Acknowledgment sent {"connection_id":54540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:02] local.INFO: TCP Data received {"connection_id":54540,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f0da68012d77858005d812e8000001120e..."} 
[2026-04-26 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f0da68012d77858005d812e8000001120e..."} 
[2026-04-26 14:09:02] local.INFO: Processing buffer {"connection_id":54540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f0da68012d77858005d812e8000001120e..."} 
[2026-04-26 14:09:02] local.INFO: Packet analysis {"connection_id":54540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:09:02] local.INFO: Extracted packet for processing {"connection_id":54540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762807680,"raw_latitude":98046696,"longitude_deg":76.280768,"latitude_deg":9.8046696,"altitude":0,"angle":274,"satellites":14,"speed":10,"hex_longitude":"2d778580","hex_latitude":"05d812e8","is_valid_coordinates":true} 
[2026-04-26 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961331200001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76454884634787840,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8619397130678122496,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777192721000,"timestamp_ms":1777192721000,"timestamp_seconds":1777192721,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f0da68"} 
[2026-04-26 14:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 14:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":54540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":54540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":54540,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961331200001,"66":13559,"168":206,"87":12288,"24":10,"16":76454884634787840,"45":8619397130678122496},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,87,24,16,45]} 
[2026-04-26 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961331200001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:09:02] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-26 14:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-26 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76454884634787840,"km_value":76454884634787.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8619397130678122496,"description":"Unknown IO ID 45"} 
[2026-04-26 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961331200001,"power":13559,"unknown_168":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8619397130678122496}} 
[2026-04-26 14:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":54540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:09:02] local.INFO: GPS data processed {"connection_id":54540,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:09:02] local.INFO: Acknowledgment sent {"connection_id":54540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:12] local.INFO: TCP Data received {"connection_id":55482,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:09:12] local.INFO: Processing buffer {"connection_id":55482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:09:12] local.INFO: IMEI packet received {"connection_id":55482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":55482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:09:13] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f0c6e00100000000000000000000000000..."} 
[2026-04-26 14:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f0c6e00100000000000000000000000000..."} 
[2026-04-26 14:09:13] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f0c6e00100000000000000000000000000..."} 
[2026-04-26 14:09:13] local.INFO: Packet analysis {"connection_id":54807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:09:13] local.INFO: Extracted packet for processing {"connection_id":54807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f0"} 
[2026-04-26 14:09:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111839963021312,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 14:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777192716000,"timestamp_ms":1777192716000,"timestamp_seconds":1777192716,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f0c6e0"} 
[2026-04-26 14:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 14:09:13] 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-04-26 14: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-04-26 14:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-04-26 14:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-04-26 14:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-04-26 14:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-04-26 14:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":54807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 14:09:13] local.INFO: GPS data processed {"connection_id":54807,"processed":0,"errors":0,"total":1} 
[2026-04-26 14:09:13] local.INFO: Acknowledgment sent {"connection_id":54807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:14] local.INFO: TCP Data received {"connection_id":55483,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:09:14] local.INFO: Processing buffer {"connection_id":55483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:09:14] local.INFO: IMEI packet received {"connection_id":55483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":55483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:09:17] local.INFO: TCP Data received {"connection_id":55482,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:09:17] local.INFO: Processing buffer {"connection_id":55482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:09:17] local.INFO: IMEI packet received {"connection_id":55482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":55482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:09:18] local.INFO: TCP Data received {"connection_id":55482,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:09:18] local.INFO: Processing buffer {"connection_id":55482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:09:18] local.INFO: Packet analysis {"connection_id":55482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:09:18] local.INFO: Extracted packet for processing {"connection_id":55482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09: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-04-26 14:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:09:18] 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-04-26 14:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:09:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":55482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:09:18] local.INFO: GPS data processed {"connection_id":55482,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:09:18] local.INFO: Acknowledgment sent {"connection_id":55482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:19] local.INFO: TCP Data received {"connection_id":55483,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:09:19] local.INFO: Processing buffer {"connection_id":55483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:09:19] local.INFO: IMEI packet received {"connection_id":55483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":55483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:09:20] local.INFO: TCP Data received {"connection_id":55483,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:09:20] local.INFO: Processing buffer {"connection_id":55483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:09:20] local.INFO: Packet analysis {"connection_id":55483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:09:20] local.INFO: Extracted packet for processing {"connection_id":55483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:09: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-04-26 14:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:09:20] 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-04-26 14:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":55483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:09:20] local.INFO: GPS data processed {"connection_id":55483,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:09:20] local.INFO: Acknowledgment sent {"connection_id":55483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:50] local.INFO: TCP Data received {"connection_id":55482,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:09:50] local.INFO: Processing buffer {"connection_id":55482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:09:50] local.INFO: Packet analysis {"connection_id":55482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:09:50] local.INFO: Extracted packet for processing {"connection_id":55482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:50] 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-04-26 14:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:09:50] 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-04-26 14:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:09:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":55482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:09:50] local.INFO: GPS data processed {"connection_id":55482,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:09:50] local.INFO: Acknowledgment sent {"connection_id":55482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:51] local.INFO: TCP Data received {"connection_id":54807,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f118e80100000000000000000000000000..."} 
[2026-04-26 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f118e80100000000000000000000000000..."} 
[2026-04-26 14:09:51] local.INFO: Processing buffer {"connection_id":54807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f118e80100000000000000000000000000..."} 
[2026-04-26 14:09:51] local.INFO: Packet analysis {"connection_id":54807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f1"} 
[2026-04-26 14:09:51] local.INFO: Extracted packet for processing {"connection_id":54807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f1"} 
[2026-04-26 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":19111839963021312,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 14:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192737000,"timestamp_ms":1777192737000,"timestamp_seconds":1777192737,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f118e8"} 
[2026-04-26 14:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 14:09:51] 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-04-26 14: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-04-26 14:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-04-26 14:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54807,"device_imei":"862567072573210","avl_records_count":1} 
[2026-04-26 14:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-04-26 14:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-04-26 14:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":54807,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 14:09:51] local.INFO: GPS data processed {"connection_id":54807,"processed":0,"errors":0,"total":1} 
[2026-04-26 14:09:51] local.INFO: Acknowledgment sent {"connection_id":54807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:09:51] local.INFO: TCP Data received {"connection_id":55483,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:09:51] local.INFO: Processing buffer {"connection_id":55483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:09:51] local.INFO: Packet analysis {"connection_id":55483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:09:51] local.INFO: Extracted packet for processing {"connection_id":55483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:09: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-04-26 14: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-04-26 14:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:09:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":55483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:09:51] local.INFO: GPS data processed {"connection_id":55483,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:09:51] local.INFO: Acknowledgment sent {"connection_id":55483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:10:05] local.INFO: TCP Data received {"connection_id":54541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:10:05] local.INFO: Processing buffer {"connection_id":54541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:10:05] local.INFO: IMEI packet received {"connection_id":54541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":54541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:10:17] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:10:17] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:10:17] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:10:19] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:10:19] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:10:19] local.INFO: IMEI packet received {"connection_id":54741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":54741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:10:22] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:10:22] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:10:22] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:10:23] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:10:23] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:10:23] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:10:23] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10: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-04-26 14:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:10:23] 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-04-26 14:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:10:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:10:23] local.INFO: GPS data processed {"connection_id":54808,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:10:23] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:10:24] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:10:24] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:10:24] local.INFO: IMEI packet received {"connection_id":54741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":54741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:10:25] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:10:25] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:10:25] local.INFO: Packet analysis {"connection_id":54741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:10:25] local.INFO: Extracted packet for processing {"connection_id":54741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:10:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:10:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:10:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":54741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:10:25] local.INFO: GPS data processed {"connection_id":54741,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:10:25] local.INFO: Acknowledgment sent {"connection_id":54741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:10:28] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:10:28] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:10:28] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:10:28] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:28] 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-04-26 14:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:10:28] 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-04-26 14:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:10:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:10:28] local.INFO: GPS data processed {"connection_id":54808,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:10:28] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:10:29] local.INFO: TCP Data received {"connection_id":54741,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:10:29] local.INFO: Processing buffer {"connection_id":54741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8edb9a0012cb299c007822ce0005100122e..."} 
[2026-04-26 14:10:29] local.INFO: Packet analysis {"connection_id":54741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:10:29] local.INFO: Extracted packet for processing {"connection_id":54741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ed"} 
[2026-04-26 14:10:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961207040001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777192516000,"timestamp_ms":1777192516000,"timestamp_seconds":1777192516,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8edb9a0"} 
[2026-04-26 14:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:10:29] 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-04-26 14:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961207040001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961207040001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:10:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961207040001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":54741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:10:29] local.INFO: GPS data processed {"connection_id":54741,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:10:29] local.INFO: Acknowledgment sent {"connection_id":54741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:10:45] local.INFO: TCP Data received {"connection_id":55484,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:10:45] local.INFO: Processing buffer {"connection_id":55484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:10:45] local.INFO: IMEI packet received {"connection_id":55484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":55484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:11:12] local.INFO: TCP Data received {"connection_id":55485,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:11:12] local.INFO: Processing buffer {"connection_id":55485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:11:12] local.INFO: IMEI packet received {"connection_id":55485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":55485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:11:14] local.INFO: TCP Data received {"connection_id":55486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:11:14] local.INFO: Processing buffer {"connection_id":55486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:11:14] local.INFO: IMEI packet received {"connection_id":55486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":55486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:11:17] local.INFO: TCP Data received {"connection_id":55485,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:11:17] local.INFO: Processing buffer {"connection_id":55485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:11:17] local.INFO: IMEI packet received {"connection_id":55485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":55485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:11:18] local.INFO: TCP Data received {"connection_id":55485,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:11:18] local.INFO: Processing buffer {"connection_id":55485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:11:18] local.INFO: Packet analysis {"connection_id":55485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:11:18] local.INFO: Extracted packet for processing {"connection_id":55485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11: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-04-26 14:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:11:18] 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-04-26 14:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:11:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":55485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:11:18] local.INFO: GPS data processed {"connection_id":55485,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:11:18] local.INFO: Acknowledgment sent {"connection_id":55485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:11:19] local.INFO: TCP Data received {"connection_id":55486,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:11:19] local.INFO: Processing buffer {"connection_id":55486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:11:19] local.INFO: IMEI packet received {"connection_id":55486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":55486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:11:20] local.INFO: TCP Data received {"connection_id":55486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:11:20] local.INFO: Processing buffer {"connection_id":55486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:11:20] local.INFO: Packet analysis {"connection_id":55486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:11:20] local.INFO: Extracted packet for processing {"connection_id":55486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 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-04-26 14:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:11: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-04-26 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-04-26 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-04-26 14:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:11:20] 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-04-26 14:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:11:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":55486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:11:20] local.INFO: GPS data processed {"connection_id":55486,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:11:20] local.INFO: Acknowledgment sent {"connection_id":55486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:11:49] local.INFO: TCP Data received {"connection_id":55485,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:11:49] local.INFO: Processing buffer {"connection_id":55485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:11:49] local.INFO: Packet analysis {"connection_id":55485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:11:49] local.INFO: Extracted packet for processing {"connection_id":55485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11: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-04-26 14:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:11:49] 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-04-26 14:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:11:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":55485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:11:49] local.INFO: GPS data processed {"connection_id":55485,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:11:49] local.INFO: Acknowledgment sent {"connection_id":55485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:11:53] local.INFO: TCP Data received {"connection_id":55486,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:11:53] local.INFO: Processing buffer {"connection_id":55486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:11:53] local.INFO: Packet analysis {"connection_id":55486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:11:53] local.INFO: Extracted packet for processing {"connection_id":55486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:11:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 14:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:11: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-04-26 14:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:11:53] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:11:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":55486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:11:53] local.INFO: GPS data processed {"connection_id":55486,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:11:53] local.INFO: Acknowledgment sent {"connection_id":55486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:12:12] local.INFO: TCP Data received {"connection_id":54542,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:12:12] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:12:12] local.INFO: IMEI packet received {"connection_id":54542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":54542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:12:14] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:12:14] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:12:14] local.INFO: IMEI packet received {"connection_id":54543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":54543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:12:17] local.INFO: TCP Data received {"connection_id":54542,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:12:17] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:12:17] local.INFO: IMEI packet received {"connection_id":54542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":54542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:12:18] local.INFO: TCP Data received {"connection_id":54542,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:12:18] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:12:18] local.INFO: Packet analysis {"connection_id":54542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:12:18] local.INFO: Extracted packet for processing {"connection_id":54542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12: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-04-26 14:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:12:18] 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-04-26 14:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:12:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":54542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:12:18] local.INFO: GPS data processed {"connection_id":54542,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:12:18] local.INFO: Acknowledgment sent {"connection_id":54542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:12:19] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:12:19] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:12:19] local.INFO: IMEI packet received {"connection_id":54543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":54543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:12:20] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:12:20] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:12:20] local.INFO: Packet analysis {"connection_id":54543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:12:20] local.INFO: Extracted packet for processing {"connection_id":54543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 14:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:12: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-04-26 14: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-04-26 14:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:12:20] 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-04-26 14:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:12:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":54543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:12:20] local.INFO: GPS data processed {"connection_id":54543,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:12:20] local.INFO: Acknowledgment sent {"connection_id":54543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:12:28] local.INFO: TCP Data received {"connection_id":55487,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:12:28] local.INFO: Processing buffer {"connection_id":55487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:12:28] local.INFO: IMEI packet received {"connection_id":55487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":55487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:12:49] local.INFO: TCP Data received {"connection_id":54542,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:12:49] local.INFO: Processing buffer {"connection_id":54542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8efd0c8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:12:49] local.INFO: Packet analysis {"connection_id":54542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:12:49] local.INFO: Extracted packet for processing {"connection_id":54542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ef"} 
[2026-04-26 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961242112001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12: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-04-26 14:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192653000,"timestamp_ms":1777192653000,"timestamp_seconds":1777192653,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8efd0c8"} 
[2026-04-26 14:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:12:49] 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-04-26 14:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961242112001,"66":2155,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961242112001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:12:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961242112001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":54542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:12:49] local.INFO: GPS data processed {"connection_id":54542,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:12:49] local.INFO: Acknowledgment sent {"connection_id":54542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:12:50] local.INFO: TCP Data received {"connection_id":55487,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:12:50] local.INFO: Processing buffer {"connection_id":55487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:12:50] local.INFO: IMEI packet received {"connection_id":55487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":55487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:12:51] local.INFO: TCP Data received {"connection_id":55487,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55487,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 14:12:51] local.INFO: Processing buffer {"connection_id":55487,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 14:12:51] local.INFO: IMEI packet received {"connection_id":55487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":55487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:12:51] local.INFO: TCP Data received {"connection_id":54543,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:12:51] local.INFO: Processing buffer {"connection_id":54543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:12:51] local.INFO: Packet analysis {"connection_id":54543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:12:51] local.INFO: Extracted packet for processing {"connection_id":54543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 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-04-26 14:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:12: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-04-26 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-04-26 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-04-26 14:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:12:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":54543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:12:51] local.INFO: GPS data processed {"connection_id":54543,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:12:51] local.INFO: Acknowledgment sent {"connection_id":54543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:13:12] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:12] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:12] local.INFO: IMEI packet received {"connection_id":54810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":54810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:13:12] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:12] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:12] local.INFO: IMEI packet received {"connection_id":54810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":54810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:13:14] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:13:14] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:13:14] local.INFO: IMEI packet received {"connection_id":54743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:13:19] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:13:19] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:13:19] local.INFO: IMEI packet received {"connection_id":54743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:13:20] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:13:20] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:13:20] local.INFO: Packet analysis {"connection_id":54743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:13:20] local.INFO: Extracted packet for processing {"connection_id":54743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 14:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:13: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-04-26 14: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-04-26 14:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:13:20] 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-04-26 14:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:13:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":54743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:13:20] local.INFO: GPS data processed {"connection_id":54743,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:13:20] local.INFO: Acknowledgment sent {"connection_id":54743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:13:20] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:20] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:13:20] local.INFO: IMEI packet received {"connection_id":54810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":54810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:13:21] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:13:21] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:13:21] local.INFO: Packet analysis {"connection_id":54810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:13:21] local.INFO: Extracted packet for processing {"connection_id":54810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:13:21] 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-04-26 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:13:21] 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-04-26 14:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:13:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:13:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:13:21] local.INFO: GPS data processed {"connection_id":54810,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:13:21] local.INFO: Acknowledgment sent {"connection_id":54810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:13:51] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:13:51] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:13:51] local.INFO: Packet analysis {"connection_id":54743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:13:51] local.INFO: Extracted packet for processing {"connection_id":54743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 14:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:13: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-04-26 14: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-04-26 14:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:13:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":54743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:13:51] local.INFO: GPS data processed {"connection_id":54743,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:13:51] local.INFO: Acknowledgment sent {"connection_id":54743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:13:52] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:13:52] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:13:52] local.INFO: Packet analysis {"connection_id":54810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:13:52] local.INFO: Extracted packet for processing {"connection_id":54810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:13: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-04-26 14:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:13:52] 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-04-26 14:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:13:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:13:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:13:52] 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-04-26 14:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:13:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:13:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":54810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:13:52] local.INFO: GPS data processed {"connection_id":54810,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:13:52] local.INFO: Acknowledgment sent {"connection_id":54810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:14:14] local.INFO: TCP Data received {"connection_id":55488,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:14:14] local.INFO: Processing buffer {"connection_id":55488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:14:14] local.INFO: IMEI packet received {"connection_id":55488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":55488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:14:17] local.INFO: TCP Data received {"connection_id":54545,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:14:17] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:14:17] local.INFO: IMEI packet received {"connection_id":54545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":54545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:14:19] local.INFO: TCP Data received {"connection_id":55488,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:14:19] local.INFO: Processing buffer {"connection_id":55488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:14:19] local.INFO: IMEI packet received {"connection_id":55488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":55488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:14:20] local.INFO: TCP Data received {"connection_id":55488,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:14:20] local.INFO: Processing buffer {"connection_id":55488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:14:20] local.INFO: Packet analysis {"connection_id":55488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:14:20] local.INFO: Extracted packet for processing {"connection_id":55488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 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-04-26 14:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:14: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-04-26 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-04-26 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-04-26 14:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:14: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-04-26 14:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:14:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":55488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:14:20] local.INFO: GPS data processed {"connection_id":55488,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:14:20] local.INFO: Acknowledgment sent {"connection_id":55488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:14:22] local.INFO: TCP Data received {"connection_id":54545,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:14:22] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:14:22] local.INFO: IMEI packet received {"connection_id":54545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":54545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:14:23] local.INFO: TCP Data received {"connection_id":54545,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:14:23] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:14:23] local.INFO: Packet analysis {"connection_id":54545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:14:23] local.INFO: Extracted packet for processing {"connection_id":54545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14: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-04-26 14:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:14: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-04-26 14: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-04-26 14:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:14:23] 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-04-26 14:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:14:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":54545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:14:23] local.INFO: GPS data processed {"connection_id":54545,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:14:23] local.INFO: Acknowledgment sent {"connection_id":54545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:14:29] local.INFO: TCP Data received {"connection_id":54545,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:14:29] local.INFO: Processing buffer {"connection_id":54545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:14:29] local.INFO: Packet analysis {"connection_id":54545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:14:29] local.INFO: Extracted packet for processing {"connection_id":54545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:29] 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-04-26 14:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:14:29] 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-04-26 14:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:14:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":54545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:14:29] local.INFO: GPS data processed {"connection_id":54545,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:14:29] local.INFO: Acknowledgment sent {"connection_id":54545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:14:51] local.INFO: TCP Data received {"connection_id":55488,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:14:51] local.INFO: Processing buffer {"connection_id":55488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:14:51] local.INFO: Packet analysis {"connection_id":55488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:14:51] local.INFO: Extracted packet for processing {"connection_id":55488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 14:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:14: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-04-26 14: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-04-26 14:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:14:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":55488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:14:51] local.INFO: GPS data processed {"connection_id":55488,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:14:51] local.INFO: Acknowledgment sent {"connection_id":55488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:15:12] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:15:12] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:15:12] local.INFO: IMEI packet received {"connection_id":54745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":54745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:15:17] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:15:17] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:15:17] local.INFO: IMEI packet received {"connection_id":54745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":54745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:15:18] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:15:18] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:15:18] local.INFO: Packet analysis {"connection_id":54745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:15:18] local.INFO: Extracted packet for processing {"connection_id":54745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15: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-04-26 14:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:15:18] 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-04-26 14:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:15: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-04-26 14:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:15:18] 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-04-26 14:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:15:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":54745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:15:18] local.INFO: GPS data processed {"connection_id":54745,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:15:18] local.INFO: Acknowledgment sent {"connection_id":54745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:15:19] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:15:19] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:15:19] local.INFO: IMEI packet received {"connection_id":54811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":54811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:15:24] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:15:24] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:15:24] local.INFO: IMEI packet received {"connection_id":54811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":54811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:15:25] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:15:25] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:15:25] local.INFO: Packet analysis {"connection_id":54811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:15:25] local.INFO: Extracted packet for processing {"connection_id":54811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:15:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 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-04-26 14:15:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:15:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 14:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:15:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:15:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:15:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":54811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:15:25] local.INFO: GPS data processed {"connection_id":54811,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:15:25] local.INFO: Acknowledgment sent {"connection_id":54811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:15:29] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:15:29] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f25168012cb299c007822ce0004a00122e..."} 
[2026-04-26 14:15:29] local.INFO: Packet analysis {"connection_id":54811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:15:29] local.INFO: Extracted packet for processing {"connection_id":54811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f2"} 
[2026-04-26 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961284096001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777192817000,"timestamp_ms":1777192817000,"timestamp_seconds":1777192817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f25168"} 
[2026-04-26 14:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:15:29] 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-04-26 14:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961284096001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961284096001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:15:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961284096001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":54811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:15:29] local.INFO: GPS data processed {"connection_id":54811,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:15:29] local.INFO: Acknowledgment sent {"connection_id":54811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:15:49] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:15:49] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:15:49] local.INFO: Packet analysis {"connection_id":54745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:15:49] local.INFO: Extracted packet for processing {"connection_id":54745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:15: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-04-26 14:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:15:49] 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-04-26 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:15: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-04-26 14: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-04-26 14:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:15:49] 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-04-26 14:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:15:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":54745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:15:49] local.INFO: GPS data processed {"connection_id":54745,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:15:49] local.INFO: Acknowledgment sent {"connection_id":54745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:16:10] local.INFO: TCP Data received {"connection_id":55489,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:16:10] local.INFO: Processing buffer {"connection_id":55489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:16:10] local.INFO: IMEI packet received {"connection_id":55489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":55489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:16:12] local.INFO: TCP Data received {"connection_id":54746,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:16:12] local.INFO: Processing buffer {"connection_id":54746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:16:12] local.INFO: IMEI packet received {"connection_id":54746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":54746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:16:14] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:16:14] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:16:14] local.INFO: IMEI packet received {"connection_id":54547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":54547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:16:17] local.INFO: TCP Data received {"connection_id":54746,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:16:17] local.INFO: Processing buffer {"connection_id":54746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:16:17] local.INFO: IMEI packet received {"connection_id":54746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":54746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:16:18] local.INFO: TCP Data received {"connection_id":54746,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:16:18] local.INFO: Processing buffer {"connection_id":54746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:16:18] local.INFO: Packet analysis {"connection_id":54746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:16:18] local.INFO: Extracted packet for processing {"connection_id":54746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16: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-04-26 14:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:16:18] 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-04-26 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:16: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-04-26 14: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-04-26 14:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:16:18] 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-04-26 14:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:16:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":54746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:16:18] local.INFO: GPS data processed {"connection_id":54746,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:16:18] local.INFO: Acknowledgment sent {"connection_id":54746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:16:19] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:16:19] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:16:19] local.INFO: IMEI packet received {"connection_id":54547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:16:20] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:16:20] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:16:20] local.INFO: Packet analysis {"connection_id":54547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:16:20] local.INFO: Extracted packet for processing {"connection_id":54547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 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-04-26 14:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:16: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-04-26 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-04-26 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-04-26 14:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:16: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-04-26 14:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:16:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:16:20] local.INFO: GPS data processed {"connection_id":54547,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:16:20] local.INFO: Acknowledgment sent {"connection_id":54547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:16:40] local.INFO: TCP Data received {"connection_id":55490,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:16:40] local.INFO: Processing buffer {"connection_id":55490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:16:40] local.INFO: IMEI packet received {"connection_id":55490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":55490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:16:49] local.INFO: TCP Data received {"connection_id":54746,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:16:49] local.INFO: Processing buffer {"connection_id":54746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:16:49] local.INFO: Packet analysis {"connection_id":54746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:16:49] local.INFO: Extracted packet for processing {"connection_id":54746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16: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-04-26 14:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:16:49] 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-04-26 14: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:16: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-04-26 14: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-04-26 14:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:16:49] 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-04-26 14:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:16:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":54746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:16:49] local.INFO: GPS data processed {"connection_id":54746,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:16:49] local.INFO: Acknowledgment sent {"connection_id":54746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:16:51] local.INFO: TCP Data received {"connection_id":54547,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:16:51] local.INFO: Processing buffer {"connection_id":54547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:16:51] local.INFO: Packet analysis {"connection_id":54547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:16:51] local.INFO: Extracted packet for processing {"connection_id":54547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:16: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-04-26 14: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-04-26 14:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:16:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":54547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:16:51] local.INFO: GPS data processed {"connection_id":54547,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:16:51] local.INFO: Acknowledgment sent {"connection_id":54547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:17:12] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:17:12] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:17:12] local.INFO: IMEI packet received {"connection_id":54747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":54747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:17:14] local.INFO: TCP Data received {"connection_id":55491,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:17:14] local.INFO: Processing buffer {"connection_id":55491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:17:14] local.INFO: IMEI packet received {"connection_id":55491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":55491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:17:19] local.INFO: TCP Data received {"connection_id":55491,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:17:19] local.INFO: Processing buffer {"connection_id":55491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:17:19] local.INFO: IMEI packet received {"connection_id":55491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":55491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:17:19] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:17:19] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:17:19] local.INFO: IMEI packet received {"connection_id":54747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:17:20] local.INFO: TCP Data received {"connection_id":55491,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:17:20] local.INFO: Processing buffer {"connection_id":55491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:17:20] local.INFO: Packet analysis {"connection_id":55491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:17:20] local.INFO: Extracted packet for processing {"connection_id":55491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:17: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-04-26 14: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-04-26 14:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:17: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-04-26 14:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:17:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":55491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:17:20] local.INFO: GPS data processed {"connection_id":55491,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:17:20] local.INFO: Acknowledgment sent {"connection_id":55491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:17:21] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:17:21] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:17:21] local.INFO: Packet analysis {"connection_id":54747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:17:21] local.INFO: Extracted packet for processing {"connection_id":54747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 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-04-26 14:17:21] 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-04-26 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 14:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:17:21] 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-04-26 14:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:17:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:17:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:17:21] local.INFO: GPS data processed {"connection_id":54747,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:17:21] local.INFO: Acknowledgment sent {"connection_id":54747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:17:50] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:17:50] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:17:50] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:17:51] local.INFO: TCP Data received {"connection_id":55491,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:17:51] local.INFO: Processing buffer {"connection_id":55491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:17:51] local.INFO: Packet analysis {"connection_id":55491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:17:51] local.INFO: Extracted packet for processing {"connection_id":55491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:17: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-04-26 14: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-04-26 14:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":55491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:17:51] local.INFO: GPS data processed {"connection_id":55491,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:17:51] local.INFO: Acknowledgment sent {"connection_id":55491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:17:51] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f86be8012d78414005d3cff00006005f11..."} 
[2026-04-26 14:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f86be8012d78414005d3cff00006005f11..."} 
[2026-04-26 14:17:51] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f86be8012d78414005d3cff00006005f11..."} 
[2026-04-26 14:17:51] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f8"} 
[2026-04-26 14:17:51] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f8"} 
[2026-04-26 14:17:51] local.INFO: GPS Element Parsed {"raw_longitude":762855744,"raw_latitude":97767408,"longitude_deg":76.2855744,"latitude_deg":9.7767408,"altitude":6,"angle":95,"satellites":17,"speed":47,"hex_longitude":"2d784140","hex_latitude":"05d3cff0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961461248001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76473499023048704,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8654159290230181888,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193217000,"timestamp_ms":1777193217000,"timestamp_seconds":1777193217,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f86be8"} 
[2026-04-26 14:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:17: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-04-26 14: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 14:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:17:51] 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-04-26 14:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961461248001,"66":13678,"54":206,"85":15104,"24":47,"16":76473499023048704,"45":8654159290230181888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-04-26 14:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961461248001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76473499023048704,"km_value":76473499023048.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8654159290230181888,"description":"Unknown IO ID 45"} 
[2026-04-26 14:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961461248001,"power":13678,"unknown_54":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8654159290230181888}} 
[2026-04-26 14:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65417,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:17:51] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:17:51] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:17:52] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:17:52] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f46890012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:17:52] local.INFO: Packet analysis {"connection_id":54747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:17:52] local.INFO: Extracted packet for processing {"connection_id":54747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f4"} 
[2026-04-26 14:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961319168001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:17: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-04-26 14:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777192954000,"timestamp_ms":1777192954000,"timestamp_seconds":1777192954,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f46890"} 
[2026-04-26 14:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:17:52] 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-04-26 14:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 14:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:17:52] 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-04-26 14:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961319168001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961319168001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961319168001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:17:52] local.INFO: GPS data processed {"connection_id":54747,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:17:52] local.INFO: Acknowledgment sent {"connection_id":54747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:18:12] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:12] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:12] local.INFO: IMEI packet received {"connection_id":54812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":54812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:18:13] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:13] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:13] local.INFO: IMEI packet received {"connection_id":54812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":54812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:18:17] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:17] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:18:17] local.INFO: IMEI packet received {"connection_id":54812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":54812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:18:18] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:18:18] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:18:18] local.INFO: Packet analysis {"connection_id":54812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:18] local.INFO: Extracted packet for processing {"connection_id":54812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18: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-04-26 14:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:18:18] 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-04-26 14: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-04-26 14:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:18:18] 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-04-26 14:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:18:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":54812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:18:18] local.INFO: GPS data processed {"connection_id":54812,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:18:18] local.INFO: Acknowledgment sent {"connection_id":54812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:18:19] local.INFO: TCP Data received {"connection_id":55492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:18:19] local.INFO: Processing buffer {"connection_id":55492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:18:19] local.INFO: IMEI packet received {"connection_id":55492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":55492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:18:22] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f965e8012d78bbc005d3b898000200d214..."} 
[2026-04-26 14:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f965e8012d78bbc005d3b898000200d214..."} 
[2026-04-26 14:18:22] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f965e8012d78bbc005d3b898000200d214..."} 
[2026-04-26 14:18:22] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:22] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:22] local.INFO: GPS Element Parsed {"raw_longitude":762887104,"raw_latitude":97761432,"longitude_deg":76.2887104,"latitude_deg":9.7761432,"altitude":2,"angle":210,"satellites":20,"speed":9,"hex_longitude":"2d78bbc0","hex_latitude":"05d3b898","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961479680001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475607851991040,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699828605199937536,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777193281000,"timestamp_ms":1777193281000,"timestamp_seconds":1777193281,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f965e8"} 
[2026-04-26 14:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-26 14:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:18:22] 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-04-26 14:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961479680001,"66":13526,"53":206,"85":15104,"24":9,"16":76475607851991040,"45":8699828605199937536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961479680001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:18:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:18:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475607851991040,"km_value":76475607851991.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699828605199937536,"description":"Unknown IO ID 45"} 
[2026-04-26 14:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961479680001,"power":13526,"unknown_53":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8699828605199937536}} 
[2026-04-26 14:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:18:22] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:18:22] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:18:24] local.INFO: TCP Data received {"connection_id":55492,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:18:24] local.INFO: Processing buffer {"connection_id":55492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:18:24] local.INFO: IMEI packet received {"connection_id":55492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":55492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:18:25] local.INFO: TCP Data received {"connection_id":55492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:18:25] local.INFO: Processing buffer {"connection_id":55492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:18:25] local.INFO: Packet analysis {"connection_id":55492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:18:25] local.INFO: Extracted packet for processing {"connection_id":55492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:18:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:18:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:18:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:18:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:18:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:18:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:18:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:18:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:18:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:18:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:18:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:18:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:18:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:18:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:18:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:18:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:18:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:18:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:18:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:18:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:18:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:18:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:18:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:18:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:18:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":55492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:18:25] local.INFO: GPS data processed {"connection_id":55492,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:18:25] local.INFO: Acknowledgment sent {"connection_id":55492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:18:49] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:18:49] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:18:49] local.INFO: Packet analysis {"connection_id":54812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:49] local.INFO: Extracted packet for processing {"connection_id":54812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18: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-04-26 14:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:18:49] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:18:49] 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-04-26 14: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-04-26 14:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:18:49] 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-04-26 14:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:18:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":54812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:18:49] local.INFO: GPS data processed {"connection_id":54812,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:18:49] local.INFO: Acknowledgment sent {"connection_id":54812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:18:53] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f971a0012d78ba4005d3b5c8000100c714..."} 
[2026-04-26 14:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f971a0012d78ba4005d3b5c8000100c714..."} 
[2026-04-26 14:18:53] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f971a0012d78ba4005d3b5c8000100c714..."} 
[2026-04-26 14:18:53] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:53] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:18:53] local.INFO: GPS Element Parsed {"raw_longitude":762886720,"raw_latitude":97760712,"longitude_deg":76.288672,"latitude_deg":9.7760712,"altitude":1,"angle":199,"satellites":20,"speed":11,"hex_longitude":"2d78ba40","hex_latitude":"05d3b5c8","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961479936001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475646506696704,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699758236455704576,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:53] 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-04-26 14:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777193284000,"timestamp_ms":1777193284000,"timestamp_seconds":1777193284,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f971a0"} 
[2026-04-26 14:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:18:53] 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-04-26 14: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-26 14:18:53] 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-04-26 14: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-04-26 14:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:18:53] 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-04-26 14:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961479936001,"66":13656,"53":206,"85":15104,"24":11,"16":76475646506696704,"45":8699758236455704576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961479936001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:18:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:18:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475646506696704,"km_value":76475646506696.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699758236455704576,"description":"Unknown IO ID 45"} 
[2026-04-26 14:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961479936001,"power":13656,"unknown_53":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8699758236455704576}} 
[2026-04-26 14:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:18:53] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:18:53] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:18:55] local.INFO: TCP Data received {"connection_id":55492,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:18:55] local.INFO: Processing buffer {"connection_id":55492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:18:55] local.INFO: Packet analysis {"connection_id":55492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:18:55] local.INFO: Extracted packet for processing {"connection_id":55492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:18:55] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:18:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":55492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:18:55] local.INFO: GPS data processed {"connection_id":55492,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:18:55] local.INFO: Acknowledgment sent {"connection_id":55492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:19:12] local.INFO: TCP Data received {"connection_id":54550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:19:12] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:19:12] local.INFO: IMEI packet received {"connection_id":54550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":54550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:19:14] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:19:14] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:19:14] local.INFO: IMEI packet received {"connection_id":54551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":54551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:19:17] local.INFO: TCP Data received {"connection_id":54550,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:19:17] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:19:17] local.INFO: IMEI packet received {"connection_id":54550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":54550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:19:18] local.INFO: TCP Data received {"connection_id":54550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:19:18] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:19:18] local.INFO: Packet analysis {"connection_id":54550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:18] local.INFO: Extracted packet for processing {"connection_id":54550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19: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-04-26 14:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:19:18] 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-04-26 14: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-04-26 14:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:19:18] 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-04-26 14:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:19:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":54550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:19:18] local.INFO: GPS data processed {"connection_id":54550,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:19:18] local.INFO: Acknowledgment sent {"connection_id":54550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:19:19] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:19:19] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:19:19] local.INFO: IMEI packet received {"connection_id":54551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":54551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:19:20] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:19:20] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:19:20] local.INFO: Packet analysis {"connection_id":54551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:19:20] local.INFO: Extracted packet for processing {"connection_id":54551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:19: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-04-26 14: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-04-26 14:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:19: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-04-26 14:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:19:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":54551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:19:20] local.INFO: GPS data processed {"connection_id":54551,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:19:20] local.INFO: Acknowledgment sent {"connection_id":54551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:19:24] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f97588012d78ba0005d3b490000100b513..."} 
[2026-04-26 14:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f97588012d78ba0005d3b490000100b513..."} 
[2026-04-26 14:19:24] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f97588012d78ba0005d3b490000100b513..."} 
[2026-04-26 14:19:24] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:24] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97760400,"longitude_deg":76.2886656,"latitude_deg":9.77604,"altitude":1,"angle":181,"satellites":19,"speed":12,"hex_longitude":"2d78ba00","hex_latitude":"05d3b490","is_valid_coordinates":true} 
[2026-04-26 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961480704001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475663686565888,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699336023990454272,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:24] 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-04-26 14:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777193285000,"timestamp_ms":1777193285000,"timestamp_seconds":1777193285,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f97588"} 
[2026-04-26 14:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 14:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:19:24] 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-04-26 14:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961480704001,"66":13602,"53":206,"85":15104,"24":12,"16":76475663686565888,"45":8699336023990454272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961480704001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:19:24] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475663686565888,"km_value":76475663686565.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699336023990454272,"description":"Unknown IO ID 45"} 
[2026-04-26 14:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961480704001,"power":13602,"unknown_53":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8699336023990454272}} 
[2026-04-26 14:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:19:24] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:19:24] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:19:49] local.INFO: TCP Data received {"connection_id":54550,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:19:49] local.INFO: Processing buffer {"connection_id":54550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:19:49] local.INFO: Packet analysis {"connection_id":54550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:49] local.INFO: Extracted packet for processing {"connection_id":54550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19: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-04-26 14:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:19:49] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:19:49] 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-04-26 14:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:19:49] 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-04-26 14:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:19:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":54550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:19:49] local.INFO: GPS data processed {"connection_id":54550,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:19:49] local.INFO: Acknowledgment sent {"connection_id":54550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:19:51] local.INFO: TCP Data received {"connection_id":54551,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:19:51] local.INFO: Processing buffer {"connection_id":54551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:19:51] local.INFO: Packet analysis {"connection_id":54551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:19:51] local.INFO: Extracted packet for processing {"connection_id":54551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:19: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-04-26 14: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-04-26 14:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:19:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":54551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:19:51] local.INFO: GPS data processed {"connection_id":54551,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:19:51] local.INFO: Acknowledgment sent {"connection_id":54551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:19:56] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f9c790012d78ba0005d3ae58000000b513..."} 
[2026-04-26 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f9c790012d78ba0005d3ae58000000b513..."} 
[2026-04-26 14:19:56] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f9c790012d78ba0005d3ae58000000b513..."} 
[2026-04-26 14:19:56] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:56] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:19:56] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":19,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961480960001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655246196736,"note":"Value kept but may cause issues"} 
[2026-04-26 14:19:56] 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-04-26 14:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777193306000,"timestamp_ms":1777193306000,"timestamp_seconds":1777193306,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f9c790"} 
[2026-04-26 14:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 14:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:19:56] 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-04-26 14:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961480960001,"66":13765,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655246196736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961480960001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:19:56] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655246196736,"description":"Unknown IO ID 45"} 
[2026-04-26 14:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961480960001,"power":13765,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655246196736}} 
[2026-04-26 14:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:19:56] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:19:56] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:20:12] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:20:12] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:20:12] local.INFO: IMEI packet received {"connection_id":54813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":54813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:20:14] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:20:14] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:20:14] local.INFO: IMEI packet received {"connection_id":54749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":54749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:20:17] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:20:17] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:20:17] local.INFO: IMEI packet received {"connection_id":54813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":54813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:20:18] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:20:18] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:20:18] local.INFO: Packet analysis {"connection_id":54813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:20:18] local.INFO: Extracted packet for processing {"connection_id":54813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20: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-04-26 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:20:18] 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-04-26 14:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:20: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-04-26 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:20:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":54813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:20:18] local.INFO: GPS data processed {"connection_id":54813,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:20:18] local.INFO: Acknowledgment sent {"connection_id":54813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:20:19] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:20:19] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:20:19] local.INFO: IMEI packet received {"connection_id":54749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:20:19] local.INFO: IMEI acknowledgment sent {"connection_id":54749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:20:20] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:20:20] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:20:20] local.INFO: Packet analysis {"connection_id":54749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:20:20] local.INFO: Extracted packet for processing {"connection_id":54749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:20: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-04-26 14: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-04-26 14:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:20: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-04-26 14:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:20:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:20:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:20:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":54749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:20:20] local.INFO: GPS data processed {"connection_id":54749,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:20:20] local.INFO: Acknowledgment sent {"connection_id":54749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:20:27] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fa1998012d78ba0005d3ae58000000b517..."} 
[2026-04-26 14:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fa1998012d78ba0005d3ae58000000b517..."} 
[2026-04-26 14:20:27] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fa1998012d78ba0005d3ae58000000b517..."} 
[2026-04-26 14:20:27] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fa"} 
[2026-04-26 14:20:27] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fa"} 
[2026-04-26 14:20:27] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":23,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961486336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:27] 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-04-26 14:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777193327000,"timestamp_ms":1777193327000,"timestamp_seconds":1777193327,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fa1998"} 
[2026-04-26 14:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:20:27] 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-04-26 14: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":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-26 14:20:27] 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-04-26 14: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-04-26 14:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:20:27] 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-04-26 14:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961486336001,"66":13602,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961486336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:20:27] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961486336001,"power":13602,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:20:27] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:20:27] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:20:49] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:20:49] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:20:49] local.INFO: Packet analysis {"connection_id":54813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:20:49] local.INFO: Extracted packet for processing {"connection_id":54813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14: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-04-26 14:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:20:49] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:20:49] 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-04-26 14: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-04-26 14:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:20: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-04-26 14:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:20:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":54813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:20:49] local.INFO: GPS data processed {"connection_id":54813,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:20:49] local.INFO: Acknowledgment sent {"connection_id":54813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:20:51] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:20:51] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f6e930012cb299c007822ce0004800122c..."} 
[2026-04-26 14:20:51] local.INFO: Packet analysis {"connection_id":54749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:20:51] local.INFO: Extracted packet for processing {"connection_id":54749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f6"} 
[2026-04-26 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961361152001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193118000,"timestamp_ms":1777193118000,"timestamp_seconds":1777193118,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f6e930"} 
[2026-04-26 14:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:20: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-04-26 14: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-04-26 14:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961361152001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961361152001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:20:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:20:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:20:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961361152001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":54749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:20:51] local.INFO: GPS data processed {"connection_id":54749,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:20:51] local.INFO: Acknowledgment sent {"connection_id":54749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:20:58] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fa6ba0012d78ba0005d3ae58000000b51b..."} 
[2026-04-26 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fa6ba0012d78ba0005d3ae58000000b51b..."} 
[2026-04-26 14:20:58] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fa6ba0012d78ba0005d3ae58000000b51b..."} 
[2026-04-26 14:20:58] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fa"} 
[2026-04-26 14:20:58] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fa"} 
[2026-04-26 14:20:58] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":27,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961491712001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:20:58] 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-04-26 14:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777193348000,"timestamp_ms":1777193348000,"timestamp_seconds":1777193348,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fa6ba0"} 
[2026-04-26 14:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:20:58] 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-04-26 14: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 14:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:20:58] 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-04-26 14:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961491712001,"66":13656,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961491712001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:20:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961491712001,"power":13656,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:20:58] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:20:58] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:21:12] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:21:12] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:21:12] local.INFO: IMEI packet received {"connection_id":54750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":54750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:21:14] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:21:14] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:21:14] local.INFO: IMEI packet received {"connection_id":54814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:21:17] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:21:17] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:21:17] local.INFO: IMEI packet received {"connection_id":54750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":54750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:21:18] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:21:18] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:21:18] local.INFO: Packet analysis {"connection_id":54750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:21:18] local.INFO: Extracted packet for processing {"connection_id":54750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:21:18] 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-04-26 14:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:21:18] 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-04-26 14:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:21:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":54750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:21:18] local.INFO: GPS data processed {"connection_id":54750,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:21:18] local.INFO: Acknowledgment sent {"connection_id":54750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:21:19] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:21:19] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:21:19] local.INFO: IMEI packet received {"connection_id":54814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:21:19] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.30","data_length":93,"data_hex":"00000000000000518e010000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":93,"packet_hex":"00000000000000518e010000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:21:19] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:21:19] local.INFO: Packet analysis {"connection_id":54814,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dc8fb"} 
[2026-04-26 14:21:19] local.INFO: Extracted packet for processing {"connection_id":54814,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dc8fb"} 
[2026-04-26 14:21:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-26 14:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:21:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:21:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 14:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54814,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-26 14:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-26 14:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-26 14:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 14:21:19] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 14:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":54814,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 14:21:19] local.ERROR: GPS data processing failed {"connection_id":54814,"error":"No valid data to process"} 
[2026-04-26 14:21:19] local.INFO: Acknowledgment sent {"connection_id":54814,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 14:21:29] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fabda8012d78ba0005d3ae58000000b51b..."} 
[2026-04-26 14:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fabda8012d78ba0005d3ae58000000b51b..."} 
[2026-04-26 14:21:29] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fabda8012d78ba0005d3ae58000000b51b..."} 
[2026-04-26 14:21:29] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fa"} 
[2026-04-26 14:21:29] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fa"} 
[2026-04-26 14:21:29] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":27,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961497088001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:29] 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-04-26 14:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777193369000,"timestamp_ms":1777193369000,"timestamp_seconds":1777193369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fabda8"} 
[2026-04-26 14:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:21:29] 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-04-26 14:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 14:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961497088001,"66":13656,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961497088001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:21:29] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961497088001,"power":13656,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:21:29] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:21:29] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:21:49] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:21:49] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:21:49] local.INFO: Packet analysis {"connection_id":54750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:21:49] local.INFO: Extracted packet for processing {"connection_id":54750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:21:49] 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-04-26 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:21:49] 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-04-26 14:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:21:49] 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-04-26 14:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:21:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":54750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:21:49] local.INFO: GPS data processed {"connection_id":54750,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:21:49] local.INFO: Acknowledgment sent {"connection_id":54750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:21:51] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:21:51] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:21:51] local.INFO: Packet analysis {"connection_id":54814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:21:51] local.INFO: Extracted packet for processing {"connection_id":54814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:21: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-04-26 14: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-04-26 14:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:21:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:21:51] local.INFO: GPS data processed {"connection_id":54814,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:21:51] local.INFO: Acknowledgment sent {"connection_id":54814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:00] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb0fb0012d78ba0005d3ae58000000b521..."} 
[2026-04-26 14:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb0fb0012d78ba0005d3ae58000000b521..."} 
[2026-04-26 14:22:00] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb0fb0012d78ba0005d3ae58000000b521..."} 
[2026-04-26 14:22:00] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:00] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:00] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":33,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961502464001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:00] 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-04-26 14:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777193390000,"timestamp_ms":1777193390000,"timestamp_seconds":1777193390,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb0fb0"} 
[2026-04-26 14:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 14:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:00] 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-04-26 14:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961502464001,"66":13765,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961502464001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:00] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961502464001,"power":13765,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65441,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:00] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:00] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:05] local.INFO: TCP Data received {"connection_id":55493,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:22:05] local.INFO: Processing buffer {"connection_id":55493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:22:05] local.INFO: IMEI packet received {"connection_id":55493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":55493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:22:12] local.INFO: TCP Data received {"connection_id":55494,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:22:12] local.INFO: Processing buffer {"connection_id":55494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:22:12] local.INFO: IMEI packet received {"connection_id":55494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":55494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:22:17] local.INFO: TCP Data received {"connection_id":55494,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:22:17] local.INFO: Processing buffer {"connection_id":55494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:22:17] local.INFO: IMEI packet received {"connection_id":55494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":55494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:22:18] local.INFO: TCP Data received {"connection_id":55494,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:22:18] local.INFO: Processing buffer {"connection_id":55494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:22:18] local.INFO: Packet analysis {"connection_id":55494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:22:18] local.INFO: Extracted packet for processing {"connection_id":55494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:22:18] 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-04-26 14:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":55494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:18] local.INFO: GPS data processed {"connection_id":55494,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:18] local.INFO: Acknowledgment sent {"connection_id":55494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:19] local.INFO: TCP Data received {"connection_id":54815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:22:19] local.INFO: Processing buffer {"connection_id":54815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:22:19] local.INFO: IMEI packet received {"connection_id":54815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":54815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:22:24] local.INFO: TCP Data received {"connection_id":54815,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:22:24] local.INFO: Processing buffer {"connection_id":54815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:22:24] local.INFO: IMEI packet received {"connection_id":54815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":54815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:22:24] local.INFO: TCP Data received {"connection_id":54815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:22:24] local.INFO: Processing buffer {"connection_id":54815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:22:24] local.INFO: Packet analysis {"connection_id":54815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:24] local.INFO: Extracted packet for processing {"connection_id":54815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:22: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-04-26 14:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":54815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:24] local.INFO: GPS data processed {"connection_id":54815,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:24] local.INFO: Acknowledgment sent {"connection_id":54815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:25] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:22:25] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:22:25] local.INFO: IMEI packet received {"connection_id":54751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":54751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:22:30] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:22:30] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:22:30] local.INFO: IMEI packet received {"connection_id":54751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":54751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:22:31] local.INFO: TCP Data received {"connection_id":54815,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:22:31] local.INFO: Processing buffer {"connection_id":54815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:22:31] local.INFO: Packet analysis {"connection_id":54815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:31] local.INFO: Extracted packet for processing {"connection_id":54815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:22: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-04-26 14:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:22:31] 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-04-26 14:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":54815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:31] local.INFO: GPS data processed {"connection_id":54815,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:31] local.INFO: Acknowledgment sent {"connection_id":54815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:31] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:31] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:31] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:31] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:22: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-04-26 14:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961507840001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:31] 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-04-26 14:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-04-26 14:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2236,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961507840001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961507840001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961507840001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:31] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:31] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:36] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:36] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:36] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:36] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:36] 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-04-26 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:36] 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-04-26 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:22:36] 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-04-26 14:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:36] 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-04-26 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:36] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:22:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:36] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:36] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:41] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:41] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:22:41] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:41] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:22:41] 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-04-26 14:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:41] 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-04-26 14:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:22:41] 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-04-26 14:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:22:41] 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-04-26 14:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:41] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:41] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:41] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:22:45] local.INFO: TCP Data received {"connection_id":54816,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:22:45] local.INFO: Processing buffer {"connection_id":54816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:22:45] local.INFO: IMEI packet received {"connection_id":54816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":54816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:22:49] local.INFO: TCP Data received {"connection_id":55494,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:22:49] local.INFO: Processing buffer {"connection_id":55494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8f90058012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:22:49] local.INFO: Packet analysis {"connection_id":55494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:22:49] local.INFO: Extracted packet for processing {"connection_id":55494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8f9"} 
[2026-04-26 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961396224001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193255000,"timestamp_ms":1777193255000,"timestamp_seconds":1777193255,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8f90058"} 
[2026-04-26 14:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:22:49] 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-04-26 14:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:22:49] 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-04-26 14:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961396224001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961396224001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:22:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961396224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":55494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:22:49] local.INFO: GPS data processed {"connection_id":55494,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:22:49] local.INFO: Acknowledgment sent {"connection_id":55494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:14] local.INFO: TCP Data received {"connection_id":54818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:14] local.INFO: Processing buffer {"connection_id":54818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:14] local.INFO: IMEI packet received {"connection_id":54818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":54818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:23:16] local.INFO: TCP Data received {"connection_id":54817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:23:16] local.INFO: Processing buffer {"connection_id":54817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:23:16] local.INFO: IMEI packet received {"connection_id":54817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":54817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:23:17] local.INFO: TCP Data received {"connection_id":54818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:17] local.INFO: Processing buffer {"connection_id":54818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:17] local.INFO: IMEI packet received {"connection_id":54818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":54818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:23:19] local.INFO: TCP Data received {"connection_id":54817,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:23:19] local.INFO: Processing buffer {"connection_id":54817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:23:19] local.INFO: IMEI packet received {"connection_id":54817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:23:20] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:23:20] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:23:20] local.INFO: IMEI packet received {"connection_id":54553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":54553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:23:21] local.INFO: TCP Data received {"connection_id":54817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:21] local.INFO: Processing buffer {"connection_id":54817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:21] local.INFO: Packet analysis {"connection_id":54817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:21] local.INFO: Extracted packet for processing {"connection_id":54817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 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-04-26 14:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:23:21] 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-04-26 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-04-26 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-04-26 14:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:23: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-04-26 14:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:21] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":54817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:21] local.INFO: GPS data processed {"connection_id":54817,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:21] local.INFO: Acknowledgment sent {"connection_id":54817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:22] local.INFO: TCP Data received {"connection_id":54818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:22] local.INFO: Processing buffer {"connection_id":54818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:23:22] local.INFO: IMEI packet received {"connection_id":54818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":54818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:23:23] local.INFO: TCP Data received {"connection_id":54818,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:23:23] local.INFO: Processing buffer {"connection_id":54818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:23:23] local.INFO: Packet analysis {"connection_id":54818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:23:23] local.INFO: Extracted packet for processing {"connection_id":54818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23: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-04-26 14:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:23:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":54818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:23] local.INFO: GPS data processed {"connection_id":54818,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:23] local.INFO: Acknowledgment sent {"connection_id":54818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:24] local.INFO: TCP Data received {"connection_id":54817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:24] local.INFO: Processing buffer {"connection_id":54817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:24] local.INFO: Packet analysis {"connection_id":54817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:24] local.INFO: Extracted packet for processing {"connection_id":54817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:23: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-04-26 14:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":54817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:24] local.INFO: GPS data processed {"connection_id":54817,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:24] local.INFO: Acknowledgment sent {"connection_id":54817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:25] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:23:25] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:23:25] local.INFO: IMEI packet received {"connection_id":54553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":54553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:23:26] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:23:26] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:23:26] local.INFO: Packet analysis {"connection_id":54553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:26] local.INFO: Extracted packet for processing {"connection_id":54553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:26] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:23:26] 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-04-26 14:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:26] 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-04-26 14:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:23:26] 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-04-26 14:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:26] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:23:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":54553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:26] local.INFO: GPS data processed {"connection_id":54553,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:26] local.INFO: Acknowledgment sent {"connection_id":54553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:28] local.INFO: TCP Data received {"connection_id":54818,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:23:28] local.INFO: Processing buffer {"connection_id":54818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:23:28] local.INFO: Packet analysis {"connection_id":54818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:23:28] local.INFO: Extracted packet for processing {"connection_id":54818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:28] 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-04-26 14:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:23:28] 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-04-26 14:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":54818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:28] local.INFO: GPS data processed {"connection_id":54818,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:28] local.INFO: Acknowledgment sent {"connection_id":54818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:55] local.INFO: TCP Data received {"connection_id":54817,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:55] local.INFO: Processing buffer {"connection_id":54817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:23:55] local.INFO: Packet analysis {"connection_id":54817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:55] local.INFO: Extracted packet for processing {"connection_id":54817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:55] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":54817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:55] local.INFO: GPS data processed {"connection_id":54817,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:55] local.INFO: Acknowledgment sent {"connection_id":54817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:23:58] local.INFO: TCP Data received {"connection_id":54553,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:23:58] local.INFO: Processing buffer {"connection_id":54553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:23:58] local.INFO: Packet analysis {"connection_id":54553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:58] local.INFO: Extracted packet for processing {"connection_id":54553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:23:58] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:23:58] 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-04-26 14:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:23:58] 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-04-26 14:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:23:58] 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-04-26 14:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:23:58] 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-04-26 14:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:23:58] 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-04-26 14:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:23:58] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":54553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:23:58] local.INFO: GPS data processed {"connection_id":54553,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:23:58] local.INFO: Acknowledgment sent {"connection_id":54553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:24:12] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:24:12] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:24:12] local.INFO: IMEI packet received {"connection_id":54753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":54753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:24:14] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:24:14] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:24:14] local.INFO: IMEI packet received {"connection_id":54819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":54819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:24:17] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:24:17] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:24:17] local.INFO: IMEI packet received {"connection_id":54753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":54753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:24:18] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:24:18] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:24:18] local.INFO: Packet analysis {"connection_id":54753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:24:18] local.INFO: Extracted packet for processing {"connection_id":54753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24: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-04-26 14:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:24:18] 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-04-26 14:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:24:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":54753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:24:18] local.INFO: GPS data processed {"connection_id":54753,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:24:18] local.INFO: Acknowledgment sent {"connection_id":54753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:24:19] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:24:19] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:24:19] local.INFO: IMEI packet received {"connection_id":54819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:24:20] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:24:20] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:24:20] local.INFO: Packet analysis {"connection_id":54819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:20] local.INFO: Extracted packet for processing {"connection_id":54819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:24: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-04-26 14: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-04-26 14:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:24: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-04-26 14:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:24:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:24:20] local.INFO: GPS data processed {"connection_id":54819,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:24:20] local.INFO: Acknowledgment sent {"connection_id":54819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:24:20] local.INFO: TCP Data received {"connection_id":55495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:24:20] local.INFO: Processing buffer {"connection_id":55495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:24:20] local.INFO: IMEI packet received {"connection_id":55495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":55495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:24:25] local.INFO: TCP Data received {"connection_id":55495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:24:25] local.INFO: Processing buffer {"connection_id":55495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:24:25] local.INFO: IMEI packet received {"connection_id":55495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":55495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:24:26] local.INFO: TCP Data received {"connection_id":55495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:24:26] local.INFO: Processing buffer {"connection_id":55495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:24:26] local.INFO: Packet analysis {"connection_id":55495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:26] local.INFO: Extracted packet for processing {"connection_id":55495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:24:26] 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-04-26 14:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:26] 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-04-26 14:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:24:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:24:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:24:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:24:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:24:26] 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-04-26 14:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:24:26] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:24:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":55495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:24:26] local.INFO: GPS data processed {"connection_id":55495,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:24:26] local.INFO: Acknowledgment sent {"connection_id":55495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:24:49] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:24:49] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:24:49] local.INFO: Packet analysis {"connection_id":54753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:24:49] local.INFO: Extracted packet for processing {"connection_id":54753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24: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-04-26 14:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:24:49] 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-04-26 14:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:24:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":54753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:24:49] local.INFO: GPS data processed {"connection_id":54753,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:24:49] local.INFO: Acknowledgment sent {"connection_id":54753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:24:51] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:24:51] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:24:51] local.INFO: Packet analysis {"connection_id":54819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:51] local.INFO: Extracted packet for processing {"connection_id":54819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:24: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-04-26 14: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-04-26 14:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:24:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:24:51] local.INFO: GPS data processed {"connection_id":54819,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:24:51] local.INFO: Acknowledgment sent {"connection_id":54819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:24:57] local.INFO: TCP Data received {"connection_id":55495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:24:57] local.INFO: Processing buffer {"connection_id":55495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb2b08012d78ba0005d3ae58000000b522..."} 
[2026-04-26 14:24:57] local.INFO: Packet analysis {"connection_id":55495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:57] local.INFO: Extracted packet for processing {"connection_id":55495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:24:57] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":97758808,"longitude_deg":76.2886656,"latitude_deg":9.7758808,"altitude":0,"angle":181,"satellites":34,"speed":0,"hex_longitude":"2d78ba00","hex_latitude":"05d3ae58","is_valid_coordinates":true} 
[2026-04-26 14:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:24:57] 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-04-26 14:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777193397000,"timestamp_ms":1777193397000,"timestamp_seconds":1777193397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb2b08"} 
[2026-04-26 14:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:24:57] 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-04-26 14: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-04-26 14:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:24:57] 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-04-26 14:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13852,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:24:57] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13852,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":55495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:24:57] local.INFO: GPS data processed {"connection_id":55495,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:24:57] local.INFO: Acknowledgment sent {"connection_id":55495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:25:12] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:25:12] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:25:12] local.INFO: IMEI packet received {"connection_id":54554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":54554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:25:14] local.INFO: TCP Data received {"connection_id":54754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:25:14] local.INFO: Processing buffer {"connection_id":54754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:25:14] local.INFO: IMEI packet received {"connection_id":54754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":54754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:25:17] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:25:17] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:25:17] local.INFO: IMEI packet received {"connection_id":54554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":54554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:25:18] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:25:18] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:25:18] local.INFO: Packet analysis {"connection_id":54554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:25:18] local.INFO: Extracted packet for processing {"connection_id":54554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25: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-04-26 14:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:25:18] 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-04-26 14:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:25:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":54554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:25:18] local.INFO: GPS data processed {"connection_id":54554,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:25:18] local.INFO: Acknowledgment sent {"connection_id":54554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:25:19] local.INFO: TCP Data received {"connection_id":54754,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:25:19] local.INFO: Processing buffer {"connection_id":54754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:25:19] local.INFO: IMEI packet received {"connection_id":54754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":54754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:25:20] local.INFO: TCP Data received {"connection_id":54754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:25:20] local.INFO: Processing buffer {"connection_id":54754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:25:20] local.INFO: Packet analysis {"connection_id":54754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:25:20] local.INFO: Extracted packet for processing {"connection_id":54754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:25: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-04-26 14: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-04-26 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:25: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-04-26 14:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:25:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":54754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:25:20] local.INFO: GPS data processed {"connection_id":54754,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:25:20] local.INFO: Acknowledgment sent {"connection_id":54754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:25:21] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:25:21] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:25:21] local.INFO: IMEI packet received {"connection_id":54755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":54755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:25:25] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:25:25] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:25:25] local.INFO: IMEI packet received {"connection_id":54755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":54755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:25:26] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:25:26] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:25:26] local.INFO: Packet analysis {"connection_id":54755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:25:26] local.INFO: Extracted packet for processing {"connection_id":54755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762886208,"raw_latitude":97758800,"longitude_deg":76.2886208,"latitude_deg":9.77588,"altitude":0,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d78b840","hex_latitude":"05d3ae50","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:26] 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-04-26 14:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777193700000,"timestamp_ms":1777193700000,"timestamp_seconds":1777193700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ffcaa0"} 
[2026-04-26 14:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:25:26] 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-04-26 14:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13298,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:25:26] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":54755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:25:26] local.INFO: GPS data processed {"connection_id":54755,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:25:26] local.INFO: Acknowledgment sent {"connection_id":54755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:25:49] local.INFO: TCP Data received {"connection_id":54554,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:25:49] local.INFO: Processing buffer {"connection_id":54554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:25:49] local.INFO: Packet analysis {"connection_id":54554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:25:49] local.INFO: Extracted packet for processing {"connection_id":54554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25: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-04-26 14:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:25:49] 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-04-26 14:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:25:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":54554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:25:49] local.INFO: GPS data processed {"connection_id":54554,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:25:49] local.INFO: Acknowledgment sent {"connection_id":54554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:25:51] local.INFO: TCP Data received {"connection_id":54754,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:25:51] local.INFO: Processing buffer {"connection_id":54754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fb80f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 14:25:51] local.INFO: Packet analysis {"connection_id":54754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:25:51] local.INFO: Extracted packet for processing {"connection_id":54754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fb"} 
[2026-04-26 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961438208001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193419000,"timestamp_ms":1777193419000,"timestamp_seconds":1777193419,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fb80f8"} 
[2026-04-26 14:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:25: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-04-26 14: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-04-26 14:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961438208001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961438208001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:25:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961438208001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:25:51] local.INFO: GPS data processed {"connection_id":54754,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:25:51] local.INFO: Acknowledgment sent {"connection_id":54754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:25:57] local.INFO: TCP Data received {"connection_id":54755,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:25:57] local.INFO: Processing buffer {"connection_id":54755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:25:57] local.INFO: Packet analysis {"connection_id":54755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:25:57] local.INFO: Extracted packet for processing {"connection_id":54755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":762886208,"raw_latitude":97758800,"longitude_deg":76.2886208,"latitude_deg":9.77588,"altitude":0,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d78b840","hex_latitude":"05d3ae50","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:25:57] 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-04-26 14:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777193700000,"timestamp_ms":1777193700000,"timestamp_seconds":1777193700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ffcaa0"} 
[2026-04-26 14:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:25:57] 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-04-26 14: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-04-26 14:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:25:57] 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-04-26 14:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13298,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:25:57] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":54755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:25:57] local.INFO: GPS data processed {"connection_id":54755,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:25:57] local.INFO: Acknowledgment sent {"connection_id":54755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:26:17] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:26:17] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:26:17] local.INFO: IMEI packet received {"connection_id":54820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":54820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:26:19] local.INFO: TCP Data received {"connection_id":54821,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:26:19] local.INFO: Processing buffer {"connection_id":54821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:26:19] local.INFO: IMEI packet received {"connection_id":54821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:26:22] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:26:22] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:26:22] local.INFO: IMEI packet received {"connection_id":54820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":54820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:26:23] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:26:23] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:26:23] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:26:23] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26: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-04-26 14:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:26:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:26:23] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:26:23] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:26:24] local.INFO: TCP Data received {"connection_id":54821,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:26:24] local.INFO: Processing buffer {"connection_id":54821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:26:24] local.INFO: IMEI packet received {"connection_id":54821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":54821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:26:25] local.INFO: TCP Data received {"connection_id":54821,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:26:25] local.INFO: Processing buffer {"connection_id":54821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:26:25] local.INFO: Packet analysis {"connection_id":54821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:26:25] local.INFO: Extracted packet for processing {"connection_id":54821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:26:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:26:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":54821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:26:25] local.INFO: GPS data processed {"connection_id":54821,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:26:25] local.INFO: Acknowledgment sent {"connection_id":54821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:26:25] local.INFO: TCP Data received {"connection_id":54757,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:26:25] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:26:25] local.INFO: IMEI packet received {"connection_id":54757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":54757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:26:28] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:26:28] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:26:28] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:26:28] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:28] 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-04-26 14:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:26:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:26:28] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:26:28] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:26:29] local.INFO: TCP Data received {"connection_id":54821,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:26:29] local.INFO: Processing buffer {"connection_id":54821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:26:29] local.INFO: Packet analysis {"connection_id":54821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:26:29] local.INFO: Extracted packet for processing {"connection_id":54821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:26:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:26:29] 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-04-26 14:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:26:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":54821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:26:29] local.INFO: GPS data processed {"connection_id":54821,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:26:29] local.INFO: Acknowledgment sent {"connection_id":54821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:26:51] local.INFO: TCP Data received {"connection_id":54757,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:26:51] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:26:51] local.INFO: IMEI packet received {"connection_id":54757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":54757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:26:52] local.INFO: TCP Data received {"connection_id":54757,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:26:52] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:26:52] local.INFO: Packet analysis {"connection_id":54757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:26:52] local.INFO: Extracted packet for processing {"connection_id":54757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:26:52] local.INFO: GPS Element Parsed {"raw_longitude":762886208,"raw_latitude":97758800,"longitude_deg":76.2886208,"latitude_deg":9.77588,"altitude":0,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d78b840","hex_latitude":"05d3ae50","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:26: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-04-26 14:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777193700000,"timestamp_ms":1777193700000,"timestamp_seconds":1777193700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ffcaa0"} 
[2026-04-26 14:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:26:52] 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-04-26 14: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:26:52] 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-04-26 14: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-04-26 14:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:26:52] 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-04-26 14:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13298,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:26:52] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:26:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":54757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:26:52] local.INFO: GPS data processed {"connection_id":54757,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:26:52] local.INFO: Acknowledgment sent {"connection_id":54757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:27:12] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:27:12] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:27:12] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:27:14] local.INFO: TCP Data received {"connection_id":54823,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:27:14] local.INFO: Processing buffer {"connection_id":54823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:27:14] local.INFO: IMEI packet received {"connection_id":54823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:27:17] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:27:17] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:27:17] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:27:18] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:27:18] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:27:18] local.INFO: Packet analysis {"connection_id":54822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:27:18] local.INFO: Extracted packet for processing {"connection_id":54822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27: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-04-26 14:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14: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-04-26 14:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:27:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":54822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:27:18] local.INFO: GPS data processed {"connection_id":54822,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:27:18] local.INFO: Acknowledgment sent {"connection_id":54822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:27:19] local.INFO: TCP Data received {"connection_id":54823,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:27:19] local.INFO: Processing buffer {"connection_id":54823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:27:19] local.INFO: IMEI packet received {"connection_id":54823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":54823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:27:20] local.INFO: TCP Data received {"connection_id":54823,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:27:20] local.INFO: Processing buffer {"connection_id":54823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:27:20] local.INFO: Packet analysis {"connection_id":54823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:27:20] local.INFO: Extracted packet for processing {"connection_id":54823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:27: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-04-26 14: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-04-26 14:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:27:20] 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-04-26 14:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:27:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":54823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:27:20] local.INFO: GPS data processed {"connection_id":54823,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:27:20] local.INFO: Acknowledgment sent {"connection_id":54823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:27:20] local.INFO: TCP Data received {"connection_id":55497,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:27:20] local.INFO: Processing buffer {"connection_id":55497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:27:20] local.INFO: IMEI packet received {"connection_id":55497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":55497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:27:25] local.INFO: TCP Data received {"connection_id":55497,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:27:25] local.INFO: Processing buffer {"connection_id":55497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:27:25] local.INFO: IMEI packet received {"connection_id":55497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":55497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:27:27] local.INFO: TCP Data received {"connection_id":55497,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:27:27] local.INFO: Processing buffer {"connection_id":55497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:27:27] local.INFO: Packet analysis {"connection_id":55497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:27:27] local.INFO: Extracted packet for processing {"connection_id":55497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:27:27] local.INFO: GPS Element Parsed {"raw_longitude":762886208,"raw_latitude":97758800,"longitude_deg":76.2886208,"latitude_deg":9.77588,"altitude":0,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d78b840","hex_latitude":"05d3ae50","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:27] 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-04-26 14:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777193700000,"timestamp_ms":1777193700000,"timestamp_seconds":1777193700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ffcaa0"} 
[2026-04-26 14:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:27:27] 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-04-26 14: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:27:27] 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-04-26 14:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13298,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:27:27] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":55497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:27:27] local.INFO: GPS data processed {"connection_id":55497,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:27:27] local.INFO: Acknowledgment sent {"connection_id":55497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:27:49] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:27:49] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8fd9820012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:27:49] local.INFO: Packet analysis {"connection_id":54822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:27:49] local.INFO: Extracted packet for processing {"connection_id":54822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8fd"} 
[2026-04-26 14:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961473280001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27: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-04-26 14:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193556000,"timestamp_ms":1777193556000,"timestamp_seconds":1777193556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8fd9820"} 
[2026-04-26 14:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:27: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-04-26 14:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961473280001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961473280001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:27:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961473280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":54822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:27:49] local.INFO: GPS data processed {"connection_id":54822,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:27:49] local.INFO: Acknowledgment sent {"connection_id":54822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:27:51] local.INFO: TCP Data received {"connection_id":54823,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:27:51] local.INFO: Processing buffer {"connection_id":54823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:27:51] local.INFO: Packet analysis {"connection_id":54823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:27:51] local.INFO: Extracted packet for processing {"connection_id":54823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:27: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-04-26 14: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-04-26 14:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:27:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:27:51] local.INFO: GPS data processed {"connection_id":54823,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:27:51] local.INFO: Acknowledgment sent {"connection_id":54823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:27:59] local.INFO: TCP Data received {"connection_id":55497,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:27:59] local.INFO: Processing buffer {"connection_id":55497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc8ffcaa0012d78b84005d3ae50000000b52b..."} 
[2026-04-26 14:27:59] local.INFO: Packet analysis {"connection_id":55497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:27:59] local.INFO: Extracted packet for processing {"connection_id":55497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc8ff"} 
[2026-04-26 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":762886208,"raw_latitude":97758800,"longitude_deg":76.2886208,"latitude_deg":9.77588,"altitude":0,"angle":181,"satellites":43,"speed":0,"hex_longitude":"2d78b840","hex_latitude":"05d3ae50","is_valid_coordinates":true} 
[2026-04-26 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961509632001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475745290944512,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655245789184,"note":"Value kept but may cause issues"} 
[2026-04-26 14:27:59] 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-04-26 14:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777193700000,"timestamp_ms":1777193700000,"timestamp_seconds":1777193700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc8ffcaa0"} 
[2026-04-26 14:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:27:59] 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-04-26 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-26 14:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":55497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":55497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":55497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 14:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 14:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 14:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961509632001,"66":13298,"53":206,"85":15104,"24":0,"16":76475745290944512,"45":8699265655245789184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 14:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 14:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 14:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961509632001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:27:59] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 14:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 14:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76475745290944512,"km_value":76475745290944.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655245789184,"description":"Unknown IO ID 45"} 
[2026-04-26 14:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961509632001,"power":13298,"unknown_53":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8699265655245789184}} 
[2026-04-26 14:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":55497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:27:59] local.INFO: GPS data processed {"connection_id":55497,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:27:59] local.INFO: Acknowledgment sent {"connection_id":55497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:28:12] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:28:12] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:28:12] local.INFO: IMEI packet received {"connection_id":54824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":54824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:28:14] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:28:14] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:28:14] local.INFO: IMEI packet received {"connection_id":54825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":54825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:28:15] local.INFO: TCP Data received {"connection_id":55498,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:28:15] local.INFO: Processing buffer {"connection_id":55498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:28:15] local.INFO: IMEI packet received {"connection_id":55498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":55498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:28:15] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:28:15] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:28:15] local.INFO: IMEI packet received {"connection_id":54824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:28:16] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:28:16] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:28:16] local.INFO: Packet analysis {"connection_id":54824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:28:16] local.INFO: Extracted packet for processing {"connection_id":54824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:28:16] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:28:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28: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-04-26 14:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 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-04-26 14:28:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:28:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 14:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:28:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:28:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:28:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:28:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":54824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:28:16] local.INFO: GPS data processed {"connection_id":54824,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:28:16] local.INFO: Acknowledgment sent {"connection_id":54824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:28:19] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:28:19] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:28:19] local.INFO: IMEI packet received {"connection_id":54825,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":54825,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:28:20] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:28:20] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:28:20] local.INFO: Packet analysis {"connection_id":54825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:28:20] local.INFO: Extracted packet for processing {"connection_id":54825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:28: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-04-26 14: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-04-26 14:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:28:20] 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-04-26 14:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:28:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":54825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:28:20] local.INFO: GPS data processed {"connection_id":54825,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:28:20] local.INFO: Acknowledgment sent {"connection_id":54825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:28:31] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:31] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:31] local.INFO: IMEI packet received {"connection_id":54556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 14:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":54556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:28:40] local.INFO: TCP Data received {"connection_id":54557,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:28:40] local.INFO: Processing buffer {"connection_id":54557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:28:40] local.INFO: IMEI packet received {"connection_id":54557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":54557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:28:40] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:40] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:40] local.INFO: IMEI packet received {"connection_id":54556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":54556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:28:40] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:40] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:40] local.INFO: IMEI packet received {"connection_id":54556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":54556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:28:45] local.INFO: TCP Data received {"connection_id":54556,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:45] local.INFO: Processing buffer {"connection_id":54556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 14:28:45] local.INFO: IMEI packet received {"connection_id":54556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 14:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":54556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:28:47] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:28:47] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:28:47] local.INFO: Packet analysis {"connection_id":54824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:28:47] local.INFO: Extracted packet for processing {"connection_id":54824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28: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-04-26 14:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:28: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-04-26 14:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:28:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:28:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:28:47] local.INFO: DEBUG: GPS processor result {"connection_id":54824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:28:47] local.INFO: GPS data processed {"connection_id":54824,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:28:47] local.INFO: Acknowledgment sent {"connection_id":54824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:28:51] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:28:51] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:28:51] local.INFO: Packet analysis {"connection_id":54825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:28:51] local.INFO: Extracted packet for processing {"connection_id":54825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:28:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54825,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:28:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":54825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:28:51] local.INFO: GPS data processed {"connection_id":54825,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:28:51] local.INFO: Acknowledgment sent {"connection_id":54825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:29:12] local.INFO: TCP Data received {"connection_id":55499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:29:12] local.INFO: Processing buffer {"connection_id":55499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:29:12] local.INFO: IMEI packet received {"connection_id":55499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":55499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:29:14] local.INFO: TCP Data received {"connection_id":54758,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:29:14] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:29:14] local.INFO: IMEI packet received {"connection_id":54758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":54758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:29:17] local.INFO: TCP Data received {"connection_id":55499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:29:17] local.INFO: Processing buffer {"connection_id":55499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:29:17] local.INFO: IMEI packet received {"connection_id":55499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":55499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:29:18] local.INFO: TCP Data received {"connection_id":55499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:29:18] local.INFO: Processing buffer {"connection_id":55499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:29:18] local.INFO: Packet analysis {"connection_id":55499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:29:18] local.INFO: Extracted packet for processing {"connection_id":55499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29: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-04-26 14:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:29:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":55499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:29:18] local.INFO: GPS data processed {"connection_id":55499,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:29:18] local.INFO: Acknowledgment sent {"connection_id":55499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:29:19] local.INFO: TCP Data received {"connection_id":54758,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:29:19] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:29:19] local.INFO: IMEI packet received {"connection_id":54758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":54758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:29:20] local.INFO: TCP Data received {"connection_id":54758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:29:20] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:29:20] local.INFO: Packet analysis {"connection_id":54758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:29:20] local.INFO: Extracted packet for processing {"connection_id":54758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:29: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-04-26 14: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-04-26 14:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:29:20] 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-04-26 14:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:29:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":54758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:29:20] local.INFO: GPS data processed {"connection_id":54758,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:29:20] local.INFO: Acknowledgment sent {"connection_id":54758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:29:49] local.INFO: TCP Data received {"connection_id":55499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:29:49] local.INFO: Processing buffer {"connection_id":55499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:29:49] local.INFO: Packet analysis {"connection_id":55499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:29:49] local.INFO: Extracted packet for processing {"connection_id":55499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29: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-04-26 14:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":55499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:29:49] local.INFO: GPS data processed {"connection_id":55499,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:29:49] local.INFO: Acknowledgment sent {"connection_id":55499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:29:51] local.INFO: TCP Data received {"connection_id":54758,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:29:51] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:29:51] local.INFO: Packet analysis {"connection_id":54758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:29:51] local.INFO: Extracted packet for processing {"connection_id":54758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:29:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":54758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:29:51] local.INFO: GPS data processed {"connection_id":54758,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:29:51] local.INFO: Acknowledgment sent {"connection_id":54758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:30:12] local.INFO: TCP Data received {"connection_id":54560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:30:12] local.INFO: Processing buffer {"connection_id":54560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:30:12] local.INFO: IMEI packet received {"connection_id":54560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":54560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:30:14] local.INFO: TCP Data received {"connection_id":55500,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:30:14] local.INFO: Processing buffer {"connection_id":55500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:30:14] local.INFO: IMEI packet received {"connection_id":55500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":55500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:30:17] local.INFO: TCP Data received {"connection_id":54560,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54560,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:30:17] local.INFO: Processing buffer {"connection_id":54560,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:30:17] local.INFO: IMEI packet received {"connection_id":54560,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":54560,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:30:18] local.INFO: TCP Data received {"connection_id":54560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:30:18] local.INFO: Processing buffer {"connection_id":54560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:30:18] local.INFO: Packet analysis {"connection_id":54560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:30:18] local.INFO: Extracted packet for processing {"connection_id":54560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30: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-04-26 14:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:30: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-04-26 14:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:30:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":54560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:30:18] local.INFO: GPS data processed {"connection_id":54560,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:30:18] local.INFO: Acknowledgment sent {"connection_id":54560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:30:19] local.INFO: TCP Data received {"connection_id":55500,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:30:19] local.INFO: Processing buffer {"connection_id":55500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:30:19] local.INFO: IMEI packet received {"connection_id":55500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":55500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:30:20] local.INFO: TCP Data received {"connection_id":55500,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:30:20] local.INFO: Processing buffer {"connection_id":55500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:30:20] local.INFO: Packet analysis {"connection_id":55500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:30:20] local.INFO: Extracted packet for processing {"connection_id":55500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:30: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-04-26 14: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-04-26 14:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:30:20] 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-04-26 14:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:30:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":55500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:30:20] local.INFO: GPS data processed {"connection_id":55500,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:30:20] local.INFO: Acknowledgment sent {"connection_id":55500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:30:49] local.INFO: TCP Data received {"connection_id":54560,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:30:49] local.INFO: Processing buffer {"connection_id":54560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:30:49] local.INFO: Packet analysis {"connection_id":54560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:30:49] local.INFO: Extracted packet for processing {"connection_id":54560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30: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-04-26 14:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54560,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:30: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-04-26 14:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:30:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":54560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:30:49] local.INFO: GPS data processed {"connection_id":54560,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:30:49] local.INFO: Acknowledgment sent {"connection_id":54560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:30:51] local.INFO: TCP Data received {"connection_id":55500,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:30:51] local.INFO: Processing buffer {"connection_id":55500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90018c0012cb299c007822ce0004a00122b..."} 
[2026-04-26 14:30:51] local.INFO: Packet analysis {"connection_id":55500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:30:51] local.INFO: Extracted packet for processing {"connection_id":55500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc900"} 
[2026-04-26 14:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961515264001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777193720000,"timestamp_ms":1777193720000,"timestamp_seconds":1777193720,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90018c0"} 
[2026-04-26 14:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961515264001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961515264001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:30:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961515264001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":55500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:30:51] local.INFO: GPS data processed {"connection_id":55500,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:30:51] local.INFO: Acknowledgment sent {"connection_id":55500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:31:12] local.INFO: TCP Data received {"connection_id":54760,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:31:12] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:31:12] local.INFO: IMEI packet received {"connection_id":54760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":54760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:31:17] local.INFO: TCP Data received {"connection_id":54760,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:31:17] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:31:17] local.INFO: IMEI packet received {"connection_id":54760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":54760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:31:18] local.INFO: TCP Data received {"connection_id":54760,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:31:18] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:31:18] local.INFO: Packet analysis {"connection_id":54760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:31:18] local.INFO: Extracted packet for processing {"connection_id":54760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31: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-04-26 14:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:31:18] 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-04-26 14:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:31:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":54760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:31:18] local.INFO: GPS data processed {"connection_id":54760,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:31:18] local.INFO: Acknowledgment sent {"connection_id":54760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:31:19] local.INFO: TCP Data received {"connection_id":55501,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:31:19] local.INFO: Processing buffer {"connection_id":55501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:31:19] local.INFO: IMEI packet received {"connection_id":55501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":55501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:31:24] local.INFO: TCP Data received {"connection_id":55501,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:31:24] local.INFO: Processing buffer {"connection_id":55501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:31:24] local.INFO: IMEI packet received {"connection_id":55501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":55501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:31:25] local.INFO: TCP Data received {"connection_id":55501,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:31:25] local.INFO: Processing buffer {"connection_id":55501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:31:25] local.INFO: Packet analysis {"connection_id":55501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:31:25] local.INFO: Extracted packet for processing {"connection_id":55501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:31:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:31:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:31:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":55501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:31:25] local.INFO: GPS data processed {"connection_id":55501,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:31:25] local.INFO: Acknowledgment sent {"connection_id":55501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:31:29] local.INFO: TCP Data received {"connection_id":55501,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:31:29] local.INFO: Processing buffer {"connection_id":55501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:31:29] local.INFO: Packet analysis {"connection_id":55501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:31:29] local.INFO: Extracted packet for processing {"connection_id":55501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:31:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:31:29] 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-04-26 14:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:31:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":55501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:31:29] local.INFO: GPS data processed {"connection_id":55501,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:31:29] local.INFO: Acknowledgment sent {"connection_id":55501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:31:50] local.INFO: TCP Data received {"connection_id":54760,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:31:50] local.INFO: Processing buffer {"connection_id":54760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:31:50] local.INFO: Packet analysis {"connection_id":54760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:31:50] local.INFO: Extracted packet for processing {"connection_id":54760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:31:50] 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-04-26 14:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:31:50] 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-04-26 14:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:31:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:31:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":54760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:31:50] local.INFO: GPS data processed {"connection_id":54760,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:31:50] local.INFO: Acknowledgment sent {"connection_id":54760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:32:14] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:32:14] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:32:14] local.INFO: IMEI packet received {"connection_id":54827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:32:18] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:32:18] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:32:18] local.INFO: IMEI packet received {"connection_id":54761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":54761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:32:19] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:32:19] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:32:19] local.INFO: IMEI packet received {"connection_id":54827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":54827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:32:19] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:32:19] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:32:19] local.INFO: Packet analysis {"connection_id":54827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:32:19] local.INFO: Extracted packet for processing {"connection_id":54827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:32:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:32:19] 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-04-26 14:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:32:19] 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-04-26 14:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:32:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":54827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:32:19] local.INFO: GPS data processed {"connection_id":54827,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:32:19] local.INFO: Acknowledgment sent {"connection_id":54827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:32:22] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:32:22] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:32:22] local.INFO: IMEI packet received {"connection_id":54761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":54761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:32:23] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:32:23] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:32:23] local.INFO: Packet analysis {"connection_id":54761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:32:23] local.INFO: Extracted packet for processing {"connection_id":54761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32: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-04-26 14:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 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-04-26 14:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 14:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:32:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":54761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:32:23] local.INFO: GPS data processed {"connection_id":54761,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:32:23] local.INFO: Acknowledgment sent {"connection_id":54761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:32:27] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:32:27] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9022fe8012d196f80071fecc00041010d29..."} 
[2026-04-26 14:32:27] local.INFO: Packet analysis {"connection_id":54761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:32:27] local.INFO: Extracted packet for processing {"connection_id":54761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc902"} 
[2026-04-26 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961550336001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:27] 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-04-26 14:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777193857000,"timestamp_ms":1777193857000,"timestamp_seconds":1777193857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9022fe8"} 
[2026-04-26 14:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961550336001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961550336001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:32:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961550336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":54761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:32:28] local.INFO: GPS data processed {"connection_id":54761,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:32:28] local.INFO: Acknowledgment sent {"connection_id":54761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:32:50] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:32:50] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:32:50] local.INFO: Packet analysis {"connection_id":54827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:32:50] local.INFO: Extracted packet for processing {"connection_id":54827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:32:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:32:50] 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-04-26 14: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-04-26 14:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:32:50] 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-04-26 14:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:32:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:32:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":54827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:32:50] local.INFO: GPS data processed {"connection_id":54827,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:32:50] local.INFO: Acknowledgment sent {"connection_id":54827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:33:12] local.INFO: TCP Data received {"connection_id":55502,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:33:12] local.INFO: Processing buffer {"connection_id":55502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:33:12] local.INFO: IMEI packet received {"connection_id":55502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":55502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:33:14] local.INFO: TCP Data received {"connection_id":55503,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:33:14] local.INFO: Processing buffer {"connection_id":55503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:33:14] local.INFO: IMEI packet received {"connection_id":55503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":55503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:33:16] local.INFO: TCP Data received {"connection_id":55502,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:33:16] local.INFO: Processing buffer {"connection_id":55502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:33:16] local.INFO: IMEI packet received {"connection_id":55502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":55502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:33:17] local.INFO: TCP Data received {"connection_id":55502,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:33:17] local.INFO: Processing buffer {"connection_id":55502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:33:17] local.INFO: Packet analysis {"connection_id":55502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:33:17] local.INFO: Extracted packet for processing {"connection_id":55502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33: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-04-26 14:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:33:17] 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-04-26 14:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:33:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":55502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:33:17] local.INFO: GPS data processed {"connection_id":55502,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:33:17] local.INFO: Acknowledgment sent {"connection_id":55502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:33:19] local.INFO: TCP Data received {"connection_id":55503,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:33:19] local.INFO: Processing buffer {"connection_id":55503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:33:19] local.INFO: IMEI packet received {"connection_id":55503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":55503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:33:20] local.INFO: TCP Data received {"connection_id":55503,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:33:20] local.INFO: Processing buffer {"connection_id":55503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:33:20] local.INFO: Packet analysis {"connection_id":55503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:33:20] local.INFO: Extracted packet for processing {"connection_id":55503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 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-04-26 14:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:33: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-04-26 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-04-26 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-04-26 14:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:33:20] 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-04-26 14:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:33:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":55503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:33:20] local.INFO: GPS data processed {"connection_id":55503,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:33:20] local.INFO: Acknowledgment sent {"connection_id":55503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:33:48] local.INFO: TCP Data received {"connection_id":55502,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:33:48] local.INFO: Processing buffer {"connection_id":55502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:33:48] local.INFO: Packet analysis {"connection_id":55502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:33:48] local.INFO: Extracted packet for processing {"connection_id":55502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33: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-04-26 14:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:33: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-04-26 14:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:33: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-04-26 14:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:33:48] 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-04-26 14:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:33:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":55502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:33:49] local.INFO: GPS data processed {"connection_id":55502,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:33:49] local.INFO: Acknowledgment sent {"connection_id":55502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:33:51] local.INFO: TCP Data received {"connection_id":55503,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:33:51] local.INFO: Processing buffer {"connection_id":55503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:33:51] local.INFO: Packet analysis {"connection_id":55503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:33:51] local.INFO: Extracted packet for processing {"connection_id":55503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:33: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-04-26 14: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-04-26 14:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:33:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":55503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:33:51] local.INFO: GPS data processed {"connection_id":55503,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:33:51] local.INFO: Acknowledgment sent {"connection_id":55503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:34:12] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:34:12] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:34:12] local.INFO: IMEI packet received {"connection_id":54762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":54762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:34:14] local.INFO: TCP Data received {"connection_id":55504,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:34:14] local.INFO: Processing buffer {"connection_id":55504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:34:14] local.INFO: IMEI packet received {"connection_id":55504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":55504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:34:17] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:34:17] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:34:17] local.INFO: IMEI packet received {"connection_id":54762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":54762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:34:18] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:34:18] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:34:18] local.INFO: Packet analysis {"connection_id":54762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:34:18] local.INFO: Extracted packet for processing {"connection_id":54762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34: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-04-26 14:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:34:18] 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-04-26 14:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:34:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":54762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:34:18] local.INFO: GPS data processed {"connection_id":54762,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:34:18] local.INFO: Acknowledgment sent {"connection_id":54762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:34:19] local.INFO: TCP Data received {"connection_id":55504,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:34:19] local.INFO: Processing buffer {"connection_id":55504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:34:19] local.INFO: IMEI packet received {"connection_id":55504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":55504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:34:20] local.INFO: TCP Data received {"connection_id":55504,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:34:20] local.INFO: Processing buffer {"connection_id":55504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:34:20] local.INFO: Packet analysis {"connection_id":55504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:34:20] local.INFO: Extracted packet for processing {"connection_id":55504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:34: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-04-26 14: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-04-26 14:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:34:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:34:20] local.INFO: GPS data processed {"connection_id":55504,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:34:20] local.INFO: Acknowledgment sent {"connection_id":55504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:34:40] local.INFO: TCP Data received {"connection_id":54829,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:34:40] local.INFO: Processing buffer {"connection_id":54829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:34:40] local.INFO: IMEI packet received {"connection_id":54829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":54829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:34:49] local.INFO: TCP Data received {"connection_id":54762,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:34:49] local.INFO: Processing buffer {"connection_id":54762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:34:49] local.INFO: Packet analysis {"connection_id":54762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:34:49] local.INFO: Extracted packet for processing {"connection_id":54762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34: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-04-26 14:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:34:49] 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-04-26 14:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:34:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":54762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:34:49] local.INFO: GPS data processed {"connection_id":54762,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:34:49] local.INFO: Acknowledgment sent {"connection_id":54762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:34:51] local.INFO: TCP Data received {"connection_id":55504,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:34:51] local.INFO: Processing buffer {"connection_id":55504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:34:51] local.INFO: Packet analysis {"connection_id":55504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:34:51] local.INFO: Extracted packet for processing {"connection_id":55504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:34: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-04-26 14: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-04-26 14:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:34:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:34:51] local.INFO: GPS data processed {"connection_id":55504,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:34:51] local.INFO: Acknowledgment sent {"connection_id":55504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:35:14] local.INFO: TCP Data received {"connection_id":54763,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:35:14] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:35:14] local.INFO: IMEI packet received {"connection_id":54763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:35:17] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:35:17] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:35:17] local.INFO: IMEI packet received {"connection_id":54830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":54830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:35:19] local.INFO: TCP Data received {"connection_id":54763,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:35:19] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:35:19] local.INFO: IMEI packet received {"connection_id":54763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:35:20] local.INFO: TCP Data received {"connection_id":54763,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:35:20] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:35:20] local.INFO: Packet analysis {"connection_id":54763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:35:20] local.INFO: Extracted packet for processing {"connection_id":54763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 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-04-26 14:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14: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-04-26 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-04-26 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-04-26 14:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:35:20] 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-04-26 14:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:35:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":54763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:35:20] local.INFO: GPS data processed {"connection_id":54763,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:35:20] local.INFO: Acknowledgment sent {"connection_id":54763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:35:22] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:35:22] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:35:22] local.INFO: IMEI packet received {"connection_id":54830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":54830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:35:23] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:35:23] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:35:23] local.INFO: Packet analysis {"connection_id":54830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:35:23] local.INFO: Extracted packet for processing {"connection_id":54830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35: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-04-26 14:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:35:23] 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-04-26 14:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:35:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":54830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:35:23] local.INFO: GPS data processed {"connection_id":54830,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:35:23] local.INFO: Acknowledgment sent {"connection_id":54830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:35:29] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:35:29] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:35:29] local.INFO: Packet analysis {"connection_id":54830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:35:29] local.INFO: Extracted packet for processing {"connection_id":54830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:35:29] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:29] 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-04-26 14:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:35:29] 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-04-26 14:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:35:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:35:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":54830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:35:29] local.INFO: GPS data processed {"connection_id":54830,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:35:29] local.INFO: Acknowledgment sent {"connection_id":54830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:35:45] local.INFO: TCP Data received {"connection_id":54831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:35:45] local.INFO: Processing buffer {"connection_id":54831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:35:45] local.INFO: IMEI packet received {"connection_id":54831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":54831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:35:51] local.INFO: TCP Data received {"connection_id":54763,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:35:51] local.INFO: Processing buffer {"connection_id":54763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc904b088012cb299c007822ce0004b00122a..."} 
[2026-04-26 14:35:51] local.INFO: Packet analysis {"connection_id":54763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:35:51] local.INFO: Extracted packet for processing {"connection_id":54763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc904"} 
[2026-04-26 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961592320001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194021000,"timestamp_ms":1777194021000,"timestamp_seconds":1777194021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc904b088"} 
[2026-04-26 14:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:35: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-04-26 14: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-04-26 14:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961592320001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961592320001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:35:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961592320001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:35:51] local.INFO: GPS data processed {"connection_id":54763,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:35:51] local.INFO: Acknowledgment sent {"connection_id":54763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:36:17] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:36:17] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:36:17] local.INFO: IMEI packet received {"connection_id":54562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":54562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:36:19] local.INFO: TCP Data received {"connection_id":55505,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:36:19] local.INFO: Processing buffer {"connection_id":55505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:36:19] local.INFO: IMEI packet received {"connection_id":55505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":55505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:36:22] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:36:22] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:36:22] local.INFO: IMEI packet received {"connection_id":54562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":54562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:36:23] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:36:23] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:36:23] local.INFO: Packet analysis {"connection_id":54562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:36:23] local.INFO: Extracted packet for processing {"connection_id":54562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36: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-04-26 14:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:36:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":54562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:36:23] local.INFO: GPS data processed {"connection_id":54562,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:36:23] local.INFO: Acknowledgment sent {"connection_id":54562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:36:24] local.INFO: TCP Data received {"connection_id":55505,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:36:24] local.INFO: Processing buffer {"connection_id":55505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:36:24] local.INFO: IMEI packet received {"connection_id":55505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":55505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:36:25] local.INFO: TCP Data received {"connection_id":55505,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:36:25] local.INFO: Processing buffer {"connection_id":55505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:36:25] local.INFO: Packet analysis {"connection_id":55505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:36:25] local.INFO: Extracted packet for processing {"connection_id":55505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:36:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:36:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":55505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:36:25] local.INFO: GPS data processed {"connection_id":55505,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:36:25] local.INFO: Acknowledgment sent {"connection_id":55505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:36:29] local.INFO: TCP Data received {"connection_id":55505,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:36:29] local.INFO: Processing buffer {"connection_id":55505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:36:29] local.INFO: Packet analysis {"connection_id":55505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:36:29] local.INFO: Extracted packet for processing {"connection_id":55505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:36:29] 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-04-26 14:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:36:29] 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-04-26 14:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:36:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":55505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:36:29] local.INFO: GPS data processed {"connection_id":55505,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:36:29] local.INFO: Acknowledgment sent {"connection_id":55505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:36:54] local.INFO: TCP Data received {"connection_id":54562,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:36:54] local.INFO: Processing buffer {"connection_id":54562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:36:54] local.INFO: Packet analysis {"connection_id":54562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:36:54] local.INFO: Extracted packet for processing {"connection_id":54562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:36:54] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:36: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-04-26 14:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:36:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:36:54] 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-04-26 14:36:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:36: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-04-26 14:36:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:36:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:36:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:36:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":54562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:36:54] local.INFO: GPS data processed {"connection_id":54562,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:36:54] local.INFO: Acknowledgment sent {"connection_id":54562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:37:12] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:37:12] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:37:12] local.INFO: IMEI packet received {"connection_id":54563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":54563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:37:14] local.INFO: TCP Data received {"connection_id":54765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:37:14] local.INFO: Processing buffer {"connection_id":54765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:37:14] local.INFO: IMEI packet received {"connection_id":54765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":54765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:37:17] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:37:17] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:37:17] local.INFO: IMEI packet received {"connection_id":54563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":54563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:37:18] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:37:18] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:37:18] local.INFO: Packet analysis {"connection_id":54563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:37:18] local.INFO: Extracted packet for processing {"connection_id":54563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37: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-04-26 14:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:37:18] 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-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:37:18] 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-04-26 14:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:37:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":54563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:37:18] local.INFO: GPS data processed {"connection_id":54563,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:37:18] local.INFO: Acknowledgment sent {"connection_id":54563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:37:19] local.INFO: TCP Data received {"connection_id":54765,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:37:19] local.INFO: Processing buffer {"connection_id":54765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:37:19] local.INFO: IMEI packet received {"connection_id":54765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":54765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:37:20] local.INFO: TCP Data received {"connection_id":54765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:37:20] local.INFO: Processing buffer {"connection_id":54765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:37:20] local.INFO: Packet analysis {"connection_id":54765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:37:20] local.INFO: Extracted packet for processing {"connection_id":54765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:37: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-04-26 14: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-04-26 14:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:37: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-04-26 14:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:37:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:37:20] local.INFO: GPS data processed {"connection_id":54765,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:37:20] local.INFO: Acknowledgment sent {"connection_id":54765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:37:49] local.INFO: TCP Data received {"connection_id":54563,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:37:49] local.INFO: Processing buffer {"connection_id":54563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc906c7b0012d196f80071fecc00041010d27..."} 
[2026-04-26 14:37:49] local.INFO: Packet analysis {"connection_id":54563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:37:49] local.INFO: Extracted packet for processing {"connection_id":54563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc906"} 
[2026-04-26 14:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961627392001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37: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-04-26 14:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194158000,"timestamp_ms":1777194158000,"timestamp_seconds":1777194158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc906c7b0"} 
[2026-04-26 14:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:37:49] 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-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:37:49] 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-04-26 14:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961627392001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961627392001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:37:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961627392001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":54563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:37:49] local.INFO: GPS data processed {"connection_id":54563,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:37:49] local.INFO: Acknowledgment sent {"connection_id":54563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:37:51] local.INFO: TCP Data received {"connection_id":54765,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:37:51] local.INFO: Processing buffer {"connection_id":54765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:37:51] local.INFO: Packet analysis {"connection_id":54765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:37:51] local.INFO: Extracted packet for processing {"connection_id":54765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:37: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-04-26 14: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-04-26 14:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:37: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-04-26 14:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:37:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":54765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:37:51] local.INFO: GPS data processed {"connection_id":54765,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:37:51] local.INFO: Acknowledgment sent {"connection_id":54765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:38:14] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:38:14] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:38:14] local.INFO: IMEI packet received {"connection_id":54832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":54832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:38:17] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:17] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:17] local.INFO: IMEI packet received {"connection_id":54833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":54833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:38:17] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:17] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:17] local.INFO: IMEI packet received {"connection_id":54833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":54833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:38:19] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:38:19] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:38:19] local.INFO: IMEI packet received {"connection_id":54832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":54832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:38:20] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:38:20] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:38:20] local.INFO: Packet analysis {"connection_id":54832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:38:20] local.INFO: Extracted packet for processing {"connection_id":54832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:38: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-04-26 14: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-04-26 14:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:38:20] 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-04-26 14:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:38:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":54832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:38:20] local.INFO: GPS data processed {"connection_id":54832,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:38:20] local.INFO: Acknowledgment sent {"connection_id":54832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:38:22] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:22] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:38:22] local.INFO: IMEI packet received {"connection_id":54833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":54833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:38:23] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:38:23] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:38:23] local.INFO: Packet analysis {"connection_id":54833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:38:23] local.INFO: Extracted packet for processing {"connection_id":54833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38: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-04-26 14:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:38:23] 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-04-26 14:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:38:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":54833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:38:23] local.INFO: GPS data processed {"connection_id":54833,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:38:23] local.INFO: Acknowledgment sent {"connection_id":54833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:38:27] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:38:27] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:38:27] local.INFO: Packet analysis {"connection_id":54833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:38:27] local.INFO: Extracted packet for processing {"connection_id":54833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:27] 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-04-26 14:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:38:27] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:38:27] 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-04-26 14: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-04-26 14:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:38:27] 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-04-26 14:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:38:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":54833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:38:28] local.INFO: GPS data processed {"connection_id":54833,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:38:28] local.INFO: Acknowledgment sent {"connection_id":54833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:38:51] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:38:51] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:38:51] local.INFO: Packet analysis {"connection_id":54832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:38:51] local.INFO: Extracted packet for processing {"connection_id":54832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:38:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:38: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-04-26 14: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-04-26 14:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:38:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":54832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:38:51] local.INFO: GPS data processed {"connection_id":54832,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:38:51] local.INFO: Acknowledgment sent {"connection_id":54832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:39:12] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:39:12] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:39:12] local.INFO: IMEI packet received {"connection_id":54766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":54766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:39:14] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:39:14] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:39:14] local.INFO: IMEI packet received {"connection_id":54566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":54566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:39:17] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:39:17] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:39:17] local.INFO: IMEI packet received {"connection_id":54766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":54766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:39:18] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:39:18] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:39:18] local.INFO: Packet analysis {"connection_id":54766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:39:18] local.INFO: Extracted packet for processing {"connection_id":54766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39: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-04-26 14:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 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-04-26 14:39:18] 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-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:39:18] 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-04-26 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-04-26 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-04-26 14:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:39:18] 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-04-26 14:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:39:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":54766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:39:18] local.INFO: GPS data processed {"connection_id":54766,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:39:18] local.INFO: Acknowledgment sent {"connection_id":54766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:39:19] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:39:19] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:39:19] local.INFO: IMEI packet received {"connection_id":54566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":54566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:39:20] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:39:20] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:39:20] local.INFO: Packet analysis {"connection_id":54566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:39:20] local.INFO: Extracted packet for processing {"connection_id":54566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:39: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-04-26 14: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-04-26 14:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:39:20] 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-04-26 14:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:39:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":54566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:39:20] local.INFO: GPS data processed {"connection_id":54566,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:39:20] local.INFO: Acknowledgment sent {"connection_id":54566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:39:49] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:39:49] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:39:49] local.INFO: Packet analysis {"connection_id":54766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:39:49] local.INFO: Extracted packet for processing {"connection_id":54766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39: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-04-26 14:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:39:49] 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-04-26 14: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-04-26 14:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:39:49] 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-04-26 14:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:39:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":54766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:39:49] local.INFO: GPS data processed {"connection_id":54766,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:39:49] local.INFO: Acknowledgment sent {"connection_id":54766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:39:51] local.INFO: TCP Data received {"connection_id":54566,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:39:51] local.INFO: Processing buffer {"connection_id":54566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:39:51] local.INFO: Packet analysis {"connection_id":54566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:39:51] local.INFO: Extracted packet for processing {"connection_id":54566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 14:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 14:39: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-04-26 14: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-04-26 14:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:39:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":54566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:39:51] local.INFO: GPS data processed {"connection_id":54566,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:39:51] local.INFO: Acknowledgment sent {"connection_id":54566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:40:12] local.INFO: TCP Data received {"connection_id":55507,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:40:12] local.INFO: Processing buffer {"connection_id":55507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:40:12] local.INFO: IMEI packet received {"connection_id":55507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":55507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:40:14] local.INFO: TCP Data received {"connection_id":55508,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:40:14] local.INFO: Processing buffer {"connection_id":55508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:40:14] local.INFO: IMEI packet received {"connection_id":55508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":55508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:40:17] local.INFO: TCP Data received {"connection_id":55507,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:40:17] local.INFO: Processing buffer {"connection_id":55507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:40:17] local.INFO: IMEI packet received {"connection_id":55507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":55507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:40:18] local.INFO: TCP Data received {"connection_id":55507,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:40:18] local.INFO: Processing buffer {"connection_id":55507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:40:18] local.INFO: Packet analysis {"connection_id":55507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:40:18] local.INFO: Extracted packet for processing {"connection_id":55507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40: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-04-26 14:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:40:18] 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-04-26 14:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:40:18] 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-04-26 14:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:40:18] 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-04-26 14:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:40:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":55507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:40:18] local.INFO: GPS data processed {"connection_id":55507,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:40:18] local.INFO: Acknowledgment sent {"connection_id":55507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:40:19] local.INFO: TCP Data received {"connection_id":55508,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:40:19] local.INFO: Processing buffer {"connection_id":55508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:40:19] local.INFO: IMEI packet received {"connection_id":55508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":55508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:40:20] local.INFO: TCP Data received {"connection_id":55508,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:40:20] local.INFO: Processing buffer {"connection_id":55508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:40:20] local.INFO: Packet analysis {"connection_id":55508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:40:20] local.INFO: Extracted packet for processing {"connection_id":55508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:40:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 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-04-26 14:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 14: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-04-26 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-04-26 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-04-26 14:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:40: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-04-26 14:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:40:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:40:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:40:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":55508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:40:20] local.INFO: GPS data processed {"connection_id":55508,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:40:20] local.INFO: Acknowledgment sent {"connection_id":55508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:40:49] local.INFO: TCP Data received {"connection_id":55507,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:40:49] local.INFO: Processing buffer {"connection_id":55507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:40:49] local.INFO: Packet analysis {"connection_id":55507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:40:49] local.INFO: Extracted packet for processing {"connection_id":55507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40: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-04-26 14:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 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-04-26 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:40:49] 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-04-26 14: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-04-26 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-04-26 14:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:40:49] 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-04-26 14:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":55507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:40:49] local.INFO: GPS data processed {"connection_id":55507,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:40:49] local.INFO: Acknowledgment sent {"connection_id":55507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:40:50] local.INFO: TCP Data received {"connection_id":54567,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:40:50] local.INFO: Processing buffer {"connection_id":54567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:40:50] local.INFO: IMEI packet received {"connection_id":54567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":54567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:40:51] local.INFO: TCP Data received {"connection_id":55508,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:40:51] local.INFO: Processing buffer {"connection_id":55508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9094850012cb299c007822ce0004d00122c..."} 
[2026-04-26 14:40:51] local.INFO: Packet analysis {"connection_id":55508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:40:51] local.INFO: Extracted packet for processing {"connection_id":55508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc909"} 
[2026-04-26 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961669376001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194322000,"timestamp_ms":1777194322000,"timestamp_seconds":1777194322,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9094850"} 
[2026-04-26 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-04-26 14:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 14: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-04-26 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-04-26 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-04-26 14:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961669376001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961669376001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:40:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961669376001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":55508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:40:51] local.INFO: GPS data processed {"connection_id":55508,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:40:51] local.INFO: Acknowledgment sent {"connection_id":55508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:41:12] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:41:12] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:41:12] local.INFO: IMEI packet received {"connection_id":54767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":54767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:41:17] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:41:17] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:41:17] local.INFO: IMEI packet received {"connection_id":54767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":54767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:41:18] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:41:18] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:41:18] local.INFO: Packet analysis {"connection_id":54767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:41:18] local.INFO: Extracted packet for processing {"connection_id":54767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41: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-04-26 14:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:41:18] 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-04-26 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:41:18] 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-04-26 14:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:41:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":54767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:41:18] local.INFO: GPS data processed {"connection_id":54767,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:41:18] local.INFO: Acknowledgment sent {"connection_id":54767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:41:19] local.INFO: TCP Data received {"connection_id":55509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:41:19] local.INFO: Processing buffer {"connection_id":55509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:41:19] local.INFO: IMEI packet received {"connection_id":55509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":55509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:41:24] local.INFO: TCP Data received {"connection_id":55509,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:41:24] local.INFO: Processing buffer {"connection_id":55509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:41:24] local.INFO: IMEI packet received {"connection_id":55509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":55509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:41:25] local.INFO: TCP Data received {"connection_id":55509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:41:25] local.INFO: Processing buffer {"connection_id":55509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:41:25] local.INFO: Packet analysis {"connection_id":55509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:41:25] local.INFO: Extracted packet for processing {"connection_id":55509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:41:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:41: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-04-26 14:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:41:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:41:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:41:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":55509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:41:25] local.INFO: GPS data processed {"connection_id":55509,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:41:25] local.INFO: Acknowledgment sent {"connection_id":55509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:41:29] local.INFO: TCP Data received {"connection_id":55509,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:41:29] local.INFO: Processing buffer {"connection_id":55509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:41:29] local.INFO: Packet analysis {"connection_id":55509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:41:29] local.INFO: Extracted packet for processing {"connection_id":55509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:41:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:41:29] 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-04-26 14:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:41:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":55509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:41:29] local.INFO: GPS data processed {"connection_id":55509,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:41:29] local.INFO: Acknowledgment sent {"connection_id":55509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:41:49] local.INFO: TCP Data received {"connection_id":54767,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:41:49] local.INFO: Processing buffer {"connection_id":54767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:41:49] local.INFO: Packet analysis {"connection_id":54767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:41:49] local.INFO: Extracted packet for processing {"connection_id":54767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:41: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-04-26 14:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:41:49] 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-04-26 14:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:41:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":54767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:41:49] local.INFO: GPS data processed {"connection_id":54767,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:41:49] local.INFO: Acknowledgment sent {"connection_id":54767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:42:12] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:42:12] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:42:12] local.INFO: IMEI packet received {"connection_id":54569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":54569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:42:14] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:42:14] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:42:14] local.INFO: IMEI packet received {"connection_id":54834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:42:17] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:42:17] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:42:17] local.INFO: IMEI packet received {"connection_id":54569,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":54569,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:42:18] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:42:18] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:42:18] local.INFO: Packet analysis {"connection_id":54569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:42:18] local.INFO: Extracted packet for processing {"connection_id":54569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42: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-04-26 14:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:42:18] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:42:18] 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-04-26 14: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-04-26 14:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:42:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":54569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:42:18] local.INFO: GPS data processed {"connection_id":54569,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:42:18] local.INFO: Acknowledgment sent {"connection_id":54569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:42:19] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:42:19] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:42:19] local.INFO: IMEI packet received {"connection_id":54834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:42:20] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:42:20] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:42:20] local.INFO: Packet analysis {"connection_id":54834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:42:20] local.INFO: Extracted packet for processing {"connection_id":54834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:42: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-04-26 14: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-04-26 14:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:42: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-04-26 14:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:42:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:42:20] local.INFO: GPS data processed {"connection_id":54834,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:42:20] local.INFO: Acknowledgment sent {"connection_id":54834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:42:49] local.INFO: TCP Data received {"connection_id":54569,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:42:49] local.INFO: Processing buffer {"connection_id":54569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90b5f78012d196f80071fecc00041010d2a..."} 
[2026-04-26 14:42:49] local.INFO: Packet analysis {"connection_id":54569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:42:49] local.INFO: Extracted packet for processing {"connection_id":54569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90b"} 
[2026-04-26 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961704448001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42: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-04-26 14:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194459000,"timestamp_ms":1777194459000,"timestamp_seconds":1777194459,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90b5f78"} 
[2026-04-26 14:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:42:49] 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-04-26 14:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54569,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961704448001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961704448001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:42:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961704448001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":54569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:42:49] local.INFO: GPS data processed {"connection_id":54569,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:42:49] local.INFO: Acknowledgment sent {"connection_id":54569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:42:51] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:42:51] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:42:51] local.INFO: Packet analysis {"connection_id":54834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:42:51] local.INFO: Extracted packet for processing {"connection_id":54834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:42: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-04-26 14: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-04-26 14:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:42:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:42:51] local.INFO: GPS data processed {"connection_id":54834,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:42:51] local.INFO: Acknowledgment sent {"connection_id":54834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:43:14] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:43:14] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:43:14] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:43:17] local.INFO: TCP Data received {"connection_id":55511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:43:17] local.INFO: Processing buffer {"connection_id":55511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:43:17] local.INFO: IMEI packet received {"connection_id":55511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":55511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:43:18] local.INFO: TCP Data received {"connection_id":55511,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:43:18] local.INFO: Processing buffer {"connection_id":55511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:43:18] local.INFO: IMEI packet received {"connection_id":55511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":55511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:43:18] local.INFO: TCP Data received {"connection_id":55511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:18] local.INFO: Processing buffer {"connection_id":55511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:18] local.INFO: Packet analysis {"connection_id":55511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:43:18] local.INFO: Extracted packet for processing {"connection_id":55511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43: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-04-26 14:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:43:18] 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-04-26 14:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:43:18] 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-04-26 14:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:43:18] 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-04-26 14:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:43:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":55511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:43:19] local.INFO: GPS data processed {"connection_id":55511,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:43:19] local.INFO: Acknowledgment sent {"connection_id":55511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:43:19] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:43:19] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:43:19] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:43:20] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:43:20] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:43:20] local.INFO: Packet analysis {"connection_id":54768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:43:20] local.INFO: Extracted packet for processing {"connection_id":54768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:43: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-04-26 14: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-04-26 14:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:43:20] 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-04-26 14:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:43:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:43:20] local.INFO: GPS data processed {"connection_id":54768,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:43:20] local.INFO: Acknowledgment sent {"connection_id":54768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:43:22] local.INFO: TCP Data received {"connection_id":55511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:22] local.INFO: Processing buffer {"connection_id":55511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:22] local.INFO: Packet analysis {"connection_id":55511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:43:22] local.INFO: Extracted packet for processing {"connection_id":55511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:22] 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-04-26 14:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 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-04-26 14:43: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-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:43:22] 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-04-26 14: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-04-26 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-04-26 14:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:43:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:43:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":55511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:43:23] local.INFO: GPS data processed {"connection_id":55511,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:43:23] local.INFO: Acknowledgment sent {"connection_id":55511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:43:51] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:43:51] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:43:51] local.INFO: Packet analysis {"connection_id":54768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:43:51] local.INFO: Extracted packet for processing {"connection_id":54768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:43: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-04-26 14: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-04-26 14:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:43:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:43:51] local.INFO: GPS data processed {"connection_id":54768,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:43:51] local.INFO: Acknowledgment sent {"connection_id":54768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:43:53] local.INFO: TCP Data received {"connection_id":55511,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:53] local.INFO: Processing buffer {"connection_id":55511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:43:53] local.INFO: Packet analysis {"connection_id":55511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:43:53] local.INFO: Extracted packet for processing {"connection_id":55511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:43:53] 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-04-26 14:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:43: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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:43:53] 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-04-26 14: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-04-26 14:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:43:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:43:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:43:53] local.INFO: DEBUG: GPS processor result {"connection_id":55511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:43:53] local.INFO: GPS data processed {"connection_id":55511,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:43:53] local.INFO: Acknowledgment sent {"connection_id":55511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:44:12] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:44:12] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:44:12] local.INFO: IMEI packet received {"connection_id":54835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":54835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:44:14] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:44:14] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:44:14] local.INFO: IMEI packet received {"connection_id":54570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":54570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:44:17] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:44:17] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:44:17] local.INFO: IMEI packet received {"connection_id":54835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":54835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:44:18] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:44:18] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:44:18] local.INFO: Packet analysis {"connection_id":54835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:44:18] local.INFO: Extracted packet for processing {"connection_id":54835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44: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-04-26 14:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:44:18] 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-04-26 14:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:44:18] 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-04-26 14:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:44:18] 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-04-26 14:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:44:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":54835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:44:18] local.INFO: GPS data processed {"connection_id":54835,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:44:18] local.INFO: Acknowledgment sent {"connection_id":54835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:44:19] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:44:19] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:44:19] local.INFO: IMEI packet received {"connection_id":54570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:44:20] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:44:20] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:44:20] local.INFO: Packet analysis {"connection_id":54570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:44:20] local.INFO: Extracted packet for processing {"connection_id":54570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:44: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-04-26 14: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-04-26 14:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14: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-04-26 14:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:44:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:44:20] local.INFO: GPS data processed {"connection_id":54570,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:44:20] local.INFO: Acknowledgment sent {"connection_id":54570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:44:49] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:44:49] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:44:49] local.INFO: Packet analysis {"connection_id":54835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:44:49] local.INFO: Extracted packet for processing {"connection_id":54835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44: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-04-26 14:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:44:49] 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-04-26 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:44:49] 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-04-26 14:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:44:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":54835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:44:49] local.INFO: GPS data processed {"connection_id":54835,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:44:49] local.INFO: Acknowledgment sent {"connection_id":54835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:44:51] local.INFO: TCP Data received {"connection_id":54570,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:44:51] local.INFO: Processing buffer {"connection_id":54570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:44:51] local.INFO: Packet analysis {"connection_id":54570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:44:51] local.INFO: Extracted packet for processing {"connection_id":54570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:44: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-04-26 14: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-04-26 14:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:44: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-04-26 14:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:44:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:44:51] local.INFO: GPS data processed {"connection_id":54570,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:44:51] local.INFO: Acknowledgment sent {"connection_id":54570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:45:12] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:45:12] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:45:12] local.INFO: IMEI packet received {"connection_id":54571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":54571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:45:14] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:45:14] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:45:14] local.INFO: IMEI packet received {"connection_id":54771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":54771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:45:17] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:45:17] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:45:17] local.INFO: IMEI packet received {"connection_id":54571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":54571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:45:18] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:45:18] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:45:18] local.INFO: Packet analysis {"connection_id":54571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:45:18] local.INFO: Extracted packet for processing {"connection_id":54571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 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-04-26 14:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 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-04-26 14:45:18] 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-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:45:18] 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-04-26 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-04-26 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-04-26 14:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:45:18] 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-04-26 14:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:45:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":54571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:45:18] local.INFO: GPS data processed {"connection_id":54571,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:45:18] local.INFO: Acknowledgment sent {"connection_id":54571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:45:19] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:45:19] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:45:19] local.INFO: IMEI packet received {"connection_id":54771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":54771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:45:20] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:45:20] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:45:20] local.INFO: Packet analysis {"connection_id":54771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:45:20] local.INFO: Extracted packet for processing {"connection_id":54771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 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-04-26 14:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:45: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-04-26 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-04-26 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-04-26 14:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:45: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-04-26 14:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:45:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":54771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:45:20] local.INFO: GPS data processed {"connection_id":54771,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:45:20] local.INFO: Acknowledgment sent {"connection_id":54771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:45:49] local.INFO: TCP Data received {"connection_id":54571,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:45:49] local.INFO: Processing buffer {"connection_id":54571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:45:49] local.INFO: Packet analysis {"connection_id":54571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:45:49] local.INFO: Extracted packet for processing {"connection_id":54571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45: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-04-26 14:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:45:49] 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-04-26 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:45:49] 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-04-26 14:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:45:49] 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-04-26 14:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:45:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":54571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:45:49] local.INFO: GPS data processed {"connection_id":54571,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:45:49] local.INFO: Acknowledgment sent {"connection_id":54571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:45:51] local.INFO: TCP Data received {"connection_id":54771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:45:51] local.INFO: Processing buffer {"connection_id":54771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90de018012cb299c007822ce0004300122c..."} 
[2026-04-26 14:45:51] local.INFO: Packet analysis {"connection_id":54771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:45:51] local.INFO: Extracted packet for processing {"connection_id":54771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90d"} 
[2026-04-26 14:45:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":67,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961746432001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194623000,"timestamp_ms":1777194623000,"timestamp_seconds":1777194623,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90de018"} 
[2026-04-26 14:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:45: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-04-26 14: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-04-26 14:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:45: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-04-26 14:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961746432001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961746432001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:45:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961746432001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":54771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:45:51] local.INFO: GPS data processed {"connection_id":54771,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:45:51] local.INFO: Acknowledgment sent {"connection_id":54771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:46:12] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:46:12] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:46:12] local.INFO: IMEI packet received {"connection_id":54836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":54836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:46:17] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:46:17] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:46:17] local.INFO: IMEI packet received {"connection_id":54836,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":54836,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:46:18] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:46:18] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:46:18] local.INFO: Packet analysis {"connection_id":54836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:46:18] local.INFO: Extracted packet for processing {"connection_id":54836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46: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-04-26 14:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:46:18] 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-04-26 14:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:46:18] 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-04-26 14:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:46:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":54836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:46:18] local.INFO: GPS data processed {"connection_id":54836,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:46:18] local.INFO: Acknowledgment sent {"connection_id":54836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:46:19] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:46:19] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:46:19] local.INFO: IMEI packet received {"connection_id":54837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":54837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:46:24] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:46:24] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:46:24] local.INFO: IMEI packet received {"connection_id":54837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":54837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:46:25] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:46:25] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:46:25] local.INFO: Packet analysis {"connection_id":54837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:46:25] local.INFO: Extracted packet for processing {"connection_id":54837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:46:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:46:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:46:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":54837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:46:25] local.INFO: GPS data processed {"connection_id":54837,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:46:25] local.INFO: Acknowledgment sent {"connection_id":54837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:46:29] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:46:29] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:46:29] local.INFO: Packet analysis {"connection_id":54837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:46:29] local.INFO: Extracted packet for processing {"connection_id":54837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:46:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:46:29] 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-04-26 14:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:46:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":54837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:46:29] local.INFO: GPS data processed {"connection_id":54837,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:46:29] local.INFO: Acknowledgment sent {"connection_id":54837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:46:39] local.INFO: TCP Data received {"connection_id":55513,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:46:39] local.INFO: Processing buffer {"connection_id":55513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:46:39] local.INFO: IMEI packet received {"connection_id":55513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":55513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:46:49] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:46:49] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:46:49] local.INFO: Packet analysis {"connection_id":54836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:46:49] local.INFO: Extracted packet for processing {"connection_id":54836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:46: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-04-26 14:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:46:49] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:46:49] 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-04-26 14: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-04-26 14:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54836,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:46:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":54836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:46:49] local.INFO: GPS data processed {"connection_id":54836,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:46:49] local.INFO: Acknowledgment sent {"connection_id":54836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:47:12] local.INFO: TCP Data received {"connection_id":55515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:47:12] local.INFO: Processing buffer {"connection_id":55515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:47:12] local.INFO: IMEI packet received {"connection_id":55515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":55515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:47:14] local.INFO: TCP Data received {"connection_id":55514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:47:14] local.INFO: Processing buffer {"connection_id":55514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:47:14] local.INFO: IMEI packet received {"connection_id":55514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":55514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:47:17] local.INFO: TCP Data received {"connection_id":55515,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:47:17] local.INFO: Processing buffer {"connection_id":55515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:47:17] local.INFO: IMEI packet received {"connection_id":55515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":55515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:47:18] local.INFO: TCP Data received {"connection_id":55515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:47:18] local.INFO: Processing buffer {"connection_id":55515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:47:18] local.INFO: Packet analysis {"connection_id":55515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:47:18] local.INFO: Extracted packet for processing {"connection_id":55515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47: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-04-26 14:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:47:18] 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-04-26 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:47:18] 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-04-26 14:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:47:18] 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-04-26 14:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:47:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":55515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:47:18] local.INFO: GPS data processed {"connection_id":55515,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:47:18] local.INFO: Acknowledgment sent {"connection_id":55515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:47:19] local.INFO: TCP Data received {"connection_id":55514,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:47:19] local.INFO: Processing buffer {"connection_id":55514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:47:19] local.INFO: IMEI packet received {"connection_id":55514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":55514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:47:20] local.INFO: TCP Data received {"connection_id":55514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:47:20] local.INFO: Processing buffer {"connection_id":55514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:47:20] local.INFO: Packet analysis {"connection_id":55514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:47:20] local.INFO: Extracted packet for processing {"connection_id":55514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 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-04-26 14:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:47: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-04-26 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-04-26 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-04-26 14:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:47:20] 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-04-26 14:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:47:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":55514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:47:20] local.INFO: GPS data processed {"connection_id":55514,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:47:20] local.INFO: Acknowledgment sent {"connection_id":55514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:47:49] local.INFO: TCP Data received {"connection_id":55515,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:47:49] local.INFO: Processing buffer {"connection_id":55515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc90ff740012d196f80071fecc00041010d29..."} 
[2026-04-26 14:47:49] local.INFO: Packet analysis {"connection_id":55515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:47:49] local.INFO: Extracted packet for processing {"connection_id":55515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc90f"} 
[2026-04-26 14:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961781504001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47: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-04-26 14:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777194760000,"timestamp_ms":1777194760000,"timestamp_seconds":1777194760,"priority":1,"record_length":96,"hex_timestamp":"0000019dc90ff740"} 
[2026-04-26 14:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:47:49] 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-04-26 14:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:47:49] 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-04-26 14:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961781504001,"66":2177,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961781504001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:47:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961781504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":55515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:47:49] local.INFO: GPS data processed {"connection_id":55515,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:47:49] local.INFO: Acknowledgment sent {"connection_id":55515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:47:51] local.INFO: TCP Data received {"connection_id":55514,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:47:51] local.INFO: Processing buffer {"connection_id":55514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:47:51] local.INFO: Packet analysis {"connection_id":55514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:47:51] local.INFO: Extracted packet for processing {"connection_id":55514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 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-04-26 14:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:47: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-04-26 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-04-26 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-04-26 14:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:47:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":55514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:47:51] local.INFO: GPS data processed {"connection_id":55514,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:47:51] local.INFO: Acknowledgment sent {"connection_id":55514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:48:14] local.INFO: TCP Data received {"connection_id":55516,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:48:14] local.INFO: Processing buffer {"connection_id":55516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:48:14] local.INFO: IMEI packet received {"connection_id":55516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":55516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:48:17] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:48:17] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:48:17] local.INFO: IMEI packet received {"connection_id":54772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":54772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:48:19] local.INFO: TCP Data received {"connection_id":55516,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:48:19] local.INFO: Processing buffer {"connection_id":55516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:48:19] local.INFO: IMEI packet received {"connection_id":55516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":55516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:48:19] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:48:19] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:48:19] local.INFO: IMEI packet received {"connection_id":54772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":54772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:48:20] local.INFO: TCP Data received {"connection_id":55516,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:48:20] local.INFO: Processing buffer {"connection_id":55516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:48:20] local.INFO: Packet analysis {"connection_id":55516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:48:20] local.INFO: Extracted packet for processing {"connection_id":55516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 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-04-26 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:48: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-04-26 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-04-26 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-04-26 14:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:48:20] 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-04-26 14:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":55516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:48:20] local.INFO: GPS data processed {"connection_id":55516,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:48:20] local.INFO: Acknowledgment sent {"connection_id":55516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:48:20] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:20] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:20] local.INFO: Packet analysis {"connection_id":54772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:48:20] local.INFO: Extracted packet for processing {"connection_id":54772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48: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-04-26 14:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 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-04-26 14:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:48: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-04-26 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-04-26 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-04-26 14:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:48: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-04-26 14:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":54772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:48:20] local.INFO: GPS data processed {"connection_id":54772,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:48:20] local.INFO: Acknowledgment sent {"connection_id":54772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:48:22] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:22] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:22] local.INFO: Packet analysis {"connection_id":54772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:48:22] local.INFO: Extracted packet for processing {"connection_id":54772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:22] 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-04-26 14:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:48:22] 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-04-26 14:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:48:22] 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-04-26 14:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:48: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-04-26 14:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:48:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":54772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:48:22] local.INFO: GPS data processed {"connection_id":54772,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:48:22] local.INFO: Acknowledgment sent {"connection_id":54772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:48:51] local.INFO: TCP Data received {"connection_id":55516,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:48:51] local.INFO: Processing buffer {"connection_id":55516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:48:51] local.INFO: Packet analysis {"connection_id":55516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:48:51] local.INFO: Extracted packet for processing {"connection_id":55516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 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-04-26 14:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:48: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-04-26 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-04-26 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-04-26 14:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:48:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":55516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:48:51] local.INFO: GPS data processed {"connection_id":55516,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:48:51] local.INFO: Acknowledgment sent {"connection_id":55516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:48:53] local.INFO: TCP Data received {"connection_id":54772,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:53] local.INFO: Processing buffer {"connection_id":54772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:48:53] local.INFO: Packet analysis {"connection_id":54772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:48:53] local.INFO: Extracted packet for processing {"connection_id":54772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:48:53] 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-04-26 14:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:48:53] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:48:53] 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-04-26 14: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-04-26 14:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:48:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":54772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:48:53] local.INFO: GPS data processed {"connection_id":54772,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:48:53] local.INFO: Acknowledgment sent {"connection_id":54772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:49:12] local.INFO: TCP Data received {"connection_id":55517,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:49:12] local.INFO: Processing buffer {"connection_id":55517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:49:12] local.INFO: IMEI packet received {"connection_id":55517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":55517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:49:14] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:49:14] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:49:14] local.INFO: IMEI packet received {"connection_id":54773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:49:17] local.INFO: TCP Data received {"connection_id":55517,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:49:17] local.INFO: Processing buffer {"connection_id":55517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:49:17] local.INFO: IMEI packet received {"connection_id":55517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":55517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:49:18] local.INFO: TCP Data received {"connection_id":55517,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:49:18] local.INFO: Processing buffer {"connection_id":55517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:49:18] local.INFO: Packet analysis {"connection_id":55517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:49:18] local.INFO: Extracted packet for processing {"connection_id":55517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49: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-04-26 14:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:49:18] 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-04-26 14:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:49:18] 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-04-26 14:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:49: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-04-26 14:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:49:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":55517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:49:18] local.INFO: GPS data processed {"connection_id":55517,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:49:18] local.INFO: Acknowledgment sent {"connection_id":55517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:49:19] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:49:19] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:49:19] local.INFO: IMEI packet received {"connection_id":54773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:49:20] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:49:20] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:49:20] local.INFO: Packet analysis {"connection_id":54773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:49:20] local.INFO: Extracted packet for processing {"connection_id":54773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:49: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-04-26 14: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-04-26 14:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:49: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-04-26 14:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:49:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":54773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:49:20] local.INFO: GPS data processed {"connection_id":54773,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:49:20] local.INFO: Acknowledgment sent {"connection_id":54773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:49:50] local.INFO: TCP Data received {"connection_id":55517,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:49:50] local.INFO: Processing buffer {"connection_id":55517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:49:50] local.INFO: Packet analysis {"connection_id":55517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:49:50] local.INFO: Extracted packet for processing {"connection_id":55517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:50] 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-04-26 14:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:49:50] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:49:50] 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-04-26 14: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-04-26 14:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:49: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-04-26 14:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:49:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":55517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:49:50] local.INFO: GPS data processed {"connection_id":55517,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:49:50] local.INFO: Acknowledgment sent {"connection_id":55517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:49:51] local.INFO: TCP Data received {"connection_id":54773,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:49:51] local.INFO: Processing buffer {"connection_id":54773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:49:51] local.INFO: Packet analysis {"connection_id":54773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:49:51] local.INFO: Extracted packet for processing {"connection_id":54773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:49:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:49: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-04-26 14: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-04-26 14:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:49:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":54773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:49:51] local.INFO: GPS data processed {"connection_id":54773,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:49:51] local.INFO: Acknowledgment sent {"connection_id":54773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:50:12] local.INFO: TCP Data received {"connection_id":54838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:50:12] local.INFO: Processing buffer {"connection_id":54838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:50:12] local.INFO: IMEI packet received {"connection_id":54838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":54838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:50:17] local.INFO: TCP Data received {"connection_id":54838,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:50:17] local.INFO: Processing buffer {"connection_id":54838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:50:17] local.INFO: IMEI packet received {"connection_id":54838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":54838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:50:18] local.INFO: TCP Data received {"connection_id":54838,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:50:18] local.INFO: Processing buffer {"connection_id":54838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:50:18] local.INFO: Packet analysis {"connection_id":54838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:50:18] local.INFO: Extracted packet for processing {"connection_id":54838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50: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-04-26 14:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:50:18] 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-04-26 14:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:50:18] 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-04-26 14: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-04-26 14:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:50: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-04-26 14:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:50:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":54838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:50:18] local.INFO: GPS data processed {"connection_id":54838,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:50:18] local.INFO: Acknowledgment sent {"connection_id":54838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:50:19] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:50:19] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:50:19] local.INFO: IMEI packet received {"connection_id":54774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:50:24] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:50:24] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:50:24] local.INFO: IMEI packet received {"connection_id":54774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":54774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:50:25] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:25] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:25] local.INFO: Packet analysis {"connection_id":54774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:50:25] local.INFO: Extracted packet for processing {"connection_id":54774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:50:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":54774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:50:25] local.INFO: GPS data processed {"connection_id":54774,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:50:25] local.INFO: Acknowledgment sent {"connection_id":54774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:50:29] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:29] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:29] local.INFO: Packet analysis {"connection_id":54774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:50:29] local.INFO: Extracted packet for processing {"connection_id":54774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:50:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":54774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:50:29] local.INFO: GPS data processed {"connection_id":54774,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:50:29] local.INFO: Acknowledgment sent {"connection_id":54774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:50:35] local.INFO: TCP Data received {"connection_id":54774,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:35] local.INFO: Processing buffer {"connection_id":54774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91277e0012cb299c007822ce0004800122c..."} 
[2026-04-26 14:50:35] local.INFO: Packet analysis {"connection_id":54774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:50:35] local.INFO: Extracted packet for processing {"connection_id":54774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc912"} 
[2026-04-26 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961823488001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777194924000,"timestamp_ms":1777194924000,"timestamp_seconds":1777194924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91277e0"} 
[2026-04-26 14:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:50:35] 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-04-26 14:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961823488001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961823488001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:50:35] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961823488001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":54774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:50:35] local.INFO: GPS data processed {"connection_id":54774,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:50:35] local.INFO: Acknowledgment sent {"connection_id":54774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:50:49] local.INFO: TCP Data received {"connection_id":54838,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:50:49] local.INFO: Processing buffer {"connection_id":54838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:50:49] local.INFO: Packet analysis {"connection_id":54838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:50:49] local.INFO: Extracted packet for processing {"connection_id":54838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:50: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-04-26 14:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:50:49] 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-04-26 14:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:50:49] 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-04-26 14:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:50: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-04-26 14:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"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-04-26 14:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:50:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":54838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:50:49] local.INFO: GPS data processed {"connection_id":54838,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:50:49] local.INFO: Acknowledgment sent {"connection_id":54838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:51:14] local.INFO: TCP Data received {"connection_id":55519,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:51:14] local.INFO: Processing buffer {"connection_id":55519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:51:14] local.INFO: IMEI packet received {"connection_id":55519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":55519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:51:19] local.INFO: TCP Data received {"connection_id":55519,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:51:19] local.INFO: Processing buffer {"connection_id":55519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:51:19] local.INFO: IMEI packet received {"connection_id":55519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":55519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:51:19] local.INFO: TCP Data received {"connection_id":55519,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:51:19] local.INFO: Processing buffer {"connection_id":55519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:51:19] local.INFO: Packet analysis {"connection_id":55519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:51:19] local.INFO: Extracted packet for processing {"connection_id":55519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:51:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:51:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":55519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:51:19] local.INFO: GPS data processed {"connection_id":55519,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:51:19] local.INFO: Acknowledgment sent {"connection_id":55519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:51:22] local.INFO: TCP Data received {"connection_id":54775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:51:22] local.INFO: Processing buffer {"connection_id":54775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:51:22] local.INFO: IMEI packet received {"connection_id":54775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":54775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:51:27] local.INFO: TCP Data received {"connection_id":54775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:51:27] local.INFO: Processing buffer {"connection_id":54775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:51:27] local.INFO: IMEI packet received {"connection_id":54775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":54775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:51:28] local.INFO: TCP Data received {"connection_id":54775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:51:28] local.INFO: Processing buffer {"connection_id":54775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:51:28] local.INFO: Packet analysis {"connection_id":54775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:51:28] local.INFO: Extracted packet for processing {"connection_id":54775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:28] 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-04-26 14:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:51:28] 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-04-26 14:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:51:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":54775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:51:28] local.INFO: GPS data processed {"connection_id":54775,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:51:28] local.INFO: Acknowledgment sent {"connection_id":54775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:51:51] local.INFO: TCP Data received {"connection_id":55519,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:51:51] local.INFO: Processing buffer {"connection_id":55519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:51:51] local.INFO: Packet analysis {"connection_id":55519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:51:51] local.INFO: Extracted packet for processing {"connection_id":55519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:51: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-04-26 14:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:51:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":55519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:51:51] local.INFO: GPS data processed {"connection_id":55519,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:51:51] local.INFO: Acknowledgment sent {"connection_id":55519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:52:05] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:52:05] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:52:05] local.INFO: IMEI packet received {"connection_id":54840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":54840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:52:12] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:52:12] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:52:12] local.INFO: IMEI packet received {"connection_id":54841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":54841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:52:14] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:52:14] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:52:14] local.INFO: IMEI packet received {"connection_id":54842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:52:17] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:52:17] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:52:17] local.INFO: IMEI packet received {"connection_id":54841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":54841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:52:18] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:52:18] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:52:18] local.INFO: Packet analysis {"connection_id":54841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:52:18] local.INFO: Extracted packet for processing {"connection_id":54841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52: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-04-26 14:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:52:18] 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-04-26 14: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:52:18] 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-04-26 14: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-04-26 14:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:52:18] 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-04-26 14:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:52:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":54841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:52:18] local.INFO: GPS data processed {"connection_id":54841,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:52:18] local.INFO: Acknowledgment sent {"connection_id":54841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:52:19] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:52:19] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:52:19] local.INFO: IMEI packet received {"connection_id":54842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:52:20] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:52:20] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:52:20] local.INFO: Packet analysis {"connection_id":54842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:52:20] local.INFO: Extracted packet for processing {"connection_id":54842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:52: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-04-26 14:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:52:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":54842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:52:20] local.INFO: GPS data processed {"connection_id":54842,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:52:20] local.INFO: Acknowledgment sent {"connection_id":54842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:52:45] local.INFO: TCP Data received {"connection_id":54574,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:52:45] local.INFO: Processing buffer {"connection_id":54574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:52:45] local.INFO: IMEI packet received {"connection_id":54574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":54574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:52:49] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:52:49] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:52:49] local.INFO: Packet analysis {"connection_id":54841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:52:49] local.INFO: Extracted packet for processing {"connection_id":54841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52: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-04-26 14:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:52:49] 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-04-26 14:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:52:49] 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-04-26 14:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:52:49] 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-04-26 14:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:52:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":54841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:52:49] local.INFO: GPS data processed {"connection_id":54841,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:52:49] local.INFO: Acknowledgment sent {"connection_id":54841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:52:51] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:52:51] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:52:51] local.INFO: Packet analysis {"connection_id":54842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:52:51] local.INFO: Extracted packet for processing {"connection_id":54842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:52: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-04-26 14:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:52:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:52:51] local.INFO: GPS data processed {"connection_id":54842,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:52:51] local.INFO: Acknowledgment sent {"connection_id":54842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:53:12] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:53:12] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:53:12] local.INFO: IMEI packet received {"connection_id":54776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":54776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:53:13] local.INFO: TCP Data received {"connection_id":54575,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:53:14] local.INFO: Processing buffer {"connection_id":54575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:53:14] local.INFO: IMEI packet received {"connection_id":54575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":54575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:53:17] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:53:17] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:53:17] local.INFO: IMEI packet received {"connection_id":54776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":54776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:53:18] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:53:18] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9148f08012d196f80071fecc00041010d2b..."} 
[2026-04-26 14:53:18] local.INFO: Packet analysis {"connection_id":54776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:53:18] local.INFO: Extracted packet for processing {"connection_id":54776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc914"} 
[2026-04-26 14:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961858560001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53: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-04-26 14:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195061000,"timestamp_ms":1777195061000,"timestamp_seconds":1777195061,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9148f08"} 
[2026-04-26 14:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:53:18] 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-04-26 14:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 14:53:18] 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-04-26 14:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961858560001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961858560001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:53:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961858560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":54776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:53:18] local.INFO: GPS data processed {"connection_id":54776,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:53:18] local.INFO: Acknowledgment sent {"connection_id":54776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:53:18] local.INFO: TCP Data received {"connection_id":54575,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:53:18] local.INFO: Processing buffer {"connection_id":54575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:53:18] local.INFO: IMEI packet received {"connection_id":54575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":54575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:53:19] local.INFO: TCP Data received {"connection_id":54575,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:53:19] local.INFO: Processing buffer {"connection_id":54575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:53:19] local.INFO: Packet analysis {"connection_id":54575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:53:19] local.INFO: Extracted packet for processing {"connection_id":54575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:53: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-04-26 14:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:53:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":54575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:53:19] local.INFO: GPS data processed {"connection_id":54575,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:53:19] local.INFO: Acknowledgment sent {"connection_id":54575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:53:49] local.INFO: TCP Data received {"connection_id":54776,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:53:49] local.INFO: Processing buffer {"connection_id":54776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:53:49] local.INFO: Packet analysis {"connection_id":54776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:53:49] local.INFO: Extracted packet for processing {"connection_id":54776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53: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-04-26 14:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:53:49] 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-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:53:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":54776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:53:49] local.INFO: GPS data processed {"connection_id":54776,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:53:49] local.INFO: Acknowledgment sent {"connection_id":54776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:53:50] local.INFO: TCP Data received {"connection_id":54575,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:53:50] local.INFO: Processing buffer {"connection_id":54575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:53:50] local.INFO: Packet analysis {"connection_id":54575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:53:50] local.INFO: Extracted packet for processing {"connection_id":54575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:53: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-04-26 14:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:53:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":54575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:53:50] local.INFO: GPS data processed {"connection_id":54575,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:53:50] local.INFO: Acknowledgment sent {"connection_id":54575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:54:12] local.INFO: TCP Data received {"connection_id":55520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:54:12] local.INFO: Processing buffer {"connection_id":55520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:54:12] local.INFO: IMEI packet received {"connection_id":55520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":55520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:54:13] local.INFO: TCP Data received {"connection_id":55521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:54:14] local.INFO: Processing buffer {"connection_id":55521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:54:14] local.INFO: IMEI packet received {"connection_id":55521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":55521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:54:17] local.INFO: TCP Data received {"connection_id":55520,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:54:17] local.INFO: Processing buffer {"connection_id":55520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:54:17] local.INFO: IMEI packet received {"connection_id":55520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":55520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:54:18] local.INFO: TCP Data received {"connection_id":55520,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:54:18] local.INFO: Processing buffer {"connection_id":55520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:54:18] local.INFO: Packet analysis {"connection_id":55520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:54:18] local.INFO: Extracted packet for processing {"connection_id":55520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54: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-04-26 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:54:18] 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-04-26 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:54:18] 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-04-26 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:54:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":55520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:54:18] local.INFO: GPS data processed {"connection_id":55520,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:54:18] local.INFO: Acknowledgment sent {"connection_id":55520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:54:18] local.INFO: TCP Data received {"connection_id":55521,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:54:18] local.INFO: Processing buffer {"connection_id":55521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:54:18] local.INFO: IMEI packet received {"connection_id":55521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":55521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:54:19] local.INFO: TCP Data received {"connection_id":55521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:54:19] local.INFO: Processing buffer {"connection_id":55521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:54:19] local.INFO: Packet analysis {"connection_id":55521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:54:19] local.INFO: Extracted packet for processing {"connection_id":55521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:54:19] 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-04-26 14:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:54:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":55521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:54:19] local.INFO: GPS data processed {"connection_id":55521,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:54:19] local.INFO: Acknowledgment sent {"connection_id":55521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:54:49] local.INFO: TCP Data received {"connection_id":55520,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:54:49] local.INFO: Processing buffer {"connection_id":55520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:54:49] local.INFO: Packet analysis {"connection_id":55520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:54:49] local.INFO: Extracted packet for processing {"connection_id":55520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54: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-04-26 14:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:54:49] 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-04-26 14:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:54:49] 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-04-26 14:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:54:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":55520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:54:49] local.INFO: GPS data processed {"connection_id":55520,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:54:49] local.INFO: Acknowledgment sent {"connection_id":55520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:54:50] local.INFO: TCP Data received {"connection_id":55521,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:54:50] local.INFO: Processing buffer {"connection_id":55521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:54:50] local.INFO: Packet analysis {"connection_id":55521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:54:50] local.INFO: Extracted packet for processing {"connection_id":55521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14: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-04-26 14:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:54:50] 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-04-26 14:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:54:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":55521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:54:50] local.INFO: GPS data processed {"connection_id":55521,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:54:50] local.INFO: Acknowledgment sent {"connection_id":55521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:55:12] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:55:12] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:55:12] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:55:17] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:55:17] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:55:17] local.INFO: IMEI packet received {"connection_id":54576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":54576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:55:19] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:55:19] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:55:19] local.INFO: Packet analysis {"connection_id":54576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:55:19] local.INFO: Extracted packet for processing {"connection_id":54576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:55: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-04-26 14:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55: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-04-26 14:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:55:19] 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-04-26 14:55: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-04-26 14:55: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-04-26 14:55: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-04-26 14:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:55:19] 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-04-26 14:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:55:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":54576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:55:19] local.INFO: GPS data processed {"connection_id":54576,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:55:19] local.INFO: Acknowledgment sent {"connection_id":54576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:55:19] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:55:19] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:55:19] local.INFO: IMEI packet received {"connection_id":54577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":54577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:55:23] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:55:24] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:55:24] local.INFO: IMEI packet received {"connection_id":54577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":54577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:55:24] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:55:24] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:55:24] local.INFO: Packet analysis {"connection_id":54577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:55:24] local.INFO: Extracted packet for processing {"connection_id":54577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:55:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:55:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":54577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:55:24] local.INFO: GPS data processed {"connection_id":54577,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:55:24] local.INFO: Acknowledgment sent {"connection_id":54577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:55:29] local.INFO: TCP Data received {"connection_id":54577,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:55:29] local.INFO: Processing buffer {"connection_id":54577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9170fa8012cb299c007822ce0004d00122b..."} 
[2026-04-26 14:55:29] local.INFO: Packet analysis {"connection_id":54577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:55:29] local.INFO: Extracted packet for processing {"connection_id":54577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc917"} 
[2026-04-26 14:55:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961900544001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777195225000,"timestamp_ms":1777195225000,"timestamp_seconds":1777195225,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9170fa8"} 
[2026-04-26 14:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 14:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:55:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:55:29] 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-04-26 14:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961900544001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961900544001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:55:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961900544001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":54577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:55:29] local.INFO: GPS data processed {"connection_id":54577,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:55:29] local.INFO: Acknowledgment sent {"connection_id":54577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:55:51] local.INFO: TCP Data received {"connection_id":54576,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:55:51] local.INFO: Processing buffer {"connection_id":54576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:55:51] local.INFO: Packet analysis {"connection_id":54576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:55:51] local.INFO: Extracted packet for processing {"connection_id":54576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 14:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 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-04-26 14:55:51] 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-04-26 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:55: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-04-26 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-04-26 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-04-26 14:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:55:51] 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-04-26 14:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:55:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:55:51] local.INFO: GPS data processed {"connection_id":54576,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:55:51] local.INFO: Acknowledgment sent {"connection_id":54576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:56:12] local.INFO: TCP Data received {"connection_id":54844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:56:12] local.INFO: Processing buffer {"connection_id":54844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:56:12] local.INFO: IMEI packet received {"connection_id":54844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":54844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:56:14] local.INFO: TCP Data received {"connection_id":54778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:56:14] local.INFO: Processing buffer {"connection_id":54778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:56:14] local.INFO: IMEI packet received {"connection_id":54778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:56:17] local.INFO: TCP Data received {"connection_id":54844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:56:17] local.INFO: Processing buffer {"connection_id":54844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:56:17] local.INFO: IMEI packet received {"connection_id":54844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":54844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:56:18] local.INFO: TCP Data received {"connection_id":54844,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:56:18] local.INFO: Processing buffer {"connection_id":54844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:56:18] local.INFO: Packet analysis {"connection_id":54844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:56:18] local.INFO: Extracted packet for processing {"connection_id":54844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56: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-04-26 14:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:56:18] 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-04-26 14:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:56:18] 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-04-26 14:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:56:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":54844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:56:18] local.INFO: GPS data processed {"connection_id":54844,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:56:18] local.INFO: Acknowledgment sent {"connection_id":54844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:56:19] local.INFO: TCP Data received {"connection_id":54778,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:56:19] local.INFO: Processing buffer {"connection_id":54778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:56:19] local.INFO: IMEI packet received {"connection_id":54778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:56:20] local.INFO: TCP Data received {"connection_id":54778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:56:20] local.INFO: Processing buffer {"connection_id":54778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:56:20] local.INFO: Packet analysis {"connection_id":54778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:56:20] local.INFO: Extracted packet for processing {"connection_id":54778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:56: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-04-26 14: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-04-26 14:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:56: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-04-26 14:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:56:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:56:20] local.INFO: GPS data processed {"connection_id":54778,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:56:20] local.INFO: Acknowledgment sent {"connection_id":54778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:56:49] local.INFO: TCP Data received {"connection_id":54844,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:56:49] local.INFO: Processing buffer {"connection_id":54844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:56:49] local.INFO: Packet analysis {"connection_id":54844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:56:49] local.INFO: Extracted packet for processing {"connection_id":54844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56: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-04-26 14:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:56:49] 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-04-26 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:56:49] 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-04-26 14:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:56:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":54844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:56:49] local.INFO: GPS data processed {"connection_id":54844,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:56:49] local.INFO: Acknowledgment sent {"connection_id":54844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:56:51] local.INFO: TCP Data received {"connection_id":54778,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:56:51] local.INFO: Processing buffer {"connection_id":54778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:56:51] local.INFO: Packet analysis {"connection_id":54778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:56:51] local.INFO: Extracted packet for processing {"connection_id":54778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:56:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:56: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-04-26 14: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-04-26 14:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:56: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-04-26 14:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:56:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:56:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:56:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":54778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:56:51] local.INFO: GPS data processed {"connection_id":54778,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:56:51] local.INFO: Acknowledgment sent {"connection_id":54778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:57:14] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:57:14] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:57:14] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:57:17] local.INFO: TCP Data received {"connection_id":54580,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:57:17] local.INFO: Processing buffer {"connection_id":54580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:57:17] local.INFO: IMEI packet received {"connection_id":54580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":54580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:57:19] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:57:19] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:57:19] local.INFO: IMEI packet received {"connection_id":54579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":54579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:57:20] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:57:20] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:57:20] local.INFO: Packet analysis {"connection_id":54579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:57:20] local.INFO: Extracted packet for processing {"connection_id":54579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:57:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:57: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-04-26 14: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-04-26 14:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:57: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-04-26 14:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:57:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":54579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:57:20] local.INFO: GPS data processed {"connection_id":54579,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:57:20] local.INFO: Acknowledgment sent {"connection_id":54579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:57:22] local.INFO: TCP Data received {"connection_id":54580,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:57:22] local.INFO: Processing buffer {"connection_id":54580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:57:22] local.INFO: IMEI packet received {"connection_id":54580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":54580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:57:23] local.INFO: TCP Data received {"connection_id":54580,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:57:23] local.INFO: Processing buffer {"connection_id":54580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:57:23] local.INFO: Packet analysis {"connection_id":54580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:57:23] local.INFO: Extracted packet for processing {"connection_id":54580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57: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-04-26 14:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:57:23] 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-04-26 14:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:57:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":54580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:57:23] local.INFO: GPS data processed {"connection_id":54580,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:57:23] local.INFO: Acknowledgment sent {"connection_id":54580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:57:27] local.INFO: TCP Data received {"connection_id":54580,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:57:27] local.INFO: Processing buffer {"connection_id":54580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:57:27] local.INFO: Packet analysis {"connection_id":54580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:57:27] local.INFO: Extracted packet for processing {"connection_id":54580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:27] 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-04-26 14:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:57:27] 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-04-26 14:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:57:27] 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-04-26 14:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:57:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":54580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:57:28] local.INFO: GPS data processed {"connection_id":54580,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:57:28] local.INFO: Acknowledgment sent {"connection_id":54580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:57:51] local.INFO: TCP Data received {"connection_id":54579,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:57:51] local.INFO: Processing buffer {"connection_id":54579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:57:51] local.INFO: Packet analysis {"connection_id":54579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:57:51] local.INFO: Extracted packet for processing {"connection_id":54579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:57:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:57: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-04-26 14: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-04-26 14:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:57:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":54579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:57:51] local.INFO: GPS data processed {"connection_id":54579,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:57:51] local.INFO: Acknowledgment sent {"connection_id":54579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:58:10] local.INFO: TCP Data received {"connection_id":54779,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:58:10] local.INFO: Processing buffer {"connection_id":54779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:58:10] local.INFO: IMEI packet received {"connection_id":54779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":54779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:58:14] local.INFO: TCP Data received {"connection_id":55522,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:14] local.INFO: Processing buffer {"connection_id":55522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:14] local.INFO: IMEI packet received {"connection_id":55522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":55522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:58:14] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:58:14] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:58:14] local.INFO: IMEI packet received {"connection_id":54581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":54581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:58:17] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:58:17] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:58:17] local.INFO: IMEI packet received {"connection_id":54581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":54581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:58:18] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:58:18] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91926d0012d196f80071fecc00041010d2d..."} 
[2026-04-26 14:58:18] local.INFO: Packet analysis {"connection_id":54581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:58:18] local.INFO: Extracted packet for processing {"connection_id":54581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc919"} 
[2026-04-26 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961935616001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58: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-04-26 14:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195362000,"timestamp_ms":1777195362000,"timestamp_seconds":1777195362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91926d0"} 
[2026-04-26 14:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:58:18] 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-04-26 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:58:18] 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-04-26 14:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961935616001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961935616001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:58:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961935616001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":54581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:58:18] local.INFO: GPS data processed {"connection_id":54581,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:58:18] local.INFO: Acknowledgment sent {"connection_id":54581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:58:19] local.INFO: TCP Data received {"connection_id":55522,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:19] local.INFO: Processing buffer {"connection_id":55522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:19] local.INFO: IMEI packet received {"connection_id":55522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":55522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:58:20] local.INFO: TCP Data received {"connection_id":55522,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:58:20] local.INFO: Processing buffer {"connection_id":55522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:58:20] local.INFO: Packet analysis {"connection_id":55522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:58:20] local.INFO: Extracted packet for processing {"connection_id":55522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:58: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-04-26 14: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-04-26 14:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14: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-04-26 14:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:58:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":55522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:58:20] local.INFO: GPS data processed {"connection_id":55522,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:58:20] local.INFO: Acknowledgment sent {"connection_id":55522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:58:22] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:58:22] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:58:22] local.INFO: Packet analysis {"connection_id":54581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:58:22] local.INFO: Extracted packet for processing {"connection_id":54581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:22] 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-04-26 14:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 14:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:58: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-04-26 14: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-04-26 14:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:58:22] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":54581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:58:22] local.INFO: GPS data processed {"connection_id":54581,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:58:22] local.INFO: Acknowledgment sent {"connection_id":54581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:58:39] local.INFO: TCP Data received {"connection_id":54582,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:58:39] local.INFO: Processing buffer {"connection_id":54582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 14:58:39] local.INFO: IMEI packet received {"connection_id":54582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 14:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":54582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:58:53] local.INFO: TCP Data received {"connection_id":54581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:58:53] local.INFO: Processing buffer {"connection_id":54581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:58:53] local.INFO: Packet analysis {"connection_id":54581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:58:53] local.INFO: Extracted packet for processing {"connection_id":54581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:58:53] 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-04-26 14:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 14:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:58:53] 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-04-26 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:58: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-04-26 14: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-04-26 14:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:58:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":54581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:58:53] local.INFO: GPS data processed {"connection_id":54581,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:58:53] local.INFO: Acknowledgment sent {"connection_id":54581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:58:54] local.INFO: TCP Data received {"connection_id":54846,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:54] local.INFO: Processing buffer {"connection_id":54846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:58:54] local.INFO: IMEI packet received {"connection_id":54846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":54846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:59:12] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:59:12] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:59:12] local.INFO: IMEI packet received {"connection_id":54583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 14:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":54583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:59:17] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:59:17] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 14:59:17] local.INFO: IMEI packet received {"connection_id":54583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 14:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":54583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:59:18] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:59:18] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:59:18] local.INFO: Packet analysis {"connection_id":54583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:59:18] local.INFO: Extracted packet for processing {"connection_id":54583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59: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-04-26 14:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 14:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:59:18] 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-04-26 14:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:59:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":54583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:59:18] local.INFO: GPS data processed {"connection_id":54583,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:59:18] local.INFO: Acknowledgment sent {"connection_id":54583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:59:29] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:59:29] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:59:29] local.INFO: IMEI packet received {"connection_id":54780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 14:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":54780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 14:59:35] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:59:35] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 14:59:35] local.INFO: IMEI packet received {"connection_id":54780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 14:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":54780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 14:59:36] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:36] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:36] local.INFO: Packet analysis {"connection_id":54780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:59:36] local.INFO: Extracted packet for processing {"connection_id":54780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:59:36] 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-04-26 14:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:59:36] 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-04-26 14:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:59:36] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:59:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":54780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:59:36] local.INFO: GPS data processed {"connection_id":54780,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:59:36] local.INFO: Acknowledgment sent {"connection_id":54780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:59:39] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:39] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:39] local.INFO: Packet analysis {"connection_id":54780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:59:39] local.INFO: Extracted packet for processing {"connection_id":54780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:59:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:59:39] 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-04-26 14:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:59:39] 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-04-26 14:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:59:39] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":54780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:59:39] local.INFO: GPS data processed {"connection_id":54780,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:59:39] local.INFO: Acknowledgment sent {"connection_id":54780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:59:44] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:44] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 14:59:44] local.INFO: Packet analysis {"connection_id":54780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:59:44] local.INFO: Extracted packet for processing {"connection_id":54780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 14:59:44] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 14: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-04-26 14:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 14:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 14:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 14: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 14:59:44] 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-04-26 14: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-04-26 14:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":54780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 14:59:44] 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-04-26 14:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 14:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 14:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 14:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 14:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 14:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:59:44] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 14:59:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 14:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 14:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 14:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":54780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:59:44] local.INFO: GPS data processed {"connection_id":54780,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:59:44] local.INFO: Acknowledgment sent {"connection_id":54780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 14:59:49] local.INFO: TCP Data received {"connection_id":54583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:59:49] local.INFO: Processing buffer {"connection_id":54583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 14:59:49] local.INFO: Packet analysis {"connection_id":54583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:59:49] local.INFO: Extracted packet for processing {"connection_id":54583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 14:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 14:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 14:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 14:59: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-04-26 14:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 14:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 14:59:49] 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-04-26 14:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 14:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 14:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 14:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 14:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 14:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 14:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 14:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 14:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 14:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 14:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 14:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 14:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 14:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 14:59:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 14:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 14:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 14:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 14:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 14:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":54583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 14:59:49] local.INFO: GPS data processed {"connection_id":54583,"processed":1,"errors":0,"total":1} 
[2026-04-26 14:59:49] local.INFO: Acknowledgment sent {"connection_id":54583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:00:12] local.INFO: TCP Data received {"connection_id":54585,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:00:12] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:00:12] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:00:14] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:00:14] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:00:14] local.INFO: IMEI packet received {"connection_id":54584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:00:17] local.INFO: TCP Data received {"connection_id":54585,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:00:17] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:00:17] local.INFO: IMEI packet received {"connection_id":54585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":54585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:00:18] local.INFO: TCP Data received {"connection_id":54585,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:00:18] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:00:18] local.INFO: Packet analysis {"connection_id":54585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:00:18] local.INFO: Extracted packet for processing {"connection_id":54585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00: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-04-26 15:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:00:18] 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-04-26 15:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:00:18] 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-04-26 15:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:00:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":54585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:00:18] local.INFO: GPS data processed {"connection_id":54585,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:00:18] local.INFO: Acknowledgment sent {"connection_id":54585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:00:19] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:00:19] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:00:19] local.INFO: IMEI packet received {"connection_id":54584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":54584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:00:20] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 15:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 15:00:20] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 15:00:20] local.INFO: Packet analysis {"connection_id":54584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 15:00:20] local.INFO: Extracted packet for processing {"connection_id":54584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 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-04-26 15:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:00: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-04-26 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-04-26 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-04-26 15:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:00: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-04-26 15:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:00:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:00:20] local.INFO: GPS data processed {"connection_id":54584,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:00:20] local.INFO: Acknowledgment sent {"connection_id":54584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:00:49] local.INFO: TCP Data received {"connection_id":54585,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:00:49] local.INFO: Processing buffer {"connection_id":54585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:00:49] local.INFO: Packet analysis {"connection_id":54585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:00:49] local.INFO: Extracted packet for processing {"connection_id":54585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00: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-04-26 15:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:00:49] 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-04-26 15:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:00:49] 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-04-26 15:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:00:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":54585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:00:49] local.INFO: GPS data processed {"connection_id":54585,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:00:49] local.INFO: Acknowledgment sent {"connection_id":54585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:00:51] local.INFO: TCP Data received {"connection_id":54584,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 15:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 15:00:51] local.INFO: Processing buffer {"connection_id":54584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91ba770012cb299c007822ce0004e00122f..."} 
[2026-04-26 15:00:51] local.INFO: Packet analysis {"connection_id":54584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 15:00:51] local.INFO: Extracted packet for processing {"connection_id":54584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91b"} 
[2026-04-26 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454961977600001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195526000,"timestamp_ms":1777195526000,"timestamp_seconds":1777195526,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91ba770"} 
[2026-04-26 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-04-26 15:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:00: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-04-26 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-04-26 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-04-26 15:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:00: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-04-26 15:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454961977600001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454961977600001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:00:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454961977600001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:00:51] local.INFO: GPS data processed {"connection_id":54584,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:00:51] local.INFO: Acknowledgment sent {"connection_id":54584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:01:12] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:01:12] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:01:12] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:01:14] local.INFO: TCP Data received {"connection_id":54848,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:01:14] local.INFO: Processing buffer {"connection_id":54848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:01:14] local.INFO: IMEI packet received {"connection_id":54848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:01:17] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:01:17] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:01:17] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:01:18] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:01:18] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:01:18] local.INFO: Packet analysis {"connection_id":54849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:01:18] local.INFO: Extracted packet for processing {"connection_id":54849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01: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-04-26 15:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:01:18] 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-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:01:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":54849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:01:19] local.INFO: GPS data processed {"connection_id":54849,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:01:19] local.INFO: Acknowledgment sent {"connection_id":54849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:01:19] local.INFO: TCP Data received {"connection_id":54848,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:01:19] local.INFO: Processing buffer {"connection_id":54848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:01:19] local.INFO: IMEI packet received {"connection_id":54848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":54848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:01:20] local.INFO: TCP Data received {"connection_id":54848,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:01:20] local.INFO: Processing buffer {"connection_id":54848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:01:20] local.INFO: Packet analysis {"connection_id":54848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:01:20] local.INFO: Extracted packet for processing {"connection_id":54848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 15:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:01:20] 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-04-26 15: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-04-26 15:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:01: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-04-26 15:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:01:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":54848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:01:20] local.INFO: GPS data processed {"connection_id":54848,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:01:20] local.INFO: Acknowledgment sent {"connection_id":54848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:01:50] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:01:50] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:01:50] local.INFO: Packet analysis {"connection_id":54849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:01:50] local.INFO: Extracted packet for processing {"connection_id":54849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:50] 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-04-26 15:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:01:50] 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-04-26 15:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:01:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":54849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:01:51] local.INFO: GPS data processed {"connection_id":54849,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:01:51] local.INFO: Acknowledgment sent {"connection_id":54849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:01:51] local.INFO: TCP Data received {"connection_id":54848,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:01:51] local.INFO: Processing buffer {"connection_id":54848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:01:51] local.INFO: Packet analysis {"connection_id":54848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:01:51] local.INFO: Extracted packet for processing {"connection_id":54848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 15:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:01:51] 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-04-26 15: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-04-26 15:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:01: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-04-26 15:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:01:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:01:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:01:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":54848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:01:51] local.INFO: GPS data processed {"connection_id":54848,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:01:51] local.INFO: Acknowledgment sent {"connection_id":54848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:02:13] local.INFO: TCP Data received {"connection_id":54587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:02:13] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:02:13] local.INFO: IMEI packet received {"connection_id":54587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":54587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:02:17] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:02:17] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:02:17] local.INFO: IMEI packet received {"connection_id":54588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":54588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:02:19] local.INFO: TCP Data received {"connection_id":54587,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:02:19] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:02:19] local.INFO: IMEI packet received {"connection_id":54587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":54587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:02:20] local.INFO: TCP Data received {"connection_id":54587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:02:20] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:02:20] local.INFO: Packet analysis {"connection_id":54587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:02:20] local.INFO: Extracted packet for processing {"connection_id":54587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 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-04-26 15:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:02:20] 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-04-26 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-04-26 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-04-26 15:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:02: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-04-26 15:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:02:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":54587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:02:20] local.INFO: GPS data processed {"connection_id":54587,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:02:20] local.INFO: Acknowledgment sent {"connection_id":54587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:02:22] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:02:22] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:02:22] local.INFO: IMEI packet received {"connection_id":54588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":54588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:02:23] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:02:23] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:02:23] local.INFO: Packet analysis {"connection_id":54588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:02:23] local.INFO: Extracted packet for processing {"connection_id":54588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02: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-04-26 15:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:02:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":54588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:02:23] local.INFO: GPS data processed {"connection_id":54588,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:02:23] local.INFO: Acknowledgment sent {"connection_id":54588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:02:27] local.INFO: TCP Data received {"connection_id":54588,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:02:27] local.INFO: Processing buffer {"connection_id":54588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:02:27] local.INFO: Packet analysis {"connection_id":54588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:02:27] local.INFO: Extracted packet for processing {"connection_id":54588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:27] 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-04-26 15:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:02:27] 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-04-26 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:02:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":54588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:02:27] local.INFO: GPS data processed {"connection_id":54588,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:02:27] local.INFO: Acknowledgment sent {"connection_id":54588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:02:51] local.INFO: TCP Data received {"connection_id":54587,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:02:51] local.INFO: Processing buffer {"connection_id":54587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:02:51] local.INFO: Packet analysis {"connection_id":54587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:02:51] local.INFO: Extracted packet for processing {"connection_id":54587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 15:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:02:51] 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-04-26 15: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-04-26 15:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:02: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-04-26 15:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:02:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":54587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:02:51] local.INFO: GPS data processed {"connection_id":54587,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:02:51] local.INFO: Acknowledgment sent {"connection_id":54587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:03:12] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:03:12] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:03:12] local.INFO: IMEI packet received {"connection_id":54850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":54850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:03:13] local.INFO: TCP Data received {"connection_id":54781,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:03:13] local.INFO: Processing buffer {"connection_id":54781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:03:13] local.INFO: IMEI packet received {"connection_id":54781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":54781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:03:17] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:03:17] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:03:17] local.INFO: IMEI packet received {"connection_id":54850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":54850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:03:18] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:03:18] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc91dbe98012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:03:18] local.INFO: Packet analysis {"connection_id":54850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:03:18] local.INFO: Extracted packet for processing {"connection_id":54850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc91d"} 
[2026-04-26 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962012672001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03: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-04-26 15:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195663000,"timestamp_ms":1777195663000,"timestamp_seconds":1777195663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc91dbe98"} 
[2026-04-26 15:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:03:18] 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-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962012672001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962012672001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:03:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962012672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":54850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:03:18] local.INFO: GPS data processed {"connection_id":54850,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:03:18] local.INFO: Acknowledgment sent {"connection_id":54850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:03:19] local.INFO: TCP Data received {"connection_id":54781,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:03:19] local.INFO: Processing buffer {"connection_id":54781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:03:19] local.INFO: IMEI packet received {"connection_id":54781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:03:20] local.INFO: TCP Data received {"connection_id":54781,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:03:20] local.INFO: Processing buffer {"connection_id":54781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:03:20] local.INFO: Packet analysis {"connection_id":54781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:03:20] local.INFO: Extracted packet for processing {"connection_id":54781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 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-04-26 15:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:03:20] 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-04-26 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-04-26 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-04-26 15:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:03: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-04-26 15:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:03:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:03:20] local.INFO: GPS data processed {"connection_id":54781,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:03:20] local.INFO: Acknowledgment sent {"connection_id":54781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:03:49] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:03:49] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:03:49] local.INFO: Packet analysis {"connection_id":54850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:03:49] local.INFO: Extracted packet for processing {"connection_id":54850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03: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-04-26 15:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:03:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":54850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:03:49] local.INFO: GPS data processed {"connection_id":54850,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:03:49] local.INFO: Acknowledgment sent {"connection_id":54850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:03:51] local.INFO: TCP Data received {"connection_id":54781,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:03:51] local.INFO: Processing buffer {"connection_id":54781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:03:51] local.INFO: Packet analysis {"connection_id":54781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:03:51] local.INFO: Extracted packet for processing {"connection_id":54781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 15:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:03:51] 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-04-26 15: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-04-26 15:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:03: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-04-26 15:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:03:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:03:51] local.INFO: GPS data processed {"connection_id":54781,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:03:51] local.INFO: Acknowledgment sent {"connection_id":54781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:04:05] local.INFO: TCP Data received {"connection_id":55525,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:04:05] local.INFO: Processing buffer {"connection_id":55525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:04:05] local.INFO: IMEI packet received {"connection_id":55525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":55525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:04:12] local.INFO: TCP Data received {"connection_id":55526,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:04:12] local.INFO: Processing buffer {"connection_id":55526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:04:12] local.INFO: IMEI packet received {"connection_id":55526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":55526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:04:13] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:04:13] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:04:13] local.INFO: IMEI packet received {"connection_id":54589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":54589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:04:17] local.INFO: TCP Data received {"connection_id":55526,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:04:17] local.INFO: Processing buffer {"connection_id":55526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:04:17] local.INFO: IMEI packet received {"connection_id":55526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":55526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:04:18] local.INFO: TCP Data received {"connection_id":55526,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:04:18] local.INFO: Processing buffer {"connection_id":55526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:04:18] local.INFO: Packet analysis {"connection_id":55526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:04:18] local.INFO: Extracted packet for processing {"connection_id":55526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04: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-04-26 15:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:04:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":55526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:04:18] local.INFO: GPS data processed {"connection_id":55526,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:04:18] local.INFO: Acknowledgment sent {"connection_id":55526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:04:19] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:04:19] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:04:19] local.INFO: IMEI packet received {"connection_id":54589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:04:20] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:04:20] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:04:20] local.INFO: Packet analysis {"connection_id":54589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:04:20] local.INFO: Extracted packet for processing {"connection_id":54589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:04:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 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-04-26 15:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:04:20] 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-04-26 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-04-26 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-04-26 15:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:04: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-04-26 15:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:04:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:04:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:04:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":54589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:04:20] local.INFO: GPS data processed {"connection_id":54589,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:04:20] local.INFO: Acknowledgment sent {"connection_id":54589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:04:45] local.INFO: TCP Data received {"connection_id":54590,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:04:45] local.INFO: Processing buffer {"connection_id":54590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:04:45] local.INFO: IMEI packet received {"connection_id":54590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":54590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:04:49] local.INFO: TCP Data received {"connection_id":55526,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:04:49] local.INFO: Processing buffer {"connection_id":55526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:04:49] local.INFO: Packet analysis {"connection_id":55526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:04:49] local.INFO: Extracted packet for processing {"connection_id":55526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04: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-04-26 15:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:04:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":55526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:04:49] local.INFO: GPS data processed {"connection_id":55526,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:04:49] local.INFO: Acknowledgment sent {"connection_id":55526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:04:51] local.INFO: TCP Data received {"connection_id":54589,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:04:51] local.INFO: Processing buffer {"connection_id":54589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:04:51] local.INFO: Packet analysis {"connection_id":54589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:04:51] local.INFO: Extracted packet for processing {"connection_id":54589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 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-04-26 15:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:04:51] 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-04-26 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-04-26 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-04-26 15:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:04: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-04-26 15:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:04:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":54589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:04:51] local.INFO: GPS data processed {"connection_id":54589,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:04:51] local.INFO: Acknowledgment sent {"connection_id":54589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:05:12] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:05:12] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:05:12] local.INFO: IMEI packet received {"connection_id":54591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":54591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:05:17] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:05:17] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:05:17] local.INFO: IMEI packet received {"connection_id":54591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":54591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:05:18] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:05:18] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:05:18] local.INFO: Packet analysis {"connection_id":54591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:05:18] local.INFO: Extracted packet for processing {"connection_id":54591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05: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-04-26 15:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:05:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":54591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:05:18] local.INFO: GPS data processed {"connection_id":54591,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:05:18] local.INFO: Acknowledgment sent {"connection_id":54591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:05:19] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:05:19] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:05:19] local.INFO: IMEI packet received {"connection_id":54851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":54851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:05:24] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:05:24] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:05:24] local.INFO: IMEI packet received {"connection_id":54851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":54851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:05:25] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:05:25] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:05:25] local.INFO: Packet analysis {"connection_id":54851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:05:25] local.INFO: Extracted packet for processing {"connection_id":54851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:05:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 15:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:05:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:05:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:05:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:05:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:05:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":54851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:05:25] local.INFO: GPS data processed {"connection_id":54851,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:05:25] local.INFO: Acknowledgment sent {"connection_id":54851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:05:29] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:05:29] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9203f38012cb299c007822ce0004f00122e..."} 
[2026-04-26 15:05:29] local.INFO: Packet analysis {"connection_id":54851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:05:29] local.INFO: Extracted packet for processing {"connection_id":54851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc920"} 
[2026-04-26 15:05:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962054656001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777195827000,"timestamp_ms":1777195827000,"timestamp_seconds":1777195827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9203f38"} 
[2026-04-26 15:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:05:29] 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-04-26 15:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:05:29] 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-04-26 15:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962054656001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962054656001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:05:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962054656001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":54851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:05:29] local.INFO: GPS data processed {"connection_id":54851,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:05:29] local.INFO: Acknowledgment sent {"connection_id":54851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:05:49] local.INFO: TCP Data received {"connection_id":54591,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:05:49] local.INFO: Processing buffer {"connection_id":54591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:05:49] local.INFO: Packet analysis {"connection_id":54591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:05:49] local.INFO: Extracted packet for processing {"connection_id":54591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:05: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-04-26 15:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:05:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":54591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:05:49] local.INFO: GPS data processed {"connection_id":54591,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:05:49] local.INFO: Acknowledgment sent {"connection_id":54591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:06:12] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:06:12] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:06:12] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:06:14] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:06:14] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:06:14] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:06:17] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:06:17] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:06:17] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:06:17] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:06:17] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:06:17] local.INFO: Packet analysis {"connection_id":54853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:06:17] local.INFO: Extracted packet for processing {"connection_id":54853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06: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-04-26 15:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:06:17] 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-04-26 15:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:06:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":54853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:06:18] local.INFO: GPS data processed {"connection_id":54853,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:06:18] local.INFO: Acknowledgment sent {"connection_id":54853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:06:19] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:06:19] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:06:19] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:06:20] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:06:20] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:06:20] local.INFO: Packet analysis {"connection_id":54852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:06:20] local.INFO: Extracted packet for processing {"connection_id":54852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:06: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-04-26 15: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-04-26 15:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:06: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-04-26 15:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:06:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":54852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:06:20] local.INFO: GPS data processed {"connection_id":54852,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:06:20] local.INFO: Acknowledgment sent {"connection_id":54852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:06:49] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:06:49] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:06:49] local.INFO: Packet analysis {"connection_id":54853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:06:49] local.INFO: Extracted packet for processing {"connection_id":54853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06: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-04-26 15:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:06:49] 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-04-26 15:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:06:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":54853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:06:49] local.INFO: GPS data processed {"connection_id":54853,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:06:49] local.INFO: Acknowledgment sent {"connection_id":54853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:06:51] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:06:51] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:06:51] local.INFO: Packet analysis {"connection_id":54852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:06:51] local.INFO: Extracted packet for processing {"connection_id":54852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:06: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-04-26 15: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-04-26 15:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:06: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-04-26 15:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:06:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:06:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:06:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":54852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:06:51] local.INFO: GPS data processed {"connection_id":54852,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:06:51] local.INFO: Acknowledgment sent {"connection_id":54852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:07:13] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:07:13] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:07:13] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:07:17] local.INFO: TCP Data received {"connection_id":54783,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:07:17] local.INFO: Processing buffer {"connection_id":54783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:07:17] local.INFO: IMEI packet received {"connection_id":54783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":54783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:07:19] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:07:19] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:07:19] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:07:20] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:07:20] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:07:20] local.INFO: Packet analysis {"connection_id":54782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:07:20] local.INFO: Extracted packet for processing {"connection_id":54782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:07: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-04-26 15: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-04-26 15:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:07:20] 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-04-26 15:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:07:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":54782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:07:20] local.INFO: GPS data processed {"connection_id":54782,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:07:20] local.INFO: Acknowledgment sent {"connection_id":54782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:07:22] local.INFO: TCP Data received {"connection_id":54783,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:07:22] local.INFO: Processing buffer {"connection_id":54783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:07:22] local.INFO: IMEI packet received {"connection_id":54783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":54783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:07:23] local.INFO: TCP Data received {"connection_id":54783,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:07:23] local.INFO: Processing buffer {"connection_id":54783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:07:23] local.INFO: Packet analysis {"connection_id":54783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:07:23] local.INFO: Extracted packet for processing {"connection_id":54783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07: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-04-26 15:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:07:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":54783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:07:23] local.INFO: GPS data processed {"connection_id":54783,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:07:23] local.INFO: Acknowledgment sent {"connection_id":54783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:07:27] local.INFO: TCP Data received {"connection_id":54783,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:07:27] local.INFO: Processing buffer {"connection_id":54783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:07:27] local.INFO: Packet analysis {"connection_id":54783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:07:27] local.INFO: Extracted packet for processing {"connection_id":54783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:27] 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-04-26 15:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:07:27] 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-04-26 15:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:07:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":54783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:07:28] local.INFO: GPS data processed {"connection_id":54783,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:07:28] local.INFO: Acknowledgment sent {"connection_id":54783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:07:51] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:07:51] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:07:51] local.INFO: Packet analysis {"connection_id":54782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:07:51] local.INFO: Extracted packet for processing {"connection_id":54782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:07: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-04-26 15: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-04-26 15:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:07:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":54782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:07:51] local.INFO: GPS data processed {"connection_id":54782,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:07:51] local.INFO: Acknowledgment sent {"connection_id":54782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:08:12] local.INFO: TCP Data received {"connection_id":55527,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:08:12] local.INFO: Processing buffer {"connection_id":55527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:08:12] local.INFO: IMEI packet received {"connection_id":55527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":55527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:08:13] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:08:13] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:08:13] local.INFO: IMEI packet received {"connection_id":54784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":54784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:08:17] local.INFO: TCP Data received {"connection_id":55527,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:08:17] local.INFO: Processing buffer {"connection_id":55527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:08:17] local.INFO: IMEI packet received {"connection_id":55527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":55527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:08:17] local.INFO: TCP Data received {"connection_id":55527,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:08:17] local.INFO: Processing buffer {"connection_id":55527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9225660012d196f80071fecc00041010d2c..."} 
[2026-04-26 15:08:17] local.INFO: Packet analysis {"connection_id":55527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:08:17] local.INFO: Extracted packet for processing {"connection_id":55527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc922"} 
[2026-04-26 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962089728001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08: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-04-26 15:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777195964000,"timestamp_ms":1777195964000,"timestamp_seconds":1777195964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9225660"} 
[2026-04-26 15:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:08:17] 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-04-26 15:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962089728001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962089728001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:08:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962089728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":55527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:08:18] local.INFO: GPS data processed {"connection_id":55527,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:08:18] local.INFO: Acknowledgment sent {"connection_id":55527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:08:19] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:08:19] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:08:19] local.INFO: IMEI packet received {"connection_id":54784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:08:20] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:08:20] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:08:20] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:08:20] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:08:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:08: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-04-26 15: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-04-26 15:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:08:20] 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-04-26 15:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:08:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:08:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:08:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:08:20] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:08:20] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:08:48] local.INFO: TCP Data received {"connection_id":55527,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc926ee28012d196f80071fecc00041010d2d..."} 
[2026-04-26 15:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc926ee28012d196f80071fecc00041010d2d..."} 
[2026-04-26 15:08:48] local.INFO: Processing buffer {"connection_id":55527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc926ee28012d196f80071fecc00041010d2d..."} 
[2026-04-26 15:08:48] local.INFO: Packet analysis {"connection_id":55527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc926"} 
[2026-04-26 15:08:48] local.INFO: Extracted packet for processing {"connection_id":55527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc926"} 
[2026-04-26 15:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962166784001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08: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-04-26 15:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777196265000,"timestamp_ms":1777196265000,"timestamp_seconds":1777196265,"priority":1,"record_length":96,"hex_timestamp":"0000019dc926ee28"} 
[2026-04-26 15:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:08:48] 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-04-26 15: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:08: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-04-26 15: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-04-26 15:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:08:48] 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-04-26 15:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962166784001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962166784001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:08:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:08:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962166784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":55527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:08:48] local.INFO: GPS data processed {"connection_id":55527,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:08:48] local.INFO: Acknowledgment sent {"connection_id":55527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:08:51] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:08:51] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:08:51] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:08:51] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:08: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-04-26 15: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-04-26 15:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:08:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:08:51] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:08:51] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:09:19] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:09:19] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:09:19] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:09:24] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:09:24] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:09:24] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:09:25] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:09:25] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:09:25] local.INFO: Packet analysis {"connection_id":54785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:09:25] local.INFO: Extracted packet for processing {"connection_id":54785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:09:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:09:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:09: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-04-26 15:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:09:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":54785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:09:25] local.INFO: GPS data processed {"connection_id":54785,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:09:25] local.INFO: Acknowledgment sent {"connection_id":54785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:09:29] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:09:29] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:09:29] local.INFO: Packet analysis {"connection_id":54785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:09:29] local.INFO: Extracted packet for processing {"connection_id":54785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:09:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 15:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:09:29] 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-04-26 15:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:09:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":54785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:09:29] local.INFO: GPS data processed {"connection_id":54785,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:09:29] local.INFO: Acknowledgment sent {"connection_id":54785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:10:14] local.INFO: TCP Data received {"connection_id":55528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:10:14] local.INFO: Processing buffer {"connection_id":55528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:10:14] local.INFO: IMEI packet received {"connection_id":55528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":55528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:10:15] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:10:15] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:10:15] local.INFO: IMEI packet received {"connection_id":54856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":54856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:10:19] local.INFO: TCP Data received {"connection_id":55528,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:10:19] local.INFO: Processing buffer {"connection_id":55528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:10:19] local.INFO: IMEI packet received {"connection_id":55528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":55528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:10:20] local.INFO: TCP Data received {"connection_id":55528,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:10:20] local.INFO: Processing buffer {"connection_id":55528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:10:20] local.INFO: Packet analysis {"connection_id":55528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:10:20] local.INFO: Extracted packet for processing {"connection_id":55528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 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-04-26 15:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:10: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-04-26 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-04-26 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-04-26 15:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:10: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-04-26 15:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:10:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":55528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:10:20] local.INFO: GPS data processed {"connection_id":55528,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:10:20] local.INFO: Acknowledgment sent {"connection_id":55528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:10:39] local.INFO: TCP Data received {"connection_id":54594,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:10:39] local.INFO: Processing buffer {"connection_id":54594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:10:39] local.INFO: IMEI packet received {"connection_id":54594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":54594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:10:51] local.INFO: TCP Data received {"connection_id":55528,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:10:51] local.INFO: Processing buffer {"connection_id":55528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc924d700012cb299c007822ce0005100122e..."} 
[2026-04-26 15:10:51] local.INFO: Packet analysis {"connection_id":55528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:10:51] local.INFO: Extracted packet for processing {"connection_id":55528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc924"} 
[2026-04-26 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962131712001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196128000,"timestamp_ms":1777196128000,"timestamp_seconds":1777196128,"priority":1,"record_length":96,"hex_timestamp":"0000019dc924d700"} 
[2026-04-26 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-04-26 15:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:10: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-04-26 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-04-26 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-04-26 15:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:10: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-04-26 15:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962131712001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962131712001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:10:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962131712001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":55528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:10:51] local.INFO: GPS data processed {"connection_id":55528,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:10:51] local.INFO: Acknowledgment sent {"connection_id":55528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:11:14] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:11:14] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:11:14] local.INFO: IMEI packet received {"connection_id":54857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":54857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:11:21] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:11:21] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:11:21] local.INFO: IMEI packet received {"connection_id":54857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":54857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:11:22] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:11:22] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:11:22] local.INFO: Packet analysis {"connection_id":54857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:11:22] local.INFO: Extracted packet for processing {"connection_id":54857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 15:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:11:22] 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-04-26 15: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-04-26 15:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:11: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-04-26 15:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:11:22] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":54857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:11:22] local.INFO: GPS data processed {"connection_id":54857,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:11:22] local.INFO: Acknowledgment sent {"connection_id":54857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:11:53] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:11:53] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:11:53] local.INFO: Packet analysis {"connection_id":54857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:11:53] local.INFO: Extracted packet for processing {"connection_id":54857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:11:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:11:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 15:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:11: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-04-26 15:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:11:53] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:11:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":54857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:11:53] local.INFO: GPS data processed {"connection_id":54857,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:11:53] local.INFO: Acknowledgment sent {"connection_id":54857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:12:13] local.INFO: TCP Data received {"connection_id":54595,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:12:13] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:12:13] local.INFO: IMEI packet received {"connection_id":54595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":54595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:12:19] local.INFO: TCP Data received {"connection_id":54595,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:12:19] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:12:19] local.INFO: IMEI packet received {"connection_id":54595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":54595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:12:20] local.INFO: TCP Data received {"connection_id":54595,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:12:20] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:12:20] local.INFO: Packet analysis {"connection_id":54595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:12:20] local.INFO: Extracted packet for processing {"connection_id":54595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:12:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:12:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 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-04-26 15:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:12: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-04-26 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-04-26 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-04-26 15:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:12: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-04-26 15:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:12:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:12:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:12:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":54595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:12:20] local.INFO: GPS data processed {"connection_id":54595,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:12:20] local.INFO: Acknowledgment sent {"connection_id":54595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:12:51] local.INFO: TCP Data received {"connection_id":54595,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:12:51] local.INFO: Processing buffer {"connection_id":54595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:12:51] local.INFO: Packet analysis {"connection_id":54595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:12:51] local.INFO: Extracted packet for processing {"connection_id":54595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:12:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 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-04-26 15:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:12: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-04-26 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-04-26 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-04-26 15:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:12: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-04-26 15:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:12:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:12:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:12:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":54595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:12:51] local.INFO: GPS data processed {"connection_id":54595,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:12:51] local.INFO: Acknowledgment sent {"connection_id":54595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:13:19] local.INFO: TCP Data received {"connection_id":54858,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:13:19] local.INFO: Processing buffer {"connection_id":54858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:13:19] local.INFO: IMEI packet received {"connection_id":54858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:13:24] local.INFO: TCP Data received {"connection_id":54858,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:13:24] local.INFO: Processing buffer {"connection_id":54858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:13:24] local.INFO: IMEI packet received {"connection_id":54858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":54858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:13:25] local.INFO: TCP Data received {"connection_id":54858,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:13:25] local.INFO: Processing buffer {"connection_id":54858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:13:25] local.INFO: Packet analysis {"connection_id":54858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:13:25] local.INFO: Extracted packet for processing {"connection_id":54858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 15:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:13:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:13:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:13:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":54858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:13:25] local.INFO: GPS data processed {"connection_id":54858,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:13:25] local.INFO: Acknowledgment sent {"connection_id":54858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:13:29] local.INFO: TCP Data received {"connection_id":54858,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:13:29] local.INFO: Processing buffer {"connection_id":54858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:13:29] local.INFO: Packet analysis {"connection_id":54858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:13:29] local.INFO: Extracted packet for processing {"connection_id":54858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:13:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 15:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:13:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":54858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:13:29] local.INFO: GPS data processed {"connection_id":54858,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:13:29] local.INFO: Acknowledgment sent {"connection_id":54858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:13:37] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:13:37] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:13:37] local.INFO: IMEI packet received {"connection_id":54788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":54788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:13:42] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:13:42] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:13:42] local.INFO: IMEI packet received {"connection_id":54788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":54788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:13:43] local.INFO: TCP Data received {"connection_id":54788,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc926ee28012d196f80071fecc00041010d2d..."} 
[2026-04-26 15:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc926ee28012d196f80071fecc00041010d2d..."} 
[2026-04-26 15:13:43] local.INFO: Processing buffer {"connection_id":54788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc926ee28012d196f80071fecc00041010d2d..."} 
[2026-04-26 15:13:43] local.INFO: Packet analysis {"connection_id":54788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc926"} 
[2026-04-26 15:13:43] local.INFO: Extracted packet for processing {"connection_id":54788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc926"} 
[2026-04-26 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756641664,"raw_latitude":119532736,"longitude_deg":75.6641664,"latitude_deg":11.9532736,"altitude":65,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196f80","hex_latitude":"071fecc0","is_valid_coordinates":true} 
[2026-04-26 15:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962166784001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832824341451816960,"note":"Value kept but may cause issues"} 
[2026-04-26 15:13: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-04-26 15:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777196265000,"timestamp_ms":1777196265000,"timestamp_seconds":1777196265,"priority":1,"record_length":96,"hex_timestamp":"0000019dc926ee28"} 
[2026-04-26 15:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 15:13: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-04-26 15:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:13:43] 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-04-26 15:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962166784001,"66":2166,"106":206,"83":41984,"24":0,"16":114809664142573568,"45":1832824341451816960},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962166784001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114809664142573568,"km_value":114809664142573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832824341451816960,"description":"Unknown IO ID 45"} 
[2026-04-26 15:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962166784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832824341451816960}} 
[2026-04-26 15:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":54788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:13:43] local.INFO: GPS data processed {"connection_id":54788,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:13:43] local.INFO: Acknowledgment sent {"connection_id":54788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:14:13] local.INFO: TCP Data received {"connection_id":54597,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:14:13] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:14:13] local.INFO: IMEI packet received {"connection_id":54597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":54597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:14:19] local.INFO: TCP Data received {"connection_id":54597,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:14:19] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:14:19] local.INFO: IMEI packet received {"connection_id":54597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":54597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:14:20] local.INFO: TCP Data received {"connection_id":54597,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:14:20] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:14:20] local.INFO: Packet analysis {"connection_id":54597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:14:20] local.INFO: Extracted packet for processing {"connection_id":54597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:14:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:14:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 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-04-26 15:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:14: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-04-26 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-04-26 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-04-26 15:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:14:20] 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-04-26 15:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:14:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:14:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:14:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":54597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:14:20] local.INFO: GPS data processed {"connection_id":54597,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:14:20] local.INFO: Acknowledgment sent {"connection_id":54597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:14:51] local.INFO: TCP Data received {"connection_id":54597,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:14:51] local.INFO: Processing buffer {"connection_id":54597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:14:51] local.INFO: Packet analysis {"connection_id":54597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:14:51] local.INFO: Extracted packet for processing {"connection_id":54597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:14:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 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-04-26 15:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:14: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-04-26 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-04-26 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-04-26 15:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:14:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:14:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:14:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":54597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:14:51] local.INFO: GPS data processed {"connection_id":54597,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:14:51] local.INFO: Acknowledgment sent {"connection_id":54597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:15:13] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:15:13] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:15:13] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:15:19] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:15:19] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:15:19] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:15:20] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:15:20] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:15:20] local.INFO: Packet analysis {"connection_id":54789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:15:20] local.INFO: Extracted packet for processing {"connection_id":54789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:15:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:15:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 15:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:15: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-04-26 15: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-04-26 15:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:15:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:15:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:15:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":54789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:15:20] local.INFO: GPS data processed {"connection_id":54789,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:15:20] local.INFO: Acknowledgment sent {"connection_id":54789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:15:51] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:15:51] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9296ec8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:15:51] local.INFO: Packet analysis {"connection_id":54789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:15:51] local.INFO: Extracted packet for processing {"connection_id":54789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc929"} 
[2026-04-26 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962208768001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:15:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196429000,"timestamp_ms":1777196429000,"timestamp_seconds":1777196429,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9296ec8"} 
[2026-04-26 15:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:15: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-04-26 15:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962208768001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962208768001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:15:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962208768001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":54789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:15:51] local.INFO: GPS data processed {"connection_id":54789,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:15:51] local.INFO: Acknowledgment sent {"connection_id":54789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:16:05] local.INFO: TCP Data received {"connection_id":54598,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54598,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:16:05] local.INFO: Processing buffer {"connection_id":54598,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:16:05] local.INFO: IMEI packet received {"connection_id":54598,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":54598,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:16:13] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:16:13] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:16:13] local.INFO: IMEI packet received {"connection_id":54860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":54860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:16:19] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:16:19] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:16:19] local.INFO: IMEI packet received {"connection_id":54860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:16:20] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:16:20] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:16:20] local.INFO: Packet analysis {"connection_id":54860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:16:20] local.INFO: Extracted packet for processing {"connection_id":54860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:16:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:16:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:16:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:16:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:16:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:16:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 15:16:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:16:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:16: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-04-26 15: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-04-26 15:16:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:16:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:16:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:16:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:16:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:16: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-04-26 15:16:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:16:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:16:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:16:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:16:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:16:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:16:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:16:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:16:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:16:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:16:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":54860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:16:20] local.INFO: GPS data processed {"connection_id":54860,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:16:20] local.INFO: Acknowledgment sent {"connection_id":54860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:16:39] local.INFO: TCP Data received {"connection_id":55529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:16:39] local.INFO: Processing buffer {"connection_id":55529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:16:39] local.INFO: IMEI packet received {"connection_id":55529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":55529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:16:51] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:16:51] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:16:51] local.INFO: Packet analysis {"connection_id":54860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:16:51] local.INFO: Extracted packet for processing {"connection_id":54860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 15:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:16: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-04-26 15: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-04-26 15:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:16: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-04-26 15:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:16:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":54860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:16:51] local.INFO: GPS data processed {"connection_id":54860,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:16:51] local.INFO: Acknowledgment sent {"connection_id":54860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:17:19] local.INFO: TCP Data received {"connection_id":54599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:17:19] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:17:19] local.INFO: IMEI packet received {"connection_id":54599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:17:24] local.INFO: TCP Data received {"connection_id":54599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:17:24] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:17:24] local.INFO: IMEI packet received {"connection_id":54599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":54599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:17:25] local.INFO: TCP Data received {"connection_id":54599,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:17:25] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:17:25] local.INFO: Packet analysis {"connection_id":54599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:17:25] local.INFO: Extracted packet for processing {"connection_id":54599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:17:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 15:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:17:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:17:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:17:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:17:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":54599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:17:25] local.INFO: GPS data processed {"connection_id":54599,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:17:25] local.INFO: Acknowledgment sent {"connection_id":54599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:17:29] local.INFO: TCP Data received {"connection_id":54599,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:17:29] local.INFO: Processing buffer {"connection_id":54599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:17:29] local.INFO: Packet analysis {"connection_id":54599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:17:29] local.INFO: Extracted packet for processing {"connection_id":54599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 15:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:17:29] 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-04-26 15:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:17:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":54599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:17:29] local.INFO: GPS data processed {"connection_id":54599,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:17:29] local.INFO: Acknowledgment sent {"connection_id":54599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:18:14] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:18:14] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:18:14] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:18:19] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:18:19] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:18:19] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:18:20] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:18:20] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:18:20] local.INFO: Packet analysis {"connection_id":54790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:18:20] local.INFO: Extracted packet for processing {"connection_id":54790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:18:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 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-04-26 15:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:18: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-04-26 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-04-26 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-04-26 15:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:18:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:18:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:18:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":54790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:18:20] local.INFO: GPS data processed {"connection_id":54790,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:18:20] local.INFO: Acknowledgment sent {"connection_id":54790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:18:51] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:18:51] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:18:51] local.INFO: Packet analysis {"connection_id":54790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:18:51] local.INFO: Extracted packet for processing {"connection_id":54790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 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-04-26 15:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:18: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-04-26 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-04-26 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-04-26 15:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:18:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":54790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:18:51] local.INFO: GPS data processed {"connection_id":54790,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:18:51] local.INFO: Acknowledgment sent {"connection_id":54790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:19:13] local.INFO: TCP Data received {"connection_id":55532,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:19:13] local.INFO: Processing buffer {"connection_id":55532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:19:13] local.INFO: IMEI packet received {"connection_id":55532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":55532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:19:19] local.INFO: TCP Data received {"connection_id":55532,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:19:19] local.INFO: Processing buffer {"connection_id":55532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:19:19] local.INFO: IMEI packet received {"connection_id":55532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":55532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:19:20] local.INFO: TCP Data received {"connection_id":55532,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:19:20] local.INFO: Processing buffer {"connection_id":55532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:19:20] local.INFO: Packet analysis {"connection_id":55532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:19:20] local.INFO: Extracted packet for processing {"connection_id":55532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 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-04-26 15:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:19: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-04-26 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-04-26 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-04-26 15:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:19:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":55532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:19:20] local.INFO: GPS data processed {"connection_id":55532,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:19:20] local.INFO: Acknowledgment sent {"connection_id":55532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:19:51] local.INFO: TCP Data received {"connection_id":55532,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:19:51] local.INFO: Processing buffer {"connection_id":55532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:19:51] local.INFO: Packet analysis {"connection_id":55532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:19:51] local.INFO: Extracted packet for processing {"connection_id":55532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:19:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 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-04-26 15:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:19: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-04-26 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-04-26 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-04-26 15:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:19:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:19:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":55532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:19:51] local.INFO: GPS data processed {"connection_id":55532,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:19:51] local.INFO: Acknowledgment sent {"connection_id":55532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:20:13] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:20:13] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:20:13] local.INFO: IMEI packet received {"connection_id":54861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:20:18] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:20:18] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:20:18] local.INFO: IMEI packet received {"connection_id":54861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:20:19] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:20:19] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:20:19] local.INFO: Packet analysis {"connection_id":54861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:20:19] local.INFO: Extracted packet for processing {"connection_id":54861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 15:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:20:19] 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-04-26 15:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:20:19] 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-04-26 15:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:20:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:20:19] local.INFO: GPS data processed {"connection_id":54861,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:20:19] local.INFO: Acknowledgment sent {"connection_id":54861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:20:50] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:20:50] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc92e0690012cb299c007822ce0004c00122d..."} 
[2026-04-26 15:20:50] local.INFO: Packet analysis {"connection_id":54861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:20:50] local.INFO: Extracted packet for processing {"connection_id":54861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc92e"} 
[2026-04-26 15:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962285824001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777196730000,"timestamp_ms":1777196730000,"timestamp_seconds":1777196730,"priority":1,"record_length":96,"hex_timestamp":"0000019dc92e0690"} 
[2026-04-26 15:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:20:50] 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-04-26 15:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:20:50] 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-04-26 15:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962285824001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962285824001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:20:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962285824001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":54861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:20:50] local.INFO: GPS data processed {"connection_id":54861,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:20:50] local.INFO: Acknowledgment sent {"connection_id":54861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:21:13] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:21:13] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:21:13] local.INFO: IMEI packet received {"connection_id":54600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":54600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:21:19] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:21:19] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:21:19] local.INFO: IMEI packet received {"connection_id":54600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:21:20] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:21:20] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:21:20] local.INFO: Packet analysis {"connection_id":54600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:21:20] local.INFO: Extracted packet for processing {"connection_id":54600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 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-04-26 15:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:21: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-04-26 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-04-26 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-04-26 15:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:21: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-04-26 15:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:21:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:21:20] local.INFO: GPS data processed {"connection_id":54600,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:21:20] local.INFO: Acknowledgment sent {"connection_id":54600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:21:51] local.INFO: TCP Data received {"connection_id":54600,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:21:51] local.INFO: Processing buffer {"connection_id":54600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:21:51] local.INFO: Packet analysis {"connection_id":54600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:21:51] local.INFO: Extracted packet for processing {"connection_id":54600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 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-04-26 15:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:21: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-04-26 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-04-26 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-04-26 15:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:21: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-04-26 15:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:21:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:21:51] local.INFO: GPS data processed {"connection_id":54600,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:21:51] local.INFO: Acknowledgment sent {"connection_id":54600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:22:00] local.INFO: TCP Data received {"connection_id":54792,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54792,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:22:00] local.INFO: Processing buffer {"connection_id":54792,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:22:00] local.INFO: IMEI packet received {"connection_id":54792,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":54792,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:22:14] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:22:14] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:22:14] local.INFO: IMEI packet received {"connection_id":54863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":54863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:22:19] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:22:19] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:22:19] local.INFO: IMEI packet received {"connection_id":54863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":54863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:22:20] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:22:20] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:22:20] local.INFO: Packet analysis {"connection_id":54863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:22:20] local.INFO: Extracted packet for processing {"connection_id":54863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:22:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 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-04-26 15:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:22: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-04-26 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-04-26 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-04-26 15:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:22:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:22:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":54863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:22:20] local.INFO: GPS data processed {"connection_id":54863,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:22:20] local.INFO: Acknowledgment sent {"connection_id":54863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:22:45] local.INFO: TCP Data received {"connection_id":54601,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:22:45] local.INFO: Processing buffer {"connection_id":54601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:22:45] local.INFO: IMEI packet received {"connection_id":54601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":54601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:22:51] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:22:51] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:22:51] local.INFO: Packet analysis {"connection_id":54863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:22:51] local.INFO: Extracted packet for processing {"connection_id":54863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:22:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 15:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:22:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:22: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-04-26 15: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-04-26 15:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:22:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:22:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:22:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":54863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:22:51] local.INFO: GPS data processed {"connection_id":54863,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:22:51] local.INFO: Acknowledgment sent {"connection_id":54863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:23:13] local.INFO: TCP Data received {"connection_id":54602,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:23:13] local.INFO: Processing buffer {"connection_id":54602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:23:13] local.INFO: IMEI packet received {"connection_id":54602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":54602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:23:19] local.INFO: TCP Data received {"connection_id":54602,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:23:19] local.INFO: Processing buffer {"connection_id":54602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:23:19] local.INFO: IMEI packet received {"connection_id":54602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:23:20] local.INFO: TCP Data received {"connection_id":54602,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:23:20] local.INFO: Processing buffer {"connection_id":54602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:23:20] local.INFO: Packet analysis {"connection_id":54602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:23:20] local.INFO: Extracted packet for processing {"connection_id":54602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 15:23:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:23: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-04-26 15: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-04-26 15:23:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15: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-04-26 15:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:23:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":54602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:23:20] local.INFO: GPS data processed {"connection_id":54602,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:23:20] local.INFO: Acknowledgment sent {"connection_id":54602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:23:51] local.INFO: TCP Data received {"connection_id":54602,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:23:51] local.INFO: Processing buffer {"connection_id":54602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:23:51] local.INFO: Packet analysis {"connection_id":54602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:23:51] local.INFO: Extracted packet for processing {"connection_id":54602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:23:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 15:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:23: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-04-26 15: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-04-26 15:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15: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-04-26 15:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:23:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:23:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:23:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":54602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:23:51] local.INFO: GPS data processed {"connection_id":54602,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:23:51] local.INFO: Acknowledgment sent {"connection_id":54602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:24:13] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:24:13] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:24:13] local.INFO: IMEI packet received {"connection_id":54793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":54793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:24:19] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:24:19] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:24:19] local.INFO: IMEI packet received {"connection_id":54793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:24:20] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:24:20] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:24:20] local.INFO: Packet analysis {"connection_id":54793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:24:20] local.INFO: Extracted packet for processing {"connection_id":54793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 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-04-26 15:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:24: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-04-26 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-04-26 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-04-26 15:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:24: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-04-26 15:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:24:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:24:20] local.INFO: GPS data processed {"connection_id":54793,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:24:20] local.INFO: Acknowledgment sent {"connection_id":54793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:24:51] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:24:51] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:24:51] local.INFO: Packet analysis {"connection_id":54793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:24:51] local.INFO: Extracted packet for processing {"connection_id":54793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 15:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:24: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-04-26 15: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-04-26 15:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:24: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-04-26 15:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:24:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":54793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:24:51] local.INFO: GPS data processed {"connection_id":54793,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:24:51] local.INFO: Acknowledgment sent {"connection_id":54793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:25:13] local.INFO: TCP Data received {"connection_id":55534,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:25:13] local.INFO: Processing buffer {"connection_id":55534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:25:13] local.INFO: IMEI packet received {"connection_id":55534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":55534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:25:19] local.INFO: TCP Data received {"connection_id":55534,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:25:19] local.INFO: Processing buffer {"connection_id":55534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:25:19] local.INFO: IMEI packet received {"connection_id":55534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":55534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:25:20] local.INFO: TCP Data received {"connection_id":55534,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:25:20] local.INFO: Processing buffer {"connection_id":55534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:25:20] local.INFO: Packet analysis {"connection_id":55534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:25:20] local.INFO: Extracted packet for processing {"connection_id":55534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:25:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:25:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 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-04-26 15:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:25: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-04-26 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-04-26 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-04-26 15:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:25:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:25:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:25:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":55534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:25:20] local.INFO: GPS data processed {"connection_id":55534,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:25:20] local.INFO: Acknowledgment sent {"connection_id":55534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:25:51] local.INFO: TCP Data received {"connection_id":55534,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:25:51] local.INFO: Processing buffer {"connection_id":55534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9329e58012cb299c007822ce0005000122e..."} 
[2026-04-26 15:25:51] local.INFO: Packet analysis {"connection_id":55534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:25:51] local.INFO: Extracted packet for processing {"connection_id":55534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc932"} 
[2026-04-26 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962362880001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197031000,"timestamp_ms":1777197031000,"timestamp_seconds":1777197031,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9329e58"} 
[2026-04-26 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-04-26 15:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:25: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-04-26 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-04-26 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-04-26 15:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962362880001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962362880001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:25:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962362880001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":55534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:25:51] local.INFO: GPS data processed {"connection_id":55534,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:25:51] local.INFO: Acknowledgment sent {"connection_id":55534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:26:13] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:26:13] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:26:13] local.INFO: IMEI packet received {"connection_id":54794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":54794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:26:19] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:26:19] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:26:19] local.INFO: IMEI packet received {"connection_id":54794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:26:20] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:26:20] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:26:20] local.INFO: Packet analysis {"connection_id":54794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:26:20] local.INFO: Extracted packet for processing {"connection_id":54794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 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-04-26 15:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:26: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-04-26 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-04-26 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-04-26 15:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:26: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-04-26 15:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:26:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":54794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:26:20] local.INFO: GPS data processed {"connection_id":54794,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:26:20] local.INFO: Acknowledgment sent {"connection_id":54794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:26:51] local.INFO: TCP Data received {"connection_id":54794,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:26:51] local.INFO: Processing buffer {"connection_id":54794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:26:51] local.INFO: Packet analysis {"connection_id":54794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:26:51] local.INFO: Extracted packet for processing {"connection_id":54794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 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-04-26 15:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:26: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-04-26 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-04-26 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-04-26 15:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:26: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-04-26 15:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:26:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:26:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:26:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":54794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:26:51] local.INFO: GPS data processed {"connection_id":54794,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:26:51] local.INFO: Acknowledgment sent {"connection_id":54794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:27:14] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:27:14] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:27:14] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:27:19] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:27:19] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:27:19] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:27:20] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:27:20] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:27:20] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:27:20] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:27: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-04-26 15: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-04-26 15:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:27:20] 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-04-26 15:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:27:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:27:20] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:27:20] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:27:51] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:27:51] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:27:51] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:27:51] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:27: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-04-26 15: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-04-26 15:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:27:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:27:51] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:27:51] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:28:10] local.INFO: TCP Data received {"connection_id":54605,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:28:10] local.INFO: Processing buffer {"connection_id":54605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:28:10] local.INFO: IMEI packet received {"connection_id":54605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":54605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:28:13] local.INFO: TCP Data received {"connection_id":54796,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:28:13] local.INFO: Processing buffer {"connection_id":54796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:28:13] local.INFO: IMEI packet received {"connection_id":54796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":54796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:28:18] local.INFO: TCP Data received {"connection_id":54796,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:28:18] local.INFO: Processing buffer {"connection_id":54796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:28:18] local.INFO: IMEI packet received {"connection_id":54796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":54796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:28:20] local.INFO: TCP Data received {"connection_id":54796,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:28:20] local.INFO: Processing buffer {"connection_id":54796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:28:20] local.INFO: Packet analysis {"connection_id":54796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:28:20] local.INFO: Extracted packet for processing {"connection_id":54796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:28:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:28:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:28: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-04-26 15: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-04-26 15:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:28: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-04-26 15:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:28:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:28:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:28:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":54796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:28:20] local.INFO: GPS data processed {"connection_id":54796,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:28:20] local.INFO: Acknowledgment sent {"connection_id":54796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:28:39] local.INFO: TCP Data received {"connection_id":55536,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:28:39] local.INFO: Processing buffer {"connection_id":55536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:28:39] local.INFO: IMEI packet received {"connection_id":55536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":55536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:28:51] local.INFO: TCP Data received {"connection_id":54796,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:28:51] local.INFO: Processing buffer {"connection_id":54796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:28:51] local.INFO: Packet analysis {"connection_id":54796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:28:51] local.INFO: Extracted packet for processing {"connection_id":54796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:28:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:28: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-04-26 15:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:28:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:28:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:28:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":54796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:28:51] local.INFO: GPS data processed {"connection_id":54796,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:28:51] local.INFO: Acknowledgment sent {"connection_id":54796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:29:13] local.INFO: TCP Data received {"connection_id":55537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:29:13] local.INFO: Processing buffer {"connection_id":55537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:29:13] local.INFO: IMEI packet received {"connection_id":55537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":55537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:29:19] local.INFO: TCP Data received {"connection_id":55537,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:29:19] local.INFO: Processing buffer {"connection_id":55537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:29:19] local.INFO: IMEI packet received {"connection_id":55537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":55537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:29:20] local.INFO: TCP Data received {"connection_id":55537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:29:20] local.INFO: Processing buffer {"connection_id":55537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:29:20] local.INFO: Packet analysis {"connection_id":55537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:29:20] local.INFO: Extracted packet for processing {"connection_id":55537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:29: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-04-26 15: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-04-26 15:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:29: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-04-26 15:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:29:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":55537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:29:20] local.INFO: GPS data processed {"connection_id":55537,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:29:20] local.INFO: Acknowledgment sent {"connection_id":55537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:29:51] local.INFO: TCP Data received {"connection_id":55537,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:29:51] local.INFO: Processing buffer {"connection_id":55537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:29:51] local.INFO: Packet analysis {"connection_id":55537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:29:51] local.INFO: Extracted packet for processing {"connection_id":55537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:29: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-04-26 15:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:29:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":55537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:29:51] local.INFO: GPS data processed {"connection_id":55537,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:29:51] local.INFO: Acknowledgment sent {"connection_id":55537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:30:13] local.INFO: TCP Data received {"connection_id":55538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:30:13] local.INFO: Processing buffer {"connection_id":55538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:30:13] local.INFO: IMEI packet received {"connection_id":55538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":55538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:30:19] local.INFO: TCP Data received {"connection_id":55538,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:30:19] local.INFO: Processing buffer {"connection_id":55538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:30:19] local.INFO: IMEI packet received {"connection_id":55538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":55538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:30:20] local.INFO: TCP Data received {"connection_id":55538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:30:20] local.INFO: Processing buffer {"connection_id":55538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:30:20] local.INFO: Packet analysis {"connection_id":55538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:30:20] local.INFO: Extracted packet for processing {"connection_id":55538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:30:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:30: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-04-26 15: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-04-26 15:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:30:20] 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-04-26 15:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:30:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:30:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:30:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:30:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:30:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:30:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:30:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:30:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:30:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":55538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:30:20] local.INFO: GPS data processed {"connection_id":55538,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:30:20] local.INFO: Acknowledgment sent {"connection_id":55538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:30:51] local.INFO: TCP Data received {"connection_id":55538,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:30:51] local.INFO: Processing buffer {"connection_id":55538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9373620012cb299c007822ce0004500122d..."} 
[2026-04-26 15:30:51] local.INFO: Packet analysis {"connection_id":55538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:30:51] local.INFO: Extracted packet for processing {"connection_id":55538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc937"} 
[2026-04-26 15:30:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":69,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962439936001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:30:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197332000,"timestamp_ms":1777197332000,"timestamp_seconds":1777197332,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9373620"} 
[2026-04-26 15:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962439936001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962439936001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:30:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:30:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:30:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962439936001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":55538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:30:51] local.INFO: GPS data processed {"connection_id":55538,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:30:51] local.INFO: Acknowledgment sent {"connection_id":55538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:31:14] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:31:14] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:31:14] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:31:19] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:31:19] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:31:19] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:31:20] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:31:20] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:31:20] local.INFO: Packet analysis {"connection_id":54865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:31:20] local.INFO: Extracted packet for processing {"connection_id":54865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:31:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:31:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:31:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:31:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:31:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:31:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:31: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-04-26 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-04-26 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-04-26 15:31:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:31:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:31:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:31:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:31:20] 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-04-26 15:31:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:31:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:31:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:31:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:31:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:31:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:31:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:31:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:31:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:31:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:31:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:31:20] local.INFO: DEBUG: GPS processor result {"connection_id":54865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:31:20] local.INFO: GPS data processed {"connection_id":54865,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:31:20] local.INFO: Acknowledgment sent {"connection_id":54865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:31:51] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:31:51] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:31:51] local.INFO: Packet analysis {"connection_id":54865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:31:51] local.INFO: Extracted packet for processing {"connection_id":54865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:31:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 15:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:31: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-04-26 15: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-04-26 15:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:31:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:31:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:31:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":54865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:31:51] local.INFO: GPS data processed {"connection_id":54865,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:31:51] local.INFO: Acknowledgment sent {"connection_id":54865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:32:14] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:32:14] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:32:14] local.INFO: IMEI packet received {"connection_id":54799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":54799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:32:19] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:32:19] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:32:19] local.INFO: IMEI packet received {"connection_id":54799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":54799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:32:20] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:32:20] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:32:20] local.INFO: Packet analysis {"connection_id":54799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:32:20] local.INFO: Extracted packet for processing {"connection_id":54799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:32:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:32:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:32: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-04-26 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-04-26 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-04-26 15:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:32:20] 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-04-26 15:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:32:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:32:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:32:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":54799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:32:20] local.INFO: GPS data processed {"connection_id":54799,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:32:20] local.INFO: Acknowledgment sent {"connection_id":54799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:32:51] local.INFO: TCP Data received {"connection_id":54799,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:32:51] local.INFO: Processing buffer {"connection_id":54799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:32:51] local.INFO: Packet analysis {"connection_id":54799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:32:51] local.INFO: Extracted packet for processing {"connection_id":54799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:32:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:32:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:32:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:32:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":54799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:32:51] local.INFO: GPS data processed {"connection_id":54799,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:32:51] local.INFO: Acknowledgment sent {"connection_id":54799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:33:13] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:33:13] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:33:13] local.INFO: IMEI packet received {"connection_id":54606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":54606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:33:19] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:33:19] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:33:19] local.INFO: IMEI packet received {"connection_id":54606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":54606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:33:20] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:33:20] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:33:20] local.INFO: Packet analysis {"connection_id":54606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:33:20] local.INFO: Extracted packet for processing {"connection_id":54606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:33:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:33: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-04-26 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-04-26 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-04-26 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:33:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:33:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:33:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":54606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:33:20] local.INFO: GPS data processed {"connection_id":54606,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:33:20] local.INFO: Acknowledgment sent {"connection_id":54606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:33:51] local.INFO: TCP Data received {"connection_id":54606,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:33:51] local.INFO: Processing buffer {"connection_id":54606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:33:51] local.INFO: Packet analysis {"connection_id":54606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:33:51] local.INFO: Extracted packet for processing {"connection_id":54606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:33: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-04-26 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-04-26 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-04-26 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:33:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:33:51] local.INFO: GPS data processed {"connection_id":54606,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:33:51] local.INFO: Acknowledgment sent {"connection_id":54606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:34:05] local.INFO: TCP Data received {"connection_id":54866,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:34:05] local.INFO: Processing buffer {"connection_id":54866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:34:05] local.INFO: IMEI packet received {"connection_id":54866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":54866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:34:13] local.INFO: TCP Data received {"connection_id":55540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:34:13] local.INFO: Processing buffer {"connection_id":55540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:34:13] local.INFO: IMEI packet received {"connection_id":55540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":55540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:34:19] local.INFO: TCP Data received {"connection_id":55540,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:34:19] local.INFO: Processing buffer {"connection_id":55540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:34:19] local.INFO: IMEI packet received {"connection_id":55540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":55540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:34:20] local.INFO: TCP Data received {"connection_id":55540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:34:20] local.INFO: Processing buffer {"connection_id":55540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:34:20] local.INFO: Packet analysis {"connection_id":55540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:34:20] local.INFO: Extracted packet for processing {"connection_id":55540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 15:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:34: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-04-26 15: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-04-26 15:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:34:20] 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-04-26 15:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:34:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:34:20] local.INFO: GPS data processed {"connection_id":55540,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:34:20] local.INFO: Acknowledgment sent {"connection_id":55540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:34:39] local.INFO: TCP Data received {"connection_id":54607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:34:39] local.INFO: Processing buffer {"connection_id":54607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:34:39] local.INFO: IMEI packet received {"connection_id":54607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":54607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:34:51] local.INFO: TCP Data received {"connection_id":55540,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:34:51] local.INFO: Processing buffer {"connection_id":55540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:34:51] local.INFO: Packet analysis {"connection_id":55540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:34:51] local.INFO: Extracted packet for processing {"connection_id":55540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 15:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:34: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-04-26 15: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-04-26 15:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:34:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:34:51] local.INFO: GPS data processed {"connection_id":55540,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:34:51] local.INFO: Acknowledgment sent {"connection_id":55540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:35:13] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:35:13] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:35:13] local.INFO: IMEI packet received {"connection_id":54867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":54867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:35:19] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:35:19] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:35:19] local.INFO: IMEI packet received {"connection_id":54867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":54867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:35:20] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:35:20] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:35:20] local.INFO: Packet analysis {"connection_id":54867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:35:20] local.INFO: Extracted packet for processing {"connection_id":54867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15: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-04-26 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-04-26 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-04-26 15:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:35: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-04-26 15:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:35:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":54867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:35:20] local.INFO: GPS data processed {"connection_id":54867,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:35:20] local.INFO: Acknowledgment sent {"connection_id":54867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:35:51] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:35:51] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc93bcde8012cb299c007822ce0004b00122d..."} 
[2026-04-26 15:35:51] local.INFO: Packet analysis {"connection_id":54867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:35:51] local.INFO: Extracted packet for processing {"connection_id":54867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc93b"} 
[2026-04-26 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962516992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197633000,"timestamp_ms":1777197633000,"timestamp_seconds":1777197633,"priority":1,"record_length":96,"hex_timestamp":"0000019dc93bcde8"} 
[2026-04-26 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-04-26 15:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 15:35: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-04-26 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-04-26 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-04-26 15:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:35: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-04-26 15:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962516992001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962516992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:35:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962516992001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":54867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:35:51] local.INFO: GPS data processed {"connection_id":54867,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:35:51] local.INFO: Acknowledgment sent {"connection_id":54867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:36:19] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:36:19] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:36:19] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:36:24] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:36:24] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:36:24] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:36:25] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:36:25] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:36:25] local.INFO: Packet analysis {"connection_id":54801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:36:25] local.INFO: Extracted packet for processing {"connection_id":54801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:36:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:36:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:36:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:36:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":54801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:36:25] local.INFO: GPS data processed {"connection_id":54801,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:36:25] local.INFO: Acknowledgment sent {"connection_id":54801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:36:29] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:36:29] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:36:29] local.INFO: Packet analysis {"connection_id":54801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:36:29] local.INFO: Extracted packet for processing {"connection_id":54801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:36:29] 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-04-26 15:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:36:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":54801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:36:29] local.INFO: GPS data processed {"connection_id":54801,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:36:29] local.INFO: Acknowledgment sent {"connection_id":54801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:37:13] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:37:13] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:37:13] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:37:18] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:37:18] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:37:18] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:37:20] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:37:20] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:37:20] local.INFO: Packet analysis {"connection_id":54869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:37:20] local.INFO: Extracted packet for processing {"connection_id":54869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:37:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:37:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:37:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:37:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:37:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:37:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:37:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:37:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:37:20] 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-04-26 15: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-04-26 15:37:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:37:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:37:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:37:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:37:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:37:20] 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-04-26 15:37:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:37:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:37:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:37:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:37:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:37:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:37:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:37:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:37:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:37:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:37:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:37:20] local.INFO: DEBUG: GPS processor result {"connection_id":54869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:37:20] local.INFO: GPS data processed {"connection_id":54869,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:37:20] local.INFO: Acknowledgment sent {"connection_id":54869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:37:51] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:37:51] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:37:51] local.INFO: Packet analysis {"connection_id":54869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:37:51] local.INFO: Extracted packet for processing {"connection_id":54869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:37:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:37:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:37:51] 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-04-26 15: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-04-26 15:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:37:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:37:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:37:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":54869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:37:51] local.INFO: GPS data processed {"connection_id":54869,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:37:51] local.INFO: Acknowledgment sent {"connection_id":54869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:38:13] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:38:13] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:38:13] local.INFO: IMEI packet received {"connection_id":54802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":54802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:38:19] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:38:19] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:38:19] local.INFO: IMEI packet received {"connection_id":54802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":54802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:38:20] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:38:20] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:38:20] local.INFO: Packet analysis {"connection_id":54802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:38:20] local.INFO: Extracted packet for processing {"connection_id":54802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 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-04-26 15:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:38:20] 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-04-26 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-04-26 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-04-26 15:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:38: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-04-26 15:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:38:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":54802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:38:20] local.INFO: GPS data processed {"connection_id":54802,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:38:20] local.INFO: Acknowledgment sent {"connection_id":54802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:38:51] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:38:51] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:38:51] local.INFO: Packet analysis {"connection_id":54802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:38:51] local.INFO: Extracted packet for processing {"connection_id":54802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:38:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:38:51] 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-04-26 15: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-04-26 15:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:38: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-04-26 15:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:38:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":54802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:38:51] local.INFO: GPS data processed {"connection_id":54802,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:38:51] local.INFO: Acknowledgment sent {"connection_id":54802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:39:13] local.INFO: TCP Data received {"connection_id":55541,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:39:13] local.INFO: Processing buffer {"connection_id":55541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:39:13] local.INFO: IMEI packet received {"connection_id":55541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":55541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:39:19] local.INFO: TCP Data received {"connection_id":55541,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:39:19] local.INFO: Processing buffer {"connection_id":55541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:39:19] local.INFO: IMEI packet received {"connection_id":55541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":55541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:39:20] local.INFO: TCP Data received {"connection_id":55541,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:39:20] local.INFO: Processing buffer {"connection_id":55541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:39:20] local.INFO: Packet analysis {"connection_id":55541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:39:20] local.INFO: Extracted packet for processing {"connection_id":55541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:39:20] 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-04-26 15: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-04-26 15:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:39:20] 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-04-26 15:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:39:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":55541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:39:20] local.INFO: GPS data processed {"connection_id":55541,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:39:20] local.INFO: Acknowledgment sent {"connection_id":55541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:39:51] local.INFO: TCP Data received {"connection_id":55541,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:39:51] local.INFO: Processing buffer {"connection_id":55541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:39:51] local.INFO: Packet analysis {"connection_id":55541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:39:51] local.INFO: Extracted packet for processing {"connection_id":55541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:39:51] 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-04-26 15: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-04-26 15:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:39:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":55541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:39:51] local.INFO: GPS data processed {"connection_id":55541,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:39:51] local.INFO: Acknowledgment sent {"connection_id":55541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:40:19] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:40:19] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:40:19] local.INFO: IMEI packet received {"connection_id":54803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":54803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:40:20] local.INFO: TCP Data received {"connection_id":54610,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:40:20] local.INFO: Processing buffer {"connection_id":54610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:40:20] local.INFO: IMEI packet received {"connection_id":54610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":54610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:40:24] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:40:24] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:40:24] local.INFO: IMEI packet received {"connection_id":54803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":54803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:40:25] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:40:25] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:40:25] local.INFO: Packet analysis {"connection_id":54803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:40:25] local.INFO: Extracted packet for processing {"connection_id":54803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:40:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:40:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:40:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:40:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:40:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:40:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:40:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":54803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:40:25] local.INFO: GPS data processed {"connection_id":54803,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:40:25] local.INFO: Acknowledgment sent {"connection_id":54803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:40:29] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:40:29] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94065b0012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:40:29] local.INFO: Packet analysis {"connection_id":54803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:40:29] local.INFO: Extracted packet for processing {"connection_id":54803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc940"} 
[2026-04-26 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962594048001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777197934000,"timestamp_ms":1777197934000,"timestamp_seconds":1777197934,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94065b0"} 
[2026-04-26 15:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 15:40:29] 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-04-26 15:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:40:29] 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-04-26 15:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962594048001,"66":25191,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962594048001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:40:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962594048001,"power":25191,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":54803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:40:29] local.INFO: GPS data processed {"connection_id":54803,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:40:29] local.INFO: Acknowledgment sent {"connection_id":54803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:40:40] local.INFO: TCP Data received {"connection_id":54611,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:40:40] local.INFO: Processing buffer {"connection_id":54611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:40:40] local.INFO: IMEI packet received {"connection_id":54611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":54611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:41:12] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:12] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:12] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:41:13] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:13] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:13] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:41:19] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:19] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:41:19] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:41:20] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:41:20] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:41:20] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:41:20] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:41:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:41:20] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:41:20] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:41:51] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:41:51] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:41:51] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:41:51] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:41:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:41:51] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:41:51] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:42:13] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:42:13] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:42:13] local.INFO: IMEI packet received {"connection_id":54613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":54613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:42:19] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:42:19] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:42:19] local.INFO: IMEI packet received {"connection_id":54613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:42:20] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:42:20] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:42:20] local.INFO: Packet analysis {"connection_id":54613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:42:20] local.INFO: Extracted packet for processing {"connection_id":54613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:42:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:42: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-04-26 15:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:42:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:42:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:42:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":54613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:42:20] local.INFO: GPS data processed {"connection_id":54613,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:42:20] local.INFO: Acknowledgment sent {"connection_id":54613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:42:51] local.INFO: TCP Data received {"connection_id":54613,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:42:51] local.INFO: Processing buffer {"connection_id":54613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:42:51] local.INFO: Packet analysis {"connection_id":54613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:42:51] local.INFO: Extracted packet for processing {"connection_id":54613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:42:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:42: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-04-26 15:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:42:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:42:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:42:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":54613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:42:51] local.INFO: GPS data processed {"connection_id":54613,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:42:51] local.INFO: Acknowledgment sent {"connection_id":54613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:43:13] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:43:13] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:43:13] local.INFO: IMEI packet received {"connection_id":54871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":54871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:43:19] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:43:19] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:43:19] local.INFO: IMEI packet received {"connection_id":54871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":54871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:43:20] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:43:20] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:43:20] local.INFO: Packet analysis {"connection_id":54871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:43:20] local.INFO: Extracted packet for processing {"connection_id":54871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:43:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:43:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:43:20] 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-04-26 15:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:43:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:43:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:43:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":54871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:43:20] local.INFO: GPS data processed {"connection_id":54871,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:43:20] local.INFO: Acknowledgment sent {"connection_id":54871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:43:51] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:43:51] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:43:51] local.INFO: Packet analysis {"connection_id":54871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:43:51] local.INFO: Extracted packet for processing {"connection_id":54871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:43:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:43:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":54871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:43:51] local.INFO: GPS data processed {"connection_id":54871,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:43:51] local.INFO: Acknowledgment sent {"connection_id":54871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:44:13] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:44:13] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:44:13] local.INFO: IMEI packet received {"connection_id":54806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":54806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:44:19] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:44:19] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:44:19] local.INFO: IMEI packet received {"connection_id":54806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:44:20] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:44:20] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:44:20] local.INFO: Packet analysis {"connection_id":54806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:44:20] local.INFO: Extracted packet for processing {"connection_id":54806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:44:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:44:20] local.INFO: GPS data processed {"connection_id":54806,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:44:20] local.INFO: Acknowledgment sent {"connection_id":54806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:44:51] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:44:51] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:44:51] local.INFO: Packet analysis {"connection_id":54806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:44:51] local.INFO: Extracted packet for processing {"connection_id":54806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:44:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:44:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 15:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:44:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:44:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:44:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":54806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:44:51] local.INFO: GPS data processed {"connection_id":54806,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:44:51] local.INFO: Acknowledgment sent {"connection_id":54806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:45:19] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:45:19] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:45:19] local.INFO: IMEI packet received {"connection_id":54615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":54615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:45:24] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:45:24] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:45:24] local.INFO: IMEI packet received {"connection_id":54615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":54615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:45:25] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:45:25] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:45:25] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:45:25] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:45:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:45:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:45:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:45: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-04-26 15:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:45:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:45:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:45:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:45:25] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:45:25] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:45:29] local.INFO: TCP Data received {"connection_id":54615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:45:29] local.INFO: Processing buffer {"connection_id":54615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc944fd78012cb299c007822ce0004f00122b..."} 
[2026-04-26 15:45:29] local.INFO: Packet analysis {"connection_id":54615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:45:29] local.INFO: Extracted packet for processing {"connection_id":54615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc944"} 
[2026-04-26 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962671104001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777198235000,"timestamp_ms":1777198235000,"timestamp_seconds":1777198235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc944fd78"} 
[2026-04-26 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-04-26 15:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 15:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:45: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-04-26 15:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962671104001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962671104001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:45:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962671104001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":54615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:45:29] local.INFO: GPS data processed {"connection_id":54615,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:45:29] local.INFO: Acknowledgment sent {"connection_id":54615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:46:05] local.INFO: TCP Data received {"connection_id":54872,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:46:05] local.INFO: Processing buffer {"connection_id":54872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:46:05] local.INFO: IMEI packet received {"connection_id":54872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":54872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:46:14] local.INFO: TCP Data received {"connection_id":55543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:14] local.INFO: Processing buffer {"connection_id":55543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:14] local.INFO: IMEI packet received {"connection_id":55543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":55543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:46:14] local.INFO: TCP Data received {"connection_id":55543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:14] local.INFO: Processing buffer {"connection_id":55543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:14] local.INFO: IMEI packet received {"connection_id":55543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":55543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:46:19] local.INFO: TCP Data received {"connection_id":55543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:19] local.INFO: Processing buffer {"connection_id":55543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:46:19] local.INFO: IMEI packet received {"connection_id":55543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":55543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:46:20] local.INFO: TCP Data received {"connection_id":55543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:46:20] local.INFO: Processing buffer {"connection_id":55543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:46:20] local.INFO: Packet analysis {"connection_id":55543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:46:20] local.INFO: Extracted packet for processing {"connection_id":55543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:46:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:46:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:46: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-04-26 15: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-04-26 15:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:46:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:46:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:46:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":55543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:46:20] local.INFO: GPS data processed {"connection_id":55543,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:46:20] local.INFO: Acknowledgment sent {"connection_id":55543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:46:40] local.INFO: TCP Data received {"connection_id":54616,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54616,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:46:40] local.INFO: Processing buffer {"connection_id":54616,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:46:40] local.INFO: IMEI packet received {"connection_id":54616,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":54616,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:46:51] local.INFO: TCP Data received {"connection_id":55543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:46:51] local.INFO: Processing buffer {"connection_id":55543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:46:51] local.INFO: Packet analysis {"connection_id":55543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:46:51] local.INFO: Extracted packet for processing {"connection_id":55543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 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-04-26 15:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:46: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-04-26 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-04-26 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-04-26 15:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:46:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":55543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:46:51] local.INFO: GPS data processed {"connection_id":55543,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:46:51] local.INFO: Acknowledgment sent {"connection_id":55543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:47:13] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:47:13] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:47:13] local.INFO: IMEI packet received {"connection_id":54873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":54873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:47:19] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:47:19] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:47:19] local.INFO: IMEI packet received {"connection_id":54873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":54873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:47:20] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:47:20] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:47:20] local.INFO: Packet analysis {"connection_id":54873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:47:20] local.INFO: Extracted packet for processing {"connection_id":54873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:47:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:47: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-04-26 15: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-04-26 15:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:47: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-04-26 15:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:47:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:47:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:47:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":54873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:47:20] local.INFO: GPS data processed {"connection_id":54873,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:47:20] local.INFO: Acknowledgment sent {"connection_id":54873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:47:49] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:49] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:49] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:47:50] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:50] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:50] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:47:51] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:47:51] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:47:51] local.INFO: Packet analysis {"connection_id":54873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:47:51] local.INFO: Extracted packet for processing {"connection_id":54873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:47:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:47: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-04-26 15: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-04-26 15:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:47:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:47:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:47:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":54873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:47:51] local.INFO: GPS data processed {"connection_id":54873,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:47:51] local.INFO: Acknowledgment sent {"connection_id":54873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:47:52] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:52] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:47:52] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:47:53] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 15:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 15:47:53] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 15:47:53] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 15:47:53] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 15:47:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:47:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:47:53] 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-04-26 15:47:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 15:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 15:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 15:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 15:47:53] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 15:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 15:47:53] local.ERROR: GPS data processing failed {"connection_id":54808,"error":"No valid data to process"} 
[2026-04-26 15:47:53] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 15:48:04] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 15:48:04] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 15:48:04] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 15:48:04] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:48:04] 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-04-26 15:48:04] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 15:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 15:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 15:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 15:48:04] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 15:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 15:48:04] local.ERROR: GPS data processing failed {"connection_id":54808,"error":"No valid data to process"} 
[2026-04-26 15:48:04] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 15:48:13] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:48:13] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:48:13] local.INFO: IMEI packet received {"connection_id":54874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":54874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:48:19] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:48:19] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:48:19] local.INFO: IMEI packet received {"connection_id":54874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":54874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:48:20] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:48:20] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:48:20] local.INFO: Packet analysis {"connection_id":54874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:48:20] local.INFO: Extracted packet for processing {"connection_id":54874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:48: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-04-26 15: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-04-26 15:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:48: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-04-26 15:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:48:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:48:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:48:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":54874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:48:20] local.INFO: GPS data processed {"connection_id":54874,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:48:20] local.INFO: Acknowledgment sent {"connection_id":54874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:48:36] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-26 15:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-26 15:48:36] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-26 15:48:36] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 15:48:36] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 15:48:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:48:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 15:48:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 15:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 15:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 15:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 15:48:36] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 15:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 15:48:36] local.ERROR: GPS data processing failed {"connection_id":54808,"error":"No valid data to process"} 
[2026-04-26 15:48:36] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 15:48:51] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:48:51] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:48:51] local.INFO: Packet analysis {"connection_id":54874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:48:51] local.INFO: Extracted packet for processing {"connection_id":54874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:48: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-04-26 15: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-04-26 15:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:48:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":54874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:48:51] local.INFO: GPS data processed {"connection_id":54874,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:48:51] local.INFO: Acknowledgment sent {"connection_id":54874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:49:07] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94c3cf00100000000000000000000000000..."} 
[2026-04-26 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94c3cf00100000000000000000000000000..."} 
[2026-04-26 15:49:07] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94c3cf00100000000000000000000000000..."} 
[2026-04-26 15:49:07] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94c"} 
[2026-04-26 15:49:07] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94c"} 
[2026-04-26 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777198710000,"timestamp_ms":1777198710000,"timestamp_seconds":1777198710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94c3cf0"} 
[2026-04-26 15:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-26 15:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:49:07] 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-04-26 15:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 15:49:07] local.INFO: GPS data processed {"connection_id":54808,"processed":0,"errors":0,"total":1} 
[2026-04-26 15:49:07] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:49:13] local.INFO: TCP Data received {"connection_id":54617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:49:13] local.INFO: Processing buffer {"connection_id":54617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:49:13] local.INFO: IMEI packet received {"connection_id":54617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":54617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:49:19] local.INFO: TCP Data received {"connection_id":54617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:49:19] local.INFO: Processing buffer {"connection_id":54617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:49:19] local.INFO: IMEI packet received {"connection_id":54617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:49:20] local.INFO: TCP Data received {"connection_id":54617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:49:20] local.INFO: Processing buffer {"connection_id":54617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:49:20] local.INFO: Packet analysis {"connection_id":54617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:49:20] local.INFO: Extracted packet for processing {"connection_id":54617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:49:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:49: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-04-26 15: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-04-26 15:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:49: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-04-26 15:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:49:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:49:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:49:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:49:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":54617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:49:20] local.INFO: GPS data processed {"connection_id":54617,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:49:20] local.INFO: Acknowledgment sent {"connection_id":54617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:49:38] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94c8ef80100000000000000000000000000..."} 
[2026-04-26 15:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94c8ef80100000000000000000000000000..."} 
[2026-04-26 15:49:38] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94c8ef80100000000000000000000000000..."} 
[2026-04-26 15:49:38] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94c"} 
[2026-04-26 15:49:38] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94c"} 
[2026-04-26 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777198731000,"timestamp_ms":1777198731000,"timestamp_seconds":1777198731,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94c8ef8"} 
[2026-04-26 15:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 15:49:38] 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-04-26 15:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:49:38] 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-04-26 15:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 15:49:38] local.INFO: GPS data processed {"connection_id":54808,"processed":0,"errors":0,"total":1} 
[2026-04-26 15:49:38] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:49:51] local.INFO: TCP Data received {"connection_id":54617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:49:51] local.INFO: Processing buffer {"connection_id":54617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:49:51] local.INFO: Packet analysis {"connection_id":54617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:49:51] local.INFO: Extracted packet for processing {"connection_id":54617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:49: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-04-26 15: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-04-26 15:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:49:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:49:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:49:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":54617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:49:51] local.INFO: GPS data processed {"connection_id":54617,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:49:51] local.INFO: Acknowledgment sent {"connection_id":54617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:50:09] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94ce1000100000000000000000000000000..."} 
[2026-04-26 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94ce1000100000000000000000000000000..."} 
[2026-04-26 15:50:09] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94ce1000100000000000000000000000000..."} 
[2026-04-26 15:50:09] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94c"} 
[2026-04-26 15:50:09] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94c"} 
[2026-04-26 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777198752000,"timestamp_ms":1777198752000,"timestamp_seconds":1777198752,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94ce100"} 
[2026-04-26 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942178835,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":84751934669922284,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902510848,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3804758016,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.WARNING: Large IO value detected {"io_id":192,"raw_value":18297029553815552,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:09] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,106,83,24,241,157,16,226,60,10,66,13,187,1,240,163,227,4,113,205,31,239,2,48,151,206,192],"length":529,"final_offset":659,"validated_count":27,"validation_warnings":[]} 
[2026-04-26 15:50:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:50:09] 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-04-26 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 15:50:09] local.INFO: GPS data processed {"connection_id":54808,"processed":0,"errors":0,"total":1} 
[2026-04-26 15:50:09] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:50:19] local.INFO: TCP Data received {"connection_id":55545,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:50:19] local.INFO: Processing buffer {"connection_id":55545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:50:19] local.INFO: IMEI packet received {"connection_id":55545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":55545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:50:24] local.INFO: TCP Data received {"connection_id":55545,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:50:24] local.INFO: Processing buffer {"connection_id":55545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:50:24] local.INFO: IMEI packet received {"connection_id":55545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":55545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:50:25] local.INFO: TCP Data received {"connection_id":55545,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:50:25] local.INFO: Processing buffer {"connection_id":55545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:50:25] local.INFO: Packet analysis {"connection_id":55545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:50:25] local.INFO: Extracted packet for processing {"connection_id":55545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:50:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:50: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-04-26 15:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:50:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:50:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:50:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":55545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:50:25] local.INFO: GPS data processed {"connection_id":55545,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:50:25] local.INFO: Acknowledgment sent {"connection_id":55545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:50:29] local.INFO: TCP Data received {"connection_id":55545,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:50:29] local.INFO: Processing buffer {"connection_id":55545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9499540012cb299c007822ce0004b00122c..."} 
[2026-04-26 15:50:29] local.INFO: Packet analysis {"connection_id":55545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:50:29] local.INFO: Extracted packet for processing {"connection_id":55545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc949"} 
[2026-04-26 15:50:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962748160001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777198536000,"timestamp_ms":1777198536000,"timestamp_seconds":1777198536,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9499540"} 
[2026-04-26 15:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 15:50: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-04-26 15: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-04-26 15:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:50: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-04-26 15:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962748160001,"66":25104,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962748160001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:50:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962748160001,"power":25104,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":55545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:50:29] local.INFO: GPS data processed {"connection_id":55545,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:50:29] local.INFO: Acknowledgment sent {"connection_id":55545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:50:40] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94d33080100000000000000000000000000..."} 
[2026-04-26 15:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94d33080100000000000000000000000000..."} 
[2026-04-26 15:50:40] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94d33080100000000000000000000000000..."} 
[2026-04-26 15:50:40] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94d"} 
[2026-04-26 15:50:40] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94d"} 
[2026-04-26 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:50:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777198773000,"timestamp_ms":1777198773000,"timestamp_seconds":1777198773,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94d3308"} 
[2026-04-26 15:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-26 15:50:40] 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-04-26 15: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-04-26 15:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:50:40] 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-04-26 15:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 15:50:40] local.INFO: GPS data processed {"connection_id":54808,"processed":0,"errors":0,"total":1} 
[2026-04-26 15:50:40] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:51:12] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94d85100100000000000000000000000000..."} 
[2026-04-26 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94d85100100000000000000000000000000..."} 
[2026-04-26 15:51:12] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94d85100100000000000000000000000000..."} 
[2026-04-26 15:51:12] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94d"} 
[2026-04-26 15:51:12] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94d"} 
[2026-04-26 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777198794000,"timestamp_ms":1777198794000,"timestamp_seconds":1777198794,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94d8510"} 
[2026-04-26 15:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 15:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:51:12] 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-04-26 15:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 15:51:12] local.INFO: GPS data processed {"connection_id":54808,"processed":0,"errors":0,"total":1} 
[2026-04-26 15:51:12] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:51:13] local.INFO: TCP Data received {"connection_id":54619,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:13] local.INFO: Processing buffer {"connection_id":54619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:13] local.INFO: IMEI packet received {"connection_id":54619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":54619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:51:14] local.INFO: TCP Data received {"connection_id":54619,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:14] local.INFO: Processing buffer {"connection_id":54619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:14] local.INFO: IMEI packet received {"connection_id":54619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":54619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:51:19] local.INFO: TCP Data received {"connection_id":54619,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:19] local.INFO: Processing buffer {"connection_id":54619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:51:19] local.INFO: IMEI packet received {"connection_id":54619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":54619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:51:20] local.INFO: TCP Data received {"connection_id":54619,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:51:20] local.INFO: Processing buffer {"connection_id":54619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:51:20] local.INFO: Packet analysis {"connection_id":54619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:51:20] local.INFO: Extracted packet for processing {"connection_id":54619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:51: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-04-26 15:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:51:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":54619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:51:20] local.INFO: GPS data processed {"connection_id":54619,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:51:20] local.INFO: Acknowledgment sent {"connection_id":54619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:51:43] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94dd7180100000000000000000000000000..."} 
[2026-04-26 15:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94dd7180100000000000000000000000000..."} 
[2026-04-26 15:51:43] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94dd7180100000000000000000000000000..."} 
[2026-04-26 15:51:43] local.INFO: Packet analysis {"connection_id":54808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94d"} 
[2026-04-26 15:51:43] local.INFO: Extracted packet for processing {"connection_id":54808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94d"} 
[2026-04-26 15:51:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 15:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 15:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777198815000,"timestamp_ms":1777198815000,"timestamp_seconds":1777198815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94dd718"} 
[2026-04-26 15:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 15:51:43] 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-04-26 15:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:51:43] 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-04-26 15:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":54808,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 15:51:43] local.INFO: GPS data processed {"connection_id":54808,"processed":0,"errors":0,"total":1} 
[2026-04-26 15:51:43] local.INFO: Acknowledgment sent {"connection_id":54808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:51:51] local.INFO: TCP Data received {"connection_id":54619,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:51:51] local.INFO: Processing buffer {"connection_id":54619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:51:51] local.INFO: Packet analysis {"connection_id":54619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:51:51] local.INFO: Extracted packet for processing {"connection_id":54619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:51: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-04-26 15:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:51:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":54619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:51:51] local.INFO: GPS data processed {"connection_id":54619,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:51:51] local.INFO: Acknowledgment sent {"connection_id":54619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:52:05] local.INFO: TCP Data received {"connection_id":54620,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:52:05] local.INFO: Processing buffer {"connection_id":54620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:52:05] local.INFO: IMEI packet received {"connection_id":54620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":54620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:52:13] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:52:13] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:52:13] local.INFO: IMEI packet received {"connection_id":54809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":54809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:52:19] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:52:19] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:52:19] local.INFO: IMEI packet received {"connection_id":54809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:52:20] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:52:20] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:52:20] local.INFO: Packet analysis {"connection_id":54809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:52:20] local.INFO: Extracted packet for processing {"connection_id":54809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:52: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-04-26 15:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:52:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":54809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:52:20] local.INFO: GPS data processed {"connection_id":54809,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:52:20] local.INFO: Acknowledgment sent {"connection_id":54809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:52:27] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:27] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:27] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:52:28] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:28] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:28] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:52:31] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:31] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:31] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:52:32] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:32] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:52:32] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:52:33] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94f80e0012d18d24007212a100038015009..."} 
[2026-04-26 15:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94f80e0012d18d24007212a100038015009..."} 
[2026-04-26 15:52:33] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94f80e0012d18d24007212a100038015009..."} 
[2026-04-26 15:52:33] local.INFO: Packet analysis {"connection_id":54875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94f"} 
[2026-04-26 15:52:33] local.INFO: Extracted packet for processing {"connection_id":54875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94f"} 
[2026-04-26 15:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119613968,"longitude_deg":75.6601408,"latitude_deg":11.9613968,"altitude":56,"angle":336,"satellites":9,"speed":25,"hex_longitude":"2d18d240","hex_latitude":"07212a10","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962924288001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114810639100149760,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105567744,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777198924000,"timestamp_ms":1777198924000,"timestamp_seconds":1777198924,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94f80e0"} 
[2026-04-26 15:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:52:33] 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-04-26 15:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 15:52:33] 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-04-26 15: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-04-26 15:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962924288001,"66":14374,"106":206,"83":41984,"24":25,"16":114810639100149760,"45":1788914245105567744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962924288001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:52:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114810639100149760,"km_value":114810639100149.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105567744,"description":"Unknown IO ID 45"} 
[2026-04-26 15:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962924288001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1788914245105567744}} 
[2026-04-26 15:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":54875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:52:33] local.INFO: GPS data processed {"connection_id":54875,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:52:33] local.INFO: Acknowledgment sent {"connection_id":54875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:52:39] local.INFO: TCP Data received {"connection_id":55547,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:52:39] local.INFO: Processing buffer {"connection_id":55547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:52:39] local.INFO: IMEI packet received {"connection_id":55547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":55547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:52:51] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:52:51] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:52:51] local.INFO: Packet analysis {"connection_id":54809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:52:51] local.INFO: Extracted packet for processing {"connection_id":54809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:52:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:52:51] local.INFO: GPS data processed {"connection_id":54809,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:52:51] local.INFO: Acknowledgment sent {"connection_id":54809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:53:05] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94f8c98012d18cc8007213248003701450a..."} 
[2026-04-26 15:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94f8c98012d18cc8007213248003701450a..."} 
[2026-04-26 15:53:05] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94f8c98012d18cc8007213248003701450a..."} 
[2026-04-26 15:53:05] local.INFO: Packet analysis {"connection_id":54875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94f"} 
[2026-04-26 15:53:05] local.INFO: Extracted packet for processing {"connection_id":54875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94f"} 
[2026-04-26 15:53:05] local.INFO: GPS Element Parsed {"raw_longitude":756599936,"raw_latitude":119616072,"longitude_deg":75.6599936,"latitude_deg":11.9616072,"altitude":55,"angle":325,"satellites":10,"speed":33,"hex_longitude":"2d18cc80","hex_latitude":"07213248","is_valid_coordinates":true} 
[2026-04-26 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962924544001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114810759359234048,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384861696,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777198927000,"timestamp_ms":1777198927000,"timestamp_seconds":1777198927,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94f8c98"} 
[2026-04-26 15:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:53:05] 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-04-26 15:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 15:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:53:05] 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-04-26 15:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962924544001,"66":14374,"106":206,"83":41984,"24":33,"16":114810759359234048,"45":1788562401384861696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 15:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962924544001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 15:53:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114810759359234048,"km_value":114810759359234.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384861696,"description":"Unknown IO ID 45"} 
[2026-04-26 15:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962924544001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788562401384861696}} 
[2026-04-26 15:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":54875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:53:05] local.INFO: GPS data processed {"connection_id":54875,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:53:05] local.INFO: Acknowledgment sent {"connection_id":54875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:53:13] local.INFO: TCP Data received {"connection_id":55548,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:53:13] local.INFO: Processing buffer {"connection_id":55548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:53:13] local.INFO: IMEI packet received {"connection_id":55548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":55548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:53:19] local.INFO: TCP Data received {"connection_id":55548,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:53:19] local.INFO: Processing buffer {"connection_id":55548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:53:19] local.INFO: IMEI packet received {"connection_id":55548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":55548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:53:20] local.INFO: TCP Data received {"connection_id":55548,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:53:20] local.INFO: Processing buffer {"connection_id":55548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:53:20] local.INFO: Packet analysis {"connection_id":55548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:53:20] local.INFO: Extracted packet for processing {"connection_id":55548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 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-04-26 15:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:53: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-04-26 15:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:53:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":55548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:53:20] local.INFO: GPS data processed {"connection_id":55548,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:53:20] local.INFO: Acknowledgment sent {"connection_id":55548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:53:36] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc950a9c0012d181c400721a9600043014a0b..."} 
[2026-04-26 15:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc950a9c0012d181c400721a9600043014a0b..."} 
[2026-04-26 15:53:36] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc950a9c0012d181c400721a9600043014a0b..."} 
[2026-04-26 15:53:36] local.INFO: Packet analysis {"connection_id":54875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc950"} 
[2026-04-26 15:53:36] local.INFO: Extracted packet for processing {"connection_id":54875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc950"} 
[2026-04-26 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646560,"longitude_deg":75.6554816,"latitude_deg":11.964656,"altitude":67,"angle":330,"satellites":11,"speed":8,"hex_longitude":"2d181c40","hex_latitude":"0721a960","is_valid_coordinates":true} 
[2026-04-26 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962941696001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813594037649408,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003530752,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777199000000,"timestamp_ms":1777199000000,"timestamp_seconds":1777199000,"priority":1,"record_length":96,"hex_timestamp":"0000019dc950a9c0"} 
[2026-04-26 15:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-26 15:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:53:36] 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-04-26 15:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962941696001,"66":14515,"105":206,"83":41984,"24":8,"16":114813594037649408,"45":1738882068003530752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962941696001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813594037649408,"km_value":114813594037649.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003530752,"description":"Unknown IO ID 45"} 
[2026-04-26 15:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962941696001,"power":14515,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738882068003530752}} 
[2026-04-26 15:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":54875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:53:36] local.INFO: GPS data processed {"connection_id":54875,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:53:36] local.INFO: Acknowledgment sent {"connection_id":54875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:53:51] local.INFO: TCP Data received {"connection_id":55548,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:53:51] local.INFO: Processing buffer {"connection_id":55548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:53:51] local.INFO: Packet analysis {"connection_id":55548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:53:51] local.INFO: Extracted packet for processing {"connection_id":55548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 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-04-26 15:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:53: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-04-26 15:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:53:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":55548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:53:51] local.INFO: GPS data processed {"connection_id":55548,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:53:51] local.INFO: Acknowledgment sent {"connection_id":55548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:54:07] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc950ada8012d181c400721a9f0004301590b..."} 
[2026-04-26 15:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc950ada8012d181c400721a9f0004301590b..."} 
[2026-04-26 15:54:07] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc950ada8012d181c400721a9f0004301590b..."} 
[2026-04-26 15:54:07] local.INFO: Packet analysis {"connection_id":54875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc950"} 
[2026-04-26 15:54:07] local.INFO: Extracted packet for processing {"connection_id":54875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc950"} 
[2026-04-26 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646704,"longitude_deg":75.6554816,"latitude_deg":11.9646704,"altitude":67,"angle":345,"satellites":11,"speed":7,"hex_longitude":"2d181c40","hex_latitude":"0721a9f0","is_valid_coordinates":true} 
[2026-04-26 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962944000001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813598332616704,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631865856,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777199001000,"timestamp_ms":1777199001000,"timestamp_seconds":1777199001,"priority":1,"record_length":96,"hex_timestamp":"0000019dc950ada8"} 
[2026-04-26 15:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 15:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:54:07] 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-04-26 15:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962944000001,"66":14483,"105":206,"83":41984,"24":7,"16":114813598332616704,"45":1737333955631865856},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962944000001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813598332616704,"km_value":114813598332616.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631865856,"description":"Unknown IO ID 45"} 
[2026-04-26 15:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962944000001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737333955631865856}} 
[2026-04-26 15:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":54875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:54:07] local.INFO: GPS data processed {"connection_id":54875,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:54:07] local.INFO: Acknowledgment sent {"connection_id":54875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:54:19] local.INFO: TCP Data received {"connection_id":54621,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:54:19] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:54:19] local.INFO: IMEI packet received {"connection_id":54621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":54621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:54:24] local.INFO: TCP Data received {"connection_id":54621,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:54:24] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:54:24] local.INFO: IMEI packet received {"connection_id":54621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":54621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:54:25] local.INFO: TCP Data received {"connection_id":54621,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:54:25] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:54:25] local.INFO: Packet analysis {"connection_id":54621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:54:25] local.INFO: Extracted packet for processing {"connection_id":54621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:54: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-04-26 15:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:54:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:54:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:54:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":54621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:54:25] local.INFO: GPS data processed {"connection_id":54621,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:54:25] local.INFO: Acknowledgment sent {"connection_id":54621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:54:27] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:54:27] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:54:27] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:54:29] local.INFO: TCP Data received {"connection_id":54621,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:54:29] local.INFO: Processing buffer {"connection_id":54621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:54:29] local.INFO: Packet analysis {"connection_id":54621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:54:29] local.INFO: Extracted packet for processing {"connection_id":54621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:54:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:54: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-04-26 15:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:54:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":54621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:54:29] local.INFO: GPS data processed {"connection_id":54621,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:54:29] local.INFO: Acknowledgment sent {"connection_id":54621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:54:33] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:54:33] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:54:33] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:54:33] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc950b190012d181c400721aa98004300060a..."} 
[2026-04-26 15:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc950b190012d181c400721aa98004300060a..."} 
[2026-04-26 15:54:33] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc950b190012d181c400721aa98004300060a..."} 
[2026-04-26 15:54:33] local.INFO: Packet analysis {"connection_id":54877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc950"} 
[2026-04-26 15:54:33] local.INFO: Extracted packet for processing {"connection_id":54877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc950"} 
[2026-04-26 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646872,"longitude_deg":75.6554816,"latitude_deg":11.9646872,"altitude":67,"angle":6,"satellites":10,"speed":7,"hex_longitude":"2d181c40","hex_latitude":"0721aa98","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962944256001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813606922551296,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631902720,"note":"Value kept but may cause issues"} 
[2026-04-26 15:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199002000,"timestamp_ms":1777199002000,"timestamp_seconds":1777199002,"priority":1,"record_length":96,"hex_timestamp":"0000019dc950b190"} 
[2026-04-26 15:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 15:54:33] 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-04-26 15: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-04-26 15:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962944256001,"66":14483,"105":206,"83":41984,"24":7,"16":114813606922551296,"45":1737333955631902720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962944256001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:54:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813606922551296,"km_value":114813606922551.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631902720,"description":"Unknown IO ID 45"} 
[2026-04-26 15:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962944256001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1737333955631902720}} 
[2026-04-26 15:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":54877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:54:33] local.INFO: GPS data processed {"connection_id":54877,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:54:33] local.INFO: Acknowledgment sent {"connection_id":54877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:55:05] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc951f9b0012d1825c00721bbc0004900f50f..."} 
[2026-04-26 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc951f9b0012d1825c00721bbc0004900f50f..."} 
[2026-04-26 15:55:05] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc951f9b0012d1825c00721bbc0004900f50f..."} 
[2026-04-26 15:55:05] local.INFO: Packet analysis {"connection_id":54877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc951"} 
[2026-04-26 15:55:05] local.INFO: Extracted packet for processing {"connection_id":54877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc951"} 
[2026-04-26 15:55:05] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119651264,"longitude_deg":75.6557248,"latitude_deg":11.9651264,"altitude":73,"angle":245,"satellites":15,"speed":2,"hex_longitude":"2d1825c0","hex_latitude":"0721bbc0","is_valid_coordinates":true} 
[2026-04-26 15:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962964992001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813937635033088,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336656021504,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777199086000,"timestamp_ms":1777199086000,"timestamp_seconds":1777199086,"priority":1,"record_length":96,"hex_timestamp":"0000019dc951f9b0"} 
[2026-04-26 15:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 15:55:05] 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-04-26 15:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:55:05] 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-04-26 15:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962964992001,"66":14494,"105":206,"83":41984,"24":2,"16":114813937635033088,"45":1740078336656021504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962964992001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:55:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:55:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813937635033088,"km_value":114813937635033.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336656021504,"description":"Unknown IO ID 45"} 
[2026-04-26 15:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962964992001,"power":14494,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1740078336656021504}} 
[2026-04-26 15:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":54877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:55:05] local.INFO: GPS data processed {"connection_id":54877,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:55:05] local.INFO: Acknowledgment sent {"connection_id":54877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:55:14] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:55:14] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:55:14] local.INFO: IMEI packet received {"connection_id":54810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":54810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:55:19] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:55:19] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:55:19] local.INFO: IMEI packet received {"connection_id":54810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":54810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:55:20] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:55:20] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:55:20] local.INFO: Packet analysis {"connection_id":54810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:55:20] local.INFO: Extracted packet for processing {"connection_id":54810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:55: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-04-26 15:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:55:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":54810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:55:20] local.INFO: GPS data processed {"connection_id":54810,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:55:20] local.INFO: Acknowledgment sent {"connection_id":54810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:55:33] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:55:33] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:55:33] local.INFO: IMEI packet received {"connection_id":54623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":54623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:55:38] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:55:38] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:55:38] local.INFO: IMEI packet received {"connection_id":54623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":54623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:55:38] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9520568012d1824c00721bb08004900d90f..."} 
[2026-04-26 15:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9520568012d1824c00721bb08004900d90f..."} 
[2026-04-26 15:55:38] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9520568012d1824c00721bb08004900d90f..."} 
[2026-04-26 15:55:38] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:55:38] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119651080,"longitude_deg":75.6556992,"latitude_deg":11.965108,"altitude":73,"angle":217,"satellites":15,"speed":3,"hex_longitude":"2d1824c0","hex_latitude":"0721bb08","is_valid_coordinates":true} 
[2026-04-26 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962966016001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813950519934976,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911821312,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777199089000,"timestamp_ms":1777199089000,"timestamp_seconds":1777199089,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9520568"} 
[2026-04-26 15:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 15:55:38] 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-04-26 15:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:55:38] 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-04-26 15:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962966016001,"66":13993,"105":206,"83":41984,"24":3,"16":114813950519934976,"45":1740007967911821312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962966016001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:55:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813950519934976,"km_value":114813950519934.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911821312,"description":"Unknown IO ID 45"} 
[2026-04-26 15:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962966016001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1740007967911821312}} 
[2026-04-26 15:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:55:38] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:55:38] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:55:40] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95220c0012d1824400721ba980049012a0f..."} 
[2026-04-26 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95220c0012d1824400721ba980049012a0f..."} 
[2026-04-26 15:55:40] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95220c0012d1824400721ba980049012a0f..."} 
[2026-04-26 15:55:40] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:55:40] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650968,"longitude_deg":75.6556864,"latitude_deg":11.9650968,"altitude":73,"angle":298,"satellites":15,"speed":1,"hex_longitude":"2d182440","hex_latitude":"0721ba98","is_valid_coordinates":true} 
[2026-04-26 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962966784001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492935063552,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55: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-04-26 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777199096000,"timestamp_ms":1777199096000,"timestamp_seconds":1777199096,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95220c0"} 
[2026-04-26 15:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:55:40] 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-04-26 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962966784001,"66":12972,"105":206,"83":41984,"24":1,"16":114813963404836864,"45":1739726492935063552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962966784001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:55:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:55:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492935063552,"description":"Unknown IO ID 45"} 
[2026-04-26 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962966784001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739726492935063552}} 
[2026-04-26 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:55:40] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:55:40] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:55:51] local.INFO: TCP Data received {"connection_id":54810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:55:51] local.INFO: Processing buffer {"connection_id":54810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc94e2d08012cb299c007822ce0004e00122b..."} 
[2026-04-26 15:55:51] local.INFO: Packet analysis {"connection_id":54810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:55:51] local.INFO: Extracted packet for processing {"connection_id":54810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc94e"} 
[2026-04-26 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962825216001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777198837000,"timestamp_ms":1777198837000,"timestamp_seconds":1777198837,"priority":1,"record_length":96,"hex_timestamp":"0000019dc94e2d08"} 
[2026-04-26 15:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 15:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962825216001,"66":25093,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962825216001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:55:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:55:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:55:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962825216001,"power":25093,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":54810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:55:51] local.INFO: GPS data processed {"connection_id":54810,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:55:51] local.INFO: Acknowledgment sent {"connection_id":54810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:56:11] local.INFO: TCP Data received {"connection_id":54623,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95272c8012d1824400721baa00049012a11..."} 
[2026-04-26 15:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95272c8012d1824400721baa00049012a11..."} 
[2026-04-26 15:56:11] local.INFO: Processing buffer {"connection_id":54623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95272c8012d1824400721baa00049012a11..."} 
[2026-04-26 15:56:11] local.INFO: Packet analysis {"connection_id":54623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:11] local.INFO: Extracted packet for processing {"connection_id":54623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":17,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962968576001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446679552,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56: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-04-26 15:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777199117000,"timestamp_ms":1777199117000,"timestamp_seconds":1777199117,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95272c8"} 
[2026-04-26 15:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 15:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962968576001,"66":13048,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446679552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962968576001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:56:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446679552,"description":"Unknown IO ID 45"} 
[2026-04-26 15:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962968576001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446679552}} 
[2026-04-26 15:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":54623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:56:11] local.INFO: GPS data processed {"connection_id":54623,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:56:11] local.INFO: Acknowledgment sent {"connection_id":54623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:56:14] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:14] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:14] local.INFO: IMEI packet received {"connection_id":54879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":54879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:56:15] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:15] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:15] local.INFO: IMEI packet received {"connection_id":54879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":54879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:56:19] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:19] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:56:19] local.INFO: IMEI packet received {"connection_id":54879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":54879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:56:20] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:20] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:20] local.INFO: Packet analysis {"connection_id":54879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:20] local.INFO: Extracted packet for processing {"connection_id":54879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:56:20] 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-04-26 15:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:56:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:56:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:56:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":54879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:56:20] local.INFO: GPS data processed {"connection_id":54879,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:56:20] local.INFO: Acknowledgment sent {"connection_id":54879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:56:24] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:24] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:24] local.INFO: Packet analysis {"connection_id":54879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:24] local.INFO: Extracted packet for processing {"connection_id":54879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:56:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":54879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:56:24] local.INFO: GPS data processed {"connection_id":54879,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:56:24] local.INFO: Acknowledgment sent {"connection_id":54879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:56:28] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:56:28] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:56:28] local.INFO: IMEI packet received {"connection_id":54624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":54624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:56:33] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:56:33] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:56:33] local.INFO: IMEI packet received {"connection_id":54624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":54624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:56:33] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012d1824400721baa00049012a17..."} 
[2026-04-26 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012d1824400721baa00049012a17..."} 
[2026-04-26 15:56:33] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012d1824400721baa00049012a17..."} 
[2026-04-26 15:56:33] local.INFO: Packet analysis {"connection_id":54624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:33] local.INFO: Extracted packet for processing {"connection_id":54624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":23,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962973952001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 15:56:33] 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-04-26 15:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962973952001,"66":13048,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962973952001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:56:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962973952001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":54624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:56:34] local.INFO: GPS data processed {"connection_id":54624,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:56:34] local.INFO: Acknowledgment sent {"connection_id":54624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:56:55] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:55] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:56:55] local.INFO: Packet analysis {"connection_id":54879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:55] local.INFO: Extracted packet for processing {"connection_id":54879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:56:55] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":54879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:56:55] local.INFO: GPS data processed {"connection_id":54879,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:56:55] local.INFO: Acknowledgment sent {"connection_id":54879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:57:04] local.INFO: TCP Data received {"connection_id":54624,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95316d8012d1824400721baa00049012a19..."} 
[2026-04-26 15:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95316d8012d1824400721baa00049012a19..."} 
[2026-04-26 15:57:04] local.INFO: Processing buffer {"connection_id":54624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95316d8012d1824400721baa00049012a19..."} 
[2026-04-26 15:57:04] local.INFO: Packet analysis {"connection_id":54624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc953"} 
[2026-04-26 15:57:04] local.INFO: Extracted packet for processing {"connection_id":54624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc953"} 
[2026-04-26 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":25,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777199159000,"timestamp_ms":1777199159000,"timestamp_seconds":1777199159,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95316d8"} 
[2026-04-26 15:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 15:57:04] 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-04-26 15:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:57:04] 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-04-26 15:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":13004,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:57:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":54624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:57:04] local.INFO: GPS data processed {"connection_id":54624,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:57:04] local.INFO: Acknowledgment sent {"connection_id":54624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:57:13] local.INFO: TCP Data received {"connection_id":55549,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:57:13] local.INFO: Processing buffer {"connection_id":55549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:57:13] local.INFO: IMEI packet received {"connection_id":55549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":55549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:57:19] local.INFO: TCP Data received {"connection_id":55549,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:57:19] local.INFO: Processing buffer {"connection_id":55549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:57:19] local.INFO: IMEI packet received {"connection_id":55549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":55549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:57:20] local.INFO: TCP Data received {"connection_id":55549,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:57:20] local.INFO: Processing buffer {"connection_id":55549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:57:20] local.INFO: Packet analysis {"connection_id":55549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:57:20] local.INFO: Extracted packet for processing {"connection_id":55549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 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-04-26 15:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:57: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-04-26 15:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:57:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:57:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:57:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":55549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:57:20] local.INFO: GPS data processed {"connection_id":55549,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:57:20] local.INFO: Acknowledgment sent {"connection_id":55549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:57:28] local.INFO: TCP Data received {"connection_id":54880,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:57:28] local.INFO: Processing buffer {"connection_id":54880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:57:28] local.INFO: IMEI packet received {"connection_id":54880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":54880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:57:33] local.INFO: TCP Data received {"connection_id":54880,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:57:33] local.INFO: Processing buffer {"connection_id":54880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:57:33] local.INFO: IMEI packet received {"connection_id":54880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":54880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:57:34] local.INFO: TCP Data received {"connection_id":54880,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95368e0012d1824400721baa00049012a19..."} 
[2026-04-26 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95368e0012d1824400721baa00049012a19..."} 
[2026-04-26 15:57:34] local.INFO: Processing buffer {"connection_id":54880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95368e0012d1824400721baa00049012a19..."} 
[2026-04-26 15:57:34] local.INFO: Packet analysis {"connection_id":54880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc953"} 
[2026-04-26 15:57:34] local.INFO: Extracted packet for processing {"connection_id":54880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc953"} 
[2026-04-26 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":25,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962984704001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777199180000,"timestamp_ms":1777199180000,"timestamp_seconds":1777199180,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95368e0"} 
[2026-04-26 15:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-26 15:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:57:34] 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-04-26 15:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962984704001,"66":12993,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962984704001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:57:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:57:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962984704001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":54880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:57:34] local.INFO: GPS data processed {"connection_id":54880,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:57:34] local.INFO: Acknowledgment sent {"connection_id":54880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:57:51] local.INFO: TCP Data received {"connection_id":55549,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:57:51] local.INFO: Processing buffer {"connection_id":55549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:57:51] local.INFO: Packet analysis {"connection_id":55549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:57:51] local.INFO: Extracted packet for processing {"connection_id":55549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 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-04-26 15:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 15:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:57:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:57:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:57:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":55549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:57:51] local.INFO: GPS data processed {"connection_id":55549,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:57:51] local.INFO: Acknowledgment sent {"connection_id":55549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:58:05] local.INFO: TCP Data received {"connection_id":54880,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc953bae8012d1824400721baa00049012a1c..."} 
[2026-04-26 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc953bae8012d1824400721baa00049012a1c..."} 
[2026-04-26 15:58:05] local.INFO: Processing buffer {"connection_id":54880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc953bae8012d1824400721baa00049012a1c..."} 
[2026-04-26 15:58:05] local.INFO: Packet analysis {"connection_id":54880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc953"} 
[2026-04-26 15:58:05] local.INFO: Extracted packet for processing {"connection_id":54880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc953"} 
[2026-04-26 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":28,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962990080001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777199201000,"timestamp_ms":1777199201000,"timestamp_seconds":1777199201,"priority":1,"record_length":96,"hex_timestamp":"0000019dc953bae8"} 
[2026-04-26 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-26 15:58:05] 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-04-26 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:58:05] 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-04-26 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962990080001,"66":12972,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962990080001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:58:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962990080001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":54880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:58:05] local.INFO: GPS data processed {"connection_id":54880,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:58:05] local.INFO: Acknowledgment sent {"connection_id":54880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:58:09] local.INFO: TCP Data received {"connection_id":54626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:58:09] local.INFO: Processing buffer {"connection_id":54626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:58:09] local.INFO: IMEI packet received {"connection_id":54626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":54626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:58:13] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:58:13] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:58:13] local.INFO: IMEI packet received {"connection_id":54627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":54627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:58:19] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:58:19] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:58:19] local.INFO: IMEI packet received {"connection_id":54627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":54627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:58:19] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:58:19] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:58:19] local.INFO: Packet analysis {"connection_id":54627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:58:19] local.INFO: Extracted packet for processing {"connection_id":54627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:58: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-04-26 15:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:58:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":54627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:58:20] local.INFO: GPS data processed {"connection_id":54627,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:58:20] local.INFO: Acknowledgment sent {"connection_id":54627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:58:28] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:28] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:28] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:58:28] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:28] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:28] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:58:33] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:33] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:58:33] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:58:34] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9540cf0012d1824400721baa00049012a1f..."} 
[2026-04-26 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9540cf0012d1824400721baa00049012a1f..."} 
[2026-04-26 15:58:34] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9540cf0012d1824400721baa00049012a1f..."} 
[2026-04-26 15:58:34] local.INFO: Packet analysis {"connection_id":54881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc954"} 
[2026-04-26 15:58:34] local.INFO: Extracted packet for processing {"connection_id":54881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc954"} 
[2026-04-26 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":31,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962995456001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777199222000,"timestamp_ms":1777199222000,"timestamp_seconds":1777199222,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9540cf0"} 
[2026-04-26 15:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 15:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:58:34] 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-04-26 15:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962995456001,"66":12950,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962995456001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:58:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:58:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962995456001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":54881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:58:34] local.INFO: GPS data processed {"connection_id":54881,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:58:34] local.INFO: Acknowledgment sent {"connection_id":54881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:58:45] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:58:45] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 15:58:45] local.INFO: IMEI packet received {"connection_id":54811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 15:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":54811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:58:51] local.INFO: TCP Data received {"connection_id":54627,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:58:51] local.INFO: Processing buffer {"connection_id":54627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:58:51] local.INFO: Packet analysis {"connection_id":54627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:58:51] local.INFO: Extracted packet for processing {"connection_id":54627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 15:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 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-04-26 15:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 15:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:58: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-04-26 15:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:58:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":54627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:58:51] local.INFO: GPS data processed {"connection_id":54627,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:58:51] local.INFO: Acknowledgment sent {"connection_id":54627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:59:05] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9545ef8012d1824400721baa00049012a20..."} 
[2026-04-26 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9545ef8012d1824400721baa00049012a20..."} 
[2026-04-26 15:59:05] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9545ef8012d1824400721baa00049012a20..."} 
[2026-04-26 15:59:05] local.INFO: Packet analysis {"connection_id":54881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc954"} 
[2026-04-26 15:59:05] local.INFO: Extracted packet for processing {"connection_id":54881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc954"} 
[2026-04-26 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":32,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963000832001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777199243000,"timestamp_ms":1777199243000,"timestamp_seconds":1777199243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9545ef8"} 
[2026-04-26 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 15:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:59:05] 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-04-26 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963000832001,"66":12950,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963000832001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:59:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963000832001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":54881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:59:05] local.INFO: GPS data processed {"connection_id":54881,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:59:05] local.INFO: Acknowledgment sent {"connection_id":54881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:59:19] local.INFO: TCP Data received {"connection_id":55550,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:59:19] local.INFO: Processing buffer {"connection_id":55550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:59:19] local.INFO: IMEI packet received {"connection_id":55550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 15:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":55550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:59:24] local.INFO: TCP Data received {"connection_id":55550,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:59:24] local.INFO: Processing buffer {"connection_id":55550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 15:59:24] local.INFO: IMEI packet received {"connection_id":55550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":55550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:59:25] local.INFO: TCP Data received {"connection_id":55550,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:59:25] local.INFO: Processing buffer {"connection_id":55550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:59:25] local.INFO: Packet analysis {"connection_id":55550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:59:25] local.INFO: Extracted packet for processing {"connection_id":55550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:59:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:59:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:59:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:59:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:59: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-04-26 15:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:59:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:59:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:59:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":55550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:59:25] local.INFO: GPS data processed {"connection_id":55550,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:59:25] local.INFO: Acknowledgment sent {"connection_id":55550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:59:27] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:27] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:27] local.INFO: IMEI packet received {"connection_id":54812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":54812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 15:59:29] local.INFO: TCP Data received {"connection_id":55550,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:59:29] local.INFO: Processing buffer {"connection_id":55550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 15:59:29] local.INFO: Packet analysis {"connection_id":55550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:59:29] local.INFO: Extracted packet for processing {"connection_id":55550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 15:59:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 15:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 15:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 15:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 15:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 15:59: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-04-26 15:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 15:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 15:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 15:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 15:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 15:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:59:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 15:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 15:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 15:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 15:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":55550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:59:29] local.INFO: GPS data processed {"connection_id":55550,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:59:29] local.INFO: Acknowledgment sent {"connection_id":55550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:59:31] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:31] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:31] local.INFO: IMEI packet received {"connection_id":54812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":54812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:59:33] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:33] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 15:59:33] local.INFO: IMEI packet received {"connection_id":54812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 15:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":54812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 15:59:34] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc954b100012d1824400721baa00049012a21..."} 
[2026-04-26 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc954b100012d1824400721baa00049012a21..."} 
[2026-04-26 15:59:34] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc954b100012d1824400721baa00049012a21..."} 
[2026-04-26 15:59:34] local.INFO: Packet analysis {"connection_id":54812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc954"} 
[2026-04-26 15:59:34] local.INFO: Extracted packet for processing {"connection_id":54812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc954"} 
[2026-04-26 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":33,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15: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-04-26 15:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963006208001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777199264000,"timestamp_ms":1777199264000,"timestamp_seconds":1777199264,"priority":1,"record_length":96,"hex_timestamp":"0000019dc954b100"} 
[2026-04-26 15:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 15:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 15: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-04-26 15:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:59:34] 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-04-26 15:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963006208001,"66":12939,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963006208001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:59:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963006208001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":54812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:59:34] local.INFO: GPS data processed {"connection_id":54812,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:59:34] local.INFO: Acknowledgment sent {"connection_id":54812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 15:59:38] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9550308012d1824400721baa00049012a20..."} 
[2026-04-26 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9550308012d1824400721baa00049012a20..."} 
[2026-04-26 15:59:38] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9550308012d1824400721baa00049012a20..."} 
[2026-04-26 15:59:38] local.INFO: Packet analysis {"connection_id":54812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 15:59:38] local.INFO: Extracted packet for processing {"connection_id":54812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":32,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963011584001,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 15:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777199285000,"timestamp_ms":1777199285000,"timestamp_seconds":1777199285,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9550308"} 
[2026-04-26 15:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 15:59:38] 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-04-26 15:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 15:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 15:59:38] 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-04-26 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963011584001,"66":12885,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963011584001,"description":"Unknown IO ID 0"} 
[2026-04-26 15:59:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 15:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 15:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963011584001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":54812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 15:59:38] local.INFO: GPS data processed {"connection_id":54812,"processed":1,"errors":0,"total":1} 
[2026-04-26 15:59:38] local.INFO: Acknowledgment sent {"connection_id":54812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:00:09] local.INFO: TCP Data received {"connection_id":54812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9555510012d1824400721baa00049012a20..."} 
[2026-04-26 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9555510012d1824400721baa00049012a20..."} 
[2026-04-26 16:00:09] local.INFO: Processing buffer {"connection_id":54812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9555510012d1824400721baa00049012a20..."} 
[2026-04-26 16:00:09] local.INFO: Packet analysis {"connection_id":54812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 16:00:09] local.INFO: Extracted packet for processing {"connection_id":54812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":32,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16:00: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-04-26 16:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963016960001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777199306000,"timestamp_ms":1777199306000,"timestamp_seconds":1777199306,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9555510"} 
[2026-04-26 16:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:00:09] 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-04-26 16:00: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":85,"data_length":795,"current_offset":136} 
[2026-04-26 16:00:09] 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-04-26 16:00: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-04-26 16:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:00:09] 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-04-26 16:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963016960001,"66":12841,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963016960001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:00:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:00:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963016960001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":54812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:00:10] local.INFO: GPS data processed {"connection_id":54812,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:00:10] local.INFO: Acknowledgment sent {"connection_id":54812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:00:14] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:00:14] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:00:14] local.INFO: IMEI packet received {"connection_id":54813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:00:19] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:00:19] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:00:19] local.INFO: IMEI packet received {"connection_id":54813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":54813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:00:20] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 16:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 16:00:20] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 16:00:20] local.INFO: Packet analysis {"connection_id":54813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 16:00:20] local.INFO: Extracted packet for processing {"connection_id":54813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 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-04-26 16:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 16:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 16:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:00:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:00:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:00:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":54813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:00:20] local.INFO: GPS data processed {"connection_id":54813,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:00:20] local.INFO: Acknowledgment sent {"connection_id":54813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:00:27] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:00:27] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:00:27] local.INFO: IMEI packet received {"connection_id":54814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":54814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:00:33] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:00:33] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:00:33] local.INFO: IMEI packet received {"connection_id":54814,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":54814,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:00:33] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc955a718012d1824400721baa00049012a20..."} 
[2026-04-26 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc955a718012d1824400721baa00049012a20..."} 
[2026-04-26 16:00:33] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc955a718012d1824400721baa00049012a20..."} 
[2026-04-26 16:00:33] local.INFO: Packet analysis {"connection_id":54814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 16:00:33] local.INFO: Extracted packet for processing {"connection_id":54814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 16:00:33] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":32,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963022336001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199327000,"timestamp_ms":1777199327000,"timestamp_seconds":1777199327,"priority":1,"record_length":96,"hex_timestamp":"0000019dc955a718"} 
[2026-04-26 16:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:00:33] 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-04-26 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 16:00:33] 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-04-26 16: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-04-26 16:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963022336001,"66":12852,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963022336001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:00:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:00:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963022336001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":54814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:00:34] local.INFO: GPS data processed {"connection_id":54814,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:00:34] local.INFO: Acknowledgment sent {"connection_id":54814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:00:51] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 16:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 16:00:51] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc952c4d0012cb299c007822ce0004d00122a..."} 
[2026-04-26 16:00:51] local.INFO: Packet analysis {"connection_id":54813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 16:00:51] local.INFO: Extracted packet for processing {"connection_id":54813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc952"} 
[2026-04-26 16:00:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962902272001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199138000,"timestamp_ms":1777199138000,"timestamp_seconds":1777199138,"priority":1,"record_length":96,"hex_timestamp":"0000019dc952c4d0"} 
[2026-04-26 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-04-26 16:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 16:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 16:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:00:51] 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-04-26 16:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962902272001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962902272001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:00:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:00:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962902272001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":54813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:00:51] local.INFO: GPS data processed {"connection_id":54813,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:00:51] local.INFO: Acknowledgment sent {"connection_id":54813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:01:05] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc955f920012d1824400721baa00049012a22..."} 
[2026-04-26 16:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc955f920012d1824400721baa00049012a22..."} 
[2026-04-26 16:01:05] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc955f920012d1824400721baa00049012a22..."} 
[2026-04-26 16:01:05] local.INFO: Packet analysis {"connection_id":54814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 16:01:05] local.INFO: Extracted packet for processing {"connection_id":54814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc955"} 
[2026-04-26 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":34,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963027712001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777199348000,"timestamp_ms":1777199348000,"timestamp_seconds":1777199348,"priority":1,"record_length":96,"hex_timestamp":"0000019dc955f920"} 
[2026-04-26 16:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 16:01:05] 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-04-26 16:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54814,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:01:05] 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-04-26 16:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963027712001,"66":12841,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963027712001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:01:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963027712001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":54814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:01:05] local.INFO: GPS data processed {"connection_id":54814,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:01:05] local.INFO: Acknowledgment sent {"connection_id":54814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:01:14] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:01:14] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:01:14] local.INFO: IMEI packet received {"connection_id":54629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":54629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:01:16] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:01:16] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:01:16] local.INFO: IMEI packet received {"connection_id":54629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":54629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:01:17] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:01:17] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:01:17] local.INFO: Packet analysis {"connection_id":54629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:01:17] local.INFO: Extracted packet for processing {"connection_id":54629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:01:17] 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-04-26 16:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:01:17] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:01:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:01:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":54629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:01:17] local.INFO: GPS data processed {"connection_id":54629,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:01:17] local.INFO: Acknowledgment sent {"connection_id":54629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:01:33] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:01:33] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:01:33] local.INFO: IMEI packet received {"connection_id":54630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":54630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:01:37] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:01:37] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:01:37] local.INFO: IMEI packet received {"connection_id":54630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":54630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:01:37] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9564b28012d1824400721baa00049012a21..."} 
[2026-04-26 16:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9564b28012d1824400721baa00049012a21..."} 
[2026-04-26 16:01:37] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9564b28012d1824400721baa00049012a21..."} 
[2026-04-26 16:01:37] local.INFO: Packet analysis {"connection_id":54630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc956"} 
[2026-04-26 16:01:37] local.INFO: Extracted packet for processing {"connection_id":54630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc956"} 
[2026-04-26 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":33,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963033088001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01: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-04-26 16:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777199369000,"timestamp_ms":1777199369000,"timestamp_seconds":1777199369,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9564b28"} 
[2026-04-26 16:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 16:01:37] 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-04-26 16:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:01:37] 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-04-26 16:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963033088001,"66":12841,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963033088001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:01:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963033088001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":54630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:01:38] local.INFO: GPS data processed {"connection_id":54630,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:01:38] local.INFO: Acknowledgment sent {"connection_id":54630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:01:38] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9569948012d1824400721baa00049012a23..."} 
[2026-04-26 16:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9569948012d1824400721baa00049012a23..."} 
[2026-04-26 16:01:38] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9569948012d1824400721baa00049012a23..."} 
[2026-04-26 16:01:38] local.INFO: Packet analysis {"connection_id":54630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc956"} 
[2026-04-26 16:01:38] local.INFO: Extracted packet for processing {"connection_id":54630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc956"} 
[2026-04-26 16:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":35,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963038464001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777199389000,"timestamp_ms":1777199389000,"timestamp_seconds":1777199389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9569948"} 
[2026-04-26 16:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 16:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:01:38] 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-04-26 16:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963038464001,"66":12809,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963038464001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963038464001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":54630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:01:38] local.INFO: GPS data processed {"connection_id":54630,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:01:38] local.INFO: Acknowledgment sent {"connection_id":54630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:01:48] local.INFO: TCP Data received {"connection_id":54629,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:01:48] local.INFO: Processing buffer {"connection_id":54629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:01:48] local.INFO: Packet analysis {"connection_id":54629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:01:48] local.INFO: Extracted packet for processing {"connection_id":54629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:01:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:01:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:01:48] 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-04-26 16:01:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:01:48] 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-04-26 16:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:01:48] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:01:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:01:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":54629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:01:48] local.INFO: GPS data processed {"connection_id":54629,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:01:48] local.INFO: Acknowledgment sent {"connection_id":54629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:02:09] local.INFO: TCP Data received {"connection_id":54630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc956eb50012d1824400721baa00049012a23..."} 
[2026-04-26 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc956eb50012d1824400721baa00049012a23..."} 
[2026-04-26 16:02:09] local.INFO: Processing buffer {"connection_id":54630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc956eb50012d1824400721baa00049012a23..."} 
[2026-04-26 16:02:09] local.INFO: Packet analysis {"connection_id":54630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc956"} 
[2026-04-26 16:02:09] local.INFO: Extracted packet for processing {"connection_id":54630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc956"} 
[2026-04-26 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":35,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963043584001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777199410000,"timestamp_ms":1777199410000,"timestamp_seconds":1777199410,"priority":1,"record_length":96,"hex_timestamp":"0000019dc956eb50"} 
[2026-04-26 16:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3377770752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3131048009,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":201,"raw_value":6079569230931960896,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3870359552,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2430430872005061152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:09] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,230,75,45,64,186,73,33,10,66,249,34,167,1,240,52,227,201,4,113,205,3,36,160,32,239,50,2,151,7,164,177],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:02:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260532169557671936,"timestamp_seconds":5260532169557672.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:02:09] 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-04-26 16:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963043584001,"66":12798,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963043584001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:02:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:02:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963043584001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":54630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:02:09] local.INFO: GPS data processed {"connection_id":54630,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:02:09] local.INFO: Acknowledgment sent {"connection_id":54630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:02:13] local.INFO: TCP Data received {"connection_id":55551,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:02:13] local.INFO: Processing buffer {"connection_id":55551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:02:13] local.INFO: IMEI packet received {"connection_id":55551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":55551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:02:19] local.INFO: TCP Data received {"connection_id":55551,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:02:19] local.INFO: Processing buffer {"connection_id":55551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:02:19] local.INFO: IMEI packet received {"connection_id":55551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":55551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:02:20] local.INFO: TCP Data received {"connection_id":55551,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:02:20] local.INFO: Processing buffer {"connection_id":55551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:02:20] local.INFO: Packet analysis {"connection_id":55551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:02:20] local.INFO: Extracted packet for processing {"connection_id":55551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 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-04-26 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:02: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-04-26 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-04-26 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-04-26 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:02: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-04-26 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:02:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":55551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:02:20] local.INFO: GPS data processed {"connection_id":55551,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:02:20] local.INFO: Acknowledgment sent {"connection_id":55551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:02:28] local.INFO: TCP Data received {"connection_id":54631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:02:28] local.INFO: Processing buffer {"connection_id":54631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:02:28] local.INFO: IMEI packet received {"connection_id":54631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":54631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:02:33] local.INFO: TCP Data received {"connection_id":54631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:02:33] local.INFO: Processing buffer {"connection_id":54631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:02:33] local.INFO: IMEI packet received {"connection_id":54631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":54631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:02:33] local.INFO: TCP Data received {"connection_id":54631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9573d58012d1824400721baa00049012a24..."} 
[2026-04-26 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9573d58012d1824400721baa00049012a24..."} 
[2026-04-26 16:02:33] local.INFO: Processing buffer {"connection_id":54631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9573d58012d1824400721baa00049012a24..."} 
[2026-04-26 16:02:33] local.INFO: Packet analysis {"connection_id":54631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:02:33] local.INFO: Extracted packet for processing {"connection_id":54631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":36,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963048960001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199431000,"timestamp_ms":1777199431000,"timestamp_seconds":1777199431,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9573d58"} 
[2026-04-26 16:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 16:02:33] 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-04-26 16: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-04-26 16:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963048960001,"66":12798,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963048960001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:02:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:02:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963048960001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":54631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:02:33] local.INFO: GPS data processed {"connection_id":54631,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:02:33] local.INFO: Acknowledgment sent {"connection_id":54631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:02:51] local.INFO: TCP Data received {"connection_id":55551,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:02:51] local.INFO: Processing buffer {"connection_id":55551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:02:51] local.INFO: Packet analysis {"connection_id":55551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:02:51] local.INFO: Extracted packet for processing {"connection_id":55551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 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-04-26 16:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:02: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-04-26 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-04-26 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-04-26 16:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:02:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":55551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:02:51] local.INFO: GPS data processed {"connection_id":55551,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:02:51] local.INFO: Acknowledgment sent {"connection_id":55551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:03:05] local.INFO: TCP Data received {"connection_id":54631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9578f60012d1824400721baa00049012a26..."} 
[2026-04-26 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9578f60012d1824400721baa00049012a26..."} 
[2026-04-26 16:03:05] local.INFO: Processing buffer {"connection_id":54631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9578f60012d1824400721baa00049012a26..."} 
[2026-04-26 16:03:05] local.INFO: Packet analysis {"connection_id":54631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:05] local.INFO: Extracted packet for processing {"connection_id":54631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963054336001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777199452000,"timestamp_ms":1777199452000,"timestamp_seconds":1777199452,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9578f60"} 
[2026-04-26 16:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 16:03:05] 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-04-26 16: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-04-26 16:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:03:05] 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-04-26 16:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963054336001,"66":12765,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963054336001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:03:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:03:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963054336001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":54631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:03:05] local.INFO: GPS data processed {"connection_id":54631,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:03:05] local.INFO: Acknowledgment sent {"connection_id":54631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:03:13] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:03:13] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:03:13] local.INFO: IMEI packet received {"connection_id":54632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":54632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:03:19] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:03:19] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:03:19] local.INFO: IMEI packet received {"connection_id":54632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:03:20] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:03:20] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:03:20] local.INFO: Packet analysis {"connection_id":54632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:20] local.INFO: Extracted packet for processing {"connection_id":54632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:03: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-04-26 16: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-04-26 16:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:03: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-04-26 16:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:03:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:03:20] local.INFO: GPS data processed {"connection_id":54632,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:03:20] local.INFO: Acknowledgment sent {"connection_id":54632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:03:28] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:03:28] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:03:28] local.INFO: IMEI packet received {"connection_id":54884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":54884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:03:32] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:03:32] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:03:32] local.INFO: IMEI packet received {"connection_id":54884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":54884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:03:33] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc957dd80012d1824400721baa00049012a26..."} 
[2026-04-26 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc957dd80012d1824400721baa00049012a26..."} 
[2026-04-26 16:03:33] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc957dd80012d1824400721baa00049012a26..."} 
[2026-04-26 16:03:33] local.INFO: Packet analysis {"connection_id":54884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:33] local.INFO: Extracted packet for processing {"connection_id":54884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963059712001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199472000,"timestamp_ms":1777199472000,"timestamp_seconds":1777199472,"priority":1,"record_length":96,"hex_timestamp":"0000019dc957dd80"} 
[2026-04-26 16:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-26 16:03:33] 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-04-26 16: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-04-26 16:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963059712001,"66":12689,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963059712001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:03:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:03:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963059712001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":54884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:03:33] local.INFO: GPS data processed {"connection_id":54884,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:03:33] local.INFO: Acknowledgment sent {"connection_id":54884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:03:51] local.INFO: TCP Data received {"connection_id":54632,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:03:51] local.INFO: Processing buffer {"connection_id":54632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:03:51] local.INFO: Packet analysis {"connection_id":54632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:51] local.INFO: Extracted packet for processing {"connection_id":54632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:03: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-04-26 16:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:03:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:03:51] local.INFO: GPS data processed {"connection_id":54632,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:03:51] local.INFO: Acknowledgment sent {"connection_id":54632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:04:04] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95827b8012d1824400721baa00049012a26..."} 
[2026-04-26 16:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95827b8012d1824400721baa00049012a26..."} 
[2026-04-26 16:04:04] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95827b8012d1824400721baa00049012a26..."} 
[2026-04-26 16:04:04] local.INFO: Packet analysis {"connection_id":54884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc958"} 
[2026-04-26 16:04:04] local.INFO: Extracted packet for processing {"connection_id":54884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc958"} 
[2026-04-26 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963064832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777199491000,"timestamp_ms":1777199491000,"timestamp_seconds":1777199491,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95827b8"} 
[2026-04-26 16:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-26 16:04:04] 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-04-26 16:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:04:04] 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-04-26 16:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963064832001,"66":12722,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963064832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963064832001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":54884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:04:04] local.INFO: GPS data processed {"connection_id":54884,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:04:04] local.INFO: Acknowledgment sent {"connection_id":54884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:04:15] local.INFO: TCP Data received {"connection_id":55552,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:04:15] local.INFO: Processing buffer {"connection_id":55552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:04:15] local.INFO: IMEI packet received {"connection_id":55552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":55552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:04:19] local.INFO: TCP Data received {"connection_id":55553,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:04:19] local.INFO: Processing buffer {"connection_id":55553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:04:19] local.INFO: IMEI packet received {"connection_id":55553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":55553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:04:23] local.INFO: TCP Data received {"connection_id":55553,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:04:23] local.INFO: Processing buffer {"connection_id":55553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:04:23] local.INFO: IMEI packet received {"connection_id":55553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":55553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:04:25] local.INFO: TCP Data received {"connection_id":55553,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:04:25] local.INFO: Processing buffer {"connection_id":55553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:04:25] local.INFO: Packet analysis {"connection_id":55553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:04:25] local.INFO: Extracted packet for processing {"connection_id":55553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 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-04-26 16:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 16:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:04: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-04-26 16:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:04:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":55553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:04:25] local.INFO: GPS data processed {"connection_id":55553,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:04:25] local.INFO: Acknowledgment sent {"connection_id":55553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:04:28] local.INFO: TCP Data received {"connection_id":54816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:04:28] local.INFO: Processing buffer {"connection_id":54816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:04:28] local.INFO: IMEI packet received {"connection_id":54816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":54816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:04:29] local.INFO: TCP Data received {"connection_id":55553,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:04:29] local.INFO: Processing buffer {"connection_id":55553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:04:29] local.INFO: Packet analysis {"connection_id":55553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:04:29] local.INFO: Extracted packet for processing {"connection_id":55553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:04:29] 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-04-26 16:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:04:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":55553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:04:29] local.INFO: GPS data processed {"connection_id":55553,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:04:29] local.INFO: Acknowledgment sent {"connection_id":55553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:04:32] local.INFO: TCP Data received {"connection_id":54816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:04:32] local.INFO: Processing buffer {"connection_id":54816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:04:32] local.INFO: IMEI packet received {"connection_id":54816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":54816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:04:33] local.INFO: TCP Data received {"connection_id":54816,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95875d8012d1824400721baa00049012a26..."} 
[2026-04-26 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95875d8012d1824400721baa00049012a26..."} 
[2026-04-26 16:04:33] local.INFO: Processing buffer {"connection_id":54816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95875d8012d1824400721baa00049012a26..."} 
[2026-04-26 16:04:33] local.INFO: Packet analysis {"connection_id":54816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc958"} 
[2026-04-26 16:04:33] local.INFO: Extracted packet for processing {"connection_id":54816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc958"} 
[2026-04-26 16:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":38,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963069696001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199511000,"timestamp_ms":1777199511000,"timestamp_seconds":1777199511,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95875d8"} 
[2026-04-26 16:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 16:04:33] 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-04-26 16: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-04-26 16:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963069696001,"66":12722,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963069696001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:04:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963069696001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":54816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:04:33] local.INFO: GPS data processed {"connection_id":54816,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:04:33] local.INFO: Acknowledgment sent {"connection_id":54816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:04:40] local.INFO: TCP Data received {"connection_id":54817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:04:40] local.INFO: Processing buffer {"connection_id":54817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:04:40] local.INFO: IMEI packet received {"connection_id":54817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":54817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:05:04] local.INFO: TCP Data received {"connection_id":54816,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc958c3f8012d1824400721baa00049012a27..."} 
[2026-04-26 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc958c3f8012d1824400721baa00049012a27..."} 
[2026-04-26 16:05:04] local.INFO: Processing buffer {"connection_id":54816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc958c3f8012d1824400721baa00049012a27..."} 
[2026-04-26 16:05:04] local.INFO: Packet analysis {"connection_id":54816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc958"} 
[2026-04-26 16:05:04] local.INFO: Extracted packet for processing {"connection_id":54816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc958"} 
[2026-04-26 16:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650976,"longitude_deg":75.6556864,"latitude_deg":11.9650976,"altitude":73,"angle":298,"satellites":39,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721baa0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963074816001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813963404836864,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446681600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777199531000,"timestamp_ms":1777199531000,"timestamp_seconds":1777199531,"priority":1,"record_length":96,"hex_timestamp":"0000019dc958c3f8"} 
[2026-04-26 16:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 16:05:04] 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-04-26 16: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-04-26 16:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:05:04] 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-04-26 16:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963074816001,"66":12461,"105":206,"83":41984,"24":0,"16":114813963404836864,"45":1739585755446681600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963074816001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:05:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813963404836864,"km_value":114813963404836.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446681600,"description":"Unknown IO ID 45"} 
[2026-04-26 16:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963074816001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755446681600}} 
[2026-04-26 16:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":54816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:05:04] local.INFO: GPS data processed {"connection_id":54816,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:05:04] local.INFO: Acknowledgment sent {"connection_id":54816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:05:13] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:05:13] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:05:13] local.INFO: IMEI packet received {"connection_id":54633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":54633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:05:18] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:05:18] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:05:18] local.INFO: IMEI packet received {"connection_id":54633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":54633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:05:19] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:05:19] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:05:19] local.INFO: Packet analysis {"connection_id":54633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:05:19] local.INFO: Extracted packet for processing {"connection_id":54633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:05:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:05:19] 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-04-26 16: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-04-26 16:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:05:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":54633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:05:19] local.INFO: GPS data processed {"connection_id":54633,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:05:19] local.INFO: Acknowledgment sent {"connection_id":54633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:05:27] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:05:27] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:05:27] local.INFO: IMEI packet received {"connection_id":54634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":54634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:05:33] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:05:33] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:05:33] local.INFO: IMEI packet received {"connection_id":54634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":54634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:05:33] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95b0230012d1822c00721b668004c00be2a..."} 
[2026-04-26 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95b0230012d1822c00721b668004c00be2a..."} 
[2026-04-26 16:05:33] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95b0230012d1822c00721b668004c00be2a..."} 
[2026-04-26 16:05:33] local.INFO: Packet analysis {"connection_id":54634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:05:33] local.INFO: Extracted packet for processing {"connection_id":54634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649896,"longitude_deg":75.655648,"latitude_deg":11.9649896,"altitude":76,"angle":190,"satellites":42,"speed":0,"hex_longitude":"2d1822c0","hex_latitude":"0721b668","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963112704001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814023534379008,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981339136,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199678000,"timestamp_ms":1777199678000,"timestamp_seconds":1777199678,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95b0230"} 
[2026-04-26 16:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:05:33] 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-04-26 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-26 16:05:33] 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-04-26 16: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-04-26 16:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963112704001,"66":12613,"105":206,"83":41984,"24":0,"16":114814023534379008,"45":1739163542981339136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963112704001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814023534379008,"km_value":114814023534379.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981339136,"description":"Unknown IO ID 45"} 
[2026-04-26 16:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963112704001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739163542981339136}} 
[2026-04-26 16:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":54634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:05:34] local.INFO: GPS data processed {"connection_id":54634,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:05:34] local.INFO: Acknowledgment sent {"connection_id":54634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:05:51] local.INFO: TCP Data received {"connection_id":54633,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:05:51] local.INFO: Processing buffer {"connection_id":54633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9575c98012cb299c007822ce0004c00122a..."} 
[2026-04-26 16:05:51] local.INFO: Packet analysis {"connection_id":54633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:05:51] local.INFO: Extracted packet for processing {"connection_id":54633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc957"} 
[2026-04-26 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454962979328001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199439000,"timestamp_ms":1777199439000,"timestamp_seconds":1777199439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9575c98"} 
[2026-04-26 16:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:05: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-04-26 16: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-04-26 16:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:05: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-04-26 16:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454962979328001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454962979328001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:05:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:05:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:05:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454962979328001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":54633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:05:51] local.INFO: GPS data processed {"connection_id":54633,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:05:51] local.INFO: Acknowledgment sent {"connection_id":54633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:06:05] local.INFO: TCP Data received {"connection_id":54634,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95b5050012d1822400721b5c8004d00d42a..."} 
[2026-04-26 16:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95b5050012d1822400721b5c8004d00d42a..."} 
[2026-04-26 16:06:05] local.INFO: Processing buffer {"connection_id":54634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95b5050012d1822400721b5c8004d00d42a..."} 
[2026-04-26 16:06:05] local.INFO: Packet analysis {"connection_id":54634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:05] local.INFO: Extracted packet for processing {"connection_id":54634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649736,"longitude_deg":75.6556352,"latitude_deg":11.9649736,"altitude":77,"angle":212,"satellites":42,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-04-26 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963117568001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814032124313600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981339136,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777199698000,"timestamp_ms":1777199698000,"timestamp_seconds":1777199698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95b5050"} 
[2026-04-26 16:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:06:05] 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-04-26 16:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 16:06:05] 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-04-26 16:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:06:05] 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-04-26 16:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963117568001,"66":12580,"105":206,"83":41984,"24":1,"16":114814032124313600,"45":1739163542981339136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963117568001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:06:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814032124313600,"km_value":114814032124313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981339136,"description":"Unknown IO ID 45"} 
[2026-04-26 16:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963117568001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739163542981339136}} 
[2026-04-26 16:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":54634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:06:05] local.INFO: GPS data processed {"connection_id":54634,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:06:05] local.INFO: Acknowledgment sent {"connection_id":54634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:06:14] local.INFO: TCP Data received {"connection_id":55554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:06:14] local.INFO: Processing buffer {"connection_id":55554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:06:14] local.INFO: IMEI packet received {"connection_id":55554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":55554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:06:18] local.INFO: TCP Data received {"connection_id":55554,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:06:18] local.INFO: Processing buffer {"connection_id":55554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:06:18] local.INFO: IMEI packet received {"connection_id":55554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":55554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:06:18] local.INFO: TCP Data received {"connection_id":55554,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:06:18] local.INFO: Processing buffer {"connection_id":55554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:06:18] local.INFO: Packet analysis {"connection_id":55554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:18] local.INFO: Extracted packet for processing {"connection_id":55554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:18] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:06:18] 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-04-26 16:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:06:18] 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-04-26 16:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:06:18] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:06:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:06:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":55554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:06:18] local.INFO: GPS data processed {"connection_id":55554,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:06:18] local.INFO: Acknowledgment sent {"connection_id":55554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:06:27] local.INFO: TCP Data received {"connection_id":55555,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:06:27] local.INFO: Processing buffer {"connection_id":55555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:06:27] local.INFO: IMEI packet received {"connection_id":55555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":55555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:06:33] local.INFO: TCP Data received {"connection_id":55555,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:06:33] local.INFO: Processing buffer {"connection_id":55555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:06:33] local.INFO: IMEI packet received {"connection_id":55555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":55555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:06:34] local.INFO: TCP Data received {"connection_id":55555,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95b5050012d1822400721b5c8004d00d42a..."} 
[2026-04-26 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95b5050012d1822400721b5c8004d00d42a..."} 
[2026-04-26 16:06:34] local.INFO: Processing buffer {"connection_id":55555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95b5050012d1822400721b5c8004d00d42a..."} 
[2026-04-26 16:06:34] local.INFO: Packet analysis {"connection_id":55555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:34] local.INFO: Extracted packet for processing {"connection_id":55555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:34] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649736,"longitude_deg":75.6556352,"latitude_deg":11.9649736,"altitude":77,"angle":212,"satellites":42,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b5c8","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963122688001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814032124313600,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492942848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777199698000,"timestamp_ms":1777199698000,"timestamp_seconds":1777199698,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95b5050"} 
[2026-04-26 16:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:06:34] 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-04-26 16: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 16:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:06:34] 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-04-26 16:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963122688001,"66":12580,"105":206,"83":41984,"24":1,"16":114814032124313600,"45":1739022805492942848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963122688001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:06:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:06:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814032124313600,"km_value":114814032124313.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492942848,"description":"Unknown IO ID 45"} 
[2026-04-26 16:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963122688001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739022805492942848}} 
[2026-04-26 16:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":55555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:06:34] local.INFO: GPS data processed {"connection_id":55555,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:06:34] local.INFO: Acknowledgment sent {"connection_id":55555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:06:50] local.INFO: TCP Data received {"connection_id":55554,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:06:50] local.INFO: Processing buffer {"connection_id":55554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:06:50] local.INFO: Packet analysis {"connection_id":55554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:50] local.INFO: Extracted packet for processing {"connection_id":55554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:06:50] 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-04-26 16:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:06:50] 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-04-26 16:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:06:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:06:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":55554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:06:50] local.INFO: GPS data processed {"connection_id":55554,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:06:50] local.INFO: Acknowledgment sent {"connection_id":55554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:07:04] local.INFO: TCP Data received {"connection_id":55555,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95b9a88012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95b9a88012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:04] local.INFO: Processing buffer {"connection_id":55555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95b9a88012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:04] local.INFO: Packet analysis {"connection_id":55555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:04] local.INFO: Extracted packet for processing {"connection_id":55555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649496,"longitude_deg":75.6556096,"latitude_deg":11.9649496,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4d8","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963122688001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814053599150080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492942848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777199717000,"timestamp_ms":1777199717000,"timestamp_seconds":1777199717,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95b9a88"} 
[2026-04-26 16:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:07:04] 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-04-26 16: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 16:07:04] 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-04-26 16: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-04-26 16:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:07:04] 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-04-26 16:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963122688001,"66":12580,"105":206,"83":41984,"24":0,"16":114814053599150080,"45":1739022805492942848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963122688001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:07:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814053599150080,"km_value":114814053599150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492942848,"description":"Unknown IO ID 45"} 
[2026-04-26 16:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963122688001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492942848}} 
[2026-04-26 16:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":55555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:07:05] local.INFO: GPS data processed {"connection_id":55555,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:07:05] local.INFO: Acknowledgment sent {"connection_id":55555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:07:13] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:07:13] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:07:13] local.INFO: IMEI packet received {"connection_id":54636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:07:19] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:07:19] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:07:19] local.INFO: IMEI packet received {"connection_id":54636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":54636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:07:20] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:07:20] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:07:20] local.INFO: Packet analysis {"connection_id":54636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:20] local.INFO: Extracted packet for processing {"connection_id":54636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:07: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-04-26 16: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-04-26 16:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:07: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-04-26 16:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:07:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:07:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":54636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:07:20] local.INFO: GPS data processed {"connection_id":54636,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:07:20] local.INFO: Acknowledgment sent {"connection_id":54636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:07:33] local.INFO: TCP Data received {"connection_id":54885,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:07:33] local.INFO: Processing buffer {"connection_id":54885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:07:33] local.INFO: IMEI packet received {"connection_id":54885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":54885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:07:33] local.INFO: TCP Data received {"connection_id":54885,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:07:33] local.INFO: Processing buffer {"connection_id":54885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:07:33] local.INFO: IMEI packet received {"connection_id":54885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":54885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:07:34] local.INFO: TCP Data received {"connection_id":54885,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95be4c0012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95be4c0012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:34] local.INFO: Processing buffer {"connection_id":54885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95be4c0012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:34] local.INFO: Packet analysis {"connection_id":54885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:34] local.INFO: Extracted packet for processing {"connection_id":54885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649496,"longitude_deg":75.6556096,"latitude_deg":11.9649496,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4d8","is_valid_coordinates":true} 
[2026-04-26 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963127552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814053599150080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516170752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777199736000,"timestamp_ms":1777199736000,"timestamp_seconds":1777199736,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95be4c0"} 
[2026-04-26 16:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 16:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:07:34] 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-04-26 16:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963127552001,"66":12548,"105":206,"83":41984,"24":0,"16":114814053599150080,"45":1738741330516170752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963127552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:07:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:07:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814053599150080,"km_value":114814053599150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516170752,"description":"Unknown IO ID 45"} 
[2026-04-26 16:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963127552001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516170752}} 
[2026-04-26 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":54885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:07:34] local.INFO: GPS data processed {"connection_id":54885,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:07:34] local.INFO: Acknowledgment sent {"connection_id":54885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:07:35] local.INFO: TCP Data received {"connection_id":54885,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95c2ef8012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95c2ef8012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:35] local.INFO: Processing buffer {"connection_id":54885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95c2ef8012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:07:35] local.INFO: Packet analysis {"connection_id":54885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95c"} 
[2026-04-26 16:07:35] local.INFO: Extracted packet for processing {"connection_id":54885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95c"} 
[2026-04-26 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649496,"longitude_deg":75.6556096,"latitude_deg":11.9649496,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4d8","is_valid_coordinates":true} 
[2026-04-26 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963132416001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814053599150080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516170752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777199755000,"timestamp_ms":1777199755000,"timestamp_seconds":1777199755,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95c2ef8"} 
[2026-04-26 16:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3378146752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3060269132,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":183,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3871277056,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:35] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,230,154,45,64,180,77,42,10,66,80,181,1,240,36,227,201,33,4,113,205,183,34,104,239,49,2,151,7,76,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:07:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548668017774166016,"timestamp_seconds":5548668017774166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:07:35] 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-04-26 16:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963132416001,"66":12548,"105":206,"83":41984,"24":0,"16":114814053599150080,"45":1738741330516170752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963132416001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:07:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:07:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814053599150080,"km_value":114814053599150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516170752,"description":"Unknown IO ID 45"} 
[2026-04-26 16:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963132416001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516170752}} 
[2026-04-26 16:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":54885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:07:35] local.INFO: GPS data processed {"connection_id":54885,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:07:35] local.INFO: Acknowledgment sent {"connection_id":54885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:07:51] local.INFO: TCP Data received {"connection_id":54636,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:07:51] local.INFO: Processing buffer {"connection_id":54636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:07:51] local.INFO: Packet analysis {"connection_id":54636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:51] local.INFO: Extracted packet for processing {"connection_id":54636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:07:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:07: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-04-26 16: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-04-26 16:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:07:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:07:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:07:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":54636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:07:51] local.INFO: GPS data processed {"connection_id":54636,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:07:51] local.INFO: Acknowledgment sent {"connection_id":54636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:08:06] local.INFO: TCP Data received {"connection_id":54885,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95c7930012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95c7930012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:08:06] local.INFO: Processing buffer {"connection_id":54885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95c7930012d1821400721b4d8004d00d42a..."} 
[2026-04-26 16:08:06] local.INFO: Packet analysis {"connection_id":54885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95c"} 
[2026-04-26 16:08:06] local.INFO: Extracted packet for processing {"connection_id":54885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95c"} 
[2026-04-26 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649496,"longitude_deg":75.6556096,"latitude_deg":11.9649496,"altitude":77,"angle":212,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b4d8","is_valid_coordinates":true} 
[2026-04-26 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963137280001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814053599150080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516170752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777199774000,"timestamp_ms":1777199774000,"timestamp_seconds":1777199774,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95c7930"} 
[2026-04-26 16:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3378165752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":230,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049783373,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221692854,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3871277056,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,230,228,45,64,180,77,42,10,66,154,80,1,240,36,227,201,33,4,113,205,2,34,104,239,49,151,7,76,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:08:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548668017774166016,"timestamp_seconds":5548668017774166.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:08:06] 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-04-26 16:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963137280001,"66":12363,"105":206,"83":41984,"24":0,"16":114814053599150080,"45":1738741330516170752},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963137280001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:08:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:08:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814053599150080,"km_value":114814053599150.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516170752,"description":"Unknown IO ID 45"} 
[2026-04-26 16:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963137280001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516170752}} 
[2026-04-26 16:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":54885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:08:06] local.INFO: GPS data processed {"connection_id":54885,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:08:06] local.INFO: Acknowledgment sent {"connection_id":54885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:08:17] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:17] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:17] local.INFO: IMEI packet received {"connection_id":55557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":55557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:08:19] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:19] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:19] local.INFO: IMEI packet received {"connection_id":55557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":55557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:08:19] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:08:19] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:08:19] local.INFO: IMEI packet received {"connection_id":54819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":54819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:08:23] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:23] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:08:23] local.INFO: IMEI packet received {"connection_id":55557,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":55557,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:08:23] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-26 16:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-26 16:08:23] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-26 16:08:23] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 16:08:23] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 16:08:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 16:08: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-04-26 16:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475805420486656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:23] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-04-26 16:08:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:08:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 16:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 16:08:23] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 16:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 16:08:23] local.ERROR: GPS data processing failed {"connection_id":55557,"error":"No valid data to process"} 
[2026-04-26 16:08:23] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 16:08:24] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:08:24] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:08:24] local.INFO: IMEI packet received {"connection_id":54819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":54819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:08:25] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:08:25] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:08:25] local.INFO: Packet analysis {"connection_id":54819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:08:25] local.INFO: Extracted packet for processing {"connection_id":54819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:08:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:08:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:08:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:08:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:08:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:08:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:08:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:08:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:08:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:08:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:08:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:08:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:08:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:08:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:08:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:08:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:08:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:08:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:08:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:08:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:08:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:08:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:08:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:08:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:08:25] local.INFO: DEBUG: GPS processor result {"connection_id":54819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:08:25] local.INFO: GPS data processed {"connection_id":54819,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:08:25] local.INFO: Acknowledgment sent {"connection_id":54819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:08:27] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:27] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:27] local.INFO: IMEI packet received {"connection_id":54886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":54886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:08:27] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:27] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:27] local.INFO: IMEI packet received {"connection_id":54886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":54886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:08:28] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:28] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:28] local.INFO: IMEI packet received {"connection_id":54886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":54886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:08:29] local.INFO: TCP Data received {"connection_id":54819,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:08:29] local.INFO: Processing buffer {"connection_id":54819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:08:29] local.INFO: Packet analysis {"connection_id":54819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:08:29] local.INFO: Extracted packet for processing {"connection_id":54819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:08:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:08: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-04-26 16:08:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:08:29] 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-04-26 16:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:08:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":54819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:08:29] local.INFO: GPS data processed {"connection_id":54819,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:08:29] local.INFO: Acknowledgment sent {"connection_id":54819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:08:30] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:30] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:08:30] local.INFO: IMEI packet received {"connection_id":54886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":54886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:08:31] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95dc920012d1889c007217f50004e006e29..."} 
[2026-04-26 16:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95dc920012d1889c007217f50004e006e29..."} 
[2026-04-26 16:08:31] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95dc920012d1889c007217f50004e006e29..."} 
[2026-04-26 16:08:31] local.INFO: Packet analysis {"connection_id":54886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95d"} 
[2026-04-26 16:08:31] local.INFO: Extracted packet for processing {"connection_id":54886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95d"} 
[2026-04-26 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756582848,"raw_latitude":119635792,"longitude_deg":75.6582848,"latitude_deg":11.9635792,"altitude":78,"angle":110,"satellites":41,"speed":45,"hex_longitude":"2d1889c0","hex_latitude":"07217f50","is_valid_coordinates":true} 
[2026-04-26 16:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963164160001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114815651326984192,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768155465578926080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:31] 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-04-26 16:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777199860000,"timestamp_ms":1777199860000,"timestamp_seconds":1777199860,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95dc920"} 
[2026-04-26 16:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 16:08:31] 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-04-26 16:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:08:31] 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-04-26 16:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963164160001,"66":13928,"106":206,"83":41984,"24":45,"16":114815651326984192,"45":1768155465578926080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963164160001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114815651326984192,"km_value":114815651326984.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768155465578926080,"description":"Unknown IO ID 45"} 
[2026-04-26 16:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963164160001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1768155465578926080}} 
[2026-04-26 16:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":54886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:08:31] local.INFO: GPS data processed {"connection_id":54886,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:08:31] local.INFO: Acknowledgment sent {"connection_id":54886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:08:54] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-26 16:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-26 16:08:54] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000001f400100000000000000000000000000..."} 
[2026-04-26 16:08:54] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 16:08:54] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 16:08:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 16:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475805420486656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:08:54] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-04-26 16:08:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":8000,"timestamp_seconds":8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:08:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 16:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 16:08:54] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 16:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 16:08:54] local.ERROR: GPS data processing failed {"connection_id":55557,"error":"No valid data to process"} 
[2026-04-26 16:08:54] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 16:09:01] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95dec48012d18ad40072171d0004c007a29..."} 
[2026-04-26 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95dec48012d18ad40072171d0004c007a29..."} 
[2026-04-26 16:09:01] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95dec48012d18ad40072171d0004c007a29..."} 
[2026-04-26 16:09:01] local.INFO: Packet analysis {"connection_id":54886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95d"} 
[2026-04-26 16:09:01] local.INFO: Extracted packet for processing {"connection_id":54886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95d"} 
[2026-04-26 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756591936,"raw_latitude":119632336,"longitude_deg":75.6591936,"latitude_deg":11.9632336,"altitude":76,"angle":122,"satellites":41,"speed":37,"hex_longitude":"2d18ad40","hex_latitude":"072171d0","is_valid_coordinates":true} 
[2026-04-26 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963164160001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114816115183452160,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768155465578926080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:01] 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-04-26 16:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777199869000,"timestamp_ms":1777199869000,"timestamp_seconds":1777199869,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95dec48"} 
[2026-04-26 16:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 16:09:01] 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-04-26 16:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":54886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":54886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":54886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:09:01] 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-04-26 16:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963164160001,"66":14461,"106":206,"83":41984,"24":37,"16":114816115183452160,"45":1768155465578926080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963164160001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:09:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114816115183452160,"km_value":114816115183452.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768155465578926080,"description":"Unknown IO ID 45"} 
[2026-04-26 16:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963164160001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1768155465578926080}} 
[2026-04-26 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":54886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:09:02] local.INFO: GPS data processed {"connection_id":54886,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:09:02] local.INFO: Acknowledgment sent {"connection_id":54886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:09:16] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:09:16] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:09:16] local.INFO: IMEI packet received {"connection_id":54820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":54820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:09:18] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:09:18] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:09:18] local.INFO: IMEI packet received {"connection_id":54820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":54820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:09:19] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:19] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:19] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:09:19] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:09: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-04-26 16: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-04-26 16:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:09:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:09:19] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:09:19] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:09:24] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:24] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:24] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:09:24] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:09: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-04-26 16:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:09:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:09:24] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:09:24] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:09:25] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 16:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 16:09:25] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 16:09:25] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 16:09:25] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 16:09:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475805420486656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 16:09:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:09:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 16:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 16:09:25] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 16:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 16:09:25] local.ERROR: GPS data processing failed {"connection_id":55557,"error":"No valid data to process"} 
[2026-04-26 16:09:25] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 16:09:27] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:27] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:27] local.INFO: IMEI packet received {"connection_id":54888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":54888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:09:27] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:27] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:27] local.INFO: IMEI packet received {"connection_id":54888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":54888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:09:33] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:33] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:09:33] local.INFO: IMEI packet received {"connection_id":54888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":54888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:09:33] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95e80b8012d18d3c0072102e0003b010c2a..."} 
[2026-04-26 16:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95e80b8012d18d3c0072102e0003b010c2a..."} 
[2026-04-26 16:09:33] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95e80b8012d18d3c0072102e0003b010c2a..."} 
[2026-04-26 16:09:33] local.INFO: Packet analysis {"connection_id":54888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95e"} 
[2026-04-26 16:09:33] local.INFO: Extracted packet for processing {"connection_id":54888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95e"} 
[2026-04-26 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756601792,"raw_latitude":119603936,"longitude_deg":75.6601792,"latitude_deg":11.9603936,"altitude":59,"angle":268,"satellites":42,"speed":9,"hex_longitude":"2d18d3c0","hex_latitude":"072102e0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963175680001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114817648486776832,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789406826312456192,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777199907000,"timestamp_ms":1777199907000,"timestamp_seconds":1777199907,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95e80b8"} 
[2026-04-26 16:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:09:33] 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-04-26 16: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-04-26 16:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963175680001,"66":14428,"106":206,"83":41984,"24":9,"16":114817648486776832,"45":1789406826312456192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963175680001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:09:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:09:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114817648486776832,"km_value":114817648486776.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789406826312456192,"description":"Unknown IO ID 45"} 
[2026-04-26 16:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963175680001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1789406826312456192}} 
[2026-04-26 16:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":54888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:09:33] local.INFO: GPS data processed {"connection_id":54888,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:09:33] local.INFO: Acknowledgment sent {"connection_id":54888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:09:56] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:56] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:09:56] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:09:56] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:09:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:09:56] 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-04-26 16:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:09:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:09:56] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:09:56] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:09:59] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 16:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 16:09:59] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 16:09:59] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 16:09:59] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 16:09:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475805420486656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:09:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 16:09:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:09:59] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 16:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 16:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 16:09:59] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 16:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 16:09:59] local.ERROR: GPS data processing failed {"connection_id":55557,"error":"No valid data to process"} 
[2026-04-26 16:09:59] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 16:10:04] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95e9828012d18cbc007210130003a00da2a..."} 
[2026-04-26 16:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95e9828012d18cbc007210130003a00da2a..."} 
[2026-04-26 16:10:04] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95e9828012d18cbc007210130003a00da2a..."} 
[2026-04-26 16:10:04] local.INFO: Packet analysis {"connection_id":54888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95e"} 
[2026-04-26 16:10:04] local.INFO: Extracted packet for processing {"connection_id":54888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95e"} 
[2026-04-26 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":756599744,"raw_latitude":119603504,"longitude_deg":75.6599744,"latitude_deg":11.9603504,"altitude":58,"angle":218,"satellites":42,"speed":14,"hex_longitude":"2d18cbc0","hex_latitude":"07210130","is_valid_coordinates":true} 
[2026-04-26 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963176192001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114817751565991936,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847359488,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777199913000,"timestamp_ms":1777199913000,"timestamp_seconds":1777199913,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95e9828"} 
[2026-04-26 16:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:10:04] 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-04-26 16:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:10:04] 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-04-26 16:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963176192001,"66":14494,"106":206,"83":41984,"24":14,"16":114817751565991936,"45":1788984613847359488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963176192001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:10:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:10:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114817751565991936,"km_value":114817751565991.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847359488,"description":"Unknown IO ID 45"} 
[2026-04-26 16:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963176192001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1788984613847359488}} 
[2026-04-26 16:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":54888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:10:04] local.INFO: GPS data processed {"connection_id":54888,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:10:04] local.INFO: Acknowledgment sent {"connection_id":54888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:10:14] local.INFO: TCP Data received {"connection_id":55558,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:10:14] local.INFO: Processing buffer {"connection_id":55558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:10:14] local.INFO: IMEI packet received {"connection_id":55558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":55558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:10:14] local.INFO: TCP Data received {"connection_id":54637,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:10:14] local.INFO: Processing buffer {"connection_id":54637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:10:14] local.INFO: IMEI packet received {"connection_id":54637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":54637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:10:19] local.INFO: TCP Data received {"connection_id":55558,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:10:19] local.INFO: Processing buffer {"connection_id":55558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:10:19] local.INFO: IMEI packet received {"connection_id":55558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":55558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:10:20] local.INFO: TCP Data received {"connection_id":55558,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:10:20] local.INFO: Processing buffer {"connection_id":55558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:10:20] local.INFO: Packet analysis {"connection_id":55558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:10:20] local.INFO: Extracted packet for processing {"connection_id":55558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:10: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-04-26 16: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-04-26 16:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:10: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-04-26 16:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:10:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:10:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:10:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":55558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:10:20] local.INFO: GPS data processed {"connection_id":55558,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:10:20] local.INFO: Acknowledgment sent {"connection_id":55558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:10:25] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:25] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:25] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:10:28] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:28] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:28] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:10:31] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:31] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:10:31] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:10:31] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95f7ab8012d18bc4007208f58002200df25..."} 
[2026-04-26 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95f7ab8012d18bc4007208f58002200df25..."} 
[2026-04-26 16:10:32] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95f7ab8012d18bc4007208f58002200df25..."} 
[2026-04-26 16:10:32] local.INFO: Packet analysis {"connection_id":54822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95f"} 
[2026-04-26 16:10:32] local.INFO: Extracted packet for processing {"connection_id":54822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95f"} 
[2026-04-26 16:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756595776,"raw_latitude":119574360,"longitude_deg":75.6595776,"latitude_deg":11.957436,"altitude":34,"angle":223,"satellites":37,"speed":6,"hex_longitude":"2d18bc40","hex_latitude":"07208f58","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963191552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114819246214610944,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958026526720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:32] 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-04-26 16:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777199971000,"timestamp_ms":1777199971000,"timestamp_seconds":1777199971,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95f7ab8"} 
[2026-04-26 16:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-26 16:10:32] 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-04-26 16: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-04-26 16:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:10:32] 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-04-26 16:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963191552001,"66":14363,"106":206,"83":41984,"24":6,"16":114819246214610944,"45":1783706958026526720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963191552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:10:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114819246214610944,"km_value":114819246214610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958026526720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963191552001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1783706958026526720}} 
[2026-04-26 16:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":54822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:10:32] local.INFO: GPS data processed {"connection_id":54822,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:10:32] local.INFO: Acknowledgment sent {"connection_id":54822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:10:32] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95ef9d00100000000000000000000000000..."} 
[2026-04-26 16:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95ef9d00100000000000000000000000000..."} 
[2026-04-26 16:10:32] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95ef9d00100000000000000000000000000..."} 
[2026-04-26 16:10:32] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95e"} 
[2026-04-26 16:10:32] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95e"} 
[2026-04-26 16:10:32] 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-04-26 16: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-04-26 16:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76475805420486656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 16:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777199938000,"timestamp_ms":1777199938000,"timestamp_seconds":1777199938,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95ef9d0"} 
[2026-04-26 16:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 16:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 16:10:32] local.INFO: GPS data processed {"connection_id":55557,"processed":0,"errors":0,"total":1} 
[2026-04-26 16:10:32] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:10:44] local.INFO: TCP Data received {"connection_id":54638,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:10:44] local.INFO: Processing buffer {"connection_id":54638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:10:44] local.INFO: IMEI packet received {"connection_id":54638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":54638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:10:51] local.INFO: TCP Data received {"connection_id":55558,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:10:51] local.INFO: Processing buffer {"connection_id":55558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc95bf460012cb299c007822ce0004d00122c..."} 
[2026-04-26 16:10:51] local.INFO: Packet analysis {"connection_id":55558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:10:51] local.INFO: Extracted packet for processing {"connection_id":55558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc95b"} 
[2026-04-26 16:10:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963056384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777199740000,"timestamp_ms":1777199740000,"timestamp_seconds":1777199740,"priority":1,"record_length":96,"hex_timestamp":"0000019dc95bf460"} 
[2026-04-26 16:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:10: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-04-26 16: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-04-26 16:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:10: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-04-26 16:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963056384001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963056384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:10:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:10:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:10:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963056384001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":55558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:10:51] local.INFO: GPS data processed {"connection_id":55558,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:10:51] local.INFO: Acknowledgment sent {"connection_id":55558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:11:03] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9602e68012d18dbc007205950002b00a228..."} 
[2026-04-26 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9602e68012d18dbc007205950002b00a228..."} 
[2026-04-26 16:11:03] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9602e68012d18dbc007205950002b00a228..."} 
[2026-04-26 16:11:03] local.INFO: Packet analysis {"connection_id":54822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:03] local.INFO: Extracted packet for processing {"connection_id":54822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:03] local.INFO: GPS Element Parsed {"raw_longitude":756603840,"raw_latitude":119560528,"longitude_deg":75.660384,"latitude_deg":11.9560528,"altitude":43,"angle":162,"satellites":40,"speed":12,"hex_longitude":"2d18dbc0","hex_latitude":"07205950","is_valid_coordinates":true} 
[2026-04-26 16:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963204096001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114820057963429888,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791095676161648640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777200017000,"timestamp_ms":1777200017000,"timestamp_seconds":1777200017,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9602e68"} 
[2026-04-26 16:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-26 16:11:03] 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-04-26 16:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":54822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:11:03] 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-04-26 16:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963204096001,"66":14461,"106":206,"83":41984,"24":12,"16":114820057963429888,"45":1791095676161648640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963204096001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:11:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114820057963429888,"km_value":114820057963429.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791095676161648640,"description":"Unknown IO ID 45"} 
[2026-04-26 16:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963204096001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791095676161648640}} 
[2026-04-26 16:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":54822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:11:03] local.INFO: GPS data processed {"connection_id":54822,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:11:03] local.INFO: Acknowledgment sent {"connection_id":54822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:11:04] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96074b8012d7aed8005d35368001000590b..."} 
[2026-04-26 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96074b8012d7aed8005d35368001000590b..."} 
[2026-04-26 16:11:04] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96074b8012d7aed8005d35368001000590b..."} 
[2026-04-26 16:11:04] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:04] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763030912,"raw_latitude":97735528,"longitude_deg":76.3030912,"latitude_deg":9.7735528,"altitude":16,"angle":89,"satellites":11,"speed":31,"hex_longitude":"2d7aed80","hex_latitude":"05d35368","is_valid_coordinates":true} 
[2026-04-26 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963206144001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76479559221903360,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847462230477633536,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:04] 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-04-26 16:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777200035000,"timestamp_ms":1777200035000,"timestamp_seconds":1777200035,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96074b8"} 
[2026-04-26 16:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:11:04] 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-04-26 16:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 16:11:04] 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-04-26 16:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963206144001,"66":13559,"53":206,"85":15104,"24":31,"16":76479559221903360,"45":8847462230477633536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 16:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963206144001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:11:04] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 16:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76479559221903360,"km_value":76479559221903.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847462230477633536,"description":"Unknown IO ID 45"} 
[2026-04-26 16:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963206144001,"power":13559,"unknown_53":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8847462230477633536}} 
[2026-04-26 16:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:11:04] local.INFO: GPS data processed {"connection_id":55557,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:11:04] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:11:13] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:11:13] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:11:13] local.INFO: IMEI packet received {"connection_id":54639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":54639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:11:19] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:11:19] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:11:19] local.INFO: IMEI packet received {"connection_id":54639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":54639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:11:20] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:11:20] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:11:20] local.INFO: Packet analysis {"connection_id":54639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:20] local.INFO: Extracted packet for processing {"connection_id":54639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 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-04-26 16:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:11: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-04-26 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-04-26 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-04-26 16:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:11:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":54639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:11:20] local.INFO: GPS data processed {"connection_id":54639,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:11:20] local.INFO: Acknowledgment sent {"connection_id":54639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:11:27] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:11:27] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:11:27] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:11:33] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:11:33] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:11:33] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:11:33] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9603638012d18dc00072056f0002b00af28..."} 
[2026-04-26 16:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9603638012d18dc00072056f0002b00af28..."} 
[2026-04-26 16:11:33] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9603638012d18dc00072056f0002b00af28..."} 
[2026-04-26 16:11:33] local.INFO: Packet analysis {"connection_id":54889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:33] local.INFO: Extracted packet for processing {"connection_id":54889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119559920,"longitude_deg":75.6603904,"latitude_deg":11.955992,"altitude":43,"angle":175,"satellites":40,"speed":12,"hex_longitude":"2d18dc00","hex_latitude":"072056f0","is_valid_coordinates":true} 
[2026-04-26 16:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963204352001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114820088028200960,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791236413649932288,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777200019000,"timestamp_ms":1777200019000,"timestamp_seconds":1777200019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9603638"} 
[2026-04-26 16:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 16:11:33] 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-04-26 16:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963204352001,"66":14483,"106":206,"83":41984,"24":12,"16":114820088028200960,"45":1791236413649932288},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963204352001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:11:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114820088028200960,"km_value":114820088028200.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791236413649932288,"description":"Unknown IO ID 45"} 
[2026-04-26 16:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963204352001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791236413649932288}} 
[2026-04-26 16:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":54889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:11:34] local.INFO: GPS data processed {"connection_id":54889,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:11:34] local.INFO: Acknowledgment sent {"connection_id":54889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:11:35] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96097e0012d7b120005d353f0000d005a0b..."} 
[2026-04-26 16:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96097e0012d7b120005d353f0000d005a0b..."} 
[2026-04-26 16:11:35] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96097e0012d7b120005d353f0000d005a0b..."} 
[2026-04-26 16:11:35] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:35] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":763040256,"raw_latitude":97735664,"longitude_deg":76.3040256,"latitude_deg":9.7735664,"altitude":13,"angle":90,"satellites":11,"speed":40,"hex_longitude":"2d7b1200","hex_latitude":"05d353f0","is_valid_coordinates":true} 
[2026-04-26 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963208960001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76480005898502144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857876804616284160,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:35] 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-04-26 16:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777200044000,"timestamp_ms":1777200044000,"timestamp_seconds":1777200044,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96097e0"} 
[2026-04-26 16:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 16:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963208960001,"66":13689,"53":206,"85":15104,"24":40,"16":76480005898502144,"45":8857876804616284160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-04-26 16:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963208960001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:11:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-26 16:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76480005898502144,"km_value":76480005898502.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857876804616284160,"description":"Unknown IO ID 45"} 
[2026-04-26 16:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963208960001,"power":13689,"unknown_53":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8857876804616284160}} 
[2026-04-26 16:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:11:35] local.INFO: GPS data processed {"connection_id":55557,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:11:35] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:11:51] local.INFO: TCP Data received {"connection_id":54639,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:11:51] local.INFO: Processing buffer {"connection_id":54639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:11:51] local.INFO: Packet analysis {"connection_id":54639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:51] local.INFO: Extracted packet for processing {"connection_id":54639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:11: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-04-26 16: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-04-26 16:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:11:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":54639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:11:51] local.INFO: GPS data processed {"connection_id":54639,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:11:51] local.INFO: Acknowledgment sent {"connection_id":54639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:05] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9603e08012d18dc00072053e8002b00bb28..."} 
[2026-04-26 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9603e08012d18dc00072053e8002b00bb28..."} 
[2026-04-26 16:12:05] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9603e08012d18dc00072053e8002b00bb28..."} 
[2026-04-26 16:12:05] local.INFO: Packet analysis {"connection_id":54889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:12:05] local.INFO: Extracted packet for processing {"connection_id":54889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":756603904,"raw_latitude":119559144,"longitude_deg":75.6603904,"latitude_deg":11.9559144,"altitude":43,"angle":187,"satellites":40,"speed":18,"hex_longitude":"2d18dc00","hex_latitude":"072053e8","is_valid_coordinates":true} 
[2026-04-26 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963204864001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114820126682906624,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791306782393954304,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777200021000,"timestamp_ms":1777200021000,"timestamp_seconds":1777200021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9603e08"} 
[2026-04-26 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:05] 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-04-26 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:12:05] 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-04-26 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963204864001,"66":14450,"106":206,"83":41984,"24":18,"16":114820126682906624,"45":1791306782393954304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963204864001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:12:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114820126682906624,"km_value":114820126682906.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791306782393954304,"description":"Unknown IO ID 45"} 
[2026-04-26 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963204864001,"power":14450,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1791306782393954304}} 
[2026-04-26 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":54889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:05] local.INFO: GPS data processed {"connection_id":54889,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:05] local.INFO: Acknowledgment sent {"connection_id":54889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:06] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9618628012d7b484005d39ed80000015e0c..."} 
[2026-04-26 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9618628012d7b484005d39ed80000015e0c..."} 
[2026-04-26 16:12:06] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9618628012d7b484005d39ed80000015e0c..."} 
[2026-04-26 16:12:06] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:06] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":97754840,"longitude_deg":76.3054144,"latitude_deg":9.775484,"altitude":0,"angle":350,"satellites":12,"speed":41,"hex_longitude":"2d7b4840","hex_latitude":"05d39ed8","is_valid_coordinates":true} 
[2026-04-26 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963224320001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76481616511238144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246103998464,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777200105000,"timestamp_ms":1777200105000,"timestamp_seconds":1777200105,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9618628"} 
[2026-04-26 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5632,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:06] 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-04-26 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963224320001,"66":13646,"210":206,"85":15104,"24":41,"16":76481616511238144,"45":8885250246103998464},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963224320001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:06] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 16:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76481616511238144,"km_value":76481616511238.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246103998464,"description":"Unknown IO ID 45"} 
[2026-04-26 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963224320001,"power":13646,"unknown_210":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8885250246103998464}} 
[2026-04-26 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:06] local.INFO: GPS data processed {"connection_id":55557,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:06] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:19] local.INFO: TCP Data received {"connection_id":55559,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:12:19] local.INFO: Processing buffer {"connection_id":55559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:12:19] local.INFO: IMEI packet received {"connection_id":55559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":55559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:12:24] local.INFO: TCP Data received {"connection_id":55559,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:12:24] local.INFO: Processing buffer {"connection_id":55559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:12:24] local.INFO: IMEI packet received {"connection_id":55559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":55559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:12:25] local.INFO: TCP Data received {"connection_id":55559,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:12:25] local.INFO: Processing buffer {"connection_id":55559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:12:25] local.INFO: Packet analysis {"connection_id":55559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:12:25] local.INFO: Extracted packet for processing {"connection_id":55559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:25] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:12:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":55559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:25] local.INFO: GPS data processed {"connection_id":55559,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:25] local.INFO: Acknowledgment sent {"connection_id":55559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:27] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:27] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:27] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:12:28] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:28] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:28] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:12:29] local.INFO: TCP Data received {"connection_id":55559,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:12:29] local.INFO: Processing buffer {"connection_id":55559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:12:29] local.INFO: Packet analysis {"connection_id":55559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:12:29] local.INFO: Extracted packet for processing {"connection_id":55559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:12:29] 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-04-26 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":55559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:29] local.INFO: GPS data processed {"connection_id":55559,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:29] local.INFO: Acknowledgment sent {"connection_id":55559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:33] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:33] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:33] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:12:33] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:33] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:12:33] local.INFO: IMEI packet received {"connection_id":54641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":54641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:12:34] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9619d98012d18dd8007201a80002a011b28..."} 
[2026-04-26 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9619d98012d18dd8007201a80002a011b28..."} 
[2026-04-26 16:12:34] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9619d98012d18dd8007201a80002a011b28..."} 
[2026-04-26 16:12:34] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:34] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119544448,"longitude_deg":75.6604288,"latitude_deg":11.9544448,"altitude":42,"angle":283,"satellites":40,"speed":13,"hex_longitude":"2d18dd80","hex_latitude":"07201a80","is_valid_coordinates":true} 
[2026-04-26 16:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963226624001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114821114525384704,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793910425924530176,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777200111000,"timestamp_ms":1777200111000,"timestamp_seconds":1777200111,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9619d98"} 
[2026-04-26 16:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:34] 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-04-26 16:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:12:34] 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-04-26 16:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963226624001,"66":14254,"106":206,"83":41984,"24":13,"16":114821114525384704,"45":1793910425924530176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963226624001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:12:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114821114525384704,"km_value":114821114525384.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793910425924530176,"description":"Unknown IO ID 45"} 
[2026-04-26 16:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963226624001,"power":14254,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1793910425924530176}} 
[2026-04-26 16:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:34] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:34] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:35] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc961a950012d18da4007201b98002a013928..."} 
[2026-04-26 16:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc961a950012d18da4007201b98002a013928..."} 
[2026-04-26 16:12:35] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc961a950012d18da4007201b98002a013928..."} 
[2026-04-26 16:12:35] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:35] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:35] local.INFO: GPS Element Parsed {"raw_longitude":756603456,"raw_latitude":119544728,"longitude_deg":75.6603456,"latitude_deg":11.9544728,"altitude":42,"angle":313,"satellites":40,"speed":9,"hex_longitude":"2d18da40","hex_latitude":"07201b98","is_valid_coordinates":true} 
[2026-04-26 16:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963228416001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114821157475057664,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791728994855059456,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777200114000,"timestamp_ms":1777200114000,"timestamp_seconds":1777200114,"priority":1,"record_length":96,"hex_timestamp":"0000019dc961a950"} 
[2026-04-26 16:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:35] 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-04-26 16:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:12:35] 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-04-26 16:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963228416001,"66":14428,"106":206,"83":41984,"24":9,"16":114821157475057664,"45":1791728994855059456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963228416001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114821157475057664,"km_value":114821157475057.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791728994855059456,"description":"Unknown IO ID 45"} 
[2026-04-26 16:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963228416001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1791728994855059456}} 
[2026-04-26 16:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:35] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:35] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:38] local.INFO: TCP Data received {"connection_id":55557,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc961a950012d7b3f0005d3c448000001590c..."} 
[2026-04-26 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc961a950012d7b3f0005d3c448000001590c..."} 
[2026-04-26 16:12:38] local.INFO: Processing buffer {"connection_id":55557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc961a950012d7b3f0005d3c448000001590c..."} 
[2026-04-26 16:12:38] local.INFO: Packet analysis {"connection_id":55557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:38] local.INFO: Extracted packet for processing {"connection_id":55557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763051776,"raw_latitude":97764424,"longitude_deg":76.3051776,"latitude_deg":9.7764424,"altitude":0,"angle":345,"satellites":12,"speed":43,"hex_longitude":"2d7b3f00","hex_latitude":"05d3c448","is_valid_coordinates":true} 
[2026-04-26 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963226880001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76482097547575296,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420658757720064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777200114000,"timestamp_ms":1777200114000,"timestamp_seconds":1777200114,"priority":1,"record_length":96,"hex_timestamp":"0000019dc961a950"} 
[2026-04-26 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55557,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963226880001,"66":13428,"210":206,"85":15104,"24":43,"16":76482097547575296,"45":8883420658757720064},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963226880001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:12:38] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 16:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76482097547575296,"km_value":76482097547575.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420658757720064,"description":"Unknown IO ID 45"} 
[2026-04-26 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963226880001,"power":13428,"unknown_210":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8883420658757720064}} 
[2026-04-26 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":55557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:12:38] local.INFO: GPS data processed {"connection_id":55557,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:12:38] local.INFO: Acknowledgment sent {"connection_id":55557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:12:57] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:12:57] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:12:57] local.INFO: IMEI packet received {"connection_id":55560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":55560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:12:59] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:12:59] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:12:59] local.INFO: IMEI packet received {"connection_id":55560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":55560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:13:02] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:13:02] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:13:02] local.INFO: IMEI packet received {"connection_id":55560,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":55560,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:13:03] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc961cc78012d7b364005d3e9800000015a0c..."} 
[2026-04-26 16:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc961cc78012d7b364005d3e9800000015a0c..."} 
[2026-04-26 16:13:03] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc961cc78012d7b364005d3e9800000015a0c..."} 
[2026-04-26 16:13:03] local.INFO: Packet analysis {"connection_id":55560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:13:03] local.INFO: Extracted packet for processing {"connection_id":55560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:13:03] local.INFO: GPS Element Parsed {"raw_longitude":763049536,"raw_latitude":97773952,"longitude_deg":76.3049536,"latitude_deg":9.7773952,"altitude":0,"angle":346,"satellites":12,"speed":40,"hex_longitude":"2d7b3640","hex_latitude":"05d3e980","is_valid_coordinates":true} 
[2026-04-26 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963229184001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76482569993977856,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880817015225600000,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777200123000,"timestamp_ms":1777200123000,"timestamp_seconds":1777200123,"priority":1,"record_length":96,"hex_timestamp":"0000019dc961cc78"} 
[2026-04-26 16:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:13:03] 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-04-26 16:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-26 16:13:03] 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-04-26 16:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":55560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963229184001,"66":13722,"210":206,"85":15104,"24":40,"16":76482569993977856,"45":8880817015225600000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 16:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963229184001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:03] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 16:13:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76482569993977856,"km_value":76482569993977.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880817015225600000,"description":"Unknown IO ID 45"} 
[2026-04-26 16:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963229184001,"power":13722,"unknown_210":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8880817015225600000}} 
[2026-04-26 16:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":55560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:03] local.INFO: GPS data processed {"connection_id":55560,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:03] local.INFO: Acknowledgment sent {"connection_id":55560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:13:06] local.INFO: TCP Data received {"connection_id":54641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc961ad38012d18da0007201c70002b015628..."} 
[2026-04-26 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc961ad38012d18da0007201c70002b015628..."} 
[2026-04-26 16:13:06] local.INFO: Processing buffer {"connection_id":54641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc961ad38012d18da0007201c70002b015628..."} 
[2026-04-26 16:13:06] local.INFO: Packet analysis {"connection_id":54641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:13:06] local.INFO: Extracted packet for processing {"connection_id":54641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756603392,"raw_latitude":119544944,"longitude_deg":75.6603392,"latitude_deg":11.9544944,"altitude":43,"angle":342,"satellites":40,"speed":10,"hex_longitude":"2d18da00","hex_latitude":"07201c70","is_valid_coordinates":true} 
[2026-04-26 16:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963229184001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114821166064992256,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790814201180821504,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777200115000,"timestamp_ms":1777200115000,"timestamp_seconds":1777200115,"priority":1,"record_length":96,"hex_timestamp":"0000019dc961ad38"} 
[2026-04-26 16:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:13:06] 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-04-26 16:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963229184001,"66":14494,"106":206,"83":41984,"24":10,"16":114821166064992256,"45":1790814201180821504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963229184001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114821166064992256,"km_value":114821166064992.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790814201180821504,"description":"Unknown IO ID 45"} 
[2026-04-26 16:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963229184001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1790814201180821504}} 
[2026-04-26 16:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":54641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:06] local.INFO: GPS data processed {"connection_id":54641,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:06] local.INFO: Acknowledgment sent {"connection_id":54641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:13:14] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:13:14] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:13:14] local.INFO: IMEI packet received {"connection_id":54642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:13:19] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:13:19] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:13:19] local.INFO: IMEI packet received {"connection_id":54642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:13:20] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:13:20] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:13:20] local.INFO: Packet analysis {"connection_id":54642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:13:20] local.INFO: Extracted packet for processing {"connection_id":54642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 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-04-26 16:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:13: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-04-26 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-04-26 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-04-26 16:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":54642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:20] local.INFO: GPS data processed {"connection_id":54642,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:20] local.INFO: Acknowledgment sent {"connection_id":54642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:13:28] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:28] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:28] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:13:34] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:34] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:34] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:13:34] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:34] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:13:34] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:13:35] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96304f8012d7b0b4005d51a78000001560d..."} 
[2026-04-26 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96304f8012d7b0b4005d51a78000001560d..."} 
[2026-04-26 16:13:35] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96304f8012d7b0b4005d51a78000001560d..."} 
[2026-04-26 16:13:35] local.INFO: Packet analysis {"connection_id":55560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:13:35] local.INFO: Extracted packet for processing {"connection_id":55560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":97852024,"longitude_deg":76.3038528,"latitude_deg":9.7852024,"altitude":0,"angle":342,"satellites":13,"speed":41,"hex_longitude":"2d7b0b40","hex_latitude":"05d51a78","is_valid_coordinates":true} 
[2026-04-26 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963249920001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76486439759511552,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783959991339008,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777200203000,"timestamp_ms":1777200203000,"timestamp_seconds":1777200203,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96304f8"} 
[2026-04-26 16:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 16:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963249920001,"66":13602,"5":206,"85":15104,"24":41,"16":76486439759511552,"45":8868783959991339008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963249920001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76486439759511552,"km_value":76486439759511.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783959991339008,"description":"Unknown IO ID 45"} 
[2026-04-26 16:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963249920001,"power":13602,"unknown_5":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8868783959991339008}} 
[2026-04-26 16:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":55560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:35] local.INFO: GPS data processed {"connection_id":55560,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:35] local.INFO: Acknowledgment sent {"connection_id":55560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:13:35] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc961b120012d18da0007201d88002a000428..."} 
[2026-04-26 16:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc961b120012d18da0007201d88002a000428..."} 
[2026-04-26 16:13:35] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc961b120012d18da0007201d88002a000428..."} 
[2026-04-26 16:13:35] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:13:35] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc961"} 
[2026-04-26 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756603392,"raw_latitude":119545224,"longitude_deg":75.6603392,"latitude_deg":11.9545224,"altitude":42,"angle":4,"satellites":40,"speed":11,"hex_longitude":"2d18da00","hex_latitude":"07201d88","is_valid_coordinates":true} 
[2026-04-26 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963229440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114821183244861440,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790743832436699136,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777200116000,"timestamp_ms":1777200116000,"timestamp_seconds":1777200116,"priority":1,"record_length":96,"hex_timestamp":"0000019dc961b120"} 
[2026-04-26 16:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 16:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:13:35] 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-04-26 16:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963229440001,"66":14494,"106":206,"83":41984,"24":11,"16":114821183244861440,"45":1790743832436699136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963229440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114821183244861440,"km_value":114821183244861.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790743832436699136,"description":"Unknown IO ID 45"} 
[2026-04-26 16:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963229440001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1790743832436699136}} 
[2026-04-26 16:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:35] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:35] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:13:38] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9620328012d18dd0007203d400027016728..."} 
[2026-04-26 16:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9620328012d18dd0007203d400027016728..."} 
[2026-04-26 16:13:38] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9620328012d18dd0007203d400027016728..."} 
[2026-04-26 16:13:38] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc962"} 
[2026-04-26 16:13:38] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc962"} 
[2026-04-26 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756604160,"raw_latitude":119553344,"longitude_deg":75.660416,"latitude_deg":11.9553344,"altitude":39,"angle":359,"satellites":40,"speed":19,"hex_longitude":"2d18dd00","hex_latitude":"07203d40","is_valid_coordinates":true} 
[2026-04-26 16:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963229696001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114821578381852672,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790743832436770816,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777200137000,"timestamp_ms":1777200137000,"timestamp_seconds":1777200137,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9620328"} 
[2026-04-26 16:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 16:13:38] 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-04-26 16:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:13:38] 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-04-26 16:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963229696001,"66":14559,"106":206,"83":41984,"24":19,"16":114821578381852672,"45":1790743832436770816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963229696001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114821578381852672,"km_value":114821578381852.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790743832436770816,"description":"Unknown IO ID 45"} 
[2026-04-26 16:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963229696001,"power":14559,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1790743832436770816}} 
[2026-04-26 16:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:38] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:38] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:13:51] local.INFO: TCP Data received {"connection_id":54642,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:13:51] local.INFO: Processing buffer {"connection_id":54642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:13:51] local.INFO: Packet analysis {"connection_id":54642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:13:51] local.INFO: Extracted packet for processing {"connection_id":54642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:13: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-04-26 16: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-04-26 16:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:13:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":54642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:13:51] local.INFO: GPS data processed {"connection_id":54642,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:13:51] local.INFO: Acknowledgment sent {"connection_id":54642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:05] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9631c68012d7b068005d530e8000001640d..."} 
[2026-04-26 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9631c68012d7b068005d530e8000001640d..."} 
[2026-04-26 16:14:05] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9631c68012d7b068005d530e8000001640d..."} 
[2026-04-26 16:14:05] local.INFO: Packet analysis {"connection_id":55560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:05] local.INFO: Extracted packet for processing {"connection_id":55560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":97857768,"longitude_deg":76.3037312,"latitude_deg":9.7857768,"altitude":0,"angle":356,"satellites":13,"speed":36,"hex_longitude":"2d7b0680","hex_latitude":"05d530e8","is_valid_coordinates":true} 
[2026-04-26 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963251968001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76486727522320384,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685203249152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777200209000,"timestamp_ms":1777200209000,"timestamp_seconds":1777200209,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9631c68"} 
[2026-04-26 16:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 16:14:05] 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-04-26 16:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963251968001,"66":13722,"5":206,"85":15104,"24":36,"16":76486727522320384,"45":8866250685203249152},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 16:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963251968001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:14:05] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 16:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76486727522320384,"km_value":76486727522320.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685203249152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963251968001,"power":13722,"unknown_5":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8866250685203249152}} 
[2026-04-26 16:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":55560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:14:05] local.INFO: GPS data processed {"connection_id":55560,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:14:05] local.INFO: Acknowledgment sent {"connection_id":55560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:09] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96308e0012d18bd0007208e980029005627..."} 
[2026-04-26 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96308e0012d18bd0007208e980029005627..."} 
[2026-04-26 16:14:09] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96308e0012d18bd0007208e980029005627..."} 
[2026-04-26 16:14:09] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:09] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:09] local.INFO: GPS Element Parsed {"raw_longitude":756595968,"raw_latitude":119574168,"longitude_deg":75.6595968,"latitude_deg":11.9574168,"altitude":41,"angle":86,"satellites":39,"speed":6,"hex_longitude":"2d18bd00","hex_latitude":"07208e98","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963251712001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114822750907924480,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782369951887015936,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777200204000,"timestamp_ms":1777200204000,"timestamp_seconds":1777200204,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96308e0"} 
[2026-04-26 16:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:14:09] 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-04-26 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 16:14:09] 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-04-26 16: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-04-26 16:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:14:09] 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-04-26 16:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963251712001,"66":14428,"106":206,"83":41984,"24":6,"16":114822750907924480,"45":1782369951887015936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963251712001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:14:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:14:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114822750907924480,"km_value":114822750907924.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782369951887015936,"description":"Unknown IO ID 45"} 
[2026-04-26 16:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963251712001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1782369951887015936}} 
[2026-04-26 16:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:14:09] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:14:09] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:14] local.INFO: TCP Data received {"connection_id":54891,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:14:14] local.INFO: Processing buffer {"connection_id":54891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:14:14] local.INFO: IMEI packet received {"connection_id":54891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":54891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:14:19] local.INFO: TCP Data received {"connection_id":54891,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:14:19] local.INFO: Processing buffer {"connection_id":54891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:14:19] local.INFO: IMEI packet received {"connection_id":54891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":54891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:14:19] local.INFO: TCP Data received {"connection_id":54891,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:14:19] local.INFO: Processing buffer {"connection_id":54891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:14:19] local.INFO: Packet analysis {"connection_id":54891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:14:19] local.INFO: Extracted packet for processing {"connection_id":54891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:14:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:14:19] 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-04-26 16:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:14:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:14:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":54891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:14:19] local.INFO: GPS data processed {"connection_id":54891,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:14:19] local.INFO: Acknowledgment sent {"connection_id":54891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:28] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:14:28] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:14:28] local.INFO: IMEI packet received {"connection_id":54825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":54825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:14:32] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:14:32] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:14:32] local.INFO: IMEI packet received {"connection_id":54825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":54825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:14:32] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9631c68012d18c1c007208f10002a004327..."} 
[2026-04-26 16:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9631c68012d18c1c007208f10002a004327..."} 
[2026-04-26 16:14:32] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9631c68012d18c1c007208f10002a004327..."} 
[2026-04-26 16:14:32] local.INFO: Packet analysis {"connection_id":54825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:32] local.INFO: Extracted packet for processing {"connection_id":54825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:32] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":119574288,"longitude_deg":75.6597184,"latitude_deg":11.9574288,"altitude":42,"angle":67,"satellites":39,"speed":8,"hex_longitude":"2d18c1c0","hex_latitude":"07208f10","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963252224001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114822811037466624,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782581058119571456,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:32] 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-04-26 16:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777200209000,"timestamp_ms":1777200209000,"timestamp_seconds":1777200209,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9631c68"} 
[2026-04-26 16:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:14:32] 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-04-26 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:14:32] 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-04-26 16:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963252224001,"66":14483,"106":206,"83":41984,"24":8,"16":114822811037466624,"45":1782581058119571456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963252224001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:14:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:14:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114822811037466624,"km_value":114822811037466.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782581058119571456,"description":"Unknown IO ID 45"} 
[2026-04-26 16:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963252224001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1782581058119571456}} 
[2026-04-26 16:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":54825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:14:32] local.INFO: GPS data processed {"connection_id":54825,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:14:32] local.INFO: Acknowledgment sent {"connection_id":54825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:36] local.INFO: TCP Data received {"connection_id":55560,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9632438012d7b078005d538100001000c0d..."} 
[2026-04-26 16:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9632438012d7b078005d538100001000c0d..."} 
[2026-04-26 16:14:36] local.INFO: Processing buffer {"connection_id":55560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9632438012d7b078005d538100001000c0d..."} 
[2026-04-26 16:14:36] local.INFO: Packet analysis {"connection_id":55560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:36] local.INFO: Extracted packet for processing {"connection_id":55560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":763037568,"raw_latitude":97859600,"longitude_deg":76.3037568,"latitude_deg":9.78596,"altitude":1,"angle":12,"satellites":13,"speed":38,"hex_longitude":"2d7b0780","hex_latitude":"05d53810","is_valid_coordinates":true} 
[2026-04-26 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963253504001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76486813421666304,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679065344000,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777200211000,"timestamp_ms":1777200211000,"timestamp_seconds":1777200211,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9632438"} 
[2026-04-26 16:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 16:14:36] 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-04-26 16:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":55560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":55560,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963253504001,"66":13656,"5":206,"85":15104,"24":38,"16":76486813421666304,"45":8864913679065344000},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 16:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963253504001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:14:36] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 16:14:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76486813421666304,"km_value":76486813421666.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679065344000,"description":"Unknown IO ID 45"} 
[2026-04-26 16:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963253504001,"power":13656,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8864913679065344000}} 
[2026-04-26 16:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":55560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:14:36] local.INFO: GPS data processed {"connection_id":55560,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:14:36] local.INFO: Acknowledgment sent {"connection_id":55560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:50] local.INFO: TCP Data received {"connection_id":54891,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:14:50] local.INFO: Processing buffer {"connection_id":54891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:14:50] local.INFO: Packet analysis {"connection_id":54891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:14:50] local.INFO: Extracted packet for processing {"connection_id":54891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:14:50] 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-04-26 16:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:14:50] 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-04-26 16:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:14:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:14:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":54891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:14:50] local.INFO: GPS data processed {"connection_id":54891,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:14:50] local.INFO: Acknowledgment sent {"connection_id":54891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:14:57] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:14:57] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:14:57] local.INFO: IMEI packet received {"connection_id":54645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":54645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:14:57] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:14:57] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:14:57] local.INFO: IMEI packet received {"connection_id":54645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":54645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:15:02] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:15:02] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:15:02] local.INFO: IMEI packet received {"connection_id":54645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":54645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:15:03] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9634378012d7b0f4005d556e0000400000d..."} 
[2026-04-26 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9634378012d7b0f4005d556e0000400000d..."} 
[2026-04-26 16:15:03] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9634378012d7b0f4005d556e0000400000d..."} 
[2026-04-26 16:15:03] local.INFO: Packet analysis {"connection_id":54645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:15:03] local.INFO: Extracted packet for processing {"connection_id":54645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":97867488,"longitude_deg":76.3039552,"latitude_deg":9.7867488,"altitude":4,"angle":0,"satellites":13,"speed":44,"hex_longitude":"2d7b0f40","hex_latitude":"05d556e0","is_valid_coordinates":true} 
[2026-04-26 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963254016001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76487212853624832,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865195154042523648,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777200219000,"timestamp_ms":1777200219000,"timestamp_seconds":1777200219,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9634378"} 
[2026-04-26 16:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 16:15:03] 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-04-26 16:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":54645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":54645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":54645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963254016001,"66":13765,"5":206,"85":15104,"24":44,"16":76487212853624832,"45":8865195154042523648},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 16:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963254016001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:15:03] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 16:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76487212853624832,"km_value":76487212853624.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865195154042523648,"description":"Unknown IO ID 45"} 
[2026-04-26 16:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963254016001,"power":13765,"unknown_5":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8865195154042523648}} 
[2026-04-26 16:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":54645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65840,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:15:03] local.INFO: GPS data processed {"connection_id":54645,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:15:03] local.INFO: Acknowledgment sent {"connection_id":54645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:15:03] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9632050012d18c28007208fa8002b003026..."} 
[2026-04-26 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9632050012d18c28007208fa8002b003026..."} 
[2026-04-26 16:15:03] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9632050012d18c28007208fa8002b003026..."} 
[2026-04-26 16:15:03] local.INFO: Packet analysis {"connection_id":54825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:15:03] local.INFO: Extracted packet for processing {"connection_id":54825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc963"} 
[2026-04-26 16:15:03] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119574440,"longitude_deg":75.6597376,"latitude_deg":11.957444,"altitude":43,"angle":48,"satellites":38,"speed":8,"hex_longitude":"2d18c280","hex_latitude":"07208fa8","is_valid_coordinates":true} 
[2026-04-26 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963253504001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114822819627401216,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064258977792,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777200210000,"timestamp_ms":1777200210000,"timestamp_seconds":1777200210,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9632050"} 
[2026-04-26 16:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:15:03] 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-04-26 16:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 16:15:03] 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-04-26 16:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:15:04] 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-04-26 16:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963253504001,"66":14428,"106":206,"83":41984,"24":8,"16":114822819627401216,"45":1783918064258977792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963253504001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:15:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114822819627401216,"km_value":114822819627401.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064258977792,"description":"Unknown IO ID 45"} 
[2026-04-26 16:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963253504001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1783918064258977792}} 
[2026-04-26 16:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":54825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:15:04] local.INFO: GPS data processed {"connection_id":54825,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:15:04] local.INFO: Acknowledgment sent {"connection_id":54825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:15:13] local.INFO: TCP Data received {"connection_id":55561,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:15:13] local.INFO: Processing buffer {"connection_id":55561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:15:13] local.INFO: IMEI packet received {"connection_id":55561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":55561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:15:19] local.INFO: TCP Data received {"connection_id":55561,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:15:19] local.INFO: Processing buffer {"connection_id":55561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:15:19] local.INFO: IMEI packet received {"connection_id":55561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":55561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:15:19] local.INFO: TCP Data received {"connection_id":55561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:15:19] local.INFO: Processing buffer {"connection_id":55561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:15:19] local.INFO: Packet analysis {"connection_id":55561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:15:19] local.INFO: Extracted packet for processing {"connection_id":55561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:15:19] 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-04-26 16: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-04-26 16:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:15:19] 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-04-26 16:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:15:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":55561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:15:19] local.INFO: GPS data processed {"connection_id":55561,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:15:19] local.INFO: Acknowledgment sent {"connection_id":55561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:15:25] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:25] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:25] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:15:26] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:26] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:26] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:15:27] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:27] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:27] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:15:28] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:28] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:15:28] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:15:34] local.INFO: TCP Data received {"connection_id":54645,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc964b690012d7ad40005d69018000501640e..."} 
[2026-04-26 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc964b690012d7ad40005d69018000501640e..."} 
[2026-04-26 16:15:34] local.INFO: Processing buffer {"connection_id":54645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc964b690012d7ad40005d69018000501640e..."} 
[2026-04-26 16:15:34] local.INFO: Packet analysis {"connection_id":54645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc964"} 
[2026-04-26 16:15:34] local.INFO: Extracted packet for processing {"connection_id":54645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc964"} 
[2026-04-26 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763024384,"raw_latitude":97947672,"longitude_deg":76.3024384,"latitude_deg":9.7947672,"altitude":5,"angle":356,"satellites":14,"speed":36,"hex_longitude":"2d7ad400","hex_latitude":"05d69018","is_valid_coordinates":true} 
[2026-04-26 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963277568001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76491194288308224,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851191773971427328,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777200314000,"timestamp_ms":1777200314000,"timestamp_seconds":1777200314,"priority":1,"record_length":96,"hex_timestamp":"0000019dc964b690"} 
[2026-04-26 16:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:15:34] 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-04-26 16:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-26 16:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963277568001,"66":13559,"243":206,"85":15104,"24":36,"16":76491194288308224,"45":8851191773971427328},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-04-26 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963277568001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:15:34] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-26 16:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76491194288308224,"km_value":76491194288308.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851191773971427328,"description":"Unknown IO ID 45"} 
[2026-04-26 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963277568001,"power":13559,"unknown_243":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8851191773971427328}} 
[2026-04-26 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":54645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:15:34] local.INFO: GPS data processed {"connection_id":54645,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:15:34] local.INFO: Acknowledgment sent {"connection_id":54645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:15:50] local.INFO: TCP Data received {"connection_id":55561,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:15:50] local.INFO: Processing buffer {"connection_id":55561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:15:50] local.INFO: Packet analysis {"connection_id":55561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:15:50] local.INFO: Extracted packet for processing {"connection_id":55561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:15:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:15:50] 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-04-26 16:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:15:50] 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-04-26 16:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:15:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":55561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:15:50] local.INFO: GPS data processed {"connection_id":55561,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:15:50] local.INFO: Acknowledgment sent {"connection_id":55561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:16:00] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:00] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:00] local.INFO: IMEI packet received {"connection_id":54826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":54826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:16:02] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:02] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:02] local.INFO: IMEI packet received {"connection_id":54826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":54826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:16:05] local.INFO: TCP Data received {"connection_id":55562,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:16:05] local.INFO: Processing buffer {"connection_id":55562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:16:05] local.INFO: IMEI packet received {"connection_id":55562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":55562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:16:08] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:08] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:16:08] local.INFO: IMEI packet received {"connection_id":54826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":54826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:16:08] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc964e188012d7acec005d6b600000701590f..."} 
[2026-04-26 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc964e188012d7acec005d6b600000701590f..."} 
[2026-04-26 16:16:08] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc964e188012d7acec005d6b600000701590f..."} 
[2026-04-26 16:16:08] local.INFO: Packet analysis {"connection_id":54826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc964"} 
[2026-04-26 16:16:08] local.INFO: Extracted packet for processing {"connection_id":54826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc964"} 
[2026-04-26 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763023040,"raw_latitude":97957376,"longitude_deg":76.302304,"latitude_deg":9.7957376,"altitude":7,"angle":345,"satellites":15,"speed":45,"hex_longitude":"2d7acec0","hex_latitude":"05d6b600","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963280384001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76491671029678080,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850699192764471296,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777200325000,"timestamp_ms":1777200325000,"timestamp_seconds":1777200325,"priority":1,"record_length":96,"hex_timestamp":"0000019dc964e188"} 
[2026-04-26 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:16:08] 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-04-26 16: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 16:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963280384001,"66":13559,"243":206,"85":15104,"24":45,"16":76491671029678080,"45":8850699192764471296},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-04-26 16:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963280384001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:16:08] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-26 16:16:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76491671029678080,"km_value":76491671029678.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850699192764471296,"description":"Unknown IO ID 45"} 
[2026-04-26 16:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963280384001,"power":13559,"unknown_243":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8850699192764471296}} 
[2026-04-26 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":54826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:16:09] local.INFO: GPS data processed {"connection_id":54826,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:16:09] local.INFO: Acknowledgment sent {"connection_id":54826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:16:13] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:16:13] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:16:13] local.INFO: IMEI packet received {"connection_id":54827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":54827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:16:19] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:16:19] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:16:19] local.INFO: IMEI packet received {"connection_id":54827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:16:19] local.INFO: IMEI acknowledgment sent {"connection_id":54827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:16:19] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:16:19] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9608c28012cb299c007822ce0005000122b..."} 
[2026-04-26 16:16:19] local.INFO: Packet analysis {"connection_id":54827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:16:19] local.INFO: Extracted packet for processing {"connection_id":54827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc960"} 
[2026-04-26 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963133440001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200041000,"timestamp_ms":1777200041000,"timestamp_seconds":1777200041,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9608c28"} 
[2026-04-26 16:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:16:19] 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-04-26 16:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963133440001,"66":25180,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963133440001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:16:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963133440001,"power":25180,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":54827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:16:19] local.INFO: GPS data processed {"connection_id":54827,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:16:19] local.INFO: Acknowledgment sent {"connection_id":54827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:16:40] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc965cfd0012d7a97c005d7caf80005001410..."} 
[2026-04-26 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc965cfd0012d7a97c005d7caf80005001410..."} 
[2026-04-26 16:16:40] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc965cfd0012d7a97c005d7caf80005001410..."} 
[2026-04-26 16:16:40] local.INFO: Packet analysis {"connection_id":54826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:16:40] local.INFO: Extracted packet for processing {"connection_id":54826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763008960,"raw_latitude":98028280,"longitude_deg":76.300896,"latitude_deg":9.802828,"altitude":5,"angle":20,"satellites":16,"speed":44,"hex_longitude":"2d7a97c0","hex_latitude":"05d7caf8","is_valid_coordinates":true} 
[2026-04-26 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963298048001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76495244442468352,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832614425530593280,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777200386000,"timestamp_ms":1777200386000,"timestamp_seconds":1777200386,"priority":1,"record_length":96,"hex_timestamp":"0000019dc965cfd0"} 
[2026-04-26 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-26 16:16:40] 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-04-26 16:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963298048001,"66":13678,"245":206,"85":15104,"24":44,"16":76495244442468352,"45":8832614425530593280},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963298048001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76495244442468352,"km_value":76495244442468.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832614425530593280,"description":"Unknown IO ID 45"} 
[2026-04-26 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963298048001,"power":13678,"geofence_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8832614425530593280}} 
[2026-04-26 16:16:40] local.INFO: TCP Data received {"connection_id":55564,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:16:40] local.INFO: Processing buffer {"connection_id":55564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:16:40] local.INFO: IMEI packet received {"connection_id":55564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":55564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":54826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:16:40] local.INFO: GPS data processed {"connection_id":54826,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:16:40] local.INFO: Acknowledgment sent {"connection_id":54826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:16:51] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:16:51] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:16:51] local.INFO: Packet analysis {"connection_id":54827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:16:51] local.INFO: Extracted packet for processing {"connection_id":54827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:16: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-04-26 16: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-04-26 16:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:16:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:16:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:16:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":54827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:16:51] local.INFO: GPS data processed {"connection_id":54827,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:16:51] local.INFO: Acknowledgment sent {"connection_id":54827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:17:03] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:03] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:03] local.INFO: IMEI packet received {"connection_id":54893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":54893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:17:07] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:07] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:07] local.INFO: IMEI packet received {"connection_id":54893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":54893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:17:10] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc965db88012d7a9b4005d7d7180005000810..."} 
[2026-04-26 16:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc965db88012d7a9b4005d7d7180005000810..."} 
[2026-04-26 16:17:10] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc965db88012d7a9b4005d7d7180005000810..."} 
[2026-04-26 16:17:10] local.INFO: Packet analysis {"connection_id":54893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:10] local.INFO: Extracted packet for processing {"connection_id":54893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":763009856,"raw_latitude":98031384,"longitude_deg":76.3009856,"latitude_deg":9.8031384,"altitude":5,"angle":8,"satellites":16,"speed":42,"hex_longitude":"2d7a9b40","hex_latitude":"05d7d718","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963298816001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76495399061291008,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8833740325438289920,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777200389000,"timestamp_ms":1777200389000,"timestamp_seconds":1777200389,"priority":1,"record_length":96,"hex_timestamp":"0000019dc965db88"} 
[2026-04-26 16:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 16:17:10] 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-04-26 16: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-04-26 16:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963298816001,"66":13526,"245":206,"85":15104,"24":42,"16":76495399061291008,"45":8833740325438289920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 16:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963298816001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:17:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76495399061291008,"km_value":76495399061291.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8833740325438289920,"description":"Unknown IO ID 45"} 
[2026-04-26 16:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963298816001,"power":13526,"geofence_id":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8833740325438289920}} 
[2026-04-26 16:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":54893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:17:10] local.INFO: GPS data processed {"connection_id":54893,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:17:10] local.INFO: Acknowledgment sent {"connection_id":54893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:17:11] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc965e358012d7a9b4005d7dff00004016610..."} 
[2026-04-26 16:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc965e358012d7a9b4005d7dff00004016610..."} 
[2026-04-26 16:17:11] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc965e358012d7a9b4005d7dff00004016610..."} 
[2026-04-26 16:17:11] local.INFO: Packet analysis {"connection_id":54893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:11] local.INFO: Extracted packet for processing {"connection_id":54893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":763009856,"raw_latitude":98033648,"longitude_deg":76.3009856,"latitude_deg":9.8033648,"altitude":4,"angle":358,"satellites":16,"speed":45,"hex_longitude":"2d7a9b40","hex_latitude":"05d7dff0","is_valid_coordinates":true} 
[2026-04-26 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963299584001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76495510730440704,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834725487857571840,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777200391000,"timestamp_ms":1777200391000,"timestamp_seconds":1777200391,"priority":1,"record_length":96,"hex_timestamp":"0000019dc965e358"} 
[2026-04-26 16:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-26 16: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-04-26 16:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963299584001,"66":13472,"245":206,"85":15104,"24":45,"16":76495510730440704,"45":8834725487857571840},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 16:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963299584001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:17:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76495510730440704,"km_value":76495510730440.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834725487857571840,"description":"Unknown IO ID 45"} 
[2026-04-26 16:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963299584001,"power":13472,"geofence_id":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8834725487857571840}} 
[2026-04-26 16:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":54893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:17:11] local.INFO: GPS data processed {"connection_id":54893,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:17:11] local.INFO: Acknowledgment sent {"connection_id":54893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:17:19] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:17:19] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:17:19] local.INFO: IMEI packet received {"connection_id":54828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:17:24] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:17:24] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:17:24] local.INFO: IMEI packet received {"connection_id":54828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":54828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:17:24] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:17:24] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:17:24] local.INFO: Packet analysis {"connection_id":54828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:24] local.INFO: Extracted packet for processing {"connection_id":54828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:17: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-04-26 16:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:17: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-04-26 16:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:17:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:17:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:17:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":54828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:17:25] local.INFO: GPS data processed {"connection_id":54828,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:17:25] local.INFO: Acknowledgment sent {"connection_id":54828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:17:29] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:17:29] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:17:29] local.INFO: Packet analysis {"connection_id":54828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:29] local.INFO: Extracted packet for processing {"connection_id":54828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:17: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-04-26 16:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:17:29] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":54828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:17:29] local.INFO: GPS data processed {"connection_id":54828,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:17:29] local.INFO: Acknowledgment sent {"connection_id":54828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:17:42] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9660298012d7a9c4005d806500004000710..."} 
[2026-04-26 16:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9660298012d7a9c4005d806500004000710..."} 
[2026-04-26 16:17:42] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9660298012d7a9c4005d806500004000710..."} 
[2026-04-26 16:17:42] local.INFO: Packet analysis {"connection_id":54893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc966"} 
[2026-04-26 16:17:42] local.INFO: Extracted packet for processing {"connection_id":54893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc966"} 
[2026-04-26 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":763010112,"raw_latitude":98043472,"longitude_deg":76.3010112,"latitude_deg":9.8043472,"altitude":4,"angle":7,"satellites":16,"speed":54,"hex_longitude":"2d7a9c40","hex_latitude":"05d80650","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963300096001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76495987471810560,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8834725487858151424,"note":"Value kept but may cause issues"} 
[2026-04-26 16:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777200399000,"timestamp_ms":1777200399000,"timestamp_seconds":1777200399,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9660298"} 
[2026-04-26 16:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":160,"data_length":795,"current_offset":136} 
[2026-04-26 16:17: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-04-26 16:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963300096001,"66":13656,"245":206,"85":15104,"24":54,"16":76495987471810560,"45":8834725487858151424},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 16:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963300096001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76495987471810560,"km_value":76495987471810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8834725487858151424,"description":"Unknown IO ID 45"} 
[2026-04-26 16:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963300096001,"power":13656,"geofence_id":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":8834725487858151424}} 
[2026-04-26 16:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":54893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:17:42] local.INFO: GPS data processed {"connection_id":54893,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:17:42] local.INFO: Acknowledgment sent {"connection_id":54893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:17:57] local.INFO: TCP Data received {"connection_id":54647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:57] local.INFO: Processing buffer {"connection_id":54647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:57] local.INFO: IMEI packet received {"connection_id":54647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":54647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:17:58] local.INFO: TCP Data received {"connection_id":54647,"ip":"42.106.6.38","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 16:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54647,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 16:17:58] local.INFO: Processing buffer {"connection_id":54647,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 16:17:58] local.INFO: IMEI packet received {"connection_id":54647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":54647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:17:59] local.INFO: TCP Data received {"connection_id":54647,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:17:59] local.INFO: Processing buffer {"connection_id":54647,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 16:17:59] local.INFO: IMEI packet received {"connection_id":54647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":54647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:18:14] local.INFO: TCP Data received {"connection_id":55566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:18:14] local.INFO: Processing buffer {"connection_id":55566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:18:14] local.INFO: IMEI packet received {"connection_id":55566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":55566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:18:19] local.INFO: TCP Data received {"connection_id":55566,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:18:19] local.INFO: Processing buffer {"connection_id":55566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:18:19] local.INFO: IMEI packet received {"connection_id":55566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":55566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:18:19] local.INFO: TCP Data received {"connection_id":55566,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:18:19] local.INFO: Processing buffer {"connection_id":55566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:18:19] local.INFO: Packet analysis {"connection_id":55566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:18:19] local.INFO: Extracted packet for processing {"connection_id":55566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:18:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:18:19] 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-04-26 16: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-04-26 16:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:18:19] 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-04-26 16:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:18:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":55566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:18:19] local.INFO: GPS data processed {"connection_id":55566,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:18:19] local.INFO: Acknowledgment sent {"connection_id":55566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:18:51] local.INFO: TCP Data received {"connection_id":55566,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:18:51] local.INFO: Processing buffer {"connection_id":55566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:18:51] local.INFO: Packet analysis {"connection_id":55566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:18:51] local.INFO: Extracted packet for processing {"connection_id":55566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:18: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-04-26 16: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-04-26 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:18:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":55566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:18:51] local.INFO: GPS data processed {"connection_id":55566,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:18:51] local.INFO: Acknowledgment sent {"connection_id":55566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:19:13] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:19:13] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:19:13] local.INFO: IMEI packet received {"connection_id":54830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":54830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:19:18] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:19:18] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:19:18] local.INFO: IMEI packet received {"connection_id":54830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":54830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:19:19] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:19] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:19] local.INFO: Packet analysis {"connection_id":54830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:19:19] local.INFO: Extracted packet for processing {"connection_id":54830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:19:19] 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-04-26 16:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":54830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:19:19] local.INFO: GPS data processed {"connection_id":54830,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:19:19] local.INFO: Acknowledgment sent {"connection_id":54830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:19:24] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:24] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:24] local.INFO: Packet analysis {"connection_id":54830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:19:24] local.INFO: Extracted packet for processing {"connection_id":54830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:19:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:19: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-04-26 16:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:19: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-04-26 16:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:19:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":54830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:19:24] local.INFO: GPS data processed {"connection_id":54830,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:19:24] local.INFO: Acknowledgment sent {"connection_id":54830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:19:56] local.INFO: TCP Data received {"connection_id":54830,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:56] local.INFO: Processing buffer {"connection_id":54830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:19:56] local.INFO: Packet analysis {"connection_id":54830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:19:56] local.INFO: Extracted packet for processing {"connection_id":54830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:19: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-04-26 16:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:19:56] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:19:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":54830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:19:56] local.INFO: GPS data processed {"connection_id":54830,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:19:56] local.INFO: Acknowledgment sent {"connection_id":54830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:20:13] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:20:13] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:20:13] local.INFO: IMEI packet received {"connection_id":54897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:20:18] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:20:18] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:20:18] local.INFO: IMEI packet received {"connection_id":54897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:20:19] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:20:19] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:20:19] local.INFO: Packet analysis {"connection_id":54897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:20:19] local.INFO: Extracted packet for processing {"connection_id":54897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:20:19] 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-04-26 16:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:20:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:20:19] local.INFO: GPS data processed {"connection_id":54897,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:20:19] local.INFO: Acknowledgment sent {"connection_id":54897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:20:30] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:20:30] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:20:30] local.INFO: IMEI packet received {"connection_id":54832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":54832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:20:33] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:20:33] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:20:33] local.INFO: IMEI packet received {"connection_id":54832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":54832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:20:34] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9674ab8012d1823400721b578004c001b28..."} 
[2026-04-26 16:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9674ab8012d1823400721b578004c001b28..."} 
[2026-04-26 16:20:34] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9674ab8012d1823400721b578004c001b28..."} 
[2026-04-26 16:20:34] local.INFO: Packet analysis {"connection_id":54832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:20:34] local.INFO: Extracted packet for processing {"connection_id":54832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649656,"longitude_deg":75.6556608,"latitude_deg":11.9649656,"altitude":76,"angle":27,"satellites":40,"speed":14,"hex_longitude":"2d182340","hex_latitude":"0721b578","is_valid_coordinates":true} 
[2026-04-26 16:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963319808001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828574883577856,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733815518421805056,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777200483000,"timestamp_ms":1777200483000,"timestamp_seconds":1777200483,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9674ab8"} 
[2026-04-26 16:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:20:34] 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-04-26 16:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-26 16:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:20:34] 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-04-26 16:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963319808001,"66":13102,"105":206,"83":41984,"24":14,"16":114828574883577856,"45":1733815518421805056},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963319808001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:20:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:20:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828574883577856,"km_value":114828574883577.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733815518421805056,"description":"Unknown IO ID 45"} 
[2026-04-26 16:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963319808001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1733815518421805056}} 
[2026-04-26 16:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":54832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:20:34] local.INFO: GPS data processed {"connection_id":54832,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:20:34] local.INFO: Acknowledgment sent {"connection_id":54832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:20:52] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:20:52] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:20:52] local.INFO: Packet analysis {"connection_id":54897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:20:52] local.INFO: Extracted packet for processing {"connection_id":54897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:20:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:20: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-04-26 16: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-04-26 16:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:20: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-04-26 16:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:20:52] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:20:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:20:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":54897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:20:52] local.INFO: GPS data processed {"connection_id":54897,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:20:52] local.INFO: Acknowledgment sent {"connection_id":54897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:21:05] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9675288012d1824400721b7a0004c000828..."} 
[2026-04-26 16:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9675288012d1824400721b7a0004c000828..."} 
[2026-04-26 16:21:05] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9675288012d1824400721b7a0004c000828..."} 
[2026-04-26 16:21:05] local.INFO: Packet analysis {"connection_id":54832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:21:05] local.INFO: Extracted packet for processing {"connection_id":54832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:21:05] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650208,"longitude_deg":75.6556864,"latitude_deg":11.9650208,"altitude":76,"angle":8,"satellites":40,"speed":10,"hex_longitude":"2d182440","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-04-26 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963323648001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828604948348928,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469633024,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777200485000,"timestamp_ms":1777200485000,"timestamp_seconds":1777200485,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9675288"} 
[2026-04-26 16:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:21:05] 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-04-26 16:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 16:21:05] 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-04-26 16:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:21:05] 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-04-26 16:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963323648001,"66":13091,"105":206,"83":41984,"24":10,"16":114828604948348928,"45":1739304280469633024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963323648001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:21:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:21:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828604948348928,"km_value":114828604948348.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469633024,"description":"Unknown IO ID 45"} 
[2026-04-26 16:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963323648001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739304280469633024}} 
[2026-04-26 16:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":54832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:21:05] local.INFO: GPS data processed {"connection_id":54832,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:21:05] local.INFO: Acknowledgment sent {"connection_id":54832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:21:14] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:21:14] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:21:14] local.INFO: IMEI packet received {"connection_id":54649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":54649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:21:19] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:21:19] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:21:19] local.INFO: IMEI packet received {"connection_id":54649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:21:20] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:21:20] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96523f0012cb299c007822ce0004f00122b..."} 
[2026-04-26 16:21:20] local.INFO: Packet analysis {"connection_id":54649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:21:20] local.INFO: Extracted packet for processing {"connection_id":54649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc965"} 
[2026-04-26 16:21:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963210496001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777200342000,"timestamp_ms":1777200342000,"timestamp_seconds":1777200342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96523f0"} 
[2026-04-26 16:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:21: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-04-26 16: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-04-26 16:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963210496001,"66":25125,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963210496001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:21:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:21:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:21:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963210496001,"power":25125,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":54649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:21:20] local.INFO: GPS data processed {"connection_id":54649,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:21:20] local.INFO: Acknowledgment sent {"connection_id":54649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:21:32] local.INFO: TCP Data received {"connection_id":55567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:21:32] local.INFO: Processing buffer {"connection_id":55567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:21:32] local.INFO: IMEI packet received {"connection_id":55567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":55567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:21:33] local.INFO: TCP Data received {"connection_id":55567,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:21:33] local.INFO: Processing buffer {"connection_id":55567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:21:33] local.INFO: IMEI packet received {"connection_id":55567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":55567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:21:34] local.INFO: TCP Data received {"connection_id":55567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9675670012d1824000721b880004c014628..."} 
[2026-04-26 16:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9675670012d1824000721b880004c014628..."} 
[2026-04-26 16:21:34] local.INFO: Processing buffer {"connection_id":55567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9675670012d1824000721b880004c014628..."} 
[2026-04-26 16:21:34] local.INFO: Packet analysis {"connection_id":55567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:21:34] local.INFO: Extracted packet for processing {"connection_id":55567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:21:34] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650432,"longitude_deg":75.65568,"latitude_deg":11.9650432,"altitude":76,"angle":326,"satellites":40,"speed":8,"hex_longitude":"2d182400","hex_latitude":"0721b880","is_valid_coordinates":true} 
[2026-04-26 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963324160001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828613538283520,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446484992,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777200486000,"timestamp_ms":1777200486000,"timestamp_seconds":1777200486,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9675670"} 
[2026-04-26 16:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:21:34] 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-04-26 16:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-26 16:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:21:34] 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-04-26 16:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963324160001,"66":13102,"105":206,"83":41984,"24":8,"16":114828613538283520,"45":1739585755446484992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963324160001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:21:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:21:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828613538283520,"km_value":114828613538283.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446484992,"description":"Unknown IO ID 45"} 
[2026-04-26 16:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963324160001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739585755446484992}} 
[2026-04-26 16:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":55567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:21:34] local.INFO: GPS data processed {"connection_id":55567,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:21:34] local.INFO: Acknowledgment sent {"connection_id":55567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:21:51] local.INFO: TCP Data received {"connection_id":54649,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:21:51] local.INFO: Processing buffer {"connection_id":54649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:21:51] local.INFO: Packet analysis {"connection_id":54649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:21:51] local.INFO: Extracted packet for processing {"connection_id":54649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 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-04-26 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:21: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-04-26 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-04-26 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-04-26 16:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:21:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:21:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:21:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":54649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:21:51] local.INFO: GPS data processed {"connection_id":54649,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:21:51] local.INFO: Acknowledgment sent {"connection_id":54649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:22:06] local.INFO: TCP Data received {"connection_id":55567,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9675a58012d1823800721b8d8004b011628..."} 
[2026-04-26 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9675a58012d1823800721b8d8004b011628..."} 
[2026-04-26 16:22:06] local.INFO: Processing buffer {"connection_id":55567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9675a58012d1823800721b8d8004b011628..."} 
[2026-04-26 16:22:06] local.INFO: Packet analysis {"connection_id":55567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:22:06] local.INFO: Extracted packet for processing {"connection_id":55567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650520,"longitude_deg":75.6556672,"latitude_deg":11.965052,"altitude":75,"angle":278,"satellites":40,"speed":5,"hex_longitude":"2d182380","hex_latitude":"0721b8d8","is_valid_coordinates":true} 
[2026-04-26 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963324416001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828617833250816,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702364672,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777200487000,"timestamp_ms":1777200487000,"timestamp_seconds":1777200487,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9675a58"} 
[2026-04-26 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:22:06] 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-04-26 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 16:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":55567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":55567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":55567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:22:06] 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-04-26 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963324416001,"66":13102,"105":206,"83":41984,"24":5,"16":114828617833250816,"45":1739515386702364672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963324416001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828617833250816,"km_value":114828617833250.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702364672,"description":"Unknown IO ID 45"} 
[2026-04-26 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963324416001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739515386702364672}} 
[2026-04-26 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":55567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:22:06] local.INFO: GPS data processed {"connection_id":55567,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:22:06] local.INFO: Acknowledgment sent {"connection_id":55567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:22:13] local.INFO: TCP Data received {"connection_id":54651,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:13] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:13] local.INFO: IMEI packet received {"connection_id":54651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":54651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:22:22] local.INFO: TCP Data received {"connection_id":54651,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:22] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:22] local.INFO: IMEI packet received {"connection_id":54651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":54651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:22:23] local.INFO: TCP Data received {"connection_id":54651,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:23] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:22:23] local.INFO: IMEI packet received {"connection_id":54651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":54651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:22:26] local.INFO: TCP Data received {"connection_id":54651,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:22:26] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:22:26] local.INFO: Packet analysis {"connection_id":54651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:22:26] local.INFO: Extracted packet for processing {"connection_id":54651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 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-04-26 16:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:22: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-04-26 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-04-26 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-04-26 16:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:22: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-04-26 16:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:22:26] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":54651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:22:26] local.INFO: GPS data processed {"connection_id":54651,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:22:26] local.INFO: Acknowledgment sent {"connection_id":54651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:22:27] local.INFO: TCP Data received {"connection_id":54652,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:22:27] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:22:27] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:22:31] local.INFO: TCP Data received {"connection_id":54651,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:22:31] local.INFO: Processing buffer {"connection_id":54651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:22:31] local.INFO: Packet analysis {"connection_id":54651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:22:31] local.INFO: Extracted packet for processing {"connection_id":54651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 16:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:22:31] 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-04-26 16:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:22:31] 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-04-26 16:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:22:31] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":54651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:22:31] local.INFO: GPS data processed {"connection_id":54651,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:22:31] local.INFO: Acknowledgment sent {"connection_id":54651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:22:33] local.INFO: TCP Data received {"connection_id":54652,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:22:33] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:22:33] local.INFO: IMEI packet received {"connection_id":54652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":54652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:22:36] local.INFO: TCP Data received {"connection_id":54652,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc967ac60012d1823000721b650004a011628..."} 
[2026-04-26 16:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc967ac60012d1823000721b650004a011628..."} 
[2026-04-26 16:22:36] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc967ac60012d1823000721b650004a011628..."} 
[2026-04-26 16:22:36] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:22:36] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649872,"longitude_deg":75.6556544,"latitude_deg":11.9649872,"altitude":74,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-04-26 16:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963324672001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828660782923776,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649214031872,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777200508000,"timestamp_ms":1777200508000,"timestamp_seconds":1777200508,"priority":1,"record_length":96,"hex_timestamp":"0000019dc967ac60"} 
[2026-04-26 16:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-26 16:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:22:36] 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-04-26 16:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963324672001,"66":12885,"105":206,"83":41984,"24":0,"16":114828660782923776,"45":1739374649214031872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963324672001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828660782923776,"km_value":114828660782923.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649214031872,"description":"Unknown IO ID 45"} 
[2026-04-26 16:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963324672001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649214031872}} 
[2026-04-26 16:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:22:36] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:22:36] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:22:37] local.INFO: TCP Data received {"connection_id":54652,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc967fe68012d1823000721b650004a011628..."} 
[2026-04-26 16:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc967fe68012d1823000721b650004a011628..."} 
[2026-04-26 16:22:37] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc967fe68012d1823000721b650004a011628..."} 
[2026-04-26 16:22:37] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:22:37] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc967"} 
[2026-04-26 16:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649872,"longitude_deg":75.6556544,"latitude_deg":11.9649872,"altitude":74,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-04-26 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963330048001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828660782923776,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725510656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777200529000,"timestamp_ms":1777200529000,"timestamp_seconds":1777200529,"priority":1,"record_length":96,"hex_timestamp":"0000019dc967fe68"} 
[2026-04-26 16:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:22:37] 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-04-26 16:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 16:22:37] 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-04-26 16:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:22:37] 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-04-26 16:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963330048001,"66":13015,"105":206,"83":41984,"24":0,"16":114828660782923776,"45":1739233911725510656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963330048001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:22:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828660782923776,"km_value":114828660782923.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725510656,"description":"Unknown IO ID 45"} 
[2026-04-26 16:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963330048001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725510656}} 
[2026-04-26 16:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:22:37] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:22:37] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:22:44] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:22:44] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:22:44] local.INFO: IMEI packet received {"connection_id":54899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":54899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:23:00] local.INFO: TCP Data received {"connection_id":55569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:00] local.INFO: Processing buffer {"connection_id":55569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:00] local.INFO: IMEI packet received {"connection_id":55569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":55569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:23:02] local.INFO: TCP Data received {"connection_id":55569,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55569,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:02] local.INFO: Processing buffer {"connection_id":55569,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:02] local.INFO: IMEI packet received {"connection_id":55569,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":55569,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:23:03] local.INFO: TCP Data received {"connection_id":55569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96b80d8012d7a160005dc7058001701571b..."} 
[2026-04-26 16:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96b80d8012d7a160005dc7058001701571b..."} 
[2026-04-26 16:23:03] local.INFO: Processing buffer {"connection_id":55569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96b80d8012d7a160005dc7058001701571b..."} 
[2026-04-26 16:23:03] local.INFO: Packet analysis {"connection_id":55569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96b"} 
[2026-04-26 16:23:03] local.INFO: Extracted packet for processing {"connection_id":55569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96b"} 
[2026-04-26 16:23:03] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":98332760,"longitude_deg":76.2975744,"latitude_deg":9.833276,"altitude":23,"angle":343,"satellites":27,"speed":56,"hex_longitude":"2d7a1600","hex_latitude":"05dc7058","is_valid_coordinates":true} 
[2026-04-26 16:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963392512001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76510324072644608,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799822590820122624,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777200759000,"timestamp_ms":1777200759000,"timestamp_seconds":1777200759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96b80d8"} 
[2026-04-26 16:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:23:03] 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-04-26 16:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 16:23:03] 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-04-26 16:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":55569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":55569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":55569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963392512001,"66":13656,"174":206,"85":15104,"24":56,"16":76510324072644608,"45":8799822590820122624},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-04-26 16:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963392512001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:03] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-26 16:23:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76510324072644608,"km_value":76510324072644.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799822590820122624,"description":"Unknown IO ID 45"} 
[2026-04-26 16:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963392512001,"power":13656,"unknown_174":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8799822590820122624}} 
[2026-04-26 16:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":55569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:03] local.INFO: GPS data processed {"connection_id":55569,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:03] local.INFO: Acknowledgment sent {"connection_id":55569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:04] local.INFO: TCP Data received {"connection_id":55569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96b9c30012d7a090005dc92a8001501511b..."} 
[2026-04-26 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96b9c30012d7a090005dc92a8001501511b..."} 
[2026-04-26 16:23:04] local.INFO: Processing buffer {"connection_id":55569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96b9c30012d7a090005dc92a8001501511b..."} 
[2026-04-26 16:23:04] local.INFO: Packet analysis {"connection_id":55569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96b"} 
[2026-04-26 16:23:04] local.INFO: Extracted packet for processing {"connection_id":55569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96b"} 
[2026-04-26 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":762972416,"raw_latitude":98341544,"longitude_deg":76.2972416,"latitude_deg":9.8341544,"altitude":21,"angle":337,"satellites":27,"speed":52,"hex_longitude":"2d7a0900","hex_latitude":"05dc92a8","is_valid_coordinates":true} 
[2026-04-26 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963394304001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76510779339177984,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797218947288029184,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777200766000,"timestamp_ms":1777200766000,"timestamp_seconds":1777200766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96b9c30"} 
[2026-04-26 16:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 16:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963394304001,"66":13722,"174":206,"85":15104,"24":52,"16":76510779339177984,"45":8797218947288029184},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-04-26 16:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963394304001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-26 16:23:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76510779339177984,"km_value":76510779339177.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797218947288029184,"description":"Unknown IO ID 45"} 
[2026-04-26 16:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963394304001,"power":13722,"unknown_174":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8797218947288029184}} 
[2026-04-26 16:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":55569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:04] local.INFO: GPS data processed {"connection_id":55569,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:04] local.INFO: Acknowledgment sent {"connection_id":55569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:08] local.INFO: TCP Data received {"connection_id":54652,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9685070012d1823000721b650004a011629..."} 
[2026-04-26 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9685070012d1823000721b650004a011629..."} 
[2026-04-26 16:23:08] local.INFO: Processing buffer {"connection_id":54652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9685070012d1823000721b650004a011629..."} 
[2026-04-26 16:23:08] local.INFO: Packet analysis {"connection_id":54652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc968"} 
[2026-04-26 16:23:08] local.INFO: Extracted packet for processing {"connection_id":54652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc968"} 
[2026-04-26 16:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649872,"longitude_deg":75.6556544,"latitude_deg":11.9649872,"altitude":74,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-04-26 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963335424001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828660782923776,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725510656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777200550000,"timestamp_ms":1777200550000,"timestamp_seconds":1777200550,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9685070"} 
[2026-04-26 16:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:23:08] 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-04-26 16:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 16:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:23:08] 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-04-26 16:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963335424001,"66":12972,"105":206,"83":41984,"24":0,"16":114828660782923776,"45":1739233911725510656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963335424001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828660782923776,"km_value":114828660782923.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725510656,"description":"Unknown IO ID 45"} 
[2026-04-26 16:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963335424001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725510656}} 
[2026-04-26 16:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":54652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:08] local.INFO: GPS data processed {"connection_id":54652,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:08] local.INFO: Acknowledgment sent {"connection_id":54652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:13] local.INFO: TCP Data received {"connection_id":55570,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:23:13] local.INFO: Processing buffer {"connection_id":55570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:23:13] local.INFO: IMEI packet received {"connection_id":55570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":55570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:23:19] local.INFO: TCP Data received {"connection_id":55570,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:23:19] local.INFO: Processing buffer {"connection_id":55570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:23:19] local.INFO: IMEI packet received {"connection_id":55570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":55570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:23:20] local.INFO: TCP Data received {"connection_id":55570,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:23:20] local.INFO: Processing buffer {"connection_id":55570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:23:20] local.INFO: Packet analysis {"connection_id":55570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:23:20] local.INFO: Extracted packet for processing {"connection_id":55570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:23:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:23:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 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-04-26 16:23:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:23: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-04-26 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-04-26 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-04-26 16:23:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:23:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:23:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:23:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:23:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:23:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:23:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:23:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:23:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:23:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:23:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:23:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:23:20] local.INFO: DEBUG: GPS processor result {"connection_id":55570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:20] local.INFO: GPS data processed {"connection_id":55570,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:20] local.INFO: Acknowledgment sent {"connection_id":55570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:27] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:23:27] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:23:27] local.INFO: IMEI packet received {"connection_id":54834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":54834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:23:32] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:23:32] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:23:32] local.INFO: IMEI packet received {"connection_id":54834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":54834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:23:33] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc968a278012d1823000721b650004a011629..."} 
[2026-04-26 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc968a278012d1823000721b650004a011629..."} 
[2026-04-26 16:23:33] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc968a278012d1823000721b650004a011629..."} 
[2026-04-26 16:23:33] local.INFO: Packet analysis {"connection_id":54834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc968"} 
[2026-04-26 16:23:33] local.INFO: Extracted packet for processing {"connection_id":54834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc968"} 
[2026-04-26 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649872,"longitude_deg":75.6556544,"latitude_deg":11.9649872,"altitude":74,"angle":278,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963340800001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828660782923776,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725510656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777200571000,"timestamp_ms":1777200571000,"timestamp_seconds":1777200571,"priority":1,"record_length":96,"hex_timestamp":"0000019dc968a278"} 
[2026-04-26 16:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:23:33] 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-04-26 16: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 16:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963340800001,"66":12950,"105":206,"83":41984,"24":0,"16":114828660782923776,"45":1739233911725510656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963340800001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828660782923776,"km_value":114828660782923.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725510656,"description":"Unknown IO ID 45"} 
[2026-04-26 16:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963340800001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725510656}} 
[2026-04-26 16:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":54834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:33] local.INFO: GPS data processed {"connection_id":54834,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:33] local.INFO: Acknowledgment sent {"connection_id":54834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:40] local.INFO: TCP Data received {"connection_id":55569,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96bb788012d79fcc005dcb418001601551b..."} 
[2026-04-26 16:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96bb788012d79fcc005dcb418001601551b..."} 
[2026-04-26 16:23:40] local.INFO: Processing buffer {"connection_id":55569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96bb788012d79fcc005dcb418001601551b..."} 
[2026-04-26 16:23:40] local.INFO: Packet analysis {"connection_id":55569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96b"} 
[2026-04-26 16:23:40] local.INFO: Extracted packet for processing {"connection_id":55569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96b"} 
[2026-04-26 16:23:40] local.INFO: GPS Element Parsed {"raw_longitude":762969280,"raw_latitude":98350104,"longitude_deg":76.296928,"latitude_deg":9.8350104,"altitude":22,"angle":341,"satellites":27,"speed":43,"hex_longitude":"2d79fcc0","hex_latitude":"05dcb418","is_valid_coordinates":true} 
[2026-04-26 16:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963396096001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76511221720809472,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793559772593039360,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777200773000,"timestamp_ms":1777200773000,"timestamp_seconds":1777200773,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96bb788"} 
[2026-04-26 16:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:23:40] 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-04-26 16:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-26 16:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55569,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963396096001,"66":13624,"174":206,"85":15104,"24":43,"16":76511221720809472,"45":8793559772593039360},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,85,24,16,45]} 
[2026-04-26 16:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963396096001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:40] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-26 16:23:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76511221720809472,"km_value":76511221720809.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793559772593039360,"description":"Unknown IO ID 45"} 
[2026-04-26 16:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963396096001,"power":13624,"unknown_174":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8793559772593039360}} 
[2026-04-26 16:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":55569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:40] local.INFO: GPS data processed {"connection_id":55569,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:40] local.INFO: Acknowledgment sent {"connection_id":55569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:53] local.INFO: TCP Data received {"connection_id":55570,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:23:53] local.INFO: Processing buffer {"connection_id":55570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:23:53] local.INFO: Packet analysis {"connection_id":55570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:23:53] local.INFO: Extracted packet for processing {"connection_id":55570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 16:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:23:53] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:23:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:23:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":55570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:23:53] local.INFO: GPS data processed {"connection_id":55570,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:23:53] local.INFO: Acknowledgment sent {"connection_id":55570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:23:57] local.INFO: TCP Data received {"connection_id":54901,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:57] local.INFO: Processing buffer {"connection_id":54901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:23:57] local.INFO: IMEI packet received {"connection_id":54901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 16:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":54901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:24:02] local.INFO: TCP Data received {"connection_id":54901,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:24:02] local.INFO: Processing buffer {"connection_id":54901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 16:24:02] local.INFO: IMEI packet received {"connection_id":54901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":54901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:24:03] local.INFO: TCP Data received {"connection_id":54901,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96c6750012d79db0005dcb950001200b21b..."} 
[2026-04-26 16:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96c6750012d79db0005dcb950001200b21b..."} 
[2026-04-26 16:24:03] local.INFO: Processing buffer {"connection_id":54901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96c6750012d79db0005dcb950001200b21b..."} 
[2026-04-26 16:24:03] local.INFO: Packet analysis {"connection_id":54901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96c"} 
[2026-04-26 16:24:03] local.INFO: Extracted packet for processing {"connection_id":54901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96c"} 
[2026-04-26 16:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762960640,"raw_latitude":98351440,"longitude_deg":76.296064,"latitude_deg":9.835144,"altitude":18,"angle":178,"satellites":27,"speed":9,"hex_longitude":"2d79db00","hex_latitude":"05dcb950","is_valid_coordinates":true} 
[2026-04-26 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963408896001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76511801541394432,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8780611923666987008,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:03] 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-04-26 16:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777200818000,"timestamp_ms":1777200818000,"timestamp_seconds":1777200818,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96c6750"} 
[2026-04-26 16:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:24:03] 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-04-26 16:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 16:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":54901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":54901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":54901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 16:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 16:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 16:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963408896001,"66":13646,"173":206,"85":15104,"24":9,"16":76511801541394432,"45":8780611923666987008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-04-26 16:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 16:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 16:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963408896001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:24:03] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-26 16:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 16:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76511801541394432,"km_value":76511801541394.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8780611923666987008,"description":"Unknown IO ID 45"} 
[2026-04-26 16:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963408896001,"power":13646,"unknown_173":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8780611923666987008}} 
[2026-04-26 16:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":54901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:24:03] local.INFO: GPS data processed {"connection_id":54901,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:24:03] local.INFO: Acknowledgment sent {"connection_id":54901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:24:05] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc968f868012d1823000721b650004a011628..."} 
[2026-04-26 16:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc968f868012d1823000721b650004a011628..."} 
[2026-04-26 16:24:05] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc968f868012d1823000721b650004a011628..."} 
[2026-04-26 16:24:05] local.INFO: Packet analysis {"connection_id":54834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc968"} 
[2026-04-26 16:24:05] local.INFO: Extracted packet for processing {"connection_id":54834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc968"} 
[2026-04-26 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649872,"longitude_deg":75.6556544,"latitude_deg":11.9649872,"altitude":74,"angle":278,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b650","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963346176001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828660782923776,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725510656,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777200593000,"timestamp_ms":1777200593000,"timestamp_seconds":1777200593,"priority":1,"record_length":96,"hex_timestamp":"0000019dc968f868"} 
[2026-04-26 16:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-26 16:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:24:05] 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-04-26 16:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963346176001,"66":12972,"105":206,"83":41984,"24":0,"16":114828660782923776,"45":1739233911725510656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963346176001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:24:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:24:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828660782923776,"km_value":114828660782923.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725510656,"description":"Unknown IO ID 45"} 
[2026-04-26 16:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963346176001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725510656}} 
[2026-04-26 16:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":54834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:24:05] local.INFO: GPS data processed {"connection_id":54834,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:24:05] local.INFO: Acknowledgment sent {"connection_id":54834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:24:19] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:24:19] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:24:19] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:24:24] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:24:24] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:24:24] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:24:24] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:24:24] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:24:24] local.INFO: Packet analysis {"connection_id":54902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:24:24] local.INFO: Extracted packet for processing {"connection_id":54902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 16:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:24: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-04-26 16:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:24:24] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:24:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":54902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:24:24] local.INFO: GPS data processed {"connection_id":54902,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:24:24] local.INFO: Acknowledgment sent {"connection_id":54902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:24:28] local.INFO: TCP Data received {"connection_id":54903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:24:28] local.INFO: Processing buffer {"connection_id":54903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:24:28] local.INFO: IMEI packet received {"connection_id":54903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":54903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:24:58] local.INFO: TCP Data received {"connection_id":54903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:24:58] local.INFO: Processing buffer {"connection_id":54903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:24:58] local.INFO: IMEI packet received {"connection_id":54903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":54903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:25:09] local.INFO: TCP Data received {"connection_id":54903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:25:09] local.INFO: Processing buffer {"connection_id":54903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:25:09] local.INFO: IMEI packet received {"connection_id":54903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":54903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:25:09] local.INFO: TCP Data received {"connection_id":54903,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:25:09] local.INFO: Processing buffer {"connection_id":54903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:25:09] local.INFO: IMEI packet received {"connection_id":54903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":54903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:25:14] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:25:14] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:25:14] local.INFO: IMEI packet received {"connection_id":54836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":54836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:25:18] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:25:18] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:25:18] local.INFO: IMEI packet received {"connection_id":54836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":54836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:25:19] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:25:19] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:25:19] local.INFO: Packet analysis {"connection_id":54836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:25:19] local.INFO: Extracted packet for processing {"connection_id":54836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:25:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 16:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:25: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-04-26 16:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:25:19] 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-04-26 16:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:25:19] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:25:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":54836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:25:19] local.INFO: GPS data processed {"connection_id":54836,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:25:19] local.INFO: Acknowledgment sent {"connection_id":54836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:25:51] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:25:51] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:25:51] local.INFO: Packet analysis {"connection_id":54836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:25:51] local.INFO: Extracted packet for processing {"connection_id":54836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:25:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 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-04-26 16:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:25: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-04-26 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-04-26 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-04-26 16:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:25:51] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:25:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:25:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":54836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:25:51] local.INFO: GPS data processed {"connection_id":54836,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:25:51] local.INFO: Acknowledgment sent {"connection_id":54836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:26:13] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:26:13] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:26:13] local.INFO: IMEI packet received {"connection_id":54905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":54905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:26:19] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:26:19] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:26:19] local.INFO: IMEI packet received {"connection_id":54905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:26:20] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:26:20] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc969bbb8012cb299c007822ce0004b00122a..."} 
[2026-04-26 16:26:20] local.INFO: Packet analysis {"connection_id":54905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:26:20] local.INFO: Extracted packet for processing {"connection_id":54905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc969"} 
[2026-04-26 16:26:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963287552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:26:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777200643000,"timestamp_ms":1777200643000,"timestamp_seconds":1777200643,"priority":1,"record_length":96,"hex_timestamp":"0000019dc969bbb8"} 
[2026-04-26 16:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 16:26: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-04-26 16:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:26:20] 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-04-26 16:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963287552001,"66":25147,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963287552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:26:20] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:26:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:26:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963287552001,"power":25147,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":54905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:26:20] local.INFO: GPS data processed {"connection_id":54905,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:26:20] local.INFO: Acknowledgment sent {"connection_id":54905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:26:50] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96e5380012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96e5380012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:26:50] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96e5380012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:26:50] local.INFO: Packet analysis {"connection_id":54905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96e"} 
[2026-04-26 16:26:50] local.INFO: Extracted packet for processing {"connection_id":54905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96e"} 
[2026-04-26 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963364608001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777200944000,"timestamp_ms":1777200944000,"timestamp_seconds":1777200944,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96e5380"} 
[2026-04-26 16:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:26:50] 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-04-26 16:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963364608001,"66":25158,"242":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-04-26 16:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963364608001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:26:50] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-26 16:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963364608001,"power":25158,"unknown_242":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":54905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:26:50] local.INFO: GPS data processed {"connection_id":54905,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:26:50] local.INFO: Acknowledgment sent {"connection_id":54905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:27:14] local.INFO: TCP Data received {"connection_id":55572,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:14] local.INFO: Processing buffer {"connection_id":55572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:14] local.INFO: IMEI packet received {"connection_id":55572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":55572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:27:19] local.INFO: TCP Data received {"connection_id":55572,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:19] local.INFO: Processing buffer {"connection_id":55572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:19] local.INFO: IMEI packet received {"connection_id":55572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":55572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:27:49] local.INFO: TCP Data received {"connection_id":55572,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:49] local.INFO: Processing buffer {"connection_id":55572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:27:49] local.INFO: IMEI packet received {"connection_id":55572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":55572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:28:13] local.INFO: TCP Data received {"connection_id":54654,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:28:13] local.INFO: Processing buffer {"connection_id":54654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:28:13] local.INFO: IMEI packet received {"connection_id":54654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":54654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:28:39] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:39] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:39] local.INFO: IMEI packet received {"connection_id":54908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":54908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:28:44] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:44] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:44] local.INFO: IMEI packet received {"connection_id":54908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":54908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:28:50] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:50] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:28:50] local.INFO: IMEI packet received {"connection_id":54908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 16:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":54908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:30:10] local.INFO: TCP Data received {"connection_id":54655,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:10] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:10] local.INFO: IMEI packet received {"connection_id":54655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":54655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:30:10] local.INFO: TCP Data received {"connection_id":54655,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96f39f8012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96f39f8012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:30:10] local.INFO: Processing buffer {"connection_id":54655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96f39f8012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:30:10] local.INFO: Packet analysis {"connection_id":54655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96f"} 
[2026-04-26 16:30:10] local.INFO: Extracted packet for processing {"connection_id":54655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96f"} 
[2026-04-26 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648336,"longitude_deg":75.6555456,"latitude_deg":11.9648336,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-04-26 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963451648001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828768157106176,"note":"Value kept but may cause issues"} 
[2026-04-26 16:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074097152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777201003000,"timestamp_ms":1777201003000,"timestamp_seconds":1777201003,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96f39f8"} 
[2026-04-26 16:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:30:10] 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-04-26 16:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 16:30:10] 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-04-26 16:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:30:10] 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-04-26 16:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963451648001,"66":12667,"105":206,"83":41984,"24":0,"16":114828768157106176,"45":1738037643074097152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963451648001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:30:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:30:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828768157106176,"km_value":114828768157106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074097152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963451648001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074097152}} 
[2026-04-26 16:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":54655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:30:11] local.INFO: GPS data processed {"connection_id":54655,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:30:11] local.INFO: Acknowledgment sent {"connection_id":54655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:30:27] local.INFO: TCP Data received {"connection_id":55574,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:27] local.INFO: Processing buffer {"connection_id":55574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:27] local.INFO: IMEI packet received {"connection_id":55574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":55574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:30:31] local.INFO: TCP Data received {"connection_id":55574,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:31] local.INFO: Processing buffer {"connection_id":55574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:31] local.INFO: IMEI packet received {"connection_id":55574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":55574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:30:32] local.INFO: TCP Data received {"connection_id":55574,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:32] local.INFO: Processing buffer {"connection_id":55574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:30:32] local.INFO: IMEI packet received {"connection_id":55574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":55574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:30:39] local.INFO: TCP Data received {"connection_id":55574,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96f8c00012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96f8c00012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:30:39] local.INFO: Processing buffer {"connection_id":55574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96f8c00012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:30:39] local.INFO: Packet analysis {"connection_id":55574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96f"} 
[2026-04-26 16:30:39] local.INFO: Extracted packet for processing {"connection_id":55574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96f"} 
[2026-04-26 16:30:39] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648336,"longitude_deg":75.6555456,"latitude_deg":11.9648336,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-04-26 16:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963456768001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828768157106176,"note":"Value kept but may cause issues"} 
[2026-04-26 16:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074097152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:30: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-04-26 16:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777201024000,"timestamp_ms":1777201024000,"timestamp_seconds":1777201024,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96f8c00"} 
[2026-04-26 16:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 16:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:30:39] 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-04-26 16:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963456768001,"66":12645,"105":206,"83":41984,"24":0,"16":114828768157106176,"45":1738037643074097152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963456768001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:30:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:30:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828768157106176,"km_value":114828768157106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074097152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963456768001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074097152}} 
[2026-04-26 16:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":55574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:30:39] local.INFO: GPS data processed {"connection_id":55574,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:30:39] local.INFO: Acknowledgment sent {"connection_id":55574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:31:33] local.INFO: TCP Data received {"connection_id":55576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:31:33] local.INFO: Processing buffer {"connection_id":55576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:31:33] local.INFO: IMEI packet received {"connection_id":55576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":55576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:31:33] local.INFO: TCP Data received {"connection_id":55576,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:31:33] local.INFO: Processing buffer {"connection_id":55576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:31:33] local.INFO: IMEI packet received {"connection_id":55576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":55576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:31:34] local.INFO: TCP Data received {"connection_id":55576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc96fde08012d181ec00721b050004b00cf2a..."} 
[2026-04-26 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc96fde08012d181ec00721b050004b00cf2a..."} 
[2026-04-26 16:31:34] local.INFO: Processing buffer {"connection_id":55576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc96fde08012d181ec00721b050004b00cf2a..."} 
[2026-04-26 16:31:34] local.INFO: Packet analysis {"connection_id":55576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc96f"} 
[2026-04-26 16:31:34] local.INFO: Extracted packet for processing {"connection_id":55576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc96f"} 
[2026-04-26 16:31:34] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648336,"longitude_deg":75.6555456,"latitude_deg":11.9648336,"altitude":75,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-04-26 16:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963462144001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828768157106176,"note":"Value kept but may cause issues"} 
[2026-04-26 16:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074097152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777201045000,"timestamp_ms":1777201045000,"timestamp_seconds":1777201045,"priority":1,"record_length":96,"hex_timestamp":"0000019dc96fde08"} 
[2026-04-26 16:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-26 16:31:34] 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-04-26 16:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:31:34] 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-04-26 16:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963462144001,"66":12613,"105":206,"83":41984,"24":0,"16":114828768157106176,"45":1738037643074097152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963462144001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:31:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:31:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828768157106176,"km_value":114828768157106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074097152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963462144001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074097152}} 
[2026-04-26 16:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":55576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:31:34] local.INFO: GPS data processed {"connection_id":55576,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:31:34] local.INFO: Acknowledgment sent {"connection_id":55576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:31:38] local.INFO: TCP Data received {"connection_id":55576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9703010012d181ec00721b050004b00cf2a..."} 
[2026-04-26 16:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9703010012d181ec00721b050004b00cf2a..."} 
[2026-04-26 16:31:38] local.INFO: Processing buffer {"connection_id":55576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9703010012d181ec00721b050004b00cf2a..."} 
[2026-04-26 16:31:38] local.INFO: Packet analysis {"connection_id":55576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc970"} 
[2026-04-26 16:31:38] local.INFO: Extracted packet for processing {"connection_id":55576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc970"} 
[2026-04-26 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648336,"longitude_deg":75.6555456,"latitude_deg":11.9648336,"altitude":75,"angle":207,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-04-26 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963467520001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828768157106176,"note":"Value kept but may cause issues"} 
[2026-04-26 16:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074097152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777201066000,"timestamp_ms":1777201066000,"timestamp_seconds":1777201066,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9703010"} 
[2026-04-26 16:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 16:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:31:38] 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-04-26 16:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963467520001,"66":12548,"105":206,"83":41984,"24":0,"16":114828768157106176,"45":1738037643074097152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963467520001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:31:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:31:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828768157106176,"km_value":114828768157106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074097152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963467520001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074097152}} 
[2026-04-26 16:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":55576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:31:38] local.INFO: GPS data processed {"connection_id":55576,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:31:38] local.INFO: Acknowledgment sent {"connection_id":55576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:32:13] local.INFO: TCP Data received {"connection_id":55576,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9708218012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9708218012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:32:13] local.INFO: Processing buffer {"connection_id":55576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9708218012d181ec00721b050004b00cf2b..."} 
[2026-04-26 16:32:13] local.INFO: Packet analysis {"connection_id":55576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc970"} 
[2026-04-26 16:32:13] local.INFO: Extracted packet for processing {"connection_id":55576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc970"} 
[2026-04-26 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648336,"longitude_deg":75.6555456,"latitude_deg":11.9648336,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b050","is_valid_coordinates":true} 
[2026-04-26 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963472896001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828768157106176,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074097152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777201087000,"timestamp_ms":1777201087000,"timestamp_seconds":1777201087,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9708218"} 
[2026-04-26 16:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3379447752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032971,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4096262144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:13] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,244,222,45,192,176,75,42,10,66,140,43,57,1,240,123,227,201,33,4,113,205,153,30,80,239,49,2,151,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:32:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404547332140171264,"timestamp_seconds":5404547332140171.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:32:13] 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-04-26 16:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963472896001,"66":12548,"105":206,"83":41984,"24":0,"16":114828768157106176,"45":1738037643074097152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963472896001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:32:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:32:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828768157106176,"km_value":114828768157106.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074097152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963472896001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074097152}} 
[2026-04-26 16:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":55576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:32:13] local.INFO: GPS data processed {"connection_id":55576,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:32:13] local.INFO: Acknowledgment sent {"connection_id":55576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:32:28] local.INFO: TCP Data received {"connection_id":54657,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:32:28] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:32:28] local.INFO: IMEI packet received {"connection_id":54657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":54657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:32:33] local.INFO: TCP Data received {"connection_id":54657,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:32:33] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:32:33] local.INFO: IMEI packet received {"connection_id":54657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":54657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:32:33] local.INFO: TCP Data received {"connection_id":54657,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc970d420012d181e400721af98004c00c82a..."} 
[2026-04-26 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc970d420012d181e400721af98004c00c82a..."} 
[2026-04-26 16:32:33] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc970d420012d181e400721af98004c00c82a..."} 
[2026-04-26 16:32:33] local.INFO: Packet analysis {"connection_id":54657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc970"} 
[2026-04-26 16:32:33] local.INFO: Extracted packet for processing {"connection_id":54657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc970"} 
[2026-04-26 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963478272001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074097152,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777201108000,"timestamp_ms":1777201108000,"timestamp_seconds":1777201108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc970d420"} 
[2026-04-26 16:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3379468752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184206270669,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032971,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4096262144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,244,48,45,192,176,75,42,10,66,222,140,1,240,101,227,201,33,4,113,205,235,30,80,43,239,49,2,151,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:32:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404547336435138560,"timestamp_seconds":5404547336435139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963478272001,"66":12580,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1738037643074097152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963478272001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:32:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074097152,"description":"Unknown IO ID 45"} 
[2026-04-26 16:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963478272001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074097152}} 
[2026-04-26 16:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":54657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:32:33] local.INFO: GPS data processed {"connection_id":54657,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:32:33] local.INFO: Acknowledgment sent {"connection_id":54657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:32:37] local.INFO: TCP Data received {"connection_id":54657,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9712628012d181e400721af98004c00c82b..."} 
[2026-04-26 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9712628012d181e400721af98004c00c82b..."} 
[2026-04-26 16:32:37] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9712628012d181e400721af98004c00c82b..."} 
[2026-04-26 16:32:37] local.INFO: Packet analysis {"connection_id":54657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc971"} 
[2026-04-26 16:32:37] local.INFO: Extracted packet for processing {"connection_id":54657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc971"} 
[2026-04-26 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963483648001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:32: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-04-26 16:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777201129000,"timestamp_ms":1777201129000,"timestamp_seconds":1777201129,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9712628"} 
[2026-04-26 16:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-26 16:32:37] 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-04-26 16:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:32:37] 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-04-26 16:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963483648001,"66":12558,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963483648001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:32:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963483648001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":54657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:32:37] local.INFO: GPS data processed {"connection_id":54657,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:32:37] local.INFO: Acknowledgment sent {"connection_id":54657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:33:09] local.INFO: TCP Data received {"connection_id":54657,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9717830012d181e400721af98004c00c82a..."} 
[2026-04-26 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9717830012d181e400721af98004c00c82a..."} 
[2026-04-26 16:33:09] local.INFO: Processing buffer {"connection_id":54657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9717830012d181e400721af98004c00c82a..."} 
[2026-04-26 16:33:09] local.INFO: Packet analysis {"connection_id":54657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc971"} 
[2026-04-26 16:33:09] local.INFO: Extracted packet for processing {"connection_id":54657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc971"} 
[2026-04-26 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963489024001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777201150000,"timestamp_ms":1777201150000,"timestamp_seconds":1777201150,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9717830"} 
[2026-04-26 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3379509752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015312,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032971,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4096262144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,244,212,45,64,175,76,42,10,66,130,192,176,75,43,48,1,240,4,227,201,33,113,205,140,30,80,239,49,2,151,7,106,52,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:33:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476597233891672064,"timestamp_seconds":5476597233891672.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:33:09] 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-04-26 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963489024001,"66":12548,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963489024001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:33:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:33:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963489024001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":54657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:33:09] local.INFO: GPS data processed {"connection_id":54657,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:33:09] local.INFO: Acknowledgment sent {"connection_id":54657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:33:19] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:33:19] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:33:19] local.INFO: IMEI packet received {"connection_id":54840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":54840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:33:26] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:33:26] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:33:26] local.INFO: IMEI packet received {"connection_id":54840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":54840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:33:27] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:33:27] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:33:27] local.INFO: Packet analysis {"connection_id":54840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:33:27] local.INFO: Extracted packet for processing {"connection_id":54840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":88,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963441664001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777201245000,"timestamp_ms":1777201245000,"timestamp_seconds":1777201245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972eb48"} 
[2026-04-26 16:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 16:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963441664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963441664001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:33:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:33:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963441664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":54840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:33:27] local.INFO: GPS data processed {"connection_id":54840,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:33:27] local.INFO: Acknowledgment sent {"connection_id":54840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:33:28] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:33:28] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:33:28] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:33:33] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:33:33] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:33:33] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:33:34] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc971ca38012d181e400721af98004c00c829..."} 
[2026-04-26 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc971ca38012d181e400721af98004c00c829..."} 
[2026-04-26 16:33:34] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc971ca38012d181e400721af98004c00c829..."} 
[2026-04-26 16:33:34] local.INFO: Packet analysis {"connection_id":54912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc971"} 
[2026-04-26 16:33:34] local.INFO: Extracted packet for processing {"connection_id":54912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc971"} 
[2026-04-26 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963494400001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777201171000,"timestamp_ms":1777201171000,"timestamp_seconds":1777201171,"priority":1,"record_length":96,"hex_timestamp":"0000019dc971ca38"} 
[2026-04-26 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:33:34] 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-04-26 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3379530752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032971,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4096262144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:34] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,244,38,45,64,175,76,43,10,66,212,42,130,192,1,240,4,227,201,33,113,205,222,30,80,239,49,2,151,7,75,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:33:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476597229596704768,"timestamp_seconds":5476597229596705.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:33:34] 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-04-26 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963494400001,"66":12558,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963494400001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:33:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:33:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963494400001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":54912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:33:34] local.INFO: GPS data processed {"connection_id":54912,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:33:34] local.INFO: Acknowledgment sent {"connection_id":54912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:33:38] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9722028012d181e400721af98004c00c82b..."} 
[2026-04-26 16:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9722028012d181e400721af98004c00c82b..."} 
[2026-04-26 16:33:38] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9722028012d181e400721af98004c00c82b..."} 
[2026-04-26 16:33:38] local.INFO: Packet analysis {"connection_id":54912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:33:38] local.INFO: Extracted packet for processing {"connection_id":54912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963499776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777201193000,"timestamp_ms":1777201193000,"timestamp_seconds":1777201193,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9722028"} 
[2026-04-26 16:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3379551752,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380941250015312,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2958032971,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692848,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4096262144,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":52,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:38] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,244,120,45,64,175,76,42,10,66,38,43,212,1,240,36,227,201,33,4,113,205,48,30,80,239,49,2,151,7,75,106,52,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 16:33:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476597225301737472,"timestamp_seconds":5476597225301737.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 16:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:33:38] 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-04-26 16:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963499776001,"66":12537,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963499776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:33:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963499776001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":54912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:33:38] local.INFO: GPS data processed {"connection_id":54912,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:33:38] local.INFO: Acknowledgment sent {"connection_id":54912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:33:58] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:33:58] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:33:58] local.INFO: Packet analysis {"connection_id":54840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:33:58] local.INFO: Extracted packet for processing {"connection_id":54840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":88,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963441664001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777201245000,"timestamp_ms":1777201245000,"timestamp_seconds":1777201245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972eb48"} 
[2026-04-26 16:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 16:33:58] 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-04-26 16: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-04-26 16:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963441664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963441664001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:33:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:33:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963441664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":54840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:33:58] local.INFO: GPS data processed {"connection_id":54840,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:33:58] local.INFO: Acknowledgment sent {"connection_id":54840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:34:15] local.INFO: TCP Data received {"connection_id":54659,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:34:15] local.INFO: Processing buffer {"connection_id":54659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:34:15] local.INFO: IMEI packet received {"connection_id":54659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":54659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:34:19] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:34:19] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:34:19] local.INFO: IMEI packet received {"connection_id":54913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":54913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:34:24] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:34:24] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:34:24] local.INFO: IMEI packet received {"connection_id":54913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":54913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:34:24] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:34:24] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:34:24] local.INFO: Packet analysis {"connection_id":54913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:34:24] local.INFO: Extracted packet for processing {"connection_id":54913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:34:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":88,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963441664001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777201245000,"timestamp_ms":1777201245000,"timestamp_seconds":1777201245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972eb48"} 
[2026-04-26 16:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 16:34:24] 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-04-26 16:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963441664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963441664001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:34:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963441664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":54913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:34:24] local.INFO: GPS data processed {"connection_id":54913,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:34:24] local.INFO: Acknowledgment sent {"connection_id":54913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:34:27] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:34:27] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:34:27] local.INFO: IMEI packet received {"connection_id":54841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":54841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:34:33] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:34:33] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:34:33] local.INFO: IMEI packet received {"connection_id":54841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":54841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:34:33] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9727230012d181e400721af98004c00c82b..."} 
[2026-04-26 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9727230012d181e400721af98004c00c82b..."} 
[2026-04-26 16:34:33] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9727230012d181e400721af98004c00c82b..."} 
[2026-04-26 16:34:33] local.INFO: Packet analysis {"connection_id":54841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:34:33] local.INFO: Extracted packet for processing {"connection_id":54841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963505408001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777201214000,"timestamp_ms":1777201214000,"timestamp_seconds":1777201214,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9727230"} 
[2026-04-26 16:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-26 16:34:33] 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-04-26 16: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-04-26 16:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963505408001,"66":12537,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963505408001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:34:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963505408001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":54841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:34:34] local.INFO: GPS data processed {"connection_id":54841,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:34:34] local.INFO: Acknowledgment sent {"connection_id":54841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:34:39] local.INFO: TCP Data received {"connection_id":54660,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54660,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:34:39] local.INFO: Processing buffer {"connection_id":54660,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:34:39] local.INFO: IMEI packet received {"connection_id":54660,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":54660,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:34:56] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:34:56] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:34:56] local.INFO: Packet analysis {"connection_id":54913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:34:56] local.INFO: Extracted packet for processing {"connection_id":54913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:34:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":88,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963441664001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777201245000,"timestamp_ms":1777201245000,"timestamp_seconds":1777201245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972eb48"} 
[2026-04-26 16:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 16:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:34: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-04-26 16:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963441664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963441664001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:34:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:34:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963441664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":54913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:34:56] local.INFO: GPS data processed {"connection_id":54913,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:34:56] local.INFO: Acknowledgment sent {"connection_id":54913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:35:05] local.INFO: TCP Data received {"connection_id":54841,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972c438012d181e400721af98004c00c82b..."} 
[2026-04-26 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972c438012d181e400721af98004c00c82b..."} 
[2026-04-26 16:35:05] local.INFO: Processing buffer {"connection_id":54841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972c438012d181e400721af98004c00c82b..."} 
[2026-04-26 16:35:05] local.INFO: Packet analysis {"connection_id":54841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:35:05] local.INFO: Extracted packet for processing {"connection_id":54841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963510784001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777201235000,"timestamp_ms":1777201235000,"timestamp_seconds":1777201235,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972c438"} 
[2026-04-26 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:35:05] 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-04-26 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-26 16:35:05] 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-04-26 16:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:35:05] 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-04-26 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963510784001,"66":12526,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963510784001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:35:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963510784001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":54841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:35:05] local.INFO: GPS data processed {"connection_id":54841,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:35:05] local.INFO: Acknowledgment sent {"connection_id":54841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:35:13] local.INFO: TCP Data received {"connection_id":55577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:35:13] local.INFO: Processing buffer {"connection_id":55577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:35:13] local.INFO: IMEI packet received {"connection_id":55577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":55577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:35:19] local.INFO: TCP Data received {"connection_id":55577,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:35:19] local.INFO: Processing buffer {"connection_id":55577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:35:19] local.INFO: IMEI packet received {"connection_id":55577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":55577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:35:20] local.INFO: TCP Data received {"connection_id":55577,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:35:20] local.INFO: Processing buffer {"connection_id":55577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:35:20] local.INFO: Packet analysis {"connection_id":55577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:35:20] local.INFO: Extracted packet for processing {"connection_id":55577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":88,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963441664001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777201245000,"timestamp_ms":1777201245000,"timestamp_seconds":1777201245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972eb48"} 
[2026-04-26 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-04-26 16:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 16:35:20] 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-04-26 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-04-26 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-04-26 16:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:35: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-04-26 16:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963441664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963441664001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:35:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:35:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:35:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963441664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":55577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:35:20] local.INFO: GPS data processed {"connection_id":55577,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:35:20] local.INFO: Acknowledgment sent {"connection_id":55577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:35:27] local.INFO: TCP Data received {"connection_id":54661,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:35:27] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:35:27] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:35:33] local.INFO: TCP Data received {"connection_id":54661,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:35:33] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:35:33] local.INFO: IMEI packet received {"connection_id":54661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":54661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:35:33] local.INFO: TCP Data received {"connection_id":54661,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9731640012d181e400721af98004c00c82c..."} 
[2026-04-26 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9731640012d181e400721af98004c00c82c..."} 
[2026-04-26 16:35:33] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9731640012d181e400721af98004c00c82c..."} 
[2026-04-26 16:35:33] local.INFO: Packet analysis {"connection_id":54661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc973"} 
[2026-04-26 16:35:33] local.INFO: Extracted packet for processing {"connection_id":54661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc973"} 
[2026-04-26 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963516160001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777201256000,"timestamp_ms":1777201256000,"timestamp_seconds":1777201256,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9731640"} 
[2026-04-26 16:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 16:35:33] 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-04-26 16: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-04-26 16:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963516160001,"66":12537,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963516160001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:35:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963516160001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":54661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:35:34] local.INFO: GPS data processed {"connection_id":54661,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:35:34] local.INFO: Acknowledgment sent {"connection_id":54661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:35:51] local.INFO: TCP Data received {"connection_id":55577,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:35:51] local.INFO: Processing buffer {"connection_id":55577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc972eb48012cb299c007822ce00058001229..."} 
[2026-04-26 16:35:51] local.INFO: Packet analysis {"connection_id":55577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:35:51] local.INFO: Extracted packet for processing {"connection_id":55577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc972"} 
[2026-04-26 16:35:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":88,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963441664001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777201245000,"timestamp_ms":1777201245000,"timestamp_seconds":1777201245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc972eb48"} 
[2026-04-26 16:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 16:35:51] 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-04-26 16: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-04-26 16:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963441664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963441664001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:35:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:35:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:35:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963441664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":55577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:35:51] local.INFO: GPS data processed {"connection_id":55577,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:35:51] local.INFO: Acknowledgment sent {"connection_id":55577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:36:04] local.INFO: TCP Data received {"connection_id":54661,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9736460012d181e400721af98004c00c82c..."} 
[2026-04-26 16:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9736460012d181e400721af98004c00c82c..."} 
[2026-04-26 16:36:04] local.INFO: Processing buffer {"connection_id":54661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9736460012d181e400721af98004c00c82c..."} 
[2026-04-26 16:36:04] local.INFO: Packet analysis {"connection_id":54661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc973"} 
[2026-04-26 16:36:04] local.INFO: Extracted packet for processing {"connection_id":54661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc973"} 
[2026-04-26 16:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963521536001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777201276000,"timestamp_ms":1777201276000,"timestamp_seconds":1777201276,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9736460"} 
[2026-04-26 16:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:36:04] 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-04-26 16:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-26 16:36:04] 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-04-26 16: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-04-26 16:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:36:04] 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-04-26 16:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963521536001,"66":12504,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963521536001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:36:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963521536001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":54661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:36:04] local.INFO: GPS data processed {"connection_id":54661,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:36:04] local.INFO: Acknowledgment sent {"connection_id":54661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:36:19] local.INFO: TCP Data received {"connection_id":54914,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:36:19] local.INFO: Processing buffer {"connection_id":54914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:36:19] local.INFO: IMEI packet received {"connection_id":54914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":54914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:36:24] local.INFO: TCP Data received {"connection_id":54914,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:36:24] local.INFO: Processing buffer {"connection_id":54914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:36:24] local.INFO: IMEI packet received {"connection_id":54914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":54914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:36:27] local.INFO: TCP Data received {"connection_id":55579,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:36:27] local.INFO: Processing buffer {"connection_id":55579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:36:27] local.INFO: IMEI packet received {"connection_id":55579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":55579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:36:28] local.INFO: TCP Data received {"connection_id":54914,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:36:28] local.INFO: Processing buffer {"connection_id":54914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:36:28] local.INFO: Packet analysis {"connection_id":54914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:36:28] local.INFO: Extracted packet for processing {"connection_id":54914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:36:28] 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-04-26 16:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:36:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":54914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:36:28] local.INFO: GPS data processed {"connection_id":54914,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:36:28] local.INFO: Acknowledgment sent {"connection_id":54914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:36:29] local.INFO: TCP Data received {"connection_id":54914,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:36:29] local.INFO: Processing buffer {"connection_id":54914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:36:29] local.INFO: Packet analysis {"connection_id":54914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:36:29] local.INFO: Extracted packet for processing {"connection_id":54914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:36:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:36:29] 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-04-26 16:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:36: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-04-26 16:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:36:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":54914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:36:29] local.INFO: GPS data processed {"connection_id":54914,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:36:29] local.INFO: Acknowledgment sent {"connection_id":54914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:36:33] local.INFO: TCP Data received {"connection_id":55579,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:36:33] local.INFO: Processing buffer {"connection_id":55579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:36:33] local.INFO: IMEI packet received {"connection_id":55579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":55579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:36:34] local.INFO: TCP Data received {"connection_id":55579,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc976eea0012d181e400721af98004c00c82b..."} 
[2026-04-26 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc976eea0012d181e400721af98004c00c82b..."} 
[2026-04-26 16:36:34] local.INFO: Processing buffer {"connection_id":55579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc976eea0012d181e400721af98004c00c82b..."} 
[2026-04-26 16:36:34] local.INFO: Packet analysis {"connection_id":55579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc976"} 
[2026-04-26 16:36:34] local.INFO: Extracted packet for processing {"connection_id":55579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc976"} 
[2026-04-26 16:36:34] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":43,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963580672001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777201508000,"timestamp_ms":1777201508000,"timestamp_seconds":1777201508,"priority":1,"record_length":96,"hex_timestamp":"0000019dc976eea0"} 
[2026-04-26 16:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:36:34] 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-04-26 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 16:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:36:34] 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-04-26 16:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963580672001,"66":13972,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963580672001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:36:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:36:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963580672001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":55579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:36:34] local.INFO: GPS data processed {"connection_id":55579,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:36:34] local.INFO: Acknowledgment sent {"connection_id":55579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:37:05] local.INFO: TCP Data received {"connection_id":55579,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97740a8012d181e400721af98004c00c82c..."} 
[2026-04-26 16:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97740a8012d181e400721af98004c00c82c..."} 
[2026-04-26 16:37:05] local.INFO: Processing buffer {"connection_id":55579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97740a8012d181e400721af98004c00c82c..."} 
[2026-04-26 16:37:05] local.INFO: Packet analysis {"connection_id":55579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:37:05] local.INFO: Extracted packet for processing {"connection_id":55579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648152,"longitude_deg":75.6555328,"latitude_deg":11.9648152,"altitude":76,"angle":200,"satellites":44,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af98","is_valid_coordinates":true} 
[2026-04-26 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963586048001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828781042008064,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585694720,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777201529000,"timestamp_ms":1777201529000,"timestamp_seconds":1777201529,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97740a8"} 
[2026-04-26 16:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:37:05] 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-04-26 16:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 16:37:05] 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-04-26 16:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:37:05] 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-04-26 16:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963586048001,"66":14070,"105":206,"83":41984,"24":0,"16":114828781042008064,"45":1737896905585694720},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 16:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963586048001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:37:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 16:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828781042008064,"km_value":114828781042008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585694720,"description":"Unknown IO ID 45"} 
[2026-04-26 16:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963586048001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585694720}} 
[2026-04-26 16:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":55579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:37:05] local.INFO: GPS data processed {"connection_id":55579,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:37:05] local.INFO: Acknowledgment sent {"connection_id":55579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:37:14] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:15] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:15] local.INFO: IMEI packet received {"connection_id":54662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:37:20] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:20] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:20] local.INFO: IMEI packet received {"connection_id":54662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":54662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:37:24] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:24] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:37:24] local.INFO: IMEI packet received {"connection_id":54662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":54662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:37:27] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:37:27] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:37:27] local.INFO: Packet analysis {"connection_id":54662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:37:27] local.INFO: Extracted packet for processing {"connection_id":54662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:37:27] 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-04-26 16: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-04-26 16:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:37:27] 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-04-26 16:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:37:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:37:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":54662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:37:27] local.INFO: GPS data processed {"connection_id":54662,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:37:27] local.INFO: Acknowledgment sent {"connection_id":54662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:37:30] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:30] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:30] local.INFO: IMEI packet received {"connection_id":54916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":54916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:37:32] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:32] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:32] local.INFO: IMEI packet received {"connection_id":54916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":54916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:37:33] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:33] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:33] local.INFO: IMEI packet received {"connection_id":54916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":54916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:37:36] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:36] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:37:36] local.INFO: IMEI packet received {"connection_id":54916,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":54916,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:37:46] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9782338012d1884c0072181780049006628..."} 
[2026-04-26 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9782338012d1884c0072181780049006628..."} 
[2026-04-26 16:37:46] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9782338012d1884c0072181780049006628..."} 
[2026-04-26 16:37:46] local.INFO: Packet analysis {"connection_id":54916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc978"} 
[2026-04-26 16:37:46] local.INFO: Extracted packet for processing {"connection_id":54916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc978"} 
[2026-04-26 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756581568,"raw_latitude":119636344,"longitude_deg":75.6581568,"latitude_deg":11.9636344,"altitude":73,"angle":102,"satellites":40,"speed":43,"hex_longitude":"2d1884c0","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-04-26 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963605248001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114830249920823296,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761963016091461632,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37: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-04-26 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777201587000,"timestamp_ms":1777201587000,"timestamp_seconds":1777201587,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9782338"} 
[2026-04-26 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:37: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-04-26 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 16:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54916,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:37: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-04-26 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963605248001,"66":13656,"106":206,"83":41984,"24":43,"16":114830249920823296,"45":1761963016091461632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963605248001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:37:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114830249920823296,"km_value":114830249920823.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761963016091461632,"description":"Unknown IO ID 45"} 
[2026-04-26 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963605248001,"power":13656,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1761963016091461632}} 
[2026-04-26 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":54916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:37:46] local.INFO: GPS data processed {"connection_id":54916,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:37:46] local.INFO: Acknowledgment sent {"connection_id":54916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:37:58] local.INFO: TCP Data received {"connection_id":54662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:37:58] local.INFO: Processing buffer {"connection_id":54662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:37:58] local.INFO: Packet analysis {"connection_id":54662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:37:58] local.INFO: Extracted packet for processing {"connection_id":54662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:37:58] 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-04-26 16: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-04-26 16:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:37:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:37:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":54662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:37:58] local.INFO: GPS data processed {"connection_id":54662,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:37:58] local.INFO: Acknowledgment sent {"connection_id":54662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:38:13] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:38:13] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:38:13] local.INFO: IMEI packet received {"connection_id":54917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":54917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:38:19] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:38:19] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:38:19] local.INFO: IMEI packet received {"connection_id":54917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":54917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:38:19] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:38:19] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:38:19] local.INFO: Packet analysis {"connection_id":54917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:38:19] local.INFO: Extracted packet for processing {"connection_id":54917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:38:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:38:19] 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-04-26 16:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:38:19] 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-04-26 16:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:38:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":54917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:38:20] local.INFO: GPS data processed {"connection_id":54917,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:38:20] local.INFO: Acknowledgment sent {"connection_id":54917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:38:26] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:26] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:26] local.INFO: IMEI packet received {"connection_id":54842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":54842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:38:27] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:27] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:27] local.INFO: IMEI packet received {"connection_id":54842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":54842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:38:32] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:32] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:38:32] local.INFO: IMEI packet received {"connection_id":54842,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":54842,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:38:33] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc978c360012d18d0c007211298003a00e725..."} 
[2026-04-26 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc978c360012d18d0c007211298003a00e725..."} 
[2026-04-26 16:38:33] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc978c360012d18d0c007211298003a00e725..."} 
[2026-04-26 16:38:33] local.INFO: Packet analysis {"connection_id":54842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc978"} 
[2026-04-26 16:38:33] local.INFO: Extracted packet for processing {"connection_id":54842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc978"} 
[2026-04-26 16:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756601024,"raw_latitude":119607960,"longitude_deg":75.6601024,"latitude_deg":11.960796,"altitude":58,"angle":231,"satellites":37,"speed":9,"hex_longitude":"2d18d0c0","hex_latitude":"07211298","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963616512001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114832088166825984,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788280926406658048,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777201628000,"timestamp_ms":1777201628000,"timestamp_seconds":1777201628,"priority":1,"record_length":96,"hex_timestamp":"0000019dc978c360"} 
[2026-04-26 16:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:38:33] 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-04-26 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 16:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963616512001,"66":13906,"106":206,"83":41984,"24":9,"16":114832088166825984,"45":1788280926406658048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963616512001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114832088166825984,"km_value":114832088166825.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788280926406658048,"description":"Unknown IO ID 45"} 
[2026-04-26 16:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963616512001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1788280926406658048}} 
[2026-04-26 16:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":54842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:38:33] local.INFO: GPS data processed {"connection_id":54842,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:38:33] local.INFO: Acknowledgment sent {"connection_id":54842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:38:38] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc978cb30012d18cf4007211200003b010b27..."} 
[2026-04-26 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc978cb30012d18cf4007211200003b010b27..."} 
[2026-04-26 16:38:38] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc978cb30012d18cf4007211200003b010b27..."} 
[2026-04-26 16:38:38] local.INFO: Packet analysis {"connection_id":54842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc978"} 
[2026-04-26 16:38:38] local.INFO: Extracted packet for processing {"connection_id":54842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc978"} 
[2026-04-26 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756600640,"raw_latitude":119607808,"longitude_deg":75.660064,"latitude_deg":11.9607808,"altitude":59,"angle":267,"satellites":39,"speed":8,"hex_longitude":"2d18cf40","hex_latitude":"07211200","is_valid_coordinates":true} 
[2026-04-26 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963616768001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114832109641662464,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788140188918257664,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777201630000,"timestamp_ms":1777201630000,"timestamp_seconds":1777201630,"priority":1,"record_length":96,"hex_timestamp":"0000019dc978cb30"} 
[2026-04-26 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:38:38] 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-04-26 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963616768001,"66":13852,"106":206,"83":41984,"24":8,"16":114832109641662464,"45":1788140188918257664},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963616768001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:38:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114832109641662464,"km_value":114832109641662.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788140188918257664,"description":"Unknown IO ID 45"} 
[2026-04-26 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963616768001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1788140188918257664}} 
[2026-04-26 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":54842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:38:38] local.INFO: GPS data processed {"connection_id":54842,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:38:38] local.INFO: Acknowledgment sent {"connection_id":54842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:38:51] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:38:51] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:38:51] local.INFO: Packet analysis {"connection_id":54917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:38:51] local.INFO: Extracted packet for processing {"connection_id":54917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:38: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-04-26 16:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:38:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:38:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:38:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":54917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:38:51] local.INFO: GPS data processed {"connection_id":54917,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:38:51] local.INFO: Acknowledgment sent {"connection_id":54917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:39:11] local.INFO: TCP Data received {"connection_id":54842,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97a03b0012d18ab40072114d0003f00842a..."} 
[2026-04-26 16:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97a03b0012d18ab40072114d0003f00842a..."} 
[2026-04-26 16:39:11] local.INFO: Processing buffer {"connection_id":54842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97a03b0012d18ab40072114d0003f00842a..."} 
[2026-04-26 16:39:11] local.INFO: Packet analysis {"connection_id":54842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97a"} 
[2026-04-26 16:39:11] local.INFO: Extracted packet for processing {"connection_id":54842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97a"} 
[2026-04-26 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756591424,"raw_latitude":119608528,"longitude_deg":75.6591424,"latitude_deg":11.9608528,"altitude":63,"angle":132,"satellites":42,"speed":3,"hex_longitude":"2d18ab40","hex_latitude":"072114d0","is_valid_coordinates":true} 
[2026-04-26 16:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963637504001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114832672282378240,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508547598336,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777201710000,"timestamp_ms":1777201710000,"timestamp_seconds":1777201710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97a03b0"} 
[2026-04-26 16:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54842,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963637504001,"66":14341,"106":206,"83":41984,"24":3,"16":114832672282378240,"45":1777514508547598336},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963637504001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114832672282378240,"km_value":114832672282378.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508547598336,"description":"Unknown IO ID 45"} 
[2026-04-26 16:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963637504001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1777514508547598336}} 
[2026-04-26 16:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":54842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:39:11] local.INFO: GPS data processed {"connection_id":54842,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:39:11] local.INFO: Acknowledgment sent {"connection_id":54842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:39:19] local.INFO: TCP Data received {"connection_id":55582,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:39:19] local.INFO: Processing buffer {"connection_id":55582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:39:19] local.INFO: IMEI packet received {"connection_id":55582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":55582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:39:23] local.INFO: TCP Data received {"connection_id":55582,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:39:23] local.INFO: Processing buffer {"connection_id":55582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:39:23] local.INFO: IMEI packet received {"connection_id":55582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":55582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:39:24] local.INFO: TCP Data received {"connection_id":55582,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:39:24] local.INFO: Processing buffer {"connection_id":55582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:39:24] local.INFO: Packet analysis {"connection_id":55582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:39:24] local.INFO: Extracted packet for processing {"connection_id":55582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:39:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:39:24] 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-04-26 16:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:39:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:39:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":55582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:39:24] local.INFO: GPS data processed {"connection_id":55582,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:39:24] local.INFO: Acknowledgment sent {"connection_id":55582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:39:27] local.INFO: TCP Data received {"connection_id":54663,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:27] local.INFO: Processing buffer {"connection_id":54663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:27] local.INFO: IMEI packet received {"connection_id":54663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":54663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:39:32] local.INFO: TCP Data received {"connection_id":54663,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:32] local.INFO: Processing buffer {"connection_id":54663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:32] local.INFO: IMEI packet received {"connection_id":54663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":54663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:39:33] local.INFO: TCP Data received {"connection_id":54663,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:33] local.INFO: Processing buffer {"connection_id":54663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:33] local.INFO: IMEI packet received {"connection_id":54663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":54663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:39:35] local.INFO: TCP Data received {"connection_id":54663,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:35] local.INFO: Processing buffer {"connection_id":54663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:39:35] local.INFO: IMEI packet received {"connection_id":54663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":54663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:39:55] local.INFO: TCP Data received {"connection_id":55582,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:39:55] local.INFO: Processing buffer {"connection_id":55582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:39:55] local.INFO: Packet analysis {"connection_id":55582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:39:55] local.INFO: Extracted packet for processing {"connection_id":55582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:39: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-04-26 16:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:39:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:39:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:39:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":55582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:39:55] local.INFO: GPS data processed {"connection_id":55582,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:39:55] local.INFO: Acknowledgment sent {"connection_id":55582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:40:10] local.INFO: TCP Data received {"connection_id":54918,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:40:10] local.INFO: Processing buffer {"connection_id":54918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:40:10] local.INFO: IMEI packet received {"connection_id":54918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":54918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:40:14] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:40:14] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:40:14] local.INFO: IMEI packet received {"connection_id":54919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":54919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:40:19] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:40:19] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:40:19] local.INFO: IMEI packet received {"connection_id":54919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":54919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:40:19] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:19] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:19] local.INFO: Packet analysis {"connection_id":54919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:40:19] local.INFO: Extracted packet for processing {"connection_id":54919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 16:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 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-04-26 16:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:40:19] 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-04-26 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-04-26 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-04-26 16:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:40:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":54919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:40:19] local.INFO: GPS data processed {"connection_id":54919,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:40:19] local.INFO: Acknowledgment sent {"connection_id":54919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:40:24] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:24] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:24] local.INFO: Packet analysis {"connection_id":54919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:40:24] local.INFO: Extracted packet for processing {"connection_id":54919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:40:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:40:24] 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-04-26 16:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:40:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:40:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":54919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:40:24] local.INFO: GPS data processed {"connection_id":54919,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:40:24] local.INFO: Acknowledgment sent {"connection_id":54919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:40:45] local.INFO: TCP Data received {"connection_id":54844,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:40:45] local.INFO: Processing buffer {"connection_id":54844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:40:45] local.INFO: IMEI packet received {"connection_id":54844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":54844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:40:57] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:57] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:40:57] local.INFO: Packet analysis {"connection_id":54919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:40:57] local.INFO: Extracted packet for processing {"connection_id":54919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:40:57] 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-04-26 16:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":54919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":54919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":54919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:40: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-04-26 16:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:40:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:40:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":54919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:40:57] local.INFO: GPS data processed {"connection_id":54919,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:40:57] local.INFO: Acknowledgment sent {"connection_id":54919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:41:14] local.INFO: TCP Data received {"connection_id":55583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:41:14] local.INFO: Processing buffer {"connection_id":55583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:41:14] local.INFO: IMEI packet received {"connection_id":55583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":55583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:41:19] local.INFO: TCP Data received {"connection_id":55583,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:41:19] local.INFO: Processing buffer {"connection_id":55583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:41:19] local.INFO: IMEI packet received {"connection_id":55583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":55583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:41:20] local.INFO: TCP Data received {"connection_id":55583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:41:20] local.INFO: Processing buffer {"connection_id":55583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9778310012cb299c007822ce0005300122a..."} 
[2026-04-26 16:41:20] local.INFO: Packet analysis {"connection_id":55583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:41:20] local.INFO: Extracted packet for processing {"connection_id":55583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc977"} 
[2026-04-26 16:41:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963518720001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:41:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777201546000,"timestamp_ms":1777201546000,"timestamp_seconds":1777201546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9778310"} 
[2026-04-26 16:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16: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-04-26 16: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-04-26 16:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:41: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-04-26 16:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963518720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963518720001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:41:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:41:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:41:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963518720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":55583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:41:20] local.INFO: GPS data processed {"connection_id":55583,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:41:20] local.INFO: Acknowledgment sent {"connection_id":55583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:41:51] local.INFO: TCP Data received {"connection_id":55583,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:41:51] local.INFO: Processing buffer {"connection_id":55583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:41:51] local.INFO: Packet analysis {"connection_id":55583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:41:51] local.INFO: Extracted packet for processing {"connection_id":55583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:41: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-04-26 16: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-04-26 16:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:41: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-04-26 16:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:41:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":55583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:41:51] local.INFO: GPS data processed {"connection_id":55583,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:41:51] local.INFO: Acknowledgment sent {"connection_id":55583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:42:19] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:42:19] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:42:19] local.INFO: IMEI packet received {"connection_id":54921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":54921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:42:24] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:42:24] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:42:24] local.INFO: IMEI packet received {"connection_id":54921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":54921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:42:25] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:42:25] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:42:25] local.INFO: Packet analysis {"connection_id":54921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:42:25] local.INFO: Extracted packet for processing {"connection_id":54921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:42:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:42: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-04-26 16:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:42:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:42:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:42:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":54921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:42:25] local.INFO: GPS data processed {"connection_id":54921,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:42:25] local.INFO: Acknowledgment sent {"connection_id":54921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:42:29] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:42:29] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:42:29] local.INFO: Packet analysis {"connection_id":54921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:42:29] local.INFO: Extracted packet for processing {"connection_id":54921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:42:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:42:29] 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-04-26 16:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:42:29] 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-04-26 16:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:42:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":54921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:42:29] local.INFO: GPS data processed {"connection_id":54921,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:42:29] local.INFO: Acknowledgment sent {"connection_id":54921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:43:14] local.INFO: TCP Data received {"connection_id":55585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:43:14] local.INFO: Processing buffer {"connection_id":55585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:43:14] local.INFO: IMEI packet received {"connection_id":55585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":55585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:43:20] local.INFO: TCP Data received {"connection_id":55585,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:43:20] local.INFO: Processing buffer {"connection_id":55585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:43:20] local.INFO: IMEI packet received {"connection_id":55585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:43:20] local.INFO: IMEI acknowledgment sent {"connection_id":55585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:43:21] local.INFO: TCP Data received {"connection_id":55585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:43:21] local.INFO: Processing buffer {"connection_id":55585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:43:21] local.INFO: Packet analysis {"connection_id":55585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:43:21] local.INFO: Extracted packet for processing {"connection_id":55585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:43:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:43:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:43: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-04-26 16: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-04-26 16:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:43: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-04-26 16:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:43:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:43:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":55585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:43:21] local.INFO: GPS data processed {"connection_id":55585,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:43:21] local.INFO: Acknowledgment sent {"connection_id":55585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:43:58] local.INFO: TCP Data received {"connection_id":55585,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:43:58] local.INFO: Processing buffer {"connection_id":55585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:43:58] local.INFO: Packet analysis {"connection_id":55585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:43:58] local.INFO: Extracted packet for processing {"connection_id":55585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:43:58] 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-04-26 16: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-04-26 16:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":55585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":55585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":55585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:43: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-04-26 16:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:43:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":55585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:43:58] local.INFO: GPS data processed {"connection_id":55585,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:43:58] local.INFO: Acknowledgment sent {"connection_id":55585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:44:13] local.INFO: TCP Data received {"connection_id":54846,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:44:13] local.INFO: Processing buffer {"connection_id":54846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:44:13] local.INFO: IMEI packet received {"connection_id":54846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":54846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:44:19] local.INFO: TCP Data received {"connection_id":54846,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:44:19] local.INFO: Processing buffer {"connection_id":54846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:44:19] local.INFO: IMEI packet received {"connection_id":54846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:44:19] local.INFO: TCP Data received {"connection_id":54846,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:44:19] local.INFO: Processing buffer {"connection_id":54846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:44:19] local.INFO: Packet analysis {"connection_id":54846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:44:19] local.INFO: Extracted packet for processing {"connection_id":54846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:44:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:44:19] 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-04-26 16:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:44:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":54846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:44:19] local.INFO: GPS data processed {"connection_id":54846,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:44:19] local.INFO: Acknowledgment sent {"connection_id":54846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:44:38] local.INFO: TCP Data received {"connection_id":55586,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:44:38] local.INFO: Processing buffer {"connection_id":55586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:44:38] local.INFO: IMEI packet received {"connection_id":55586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":55586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:44:39] local.INFO: TCP Data received {"connection_id":55586,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97e3db8012d198b000720b2e00037004b28..."} 
[2026-04-26 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97e3db8012d198b000720b2e00037004b28..."} 
[2026-04-26 16:44:39] local.INFO: Processing buffer {"connection_id":55586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97e3db8012d198b000720b2e00037004b28..."} 
[2026-04-26 16:44:39] local.INFO: Packet analysis {"connection_id":55586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97e"} 
[2026-04-26 16:44:39] local.INFO: Extracted packet for processing {"connection_id":55586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97e"} 
[2026-04-26 16:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963703296001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777201987000,"timestamp_ms":1777201987000,"timestamp_seconds":1777201987,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97e3db8"} 
[2026-04-26 16:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-26 16:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:44:39] 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-04-26 16:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963703296001,"66":12667,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963703296001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:44:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963703296001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":55586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:44:39] local.INFO: GPS data processed {"connection_id":55586,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:44:39] local.INFO: Acknowledgment sent {"connection_id":55586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:44:50] local.INFO: TCP Data received {"connection_id":54846,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:44:50] local.INFO: Processing buffer {"connection_id":54846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:44:50] local.INFO: Packet analysis {"connection_id":54846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:44:50] local.INFO: Extracted packet for processing {"connection_id":54846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:44:50] 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-04-26 16:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:44:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":54846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:44:50] local.INFO: GPS data processed {"connection_id":54846,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:44:50] local.INFO: Acknowledgment sent {"connection_id":54846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:45:10] local.INFO: TCP Data received {"connection_id":55586,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97e8fc0012d198b000720b2e00037004b25..."} 
[2026-04-26 16:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97e8fc0012d198b000720b2e00037004b25..."} 
[2026-04-26 16:45:10] local.INFO: Processing buffer {"connection_id":55586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97e8fc0012d198b000720b2e00037004b25..."} 
[2026-04-26 16:45:10] local.INFO: Packet analysis {"connection_id":55586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97e"} 
[2026-04-26 16:45:10] local.INFO: Extracted packet for processing {"connection_id":55586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97e"} 
[2026-04-26 16:45:10] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963708672001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45: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-04-26 16:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777202008000,"timestamp_ms":1777202008000,"timestamp_seconds":1777202008,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97e8fc0"} 
[2026-04-26 16:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:45:10] 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-04-26 16:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 16:45:10] 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-04-26 16:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:10] 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-04-26 16:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963708672001,"66":13004,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963708672001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:45:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:45:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963708672001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":55586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:45:10] local.INFO: GPS data processed {"connection_id":55586,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:45:10] local.INFO: Acknowledgment sent {"connection_id":55586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:45:19] local.INFO: TCP Data received {"connection_id":55587,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:45:19] local.INFO: Processing buffer {"connection_id":55587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:45:19] local.INFO: IMEI packet received {"connection_id":55587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":55587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:45:24] local.INFO: TCP Data received {"connection_id":55587,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:45:24] local.INFO: Processing buffer {"connection_id":55587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:45:24] local.INFO: IMEI packet received {"connection_id":55587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":55587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:45:27] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:45:27] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:45:27] local.INFO: IMEI packet received {"connection_id":54847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":54847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:45:29] local.INFO: TCP Data received {"connection_id":55587,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:45:29] local.INFO: Processing buffer {"connection_id":55587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:45:29] local.INFO: Packet analysis {"connection_id":55587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:45:29] local.INFO: Extracted packet for processing {"connection_id":55587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:45:29] 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-04-26 16: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-04-26 16:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:45:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":55587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:45:29] local.INFO: GPS data processed {"connection_id":55587,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:45:29] local.INFO: Acknowledgment sent {"connection_id":55587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:45:34] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:45:34] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:45:34] local.INFO: IMEI packet received {"connection_id":54847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":54847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:45:38] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.41","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 16:45:38] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 16:45:38] local.INFO: IMEI packet received {"connection_id":54847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":54847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:45:38] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97f33d0012d198b000720b2e00037004b26..."} 
[2026-04-26 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97f33d0012d198b000720b2e00037004b26..."} 
[2026-04-26 16:45:38] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dc97ee1c8012d198b000720b2e00037004b24..."} 
[2026-04-26 16:45:38] local.INFO: Packet analysis {"connection_id":54847,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dc97e"} 
[2026-04-26 16:45:38] local.INFO: Extracted packet for processing {"connection_id":54847,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97e"} 
[2026-04-26 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963714048001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777202029000,"timestamp_ms":1777202029000,"timestamp_seconds":1777202029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97ee1c8"} 
[2026-04-26 16:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-26 16:45:38] 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-04-26 16:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:38] 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-04-26 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963714048001,"66":12993,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963714048001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963714048001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":54847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:45:38] local.INFO: GPS data processed {"connection_id":54847,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:45:38] local.INFO: Acknowledgment sent {"connection_id":54847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:45:38] local.INFO: Packet analysis {"connection_id":54847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97f"} 
[2026-04-26 16:45:38] local.INFO: Extracted packet for processing {"connection_id":54847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97f"} 
[2026-04-26 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963719424001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777202050000,"timestamp_ms":1777202050000,"timestamp_seconds":1777202050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97f33d0"} 
[2026-04-26 16:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-26 16:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:38] 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-04-26 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963719424001,"66":12972,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963719424001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963719424001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":54847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:45:38] local.INFO: GPS data processed {"connection_id":54847,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:45:38] local.INFO: Acknowledgment sent {"connection_id":54847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:45:43] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97f89c0012d198b000720b2e00037004b27..."} 
[2026-04-26 16:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97f89c0012d198b000720b2e00037004b27..."} 
[2026-04-26 16:45:43] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97f89c0012d198b000720b2e00037004b27..."} 
[2026-04-26 16:45:43] local.INFO: Packet analysis {"connection_id":54847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97f"} 
[2026-04-26 16:45:43] local.INFO: Extracted packet for processing {"connection_id":54847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97f"} 
[2026-04-26 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963724800001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:45: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-04-26 16:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777202072000,"timestamp_ms":1777202072000,"timestamp_seconds":1777202072,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97f89c0"} 
[2026-04-26 16:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 16:45:43] 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-04-26 16:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:45:43] 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-04-26 16:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963724800001,"66":12972,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963724800001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963724800001,"power":12972,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":54847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:45:43] local.INFO: GPS data processed {"connection_id":54847,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:45:43] local.INFO: Acknowledgment sent {"connection_id":54847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:46:10] local.INFO: TCP Data received {"connection_id":54848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:10] local.INFO: Processing buffer {"connection_id":54848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:10] local.INFO: IMEI packet received {"connection_id":54848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":54848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:46:14] local.INFO: TCP Data received {"connection_id":55588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:46:14] local.INFO: Processing buffer {"connection_id":55588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:46:14] local.INFO: IMEI packet received {"connection_id":55588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":55588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:46:19] local.INFO: TCP Data received {"connection_id":55588,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:46:19] local.INFO: Processing buffer {"connection_id":55588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:46:19] local.INFO: IMEI packet received {"connection_id":55588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":55588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:46:19] local.INFO: TCP Data received {"connection_id":55588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:46:19] local.INFO: Processing buffer {"connection_id":55588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97c1ad8012cb299c007822ce0004e00122a..."} 
[2026-04-26 16:46:19] local.INFO: Packet analysis {"connection_id":55588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:46:19] local.INFO: Extracted packet for processing {"connection_id":55588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97c"} 
[2026-04-26 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963595776001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777201847000,"timestamp_ms":1777201847000,"timestamp_seconds":1777201847,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97c1ad8"} 
[2026-04-26 16:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 16:46:19] 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-04-26 16:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963595776001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963595776001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:46:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963595776001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":55588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:46:19] local.INFO: GPS data processed {"connection_id":55588,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:46:19] local.INFO: Acknowledgment sent {"connection_id":55588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:46:33] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:46:33] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:46:33] local.INFO: IMEI packet received {"connection_id":54922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":54922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:46:33] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:46:33] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:46:33] local.INFO: IMEI packet received {"connection_id":54922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":54922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:46:34] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc97fd7e0012d198b000720b2e00037004b27..."} 
[2026-04-26 16:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc97fd7e0012d198b000720b2e00037004b27..."} 
[2026-04-26 16:46:34] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc97fd7e0012d198b000720b2e00037004b27..."} 
[2026-04-26 16:46:34] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc97f"} 
[2026-04-26 16:46:34] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc97f"} 
[2026-04-26 16:46:34] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963730432001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777202092000,"timestamp_ms":1777202092000,"timestamp_seconds":1777202092,"priority":1,"record_length":96,"hex_timestamp":"0000019dc97fd7e0"} 
[2026-04-26 16:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:46:34] 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-04-26 16:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 16:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:46:34] 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-04-26 16:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963730432001,"66":12928,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963730432001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:46:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:46:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963730432001,"power":12928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:46:34] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:46:34] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:46:38] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98029e8012d198b000720b2e00037004b26..."} 
[2026-04-26 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98029e8012d198b000720b2e00037004b26..."} 
[2026-04-26 16:46:38] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98029e8012d198b000720b2e00037004b26..."} 
[2026-04-26 16:46:38] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:46:38] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963735552001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777202113000,"timestamp_ms":1777202113000,"timestamp_seconds":1777202113,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98029e8"} 
[2026-04-26 16:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-26 16:46:38] 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-04-26 16:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:46:38] 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-04-26 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963735552001,"66":12950,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963735552001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:46:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963735552001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:46:38] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:46:38] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:46:40] local.INFO: TCP Data received {"connection_id":54668,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:40] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:40] local.INFO: IMEI packet received {"connection_id":54668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":54668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:46:45] local.INFO: TCP Data received {"connection_id":54668,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:45] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:45] local.INFO: IMEI packet received {"connection_id":54668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 16:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":54668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:46:50] local.INFO: TCP Data received {"connection_id":54668,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:50] local.INFO: Processing buffer {"connection_id":54668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:46:50] local.INFO: IMEI packet received {"connection_id":54668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 16:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":54668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:46:50] local.INFO: TCP Data received {"connection_id":55588,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:46:50] local.INFO: Processing buffer {"connection_id":55588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:46:50] local.INFO: Packet analysis {"connection_id":55588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:46:50] local.INFO: Extracted packet for processing {"connection_id":55588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:46:50] 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-04-26 16:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:46:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":55588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:46:50] local.INFO: GPS data processed {"connection_id":55588,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:46:50] local.INFO: Acknowledgment sent {"connection_id":55588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:47:09] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9807bf0012d198b000720b2e00037004b26..."} 
[2026-04-26 16:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9807bf0012d198b000720b2e00037004b26..."} 
[2026-04-26 16:47:09] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9807bf0012d198b000720b2e00037004b26..."} 
[2026-04-26 16:47:09] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:09] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963740928001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777202134000,"timestamp_ms":1777202134000,"timestamp_seconds":1777202134,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9807bf0"} 
[2026-04-26 16:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:47:09] 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-04-26 16: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":150,"data_length":795,"current_offset":136} 
[2026-04-26 16:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16: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-04-26 16:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:47:09] 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-04-26 16:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963740928001,"66":12917,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963740928001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963740928001,"power":12917,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:47:09] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:47:09] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:47:13] local.INFO: TCP Data received {"connection_id":54923,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:13] local.INFO: Processing buffer {"connection_id":54923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:13] local.INFO: IMEI packet received {"connection_id":54923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":54923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:47:20] local.INFO: TCP Data received {"connection_id":54923,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:20] local.INFO: Processing buffer {"connection_id":54923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:20] local.INFO: IMEI packet received {"connection_id":54923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":54923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:47:24] local.INFO: TCP Data received {"connection_id":54923,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:24] local.INFO: Processing buffer {"connection_id":54923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:47:24] local.INFO: IMEI packet received {"connection_id":54923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":54923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:47:25] local.INFO: TCP Data received {"connection_id":54923,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:47:25] local.INFO: Processing buffer {"connection_id":54923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:47:25] local.INFO: Packet analysis {"connection_id":54923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:25] local.INFO: Extracted packet for processing {"connection_id":54923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:47:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:47:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:47:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:47:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:47:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:47:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:47:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:47:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:47:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:47:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:47:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:47:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:47:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:47:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:47:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:47:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:47:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:47:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:47:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:47:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:47:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:47:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:47:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:47:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:47:25] local.INFO: DEBUG: GPS processor result {"connection_id":54923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:47:25] local.INFO: GPS data processed {"connection_id":54923,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:47:25] local.INFO: Acknowledgment sent {"connection_id":54923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:47:27] local.INFO: TCP Data received {"connection_id":55589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:47:27] local.INFO: Processing buffer {"connection_id":55589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:47:27] local.INFO: IMEI packet received {"connection_id":55589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":55589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:47:33] local.INFO: TCP Data received {"connection_id":55589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:47:33] local.INFO: Processing buffer {"connection_id":55589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:47:33] local.INFO: IMEI packet received {"connection_id":55589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":55589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:47:34] local.INFO: TCP Data received {"connection_id":55589,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980cdf8012d198b000720b2e00037004b27..."} 
[2026-04-26 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980cdf8012d198b000720b2e00037004b27..."} 
[2026-04-26 16:47:34] local.INFO: Processing buffer {"connection_id":55589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980cdf8012d198b000720b2e00037004b27..."} 
[2026-04-26 16:47:34] local.INFO: Packet analysis {"connection_id":55589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:34] local.INFO: Extracted packet for processing {"connection_id":55589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963746304001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777202155000,"timestamp_ms":1777202155000,"timestamp_seconds":1777202155,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980cdf8"} 
[2026-04-26 16:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:47:34] 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-04-26 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-26 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:47:34] 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-04-26 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963746304001,"66":12863,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963746304001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:47:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963746304001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":55589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:47:35] local.INFO: GPS data processed {"connection_id":55589,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:47:35] local.INFO: Acknowledgment sent {"connection_id":55589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:47:58] local.INFO: TCP Data received {"connection_id":54923,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:47:58] local.INFO: Processing buffer {"connection_id":54923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:47:58] local.INFO: Packet analysis {"connection_id":54923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:58] local.INFO: Extracted packet for processing {"connection_id":54923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:47:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:47:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":54923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:47:58] local.INFO: GPS data processed {"connection_id":54923,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:47:58] local.INFO: Acknowledgment sent {"connection_id":54923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:48:05] local.INFO: TCP Data received {"connection_id":55589,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9812000012d198b000720b2e00037004b27..."} 
[2026-04-26 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9812000012d198b000720b2e00037004b27..."} 
[2026-04-26 16:48:05] local.INFO: Processing buffer {"connection_id":55589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9812000012d198b000720b2e00037004b27..."} 
[2026-04-26 16:48:05] local.INFO: Packet analysis {"connection_id":55589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc981"} 
[2026-04-26 16:48:05] local.INFO: Extracted packet for processing {"connection_id":55589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc981"} 
[2026-04-26 16:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":39,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963751680001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777202176000,"timestamp_ms":1777202176000,"timestamp_seconds":1777202176,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9812000"} 
[2026-04-26 16:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:48:05] 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-04-26 16:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-26 16:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:48:05] 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-04-26 16:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963751680001,"66":12852,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963751680001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:48:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963751680001,"power":12852,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":55589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:48:06] local.INFO: GPS data processed {"connection_id":55589,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:48:06] local.INFO: Acknowledgment sent {"connection_id":55589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:48:19] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:48:19] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:48:19] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:48:24] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:48:24] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:48:24] local.INFO: IMEI packet received {"connection_id":54669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":54669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:48:24] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:48:24] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:48:24] local.INFO: Packet analysis {"connection_id":54669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:48:24] local.INFO: Extracted packet for processing {"connection_id":54669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:48: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-04-26 16:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:48: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-04-26 16:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:48:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":54669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:48:24] local.INFO: GPS data processed {"connection_id":54669,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:48:24] local.INFO: Acknowledgment sent {"connection_id":54669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:48:27] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:48:27] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:48:27] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:48:29] local.INFO: TCP Data received {"connection_id":54669,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:48:29] local.INFO: Processing buffer {"connection_id":54669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:48:29] local.INFO: Packet analysis {"connection_id":54669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:48:29] local.INFO: Extracted packet for processing {"connection_id":54669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:48:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":54669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:48:29] local.INFO: GPS data processed {"connection_id":54669,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:48:29] local.INFO: Acknowledgment sent {"connection_id":54669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:48:32] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:48:33] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:48:33] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:49:02] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:49:02] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:49:02] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:49:14] local.INFO: TCP Data received {"connection_id":54670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:49:14] local.INFO: Processing buffer {"connection_id":54670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:49:14] local.INFO: IMEI packet received {"connection_id":54670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:49:19] local.INFO: TCP Data received {"connection_id":54670,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:49:19] local.INFO: Processing buffer {"connection_id":54670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:49:19] local.INFO: IMEI packet received {"connection_id":54670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:49:22] local.INFO: TCP Data received {"connection_id":54670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:49:22] local.INFO: Processing buffer {"connection_id":54670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:49:22] local.INFO: Packet analysis {"connection_id":54670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:49:22] local.INFO: Extracted packet for processing {"connection_id":54670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:49:22] 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-04-26 16: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-04-26 16:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:49: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-04-26 16:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:49:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:49:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":54670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:49:22] local.INFO: GPS data processed {"connection_id":54670,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:49:22] local.INFO: Acknowledgment sent {"connection_id":54670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:49:28] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:49:28] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:49:28] local.INFO: IMEI packet received {"connection_id":54851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":54851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:49:53] local.INFO: TCP Data received {"connection_id":54670,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:49:53] local.INFO: Processing buffer {"connection_id":54670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:49:53] local.INFO: Packet analysis {"connection_id":54670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:49:53] local.INFO: Extracted packet for processing {"connection_id":54670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:49:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:49:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:49: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-04-26 16:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:49:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":54670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:49:53] local.INFO: GPS data processed {"connection_id":54670,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:49:53] local.INFO: Acknowledgment sent {"connection_id":54670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:50:14] local.INFO: TCP Data received {"connection_id":54671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:50:14] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:50:14] local.INFO: IMEI packet received {"connection_id":54671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":54671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:50:19] local.INFO: TCP Data received {"connection_id":54671,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:50:19] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:50:19] local.INFO: IMEI packet received {"connection_id":54671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:50:20] local.INFO: TCP Data received {"connection_id":54671,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:50:20] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:50:20] local.INFO: Packet analysis {"connection_id":54671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:50:20] local.INFO: Extracted packet for processing {"connection_id":54671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:50:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:50:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:50:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:50:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:50:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:50:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:50:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:50: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-04-26 16: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-04-26 16:50:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:50:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:50:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:50:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:50:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:50: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-04-26 16:50:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:50:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:50:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:50:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:50:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:50:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:50:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:50:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:50:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:50:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:50:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:50:20] local.INFO: DEBUG: GPS processor result {"connection_id":54671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:50:20] local.INFO: GPS data processed {"connection_id":54671,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:50:20] local.INFO: Acknowledgment sent {"connection_id":54671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:50:51] local.INFO: TCP Data received {"connection_id":54671,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:50:51] local.INFO: Processing buffer {"connection_id":54671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:50:51] local.INFO: Packet analysis {"connection_id":54671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:50:51] local.INFO: Extracted packet for processing {"connection_id":54671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:50:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:50: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-04-26 16:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:50:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:50:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:50:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":54671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:50:51] local.INFO: GPS data processed {"connection_id":54671,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:50:51] local.INFO: Acknowledgment sent {"connection_id":54671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:51:13] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:51:13] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:51:13] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:51:19] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:51:19] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:51:19] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:51:20] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:51:20] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc980b2a0012cb299c007822ce0004900122a..."} 
[2026-04-26 16:51:20] local.INFO: Packet analysis {"connection_id":54852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:51:20] local.INFO: Extracted packet for processing {"connection_id":54852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc980"} 
[2026-04-26 16:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963672832001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777202148000,"timestamp_ms":1777202148000,"timestamp_seconds":1777202148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc980b2a0"} 
[2026-04-26 16:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:51: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-04-26 16: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-04-26 16:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:51: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-04-26 16:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963672832001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963672832001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:51:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963672832001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":54852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:51:20] local.INFO: GPS data processed {"connection_id":54852,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:51:20] local.INFO: Acknowledgment sent {"connection_id":54852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:51:51] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:51:51] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:51:51] local.INFO: Packet analysis {"connection_id":54852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:51:51] local.INFO: Extracted packet for processing {"connection_id":54852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:51: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-04-26 16:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:51:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":54852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:51:51] local.INFO: GPS data processed {"connection_id":54852,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:51:51] local.INFO: Acknowledgment sent {"connection_id":54852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:52:14] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:52:14] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:52:14] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:52:19] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:52:19] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:52:19] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:52:20] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:52:20] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:52:20] local.INFO: Packet analysis {"connection_id":54853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:52:20] local.INFO: Extracted packet for processing {"connection_id":54853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:52:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:52:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:52: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-04-26 16: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-04-26 16:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:52: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-04-26 16:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:52:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:52:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:52:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":54853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:52:20] local.INFO: GPS data processed {"connection_id":54853,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:52:20] local.INFO: Acknowledgment sent {"connection_id":54853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:52:20] local.INFO: TCP Data received {"connection_id":54673,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:52:20] local.INFO: Processing buffer {"connection_id":54673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:52:20] local.INFO: IMEI packet received {"connection_id":54673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":54673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:52:46] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:52:46] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:52:46] local.INFO: IMEI packet received {"connection_id":54925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":54925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:52:51] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:52:51] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:52:51] local.INFO: Packet analysis {"connection_id":54853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:52:51] local.INFO: Extracted packet for processing {"connection_id":54853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:52: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-04-26 16: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-04-26 16:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:52:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:52:51] local.INFO: GPS data processed {"connection_id":54853,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:52:51] local.INFO: Acknowledgment sent {"connection_id":54853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:53:14] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:53:14] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:53:14] local.INFO: IMEI packet received {"connection_id":54674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":54674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:53:19] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:53:19] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:53:19] local.INFO: IMEI packet received {"connection_id":54674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":54674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:53:19] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:53:19] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:53:19] local.INFO: Packet analysis {"connection_id":54674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:53:19] local.INFO: Extracted packet for processing {"connection_id":54674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:53:19] 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-04-26 16: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-04-26 16:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:53:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":54674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:53:19] local.INFO: GPS data processed {"connection_id":54674,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:53:19] local.INFO: Acknowledgment sent {"connection_id":54674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:53:50] local.INFO: TCP Data received {"connection_id":54674,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:53:50] local.INFO: Processing buffer {"connection_id":54674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:53:50] local.INFO: Packet analysis {"connection_id":54674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:53:50] local.INFO: Extracted packet for processing {"connection_id":54674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16: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-04-26 16:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:53:50] 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-04-26 16: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-04-26 16:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:53:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":54674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:53:50] local.INFO: GPS data processed {"connection_id":54674,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:53:50] local.INFO: Acknowledgment sent {"connection_id":54674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:54:19] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:19] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:19] local.INFO: IMEI packet received {"connection_id":54855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":54855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:54:24] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:24] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:24] local.INFO: IMEI packet received {"connection_id":54855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":54855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:54:28] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:28] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:54:28] local.INFO: IMEI packet received {"connection_id":54855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":54855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:54:31] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:54:31] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:54:31] local.INFO: Packet analysis {"connection_id":54855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:54:31] local.INFO: Extracted packet for processing {"connection_id":54855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:54: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-04-26 16:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:54: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-04-26 16:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:54:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":54855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:54:31] local.INFO: GPS data processed {"connection_id":54855,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:54:31] local.INFO: Acknowledgment sent {"connection_id":54855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:54:34] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:54:34] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:54:34] local.INFO: Packet analysis {"connection_id":54855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:54:34] local.INFO: Extracted packet for processing {"connection_id":54855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:54:34] 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-04-26 16:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:54:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":54855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:54:34] local.INFO: GPS data processed {"connection_id":54855,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:54:34] local.INFO: Acknowledgment sent {"connection_id":54855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:54:37] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:54:37] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:54:37] local.INFO: IMEI packet received {"connection_id":54926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":54926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:54:38] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc984aa40012d198b000720b2e00037004b23..."} 
[2026-04-26 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc984aa40012d198b000720b2e00037004b23..."} 
[2026-04-26 16:54:38] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc984aa40012d198b000720b2e00037004b23..."} 
[2026-04-26 16:54:38] local.INFO: Packet analysis {"connection_id":54926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc984"} 
[2026-04-26 16:54:38] local.INFO: Extracted packet for processing {"connection_id":54926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc984"} 
[2026-04-26 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":35,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963811072001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777202408000,"timestamp_ms":1777202408000,"timestamp_seconds":1777202408,"priority":1,"record_length":96,"hex_timestamp":"0000019dc984aa40"} 
[2026-04-26 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 16:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:54:38] 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-04-26 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963811072001,"66":12678,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963811072001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:54:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963811072001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":54926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:54:38] local.INFO: GPS data processed {"connection_id":54926,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:54:38] local.INFO: Acknowledgment sent {"connection_id":54926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:55:09] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc984f860012d198b000720b2e00037004b26..."} 
[2026-04-26 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc984f860012d198b000720b2e00037004b26..."} 
[2026-04-26 16:55:09] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc984f860012d198b000720b2e00037004b26..."} 
[2026-04-26 16:55:09] local.INFO: Packet analysis {"connection_id":54926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc984"} 
[2026-04-26 16:55:09] local.INFO: Extracted packet for processing {"connection_id":54926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc984"} 
[2026-04-26 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":38,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963816448001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777202428000,"timestamp_ms":1777202428000,"timestamp_seconds":1777202428,"priority":1,"record_length":96,"hex_timestamp":"0000019dc984f860"} 
[2026-04-26 16:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-26 16:55:09] 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-04-26 16:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:55:09] 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-04-26 16:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963816448001,"66":12667,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963816448001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:55:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963816448001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":54926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:55:10] local.INFO: GPS data processed {"connection_id":54926,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:55:10] local.INFO: Acknowledgment sent {"connection_id":54926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:55:14] local.INFO: TCP Data received {"connection_id":55595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:55:14] local.INFO: Processing buffer {"connection_id":55595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:55:14] local.INFO: IMEI packet received {"connection_id":55595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":55595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:55:19] local.INFO: TCP Data received {"connection_id":55595,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:55:19] local.INFO: Processing buffer {"connection_id":55595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:55:19] local.INFO: IMEI packet received {"connection_id":55595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":55595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:55:23] local.INFO: TCP Data received {"connection_id":55595,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:23] local.INFO: Processing buffer {"connection_id":55595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:23] local.INFO: Packet analysis {"connection_id":55595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:23] local.INFO: Extracted packet for processing {"connection_id":55595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:55:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:55:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:55:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":55595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:55:23] local.INFO: GPS data processed {"connection_id":55595,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:55:23] local.INFO: Acknowledgment sent {"connection_id":55595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:55:24] local.INFO: TCP Data received {"connection_id":55595,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:24] local.INFO: Processing buffer {"connection_id":55595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:24] local.INFO: Packet analysis {"connection_id":55595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:24] local.INFO: Extracted packet for processing {"connection_id":55595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:55: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-04-26 16:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:55: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-04-26 16:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:55:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":55595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:55:24] local.INFO: GPS data processed {"connection_id":55595,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:55:24] local.INFO: Acknowledgment sent {"connection_id":55595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:55:27] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:55:27] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:55:27] local.INFO: IMEI packet received {"connection_id":54856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":54856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:55:32] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:55:32] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:55:32] local.INFO: IMEI packet received {"connection_id":54856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":54856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:55:33] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854a68012d198b000720b2e00037004b25..."} 
[2026-04-26 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854a68012d198b000720b2e00037004b25..."} 
[2026-04-26 16:55:33] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854a68012d198b000720b2e00037004b25..."} 
[2026-04-26 16:55:33] local.INFO: Packet analysis {"connection_id":54856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:33] local.INFO: Extracted packet for processing {"connection_id":54856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963821568001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777202449000,"timestamp_ms":1777202449000,"timestamp_seconds":1777202449,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854a68"} 
[2026-04-26 16:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-26 16:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:55:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963821568001,"66":12613,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963821568001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:55:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:55:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963821568001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":54856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:55:33] local.INFO: GPS data processed {"connection_id":54856,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:55:33] local.INFO: Acknowledgment sent {"connection_id":54856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:55:55] local.INFO: TCP Data received {"connection_id":55595,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:55] local.INFO: Processing buffer {"connection_id":55595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9854680012cb299c007822ce0004e001228..."} 
[2026-04-26 16:55:55] local.INFO: Packet analysis {"connection_id":55595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:55] local.INFO: Extracted packet for processing {"connection_id":55595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc985"} 
[2026-04-26 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963749888001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 16:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777202448000,"timestamp_ms":1777202448000,"timestamp_seconds":1777202448,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9854680"} 
[2026-04-26 16:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 16:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 16:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 16:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 16:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 16:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963749888001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 16:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 16:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 16:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963749888001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:55:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 16:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 16:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 16:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963749888001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 16:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":55595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:55:55] local.INFO: GPS data processed {"connection_id":55595,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:55:55] local.INFO: Acknowledgment sent {"connection_id":55595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:56:04] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc988d0c0012d198b000720b2e00037004b25..."} 
[2026-04-26 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc988d0c0012d198b000720b2e00037004b25..."} 
[2026-04-26 16:56:04] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc988d0c0012d198b000720b2e00037004b25..."} 
[2026-04-26 16:56:04] local.INFO: Packet analysis {"connection_id":54856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc988"} 
[2026-04-26 16:56:04] local.INFO: Extracted packet for processing {"connection_id":54856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc988"} 
[2026-04-26 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963880704001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777202680000,"timestamp_ms":1777202680000,"timestamp_seconds":1777202680,"priority":1,"record_length":96,"hex_timestamp":"0000019dc988d0c0"} 
[2026-04-26 16:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-26 16:56:04] 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-04-26 16:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:56:04] 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-04-26 16:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963880704001,"66":12526,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963880704001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:56:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963880704001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":54856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:56:04] local.INFO: GPS data processed {"connection_id":54856,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:56:04] local.INFO: Acknowledgment sent {"connection_id":54856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:56:15] local.INFO: TCP Data received {"connection_id":54675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:15] local.INFO: Processing buffer {"connection_id":54675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:15] local.INFO: IMEI packet received {"connection_id":54675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 16:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":54675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:56:27] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:56:27] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:56:27] local.INFO: IMEI packet received {"connection_id":54929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":54929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:56:32] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:56:32] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:56:32] local.INFO: IMEI packet received {"connection_id":54929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":54929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:56:33] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98922c8012d198b000720b2e00037004b28..."} 
[2026-04-26 16:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98922c8012d198b000720b2e00037004b28..."} 
[2026-04-26 16:56:33] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98922c8012d198b000720b2e00037004b28..."} 
[2026-04-26 16:56:33] local.INFO: Packet analysis {"connection_id":54929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc989"} 
[2026-04-26 16:56:33] local.INFO: Extracted packet for processing {"connection_id":54929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc989"} 
[2026-04-26 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":40,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963886080001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777202701000,"timestamp_ms":1777202701000,"timestamp_seconds":1777202701,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98922c8"} 
[2026-04-26 16:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 16:56:33] 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-04-26 16:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 16:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963886080001,"66":12526,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963886080001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:56:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963886080001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":54929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:56:33] local.INFO: GPS data processed {"connection_id":54929,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:56:33] local.INFO: Acknowledgment sent {"connection_id":54929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:56:43] local.INFO: TCP Data received {"connection_id":54675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:43] local.INFO: Processing buffer {"connection_id":54675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:43] local.INFO: IMEI packet received {"connection_id":54675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":54675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:56:47] local.INFO: TCP Data received {"connection_id":54675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:47] local.INFO: Processing buffer {"connection_id":54675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:47] local.INFO: IMEI packet received {"connection_id":54675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":54675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:56:50] local.INFO: TCP Data received {"connection_id":54675,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:50] local.INFO: Processing buffer {"connection_id":54675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 16:56:50] local.INFO: IMEI packet received {"connection_id":54675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":54675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:57:04] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98974d0012d198b000720b2e00037004b24..."} 
[2026-04-26 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98974d0012d198b000720b2e00037004b24..."} 
[2026-04-26 16:57:04] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98974d0012d198b000720b2e00037004b24..."} 
[2026-04-26 16:57:04] local.INFO: Packet analysis {"connection_id":54929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc989"} 
[2026-04-26 16:57:04] local.INFO: Extracted packet for processing {"connection_id":54929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc989"} 
[2026-04-26 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963891456001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777202722000,"timestamp_ms":1777202722000,"timestamp_seconds":1777202722,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98974d0"} 
[2026-04-26 16:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:57:04] 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-04-26 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-26 16:57:04] 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-04-26 16:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:57:04] 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-04-26 16:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963891456001,"66":12504,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963891456001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963891456001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":54929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:57:04] local.INFO: GPS data processed {"connection_id":54929,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:57:04] local.INFO: Acknowledgment sent {"connection_id":54929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:57:27] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:57:27] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:57:27] local.INFO: IMEI packet received {"connection_id":54857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":54857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:57:32] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:57:32] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:57:32] local.INFO: IMEI packet received {"connection_id":54857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":54857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:57:33] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.41","data_length":93,"data_hex":"00000000000000518e010000019dc989c6d8012d198b000720b2e00037004b22..."} 
[2026-04-26 16:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":93,"packet_hex":"00000000000000518e010000019dc989c6d8012d198b000720b2e00037004b22..."} 
[2026-04-26 16:57:33] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":93,"buffer_hex":"00000000000000518e010000019dc989c6d8012d198b000720b2e00037004b22..."} 
[2026-04-26 16:57:33] local.INFO: Packet analysis {"connection_id":54857,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019dc989"} 
[2026-04-26 16:57:33] local.INFO: Extracted packet for processing {"connection_id":54857,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019dc989"} 
[2026-04-26 16:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":34,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-26 16:57:33] 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-04-26 16:57:33] 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-04-26 16:57:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:57:33] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 16:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54857,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-26 16:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54857,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 16:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54857,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 16:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 16:57:33] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 16:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":54857,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 16:57:33] local.ERROR: GPS data processing failed {"connection_id":54857,"error":"No valid data to process"} 
[2026-04-26 16:57:33] local.INFO: Acknowledgment sent {"connection_id":54857,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 16:58:05] local.INFO: TCP Data received {"connection_id":54930,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:05] local.INFO: Processing buffer {"connection_id":54930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:05] local.INFO: IMEI packet received {"connection_id":54930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":54930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:58:06] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98a18e0012d198b000720b2e00037004b22..."} 
[2026-04-26 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98a18e0012d198b000720b2e00037004b22..."} 
[2026-04-26 16:58:06] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98a18e0012d198b000720b2e00037004b22..."} 
[2026-04-26 16:58:06] local.INFO: Packet analysis {"connection_id":54857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98a"} 
[2026-04-26 16:58:06] local.INFO: Extracted packet for processing {"connection_id":54857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98a"} 
[2026-04-26 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":34,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963902208001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777202764000,"timestamp_ms":1777202764000,"timestamp_seconds":1777202764,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98a18e0"} 
[2026-04-26 16:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 16:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:58:06] 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-04-26 16:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963902208001,"66":12515,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963902208001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:58:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963902208001,"power":12515,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":54857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:58:06] local.INFO: GPS data processed {"connection_id":54857,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:58:06] local.INFO: Acknowledgment sent {"connection_id":54857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:58:32] local.INFO: TCP Data received {"connection_id":54677,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:58:32] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:58:32] local.INFO: IMEI packet received {"connection_id":54677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":54677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:58:37] local.INFO: TCP Data received {"connection_id":54677,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:58:37] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:58:37] local.INFO: IMEI packet received {"connection_id":54677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":54677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:58:38] local.INFO: TCP Data received {"connection_id":54677,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98a6ae8012d198b000720b2e00037004b24..."} 
[2026-04-26 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98a6ae8012d198b000720b2e00037004b24..."} 
[2026-04-26 16:58:38] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98a6ae8012d198b000720b2e00037004b24..."} 
[2026-04-26 16:58:38] local.INFO: Packet analysis {"connection_id":54677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98a"} 
[2026-04-26 16:58:38] local.INFO: Extracted packet for processing {"connection_id":54677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98a"} 
[2026-04-26 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963907584001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777202785000,"timestamp_ms":1777202785000,"timestamp_seconds":1777202785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98a6ae8"} 
[2026-04-26 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-04-26 16:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:58:38] 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-04-26 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963907584001,"66":12504,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963907584001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:58:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963907584001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":54677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:58:39] local.INFO: GPS data processed {"connection_id":54677,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:58:39] local.INFO: Acknowledgment sent {"connection_id":54677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:58:39] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:39] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:39] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 16:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:58:47] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:47] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:47] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 16:58:47] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:58:54] local.INFO: TCP Data received {"connection_id":54678,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:54] local.INFO: Processing buffer {"connection_id":54678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 16:58:54] local.INFO: IMEI packet received {"connection_id":54678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 16:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":54678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:59:10] local.INFO: TCP Data received {"connection_id":54677,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98abcf0012d198b000720b2e00037004b24..."} 
[2026-04-26 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98abcf0012d198b000720b2e00037004b24..."} 
[2026-04-26 16:59:10] local.INFO: Processing buffer {"connection_id":54677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98abcf0012d198b000720b2e00037004b24..."} 
[2026-04-26 16:59:10] local.INFO: Packet analysis {"connection_id":54677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98a"} 
[2026-04-26 16:59:10] local.INFO: Extracted packet for processing {"connection_id":54677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98a"} 
[2026-04-26 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963912960001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:59: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-04-26 16:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777202806000,"timestamp_ms":1777202806000,"timestamp_seconds":1777202806,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98abcf0"} 
[2026-04-26 16:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 16:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 16:59:10] 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-04-26 16:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:59:10] 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-04-26 16:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963912960001,"66":12461,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963912960001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:59:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963912960001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":54677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:59:10] local.INFO: GPS data processed {"connection_id":54677,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:59:10] local.INFO: Acknowledgment sent {"connection_id":54677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 16:59:27] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:59:27] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:59:27] local.INFO: IMEI packet received {"connection_id":54931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 16:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":54931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 16:59:31] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:59:31] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 16:59:31] local.INFO: IMEI packet received {"connection_id":54931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 16:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":54931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 16:59:32] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98b0ef8012d198b000720b2e00037004b23..."} 
[2026-04-26 16:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98b0ef8012d198b000720b2e00037004b23..."} 
[2026-04-26 16:59:32] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98b0ef8012d198b000720b2e00037004b23..."} 
[2026-04-26 16:59:32] local.INFO: Packet analysis {"connection_id":54931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98b"} 
[2026-04-26 16:59:32] local.INFO: Extracted packet for processing {"connection_id":54931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98b"} 
[2026-04-26 16:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":35,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 16:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 16:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963918336001,"note":"Value kept but may cause issues"} 
[2026-04-26 16:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 16:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 16:59:32] 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-04-26 16:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777202827000,"timestamp_ms":1777202827000,"timestamp_seconds":1777202827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98b0ef8"} 
[2026-04-26 16:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 16:59:32] 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-04-26 16:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 16:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 16:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 16:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 16:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 16:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 16:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 16:59:32] 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-04-26 16:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 16:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 16:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963918336001,"66":11928,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 16:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 16:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 16:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963918336001,"description":"Unknown IO ID 0"} 
[2026-04-26 16:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 16:59:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 16:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 16:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 16:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963918336001,"power":11928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 16:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":54931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 16:59:32] local.INFO: GPS data processed {"connection_id":54931,"processed":1,"errors":0,"total":1} 
[2026-04-26 16:59:32] local.INFO: Acknowledgment sent {"connection_id":54931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:00:05] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98b6100012d198b000720b2e00037004b24..."} 
[2026-04-26 17:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98b6100012d198b000720b2e00037004b24..."} 
[2026-04-26 17:00:05] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98b6100012d198b000720b2e00037004b24..."} 
[2026-04-26 17:00:05] local.INFO: Packet analysis {"connection_id":54931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98b"} 
[2026-04-26 17:00:05] local.INFO: Extracted packet for processing {"connection_id":54931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98b"} 
[2026-04-26 17:00:05] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":36,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 17:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963923712001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 17:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777202848000,"timestamp_ms":1777202848000,"timestamp_seconds":1777202848,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98b6100"} 
[2026-04-26 17:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:00:05] 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-04-26 17:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-26 17:00:05] 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-04-26 17:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:00:05] 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-04-26 17:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963923712001,"66":12428,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963923712001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:00:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:00:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 17:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963923712001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 17:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":54931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:00:05] local.INFO: GPS data processed {"connection_id":54931,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:00:05] local.INFO: Acknowledgment sent {"connection_id":54931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:00:27] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:00:27] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:00:27] local.INFO: IMEI packet received {"connection_id":54680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":54680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:00:32] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:00:32] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:00:32] local.INFO: IMEI packet received {"connection_id":54680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":54680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:00:34] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98bb308012d198b000720b2e00037004b25..."} 
[2026-04-26 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98bb308012d198b000720b2e00037004b25..."} 
[2026-04-26 17:00:34] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98bb308012d198b000720b2e00037004b25..."} 
[2026-04-26 17:00:34] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98b"} 
[2026-04-26 17:00:34] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98b"} 
[2026-04-26 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119583456,"longitude_deg":75.6648704,"latitude_deg":11.9583456,"altitude":55,"angle":75,"satellites":37,"speed":0,"hex_longitude":"2d198b00","hex_latitude":"0720b2e0","is_valid_coordinates":true} 
[2026-04-26 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963929088001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836000882032640,"note":"Value kept but may cause issues"} 
[2026-04-26 17:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840564903324344320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777202869000,"timestamp_ms":1777202869000,"timestamp_seconds":1777202869,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98bb308"} 
[2026-04-26 17:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:00:34] 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-04-26 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-26 17:00:34] 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-04-26 17:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:00:34] 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-04-26 17:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963929088001,"66":12428,"106":206,"83":41984,"24":0,"16":114836000882032640,"45":1840564903324344320},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963929088001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:00:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836000882032640,"km_value":114836000882032.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840564903324344320,"description":"Unknown IO ID 45"} 
[2026-04-26 17:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963929088001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840564903324344320}} 
[2026-04-26 17:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:00:34] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:00:34] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:01:05] local.INFO: TCP Data received {"connection_id":54680,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98dfcf8012d1950000720aad00032011527..."} 
[2026-04-26 17:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98dfcf8012d1950000720aad00032011527..."} 
[2026-04-26 17:01:05] local.INFO: Processing buffer {"connection_id":54680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98dfcf8012d1950000720aad00032011527..."} 
[2026-04-26 17:01:05] local.INFO: Packet analysis {"connection_id":54680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98d"} 
[2026-04-26 17:01:05] local.INFO: Extracted packet for processing {"connection_id":54680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98d"} 
[2026-04-26 17:01:05] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119581392,"longitude_deg":75.66336,"latitude_deg":11.9581392,"altitude":50,"angle":277,"satellites":39,"speed":36,"hex_longitude":"2d195000","hex_latitude":"0720aad0","is_valid_coordinates":true} 
[2026-04-26 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963971584001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836735321440256,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829024429278689280,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777203019000,"timestamp_ms":1777203019000,"timestamp_seconds":1777203019,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98dfcf8"} 
[2026-04-26 17:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:01:05] 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-04-26 17:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-26 17:01:05] 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-04-26 17:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:01:05] 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-04-26 17:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963971584001,"66":14243,"106":206,"83":41984,"24":36,"16":114836735321440256,"45":1829024429278689280},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963971584001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:01:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:01:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836735321440256,"km_value":114836735321440.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829024429278689280,"description":"Unknown IO ID 45"} 
[2026-04-26 17:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963971584001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1829024429278689280}} 
[2026-04-26 17:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":54680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:01:05] local.INFO: GPS data processed {"connection_id":54680,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:01:05] local.INFO: Acknowledgment sent {"connection_id":54680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:01:27] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:27] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:27] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:01:32] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:32] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:32] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:01:32] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:32] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:01:32] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:01:33] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e04c8012d1948c00720ac980031012027..."} 
[2026-04-26 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e04c8012d1948c00720ac980031012027..."} 
[2026-04-26 17:01:33] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e04c8012d1948c00720ac980031012027..."} 
[2026-04-26 17:01:33] local.INFO: Packet analysis {"connection_id":54933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:01:33] local.INFO: Extracted packet for processing {"connection_id":54933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756631744,"raw_latitude":119581848,"longitude_deg":75.6631744,"latitude_deg":11.9581848,"altitude":49,"angle":288,"satellites":39,"speed":36,"hex_longitude":"2d1948c0","hex_latitude":"0720ac98","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963972864001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836825515753472,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879697887232,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203021000,"timestamp_ms":1777203021000,"timestamp_seconds":1777203021,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e04c8"} 
[2026-04-26 17:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-26 17:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963972864001,"66":14243,"106":206,"83":41984,"24":36,"16":114836825515753472,"45":1823957879697887232},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963972864001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:01:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836825515753472,"km_value":114836825515753.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879697887232,"description":"Unknown IO ID 45"} 
[2026-04-26 17:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963972864001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1823957879697887232}} 
[2026-04-26 17:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":54933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:01:33] local.INFO: GPS data processed {"connection_id":54933,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:01:33] local.INFO: Acknowledgment sent {"connection_id":54933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:01:37] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e1080012d193ec00720b1180030012c27..."} 
[2026-04-26 17:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e1080012d193ec00720b1180030012c27..."} 
[2026-04-26 17:01:37] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e1080012d193ec00720b1180030012c27..."} 
[2026-04-26 17:01:37] local.INFO: Packet analysis {"connection_id":54933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:01:37] local.INFO: Extracted packet for processing {"connection_id":54933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756629184,"raw_latitude":119583000,"longitude_deg":75.6629184,"latitude_deg":11.9583,"altitude":48,"angle":300,"satellites":39,"speed":37,"hex_longitude":"2d193ec0","hex_latitude":"0720b118","is_valid_coordinates":true} 
[2026-04-26 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963973376001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114836958659739648,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821917186116851712,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777203024000,"timestamp_ms":1777203024000,"timestamp_seconds":1777203024,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e1080"} 
[2026-04-26 17:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-26 17:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:01:37] 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-04-26 17:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963973376001,"66":14341,"106":206,"83":41984,"24":37,"16":114836958659739648,"45":1821917186116851712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963973376001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:01:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114836958659739648,"km_value":114836958659739.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821917186116851712,"description":"Unknown IO ID 45"} 
[2026-04-26 17:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963973376001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1821917186116851712}} 
[2026-04-26 17:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":54933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:01:37] local.INFO: GPS data processed {"connection_id":54933,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:01:37] local.INFO: Acknowledgment sent {"connection_id":54933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:01:48] local.INFO: TCP Data received {"connection_id":54858,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:01:48] local.INFO: Processing buffer {"connection_id":54858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:01:48] local.INFO: IMEI packet received {"connection_id":54858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":54858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:01:50] local.INFO: TCP Data received {"connection_id":54858,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc989de48012cb299c007822ce0004c00122c..."} 
[2026-04-26 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc989de48012cb299c007822ce0004c00122c..."} 
[2026-04-26 17:01:50] local.INFO: Processing buffer {"connection_id":54858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc989de48012cb299c007822ce0004c00122c..."} 
[2026-04-26 17:01:50] local.INFO: Packet analysis {"connection_id":54858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc989"} 
[2026-04-26 17:01:50] local.INFO: Extracted packet for processing {"connection_id":54858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc989"} 
[2026-04-26 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963826688001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777202749000,"timestamp_ms":1777202749000,"timestamp_seconds":1777202749,"priority":1,"record_length":96,"hex_timestamp":"0000019dc989de48"} 
[2026-04-26 17:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:01:50] 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-04-26 17: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-04-26 17:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:01:50] 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-04-26 17:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963826688001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963826688001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:01:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963826688001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":54858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:01:50] local.INFO: GPS data processed {"connection_id":54858,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:01:50] local.INFO: Acknowledgment sent {"connection_id":54858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:02:08] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e2408012d192dc00720baa8002e012127..."} 
[2026-04-26 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e2408012d192dc00720baa8002e012127..."} 
[2026-04-26 17:02:08] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e2408012d192dc00720baa8002e012127..."} 
[2026-04-26 17:02:08] local.INFO: Packet analysis {"connection_id":54933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:02:08] local.INFO: Extracted packet for processing {"connection_id":54933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756624832,"raw_latitude":119585448,"longitude_deg":75.6624832,"latitude_deg":11.9585448,"altitude":46,"angle":289,"satellites":39,"speed":42,"hex_longitude":"2d192dc0","hex_latitude":"0720baa8","is_valid_coordinates":true} 
[2026-04-26 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963974144001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114837199177908224,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819102436350040064,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777203029000,"timestamp_ms":1777203029000,"timestamp_seconds":1777203029,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e2408"} 
[2026-04-26 17:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6942199199,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3381501752,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505351885881344,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2379094017,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2947022903,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":136,"raw_value":3221692595,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4207149056,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84752050634039475,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.WARNING: Large IO value detected {"io_id":168,"raw_value":16608226837529344,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,251,4,45,192,172,49,39,10,66,252,170,50,233,1,240,174,227,201,32,113,205,26,167,136,160,37,239,55,2,151,7,59,3,206,56,168],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-26 17:02:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459094534815023104,"timestamp_seconds":3459094534815023.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:08] 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-04-26 17:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963974144001,"66":14265,"106":206,"83":41984,"24":42,"16":114837199177908224,"45":1819102436350040064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963974144001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:02:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114837199177908224,"km_value":114837199177908.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819102436350040064,"description":"Unknown IO ID 45"} 
[2026-04-26 17:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963974144001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1819102436350040064}} 
[2026-04-26 17:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":54933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:02:08] local.INFO: GPS data processed {"connection_id":54933,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:02:08] local.INFO: Acknowledgment sent {"connection_id":54933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:02:14] local.INFO: TCP Data received {"connection_id":54859,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:02:14] local.INFO: Processing buffer {"connection_id":54859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:02:14] local.INFO: IMEI packet received {"connection_id":54859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":54859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:02:19] local.INFO: TCP Data received {"connection_id":54859,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:02:19] local.INFO: Processing buffer {"connection_id":54859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:02:19] local.INFO: IMEI packet received {"connection_id":54859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":54859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:02:20] local.INFO: TCP Data received {"connection_id":54859,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:02:20] local.INFO: Processing buffer {"connection_id":54859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:02:20] local.INFO: Packet analysis {"connection_id":54859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:02:20] local.INFO: Extracted packet for processing {"connection_id":54859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:02:20] 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-04-26 17: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-04-26 17:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:02:20] 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-04-26 17:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:02:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:02:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:02:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":54859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:02:20] local.INFO: GPS data processed {"connection_id":54859,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:02:20] local.INFO: Acknowledgment sent {"connection_id":54859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:02:33] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:02:33] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:02:33] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:02:33] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:02:33] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:02:33] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:02:36] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.41","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 17:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 17:02:36] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 17:02:36] local.INFO: IMEI packet received {"connection_id":54683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":54683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:02:37] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98f1250012d18c1c0072153e00042014b28..."} 
[2026-04-26 17:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98f1250012d18c1c0072153e00042014b28..."} 
[2026-04-26 17:02:37] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dc98f0e68012d18c300072151000041015628..."} 
[2026-04-26 17:02:37] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:02:37] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119623936,"longitude_deg":75.6597504,"latitude_deg":11.9623936,"altitude":65,"angle":342,"satellites":40,"speed":31,"hex_longitude":"2d18c300","hex_latitude":"07215100","is_valid_coordinates":true} 
[2026-04-26 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963989760001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114839664489136128,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751712624640,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777203089000,"timestamp_ms":1777203089000,"timestamp_seconds":1777203089,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98f0e68"} 
[2026-04-26 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:02:37] 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-04-26 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137920,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-954755283333677002,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3381564752,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":253,"raw_value":2550136832,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":63489,"corrected_to":0} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505351922974720,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4478548496177168394,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2394710017,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639037091637866,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4323719529365831936,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":164,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4246339584,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84751359144304871,"corrected_to":0} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":232,"raw_value":15482537400869632,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,253,246,45,64,61,40,10,66,227,128,47,63,39,219,1,240,5,201,33,4,113,205,32,164,215,152,38,239,56,2,151,7,58,206,200,232],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":246,"original":63489,"validated":0},{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":84751359144304871,"validated":0}]} 
[2026-04-26 17:02:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4612079815390986240,"timestamp_seconds":4612079815390986.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:37] 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-04-26 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963989760001,"66":14363,"106":206,"83":41984,"24":31,"16":114839664489136128,"45":1784621751712624640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963989760001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114839664489136128,"km_value":114839664489136.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751712624640,"description":"Unknown IO ID 45"} 
[2026-04-26 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963989760001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784621751712624640}} 
[2026-04-26 17:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:02:37] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:02:37] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:02:37] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:02:37] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756597184,"raw_latitude":119624672,"longitude_deg":75.6597184,"latitude_deg":11.9624672,"altitude":66,"angle":331,"satellites":40,"speed":31,"hex_longitude":"2d18c1c0","hex_latitude":"072153e0","is_valid_coordinates":true} 
[2026-04-26 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963990784001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114839703143841792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992576000,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777203090000,"timestamp_ms":1777203090000,"timestamp_seconds":1777203090,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98f1250"} 
[2026-04-26 17:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:02:37] 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-04-26 17:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 17:02:37] 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-04-26 17:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:37] 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-04-26 17:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963990784001,"66":14265,"106":206,"83":41984,"24":31,"16":114839703143841792,"45":1784269907992576000},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963990784001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114839703143841792,"km_value":114839703143841.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992576000,"description":"Unknown IO ID 45"} 
[2026-04-26 17:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963990784001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784269907992576000}} 
[2026-04-26 17:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:02:38] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:02:38] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:02:39] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98f3960012d18af0007216db80046014029..."} 
[2026-04-26 17:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98f3960012d18af0007216db80046014029..."} 
[2026-04-26 17:02:39] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98f3960012d18af0007216db80046014029..."} 
[2026-04-26 17:02:39] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:02:39] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119631288,"longitude_deg":75.6592384,"latitude_deg":11.9631288,"altitude":70,"angle":320,"satellites":41,"speed":32,"hex_longitude":"2d18af00","hex_latitude":"07216db8","is_valid_coordinates":true} 
[2026-04-26 17:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963991040001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114840098280833024,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271876096,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777203100000,"timestamp_ms":1777203100000,"timestamp_seconds":1777203100,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98f3960"} 
[2026-04-26 17:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:02:39] 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-04-26 17:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 17:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:02:39] 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-04-26 17:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963991040001,"66":13993,"106":206,"83":41984,"24":32,"16":114840098280833024,"45":1783918064271876096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963991040001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:02:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114840098280833024,"km_value":114840098280833.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271876096,"description":"Unknown IO ID 45"} 
[2026-04-26 17:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963991040001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1783918064271876096}} 
[2026-04-26 17:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:02:40] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:02:40] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:02:51] local.INFO: TCP Data received {"connection_id":54859,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:02:51] local.INFO: Processing buffer {"connection_id":54859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:02:51] local.INFO: Packet analysis {"connection_id":54859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:02:51] local.INFO: Extracted packet for processing {"connection_id":54859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:02:51] 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-04-26 17: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-04-26 17:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:02:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":54859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:02:51] local.INFO: GPS data processed {"connection_id":54859,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:02:51] local.INFO: Acknowledgment sent {"connection_id":54859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:03:10] local.INFO: TCP Data received {"connection_id":54683,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98f4130012d18aa80072171e00047013128..."} 
[2026-04-26 17:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98f4130012d18aa80072171e00047013128..."} 
[2026-04-26 17:03:10] local.INFO: Processing buffer {"connection_id":54683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98f4130012d18aa80072171e00047013128..."} 
[2026-04-26 17:03:10] local.INFO: Packet analysis {"connection_id":54683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:03:10] local.INFO: Extracted packet for processing {"connection_id":54683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98f"} 
[2026-04-26 17:03:10] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632352,"longitude_deg":75.6591232,"latitude_deg":11.9632352,"altitude":71,"angle":305,"satellites":40,"speed":31,"hex_longitude":"2d18aa80","hex_latitude":"072171e0","is_valid_coordinates":true} 
[2026-04-26 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963993600001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114840171295277056,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460244992,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03: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-04-26 17:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777203102000,"timestamp_ms":1777203102000,"timestamp_seconds":1777203102,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98f4130"} 
[2026-04-26 17:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:03:10] 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-04-26 17:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 17:03:10] 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-04-26 17:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:03:10] 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-04-26 17:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963993600001,"66":13972,"106":206,"83":41984,"24":31,"16":114840171295277056,"45":1778640408460244992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963993600001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:03:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114840171295277056,"km_value":114840171295277.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460244992,"description":"Unknown IO ID 45"} 
[2026-04-26 17:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963993600001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1778640408460244992}} 
[2026-04-26 17:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":54683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:03:10] local.INFO: GPS data processed {"connection_id":54683,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:03:10] local.INFO: Acknowledgment sent {"connection_id":54683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:03:14] local.INFO: TCP Data received {"connection_id":54684,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:03:14] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:03:14] local.INFO: IMEI packet received {"connection_id":54684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":54684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:03:17] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:17] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:17] local.INFO: IMEI packet received {"connection_id":55599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 17:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":55599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:03:18] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:18] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:18] local.INFO: IMEI packet received {"connection_id":55599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 17:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":55599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:03:19] local.INFO: TCP Data received {"connection_id":54684,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:03:19] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:03:19] local.INFO: IMEI packet received {"connection_id":54684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:03:19] local.INFO: IMEI acknowledgment sent {"connection_id":54684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:03:20] local.INFO: TCP Data received {"connection_id":54684,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:03:20] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:03:20] local.INFO: Packet analysis {"connection_id":54684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:03:20] local.INFO: Extracted packet for processing {"connection_id":54684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:03:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:03:20] 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-04-26 17: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-04-26 17:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:03:20] 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-04-26 17:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:03:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:03:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:03:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":54684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:03:20] local.INFO: GPS data processed {"connection_id":54684,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:03:20] local.INFO: Acknowledgment sent {"connection_id":54684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:03:22] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:22] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:03:22] local.INFO: IMEI packet received {"connection_id":55599,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 17:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":55599,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:03:22] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 17:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 17:03:22] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 17:03:22] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 17:03:22] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 17:03:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:03:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:03:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 17:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 17:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 17:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 17:03:22] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 17:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 17:03:22] local.ERROR: GPS data processing failed {"connection_id":55599,"error":"No valid data to process"} 
[2026-04-26 17:03:22] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 17:03:27] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:27] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:27] local.INFO: IMEI packet received {"connection_id":54860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":54860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:03:28] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:28] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:28] local.INFO: IMEI packet received {"connection_id":54860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":54860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:03:28] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:28] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:03:28] local.INFO: IMEI packet received {"connection_id":54860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":54860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:03:29] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9902f78012d181f800721aaf00047002129..."} 
[2026-04-26 17:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9902f78012d181f800721aaf00047002129..."} 
[2026-04-26 17:03:29] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9902f78012d181f800721aaf00047002129..."} 
[2026-04-26 17:03:29] local.INFO: Packet analysis {"connection_id":54860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:03:29] local.INFO: Extracted packet for processing {"connection_id":54860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:03:29] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646960,"longitude_deg":75.6555648,"latitude_deg":11.964696,"altitude":71,"angle":33,"satellites":41,"speed":9,"hex_longitude":"2d181f80","hex_latitude":"0721aaf0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964009216001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842104030560256,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329464832,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777203163000,"timestamp_ms":1777203163000,"timestamp_seconds":1777203163,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9902f78"} 
[2026-04-26 17:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 17:03:29] 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-04-26 17: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-04-26 17:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:03:29] 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-04-26 17:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964009216001,"66":13928,"105":206,"83":41984,"24":9,"16":114842104030560256,"45":1737967274329464832},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964009216001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:03:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:03:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842104030560256,"km_value":114842104030560.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329464832,"description":"Unknown IO ID 45"} 
[2026-04-26 17:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964009216001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329464832}} 
[2026-04-26 17:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":54860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:03:29] local.INFO: GPS data processed {"connection_id":54860,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:03:29] local.INFO: Acknowledgment sent {"connection_id":54860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:03:30] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99046e8012d1823000721afb80047003129..."} 
[2026-04-26 17:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99046e8012d1823000721afb80047003129..."} 
[2026-04-26 17:03:30] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99046e8012d1823000721afb80047003129..."} 
[2026-04-26 17:03:30] local.INFO: Packet analysis {"connection_id":54860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:03:30] local.INFO: Extracted packet for processing {"connection_id":54860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:03:30] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119648184,"longitude_deg":75.6556544,"latitude_deg":11.9648184,"altitude":71,"angle":49,"satellites":41,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721afb8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964009728001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842177045004288,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306277888,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777203169000,"timestamp_ms":1777203169000,"timestamp_seconds":1777203169,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99046e8"} 
[2026-04-26 17:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:03:30] 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-04-26 17: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 17:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:03:30] 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-04-26 17:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964009728001,"66":13928,"105":206,"83":41984,"24":7,"16":114842177045004288,"45":1738248749306277888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964009728001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:03:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:03:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842177045004288,"km_value":114842177045004.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306277888,"description":"Unknown IO ID 45"} 
[2026-04-26 17:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964009728001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738248749306277888}} 
[2026-04-26 17:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":54860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:03:30] local.INFO: GPS data processed {"connection_id":54860,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:03:30] local.INFO: Acknowledgment sent {"connection_id":54860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:03:51] local.INFO: TCP Data received {"connection_id":54684,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:03:51] local.INFO: Processing buffer {"connection_id":54684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:03:51] local.INFO: Packet analysis {"connection_id":54684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:03:51] local.INFO: Extracted packet for processing {"connection_id":54684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:03:51] 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-04-26 17: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-04-26 17:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:03:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:03:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:03:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":54684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:03:51] local.INFO: GPS data processed {"connection_id":54684,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:03:51] local.INFO: Acknowledgment sent {"connection_id":54684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:03:53] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 17:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 17:03:53] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 17:03:53] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 17:03:53] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 17:03:53] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:03:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:03:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:03:53] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 17:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 17:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 17:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 17:03:53] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 17:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 17:03:53] local.ERROR: GPS data processing failed {"connection_id":55599,"error":"No valid data to process"} 
[2026-04-26 17:03:53] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 17:03:55] local.INFO: TCP Data received {"connection_id":55600,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:03:55] local.INFO: Processing buffer {"connection_id":55600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:03:55] local.INFO: IMEI packet received {"connection_id":55600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":55600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:04:01] local.INFO: TCP Data received {"connection_id":54860,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9904ad0012d1823800721b0280047003f2a..."} 
[2026-04-26 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9904ad0012d1823800721b0280047003f2a..."} 
[2026-04-26 17:04:01] local.INFO: Processing buffer {"connection_id":54860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9904ad0012d1823800721b0280047003f2a..."} 
[2026-04-26 17:04:01] local.INFO: Packet analysis {"connection_id":54860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:01] local.INFO: Extracted packet for processing {"connection_id":54860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119648296,"longitude_deg":75.6556672,"latitude_deg":11.9648296,"altitude":71,"angle":63,"satellites":42,"speed":7,"hex_longitude":"2d182380","hex_latitude":"0721b028","is_valid_coordinates":true} 
[2026-04-26 17:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964011264001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842185634938880,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725078528,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777203170000,"timestamp_ms":1777203170000,"timestamp_seconds":1777203170,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9904ad0"} 
[2026-04-26 17:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:01] 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-04-26 17:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":54860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":54860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":54860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:01] 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-04-26 17:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964011264001,"66":14363,"105":206,"83":41984,"24":7,"16":114842185634938880,"45":1739233911725078528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964011264001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:04:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:04:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842185634938880,"km_value":114842185634938.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725078528,"description":"Unknown IO ID 45"} 
[2026-04-26 17:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964011264001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739233911725078528}} 
[2026-04-26 17:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":54860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:04:01] local.INFO: GPS data processed {"connection_id":54860,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:04:01] local.INFO: Acknowledgment sent {"connection_id":54860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:13] local.INFO: TCP Data received {"connection_id":55601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:04:13] local.INFO: Processing buffer {"connection_id":55601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:04:13] local.INFO: IMEI packet received {"connection_id":55601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":55601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:04:19] local.INFO: TCP Data received {"connection_id":55601,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:04:19] local.INFO: Processing buffer {"connection_id":55601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:04:19] local.INFO: IMEI packet received {"connection_id":55601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":55601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:04:19] local.INFO: TCP Data received {"connection_id":55601,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:04:19] local.INFO: Processing buffer {"connection_id":55601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:04:19] local.INFO: Packet analysis {"connection_id":55601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:04:19] local.INFO: Extracted packet for processing {"connection_id":55601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:19] 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-04-26 17:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:04:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:04:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":55601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:04:19] local.INFO: GPS data processed {"connection_id":55601,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:04:19] local.INFO: Acknowledgment sent {"connection_id":55601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:24] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99154700100000000000000000000000000..."} 
[2026-04-26 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99154700100000000000000000000000000..."} 
[2026-04-26 17:04:24] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99154700100000000000000000000000000..."} 
[2026-04-26 17:04:24] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:04:24] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777203238000,"timestamp_ms":1777203238000,"timestamp_seconds":1777203238,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9915470"} 
[2026-04-26 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-04-26 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:24] 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-04-26 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-04-26 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-04-26 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:04:24] 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-04-26 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 17:04:24] local.INFO: GPS data processed {"connection_id":55599,"processed":0,"errors":0,"total":1} 
[2026-04-26 17:04:24] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:28] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:04:28] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:04:28] local.INFO: IMEI packet received {"connection_id":54861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":54861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:04:28] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:04:28] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:04:28] local.INFO: IMEI packet received {"connection_id":54861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":54861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:04:35] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:04:35] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:04:35] local.INFO: IMEI packet received {"connection_id":54861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":54861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:04:37] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9904eb8012d1824800721b0600047004f2a..."} 
[2026-04-26 17:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9904eb8012d1824800721b0600047004f2a..."} 
[2026-04-26 17:04:37] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019dc9..."} 
[2026-04-26 17:04:37] local.INFO: IMEI packet received {"connection_id":54861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":54861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:04:38] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc990a0c0012d1827c00721b0c00048004f23..."} 
[2026-04-26 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc990a0c0012d1827c00721b0c00048004f23..."} 
[2026-04-26 17:04:38] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dc9904eb8012d1824800721b0600047004f2a..."} 
[2026-04-26 17:04:38] local.INFO: Packet analysis {"connection_id":54861,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:38] local.INFO: Extracted packet for processing {"connection_id":54861,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119648352,"longitude_deg":75.6556928,"latitude_deg":11.9648352,"altitude":71,"angle":79,"satellites":42,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-04-26 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964011520001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842198519840768,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213462528,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777203171000,"timestamp_ms":1777203171000,"timestamp_seconds":1777203171,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9904eb8"} 
[2026-04-26 17:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:38] 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-04-26 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964011520001,"66":14363,"105":206,"83":41984,"24":6,"16":114842198519840768,"45":1739374649213462528},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964011520001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842198519840768,"km_value":114842198519840.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213462528,"description":"Unknown IO ID 45"} 
[2026-04-26 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964011520001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739374649213462528}} 
[2026-04-26 17:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":54861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:04:38] local.INFO: GPS data processed {"connection_id":54861,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:04:38] local.INFO: Acknowledgment sent {"connection_id":54861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:38] local.INFO: Packet analysis {"connection_id":54861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:38] local.INFO: Extracted packet for processing {"connection_id":54861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756557760,"raw_latitude":119648448,"longitude_deg":75.655776,"latitude_deg":11.9648448,"altitude":72,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d1827c0","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-04-26 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964011776001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842237174546432,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190187520,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777203192000,"timestamp_ms":1777203192000,"timestamp_seconds":1777203192,"priority":1,"record_length":96,"hex_timestamp":"0000019dc990a0c0"} 
[2026-04-26 17:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:38] 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-04-26 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964011776001,"66":14396,"105":206,"83":41984,"24":0,"16":114842237174546432,"45":1739656124190187520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964011776001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842237174546432,"km_value":114842237174546.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190187520,"description":"Unknown IO ID 45"} 
[2026-04-26 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964011776001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739656124190187520}} 
[2026-04-26 17:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":54861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:04:38] local.INFO: GPS data processed {"connection_id":54861,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:04:38] local.INFO: Acknowledgment sent {"connection_id":54861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:38] local.INFO: TCP Data received {"connection_id":54861,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc990f2c8012d1825c00721b158004a004f25..."} 
[2026-04-26 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc990f2c8012d1825c00721b158004a004f25..."} 
[2026-04-26 17:04:38] local.INFO: Processing buffer {"connection_id":54861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc990f2c8012d1825c00721b158004a004f25..."} 
[2026-04-26 17:04:38] local.INFO: Packet analysis {"connection_id":54861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:38] local.INFO: Extracted packet for processing {"connection_id":54861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc990"} 
[2026-04-26 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119648600,"longitude_deg":75.6557248,"latitude_deg":11.96486,"altitude":74,"angle":79,"satellites":37,"speed":4,"hex_longitude":"2d1825c0","hex_latitude":"0721b158","is_valid_coordinates":true} 
[2026-04-26 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964017152001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842267239317504,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740570917864521728,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777203213000,"timestamp_ms":1777203213000,"timestamp_seconds":1777203213,"priority":1,"record_length":96,"hex_timestamp":"0000019dc990f2c8"} 
[2026-04-26 17:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:04:38] 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-04-26 17:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964017152001,"66":13048,"105":206,"83":41984,"24":4,"16":114842267239317504,"45":1740570917864521728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964017152001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842267239317504,"km_value":114842267239317.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740570917864521728,"description":"Unknown IO ID 45"} 
[2026-04-26 17:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964017152001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1740570917864521728}} 
[2026-04-26 17:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":54861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:04:39] local.INFO: GPS data processed {"connection_id":54861,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:04:39] local.INFO: Acknowledgment sent {"connection_id":54861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:45] local.INFO: TCP Data received {"connection_id":54862,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:04:45] local.INFO: Processing buffer {"connection_id":54862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:04:45] local.INFO: IMEI packet received {"connection_id":54862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":54862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:04:51] local.INFO: TCP Data received {"connection_id":55601,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:04:51] local.INFO: Processing buffer {"connection_id":55601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:04:51] local.INFO: Packet analysis {"connection_id":55601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:04:51] local.INFO: Extracted packet for processing {"connection_id":55601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:04:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:51] 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-04-26 17: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-04-26 17:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:04:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:04:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:04:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":55601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:04:51] local.INFO: GPS data processed {"connection_id":55601,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:04:51] local.INFO: Acknowledgment sent {"connection_id":55601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:04:57] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc991a6780100000000000000000000000000..."} 
[2026-04-26 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc991a6780100000000000000000000000000..."} 
[2026-04-26 17:04:57] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc991a6780100000000000000000000000000..."} 
[2026-04-26 17:04:57] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:04:57] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:04:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 17:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777203259000,"timestamp_ms":1777203259000,"timestamp_seconds":1777203259,"priority":1,"record_length":96,"hex_timestamp":"0000019dc991a678"} 
[2026-04-26 17:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416624,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":184,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060224,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3545628672,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":118,"raw_value":-1814949355001069563,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-6314046608839989504,"note":"Value kept but may cause issues"} 
[2026-04-26 17:04:57] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,173,85,24,241,157,16,211,9,10,66,183,27,1,240,184,4,113,205,239,2,48,15,118,220],"length":527,"final_offset":657,"validated_count":25,"validation_warnings":[]} 
[2026-04-26 17:04:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:04:57] 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-04-26 17:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 17:04:57] local.INFO: GPS data processed {"connection_id":55599,"processed":0,"errors":0,"total":1} 
[2026-04-26 17:04:57] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:05:19] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:05:19] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:05:19] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:05:24] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:05:24] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:05:24] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:05:24] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:05:24] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:05:24] local.INFO: Packet analysis {"connection_id":54935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:05:24] local.INFO: Extracted packet for processing {"connection_id":54935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:05:24] 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-04-26 17: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-04-26 17:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:05: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-04-26 17:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:05:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:05:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:05:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":54935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:05:24] local.INFO: GPS data processed {"connection_id":54935,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:05:24] local.INFO: Acknowledgment sent {"connection_id":54935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:05:28] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:05:28] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:05:28] local.INFO: IMEI packet received {"connection_id":54685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":54685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:05:28] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc991f8800100000000000000000000000000..."} 
[2026-04-26 17:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc991f8800100000000000000000000000000..."} 
[2026-04-26 17:05:28] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc991f8800100000000000000000000000000..."} 
[2026-04-26 17:05:28] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:05:28] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:05:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 17:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777203280000,"timestamp_ms":1777203280000,"timestamp_seconds":1777203280,"priority":1,"record_length":96,"hex_timestamp":"0000019dc991f880"} 
[2026-04-26 17:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1140349688654856192,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630915308453888,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-5187921370847064576,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3545628672,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:28] local.INFO: IO Element Parsed {"io_data_count":24,"io_data_keys":[0,173,85,24,241,157,16,211,84,10,66,9,183,1,240,227,4,113,205,27,239,2,48,15],"length":577,"final_offset":707,"validated_count":24,"validation_warnings":[]} 
[2026-04-26 17:05:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:05:28] 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-04-26 17:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 17:05:28] local.INFO: GPS data processed {"connection_id":55599,"processed":0,"errors":0,"total":1} 
[2026-04-26 17:05:28] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:05:32] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:05:32] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:05:32] local.INFO: IMEI packet received {"connection_id":54685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":54685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:05:33] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9911dc0012d1824c00721b2e00049001d29..."} 
[2026-04-26 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9911dc0012d1824c00721b2e00049001d29..."} 
[2026-04-26 17:05:33] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9911dc0012d1824c00721b2e00049001d29..."} 
[2026-04-26 17:05:33] local.INFO: Packet analysis {"connection_id":54685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:05:33] local.INFO: Extracted packet for processing {"connection_id":54685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119648992,"longitude_deg":75.6556992,"latitude_deg":11.9648992,"altitude":73,"angle":29,"satellites":41,"speed":7,"hex_longitude":"2d1824c0","hex_latitude":"0721b2e0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964022528001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842323073892352,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967911139328,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203224000,"timestamp_ms":1777203224000,"timestamp_seconds":1777203224,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9911dc0"} 
[2026-04-26 17:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 17:05:33] 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-04-26 17: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-04-26 17:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964022528001,"66":13091,"105":206,"83":41984,"24":7,"16":114842323073892352,"45":1740007967911139328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964022528001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:05:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842323073892352,"km_value":114842323073892.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967911139328,"description":"Unknown IO ID 45"} 
[2026-04-26 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964022528001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740007967911139328}} 
[2026-04-26 17:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":54685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:05:33] local.INFO: GPS data processed {"connection_id":54685,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:05:33] local.INFO: Acknowledgment sent {"connection_id":54685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:05:59] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9924a880100000000000000000000000000..."} 
[2026-04-26 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9924a880100000000000000000000000000..."} 
[2026-04-26 17:05:59] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9924a880100000000000000000000000000..."} 
[2026-04-26 17:05:59] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:05:59] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:05:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 17:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:05:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777203301000,"timestamp_ms":1777203301000,"timestamp_seconds":1777203301,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9924a88"} 
[2026-04-26 17:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-04-26 17:05:59] 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-04-26 17:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:05:59] 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-04-26 17:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 17:05:59] local.INFO: GPS data processed {"connection_id":55599,"processed":0,"errors":0,"total":1} 
[2026-04-26 17:05:59] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:06:05] local.INFO: TCP Data received {"connection_id":54685,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc991f498012d1823000721b5c0004900ca26..."} 
[2026-04-26 17:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc991f498012d1823000721b5c0004900ca26..."} 
[2026-04-26 17:06:05] local.INFO: Processing buffer {"connection_id":54685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc991f498012d1823000721b5c0004900ca26..."} 
[2026-04-26 17:06:05] local.INFO: Packet analysis {"connection_id":54685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:06:05] local.INFO: Extracted packet for processing {"connection_id":54685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc991"} 
[2026-04-26 17:06:05] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964034048001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777203279000,"timestamp_ms":1777203279000,"timestamp_seconds":1777203279,"priority":1,"record_length":96,"hex_timestamp":"0000019dc991f498"} 
[2026-04-26 17:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:06:05] 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-04-26 17:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-26 17:06:05] 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-04-26 17:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:06:05] 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-04-26 17:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964034048001,"66":13015,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964034048001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:06:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:06:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964034048001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":54685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:06:05] local.INFO: GPS data processed {"connection_id":54685,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:06:05] local.INFO: Acknowledgment sent {"connection_id":54685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:06:14] local.INFO: TCP Data received {"connection_id":55602,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:06:14] local.INFO: Processing buffer {"connection_id":55602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:06:14] local.INFO: IMEI packet received {"connection_id":55602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":55602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:06:19] local.INFO: TCP Data received {"connection_id":55602,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:06:19] local.INFO: Processing buffer {"connection_id":55602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:06:19] local.INFO: IMEI packet received {"connection_id":55602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":55602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:06:20] local.INFO: TCP Data received {"connection_id":55602,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:06:20] local.INFO: Processing buffer {"connection_id":55602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc98e7610012cb299c007822ce0004a00122c..."} 
[2026-04-26 17:06:20] local.INFO: Packet analysis {"connection_id":55602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:06:20] local.INFO: Extracted packet for processing {"connection_id":55602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc98e"} 
[2026-04-26 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963903744001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777203050000,"timestamp_ms":1777203050000,"timestamp_seconds":1777203050,"priority":1,"record_length":96,"hex_timestamp":"0000019dc98e7610"} 
[2026-04-26 17:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:06:20] 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-04-26 17: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-04-26 17:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:06:20] 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-04-26 17:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963903744001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963903744001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:06:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:06:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963903744001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":55602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:06:20] local.INFO: GPS data processed {"connection_id":55602,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:06:20] local.INFO: Acknowledgment sent {"connection_id":55602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:06:27] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:06:27] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:06:27] local.INFO: IMEI packet received {"connection_id":54863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":54863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:06:30] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9927580012d7a1f0005dc3d580001000009..."} 
[2026-04-26 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9927580012d7a1f0005dc3d580001000009..."} 
[2026-04-26 17:06:30] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9927580012d7a1f0005dc3d580001000009..."} 
[2026-04-26 17:06:30] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:06:30] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98319704,"longitude_deg":76.2978048,"latitude_deg":9.8319704,"altitude":1,"angle":0,"satellites":9,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05dc3d58","is_valid_coordinates":true} 
[2026-04-26 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512085009235968,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,173,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777203312000,"timestamp_ms":1777203312000,"timestamp_seconds":1777203312,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9927580"} 
[2026-04-26 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-26 17:06:30] 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-04-26 17: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-04-26 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:06:30] 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-04-26 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13537,"173":206,"85":15104,"24":0,"16":76512085009235968},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16]} 
[2026-04-26 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-26 17:06:30] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-26 17:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76512085009235968,"km_value":76512085009235.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13537,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-04-26 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":65999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:06:30] local.INFO: GPS data processed {"connection_id":55599,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:06:30] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:06:32] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:06:32] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:06:32] local.INFO: IMEI packet received {"connection_id":54863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":54863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:06:33] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99246a0012d1823000721b5c0004900ca25..."} 
[2026-04-26 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99246a0012d1823000721b5c0004900ca25..."} 
[2026-04-26 17:06:33] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99246a0012d1823000721b5c0004900ca25..."} 
[2026-04-26 17:06:33] local.INFO: Packet analysis {"connection_id":54863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:06:33] local.INFO: Extracted packet for processing {"connection_id":54863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":37,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964039424001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203300000,"timestamp_ms":1777203300000,"timestamp_seconds":1777203300,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99246a0"} 
[2026-04-26 17:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 17:06:33] 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-04-26 17:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964039424001,"66":12972,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964039424001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:06:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964039424001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":54863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:06:33] local.INFO: GPS data processed {"connection_id":54863,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:06:33] local.INFO: Acknowledgment sent {"connection_id":54863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:06:52] local.INFO: TCP Data received {"connection_id":55602,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:06:52] local.INFO: Processing buffer {"connection_id":55602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:06:52] local.INFO: Packet analysis {"connection_id":55602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:06:52] local.INFO: Extracted packet for processing {"connection_id":55602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:06:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 17:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:06:52] 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-04-26 17: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-04-26 17:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:06: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-04-26 17:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:06:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:06:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:06:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":55602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:06:52] local.INFO: GPS data processed {"connection_id":55602,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:06:52] local.INFO: Acknowledgment sent {"connection_id":55602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:01] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99298a8012d7a204005dc3f80001f00000c..."} 
[2026-04-26 17:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99298a8012d7a204005dc3f80001f00000c..."} 
[2026-04-26 17:07:01] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99298a8012d7a204005dc3f80001f00000c..."} 
[2026-04-26 17:07:01] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:01] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":762978368,"raw_latitude":98320256,"longitude_deg":76.2978368,"latitude_deg":9.8320256,"altitude":31,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7a2040","hex_latitude":"05dc3f80","is_valid_coordinates":true} 
[2026-04-26 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964047872001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512119368974336,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222075082752,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:01] 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-04-26 17:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777203321000,"timestamp_ms":1777203321000,"timestamp_seconds":1777203321,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99298a8"} 
[2026-04-26 17:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-26 17:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:07:01] 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-04-26 17:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964047872001,"66":13559,"173":206,"85":15104,"24":0,"16":76512119368974336,"45":8799752222075082752},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-04-26 17:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 17:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 17:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964047872001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:07:01] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-26 17:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 17:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76512119368974336,"km_value":76512119368974.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222075082752,"description":"Unknown IO ID 45"} 
[2026-04-26 17:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964047872001,"power":13559,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222075082752}} 
[2026-04-26 17:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:07:01] local.INFO: GPS data processed {"connection_id":55599,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:07:01] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:04] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99298a8012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99298a8012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:07:04] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99298a8012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:07:04] local.INFO: Packet analysis {"connection_id":54863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:04] local.INFO: Extracted packet for processing {"connection_id":54863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964044800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777203321000,"timestamp_ms":1777203321000,"timestamp_seconds":1777203321,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99298a8"} 
[2026-04-26 17:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 17:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:07:04] 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-04-26 17:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964044800001,"66":12917,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964044800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:07:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:07:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964044800001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":54863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:07:04] local.INFO: GPS data processed {"connection_id":54863,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:07:04] local.INFO: Acknowledgment sent {"connection_id":54863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:13] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:13] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:13] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:07:20] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:20] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:20] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:07:20] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:07:24] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:24] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:07:24] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:07:24] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:07:24] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:07:24] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:07:24] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:07:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 17:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:07:24] 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-04-26 17: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-04-26 17:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:07:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:07:24] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:07:24] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:27] local.INFO: TCP Data received {"connection_id":55603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:07:27] local.INFO: Processing buffer {"connection_id":55603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:07:27] local.INFO: IMEI packet received {"connection_id":55603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":55603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:07:32] local.INFO: TCP Data received {"connection_id":55603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:07:32] local.INFO: Processing buffer {"connection_id":55603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:07:32] local.INFO: IMEI packet received {"connection_id":55603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":55603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:07:33] local.INFO: TCP Data received {"connection_id":55599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc992eab0012d7a210005dc3f88002600000d..."} 
[2026-04-26 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc992eab0012d7a210005dc3f88002600000d..."} 
[2026-04-26 17:07:33] local.INFO: Processing buffer {"connection_id":55599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc992eab0012d7a210005dc3f88002600000d..."} 
[2026-04-26 17:07:33] local.INFO: Packet analysis {"connection_id":55599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:33] local.INFO: Extracted packet for processing {"connection_id":55599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":762978560,"raw_latitude":98320264,"longitude_deg":76.297856,"latitude_deg":9.8320264,"altitude":38,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d7a2100","hex_latitude":"05dc3f88","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964050176001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512149433745408,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800104065796112384,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203342000,"timestamp_ms":1777203342000,"timestamp_seconds":1777203342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc992eab0"} 
[2026-04-26 17:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 17:07:33] 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-04-26 17: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-04-26 17:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55599,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:07:33] 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-04-26 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964050176001,"66":13646,"173":206,"85":15104,"24":0,"16":76512149433745408,"45":8800104065796112384},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964050176001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76512149433745408,"km_value":76512149433745.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800104065796112384,"description":"Unknown IO ID 45"} 
[2026-04-26 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964050176001,"power":13646,"unknown_173":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8800104065796112384}} 
[2026-04-26 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":55599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:07:33] local.INFO: GPS data processed {"connection_id":55599,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:07:33] local.INFO: Acknowledgment sent {"connection_id":55599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:33] local.INFO: TCP Data received {"connection_id":55603,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc992eab0012d1823000721b5c0004900ca29..."} 
[2026-04-26 17:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc992eab0012d1823000721b5c0004900ca29..."} 
[2026-04-26 17:07:33] local.INFO: Processing buffer {"connection_id":55603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc992eab0012d1823000721b5c0004900ca29..."} 
[2026-04-26 17:07:33] local.INFO: Packet analysis {"connection_id":55603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:33] local.INFO: Extracted packet for processing {"connection_id":55603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc992"} 
[2026-04-26 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":41,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964050176001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203342000,"timestamp_ms":1777203342000,"timestamp_seconds":1777203342,"priority":1,"record_length":96,"hex_timestamp":"0000019dc992eab0"} 
[2026-04-26 17:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-26 17:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964050176001,"66":12939,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964050176001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964050176001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":55603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:07:33] local.INFO: GPS data processed {"connection_id":55603,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:07:33] local.INFO: Acknowledgment sent {"connection_id":55603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:56] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:07:56] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:07:56] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:07:56] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 17:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:07:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:07:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:07:56] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:07:56] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:07:57] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:07:57] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:07:57] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:08:03] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:03] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:03] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 17:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:08:03] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:03] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:03] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 17:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:08:07] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:07] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 17:08:07] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 17:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:08:07] local.INFO: TCP Data received {"connection_id":55603,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9933cb8012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9933cb8012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:08:07] local.INFO: Processing buffer {"connection_id":55603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9933cb8012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:08:07] local.INFO: Packet analysis {"connection_id":55603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:08:07] local.INFO: Extracted packet for processing {"connection_id":55603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964055552001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777203363000,"timestamp_ms":1777203363000,"timestamp_seconds":1777203363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9933cb8"} 
[2026-04-26 17:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 17:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:08:07] 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-04-26 17:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964055552001,"66":12917,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964055552001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964055552001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":55603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:08:07] local.INFO: GPS data processed {"connection_id":55603,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:08:07] local.INFO: Acknowledgment sent {"connection_id":55603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:08:09] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9933cb8012d7a20c005dc3ef8001d00b30e..."} 
[2026-04-26 17:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9933cb8012d7a20c005dc3ef8001d00b30e..."} 
[2026-04-26 17:08:09] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9933cb8012d7a20c005dc3ef8001d00b30e..."} 
[2026-04-26 17:08:09] local.INFO: Packet analysis {"connection_id":54865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:08:09] local.INFO: Extracted packet for processing {"connection_id":54865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":762978496,"raw_latitude":98320120,"longitude_deg":76.2978496,"latitude_deg":9.832012,"altitude":29,"angle":179,"satellites":14,"speed":1,"hex_longitude":"2d7a20c0","hex_latitude":"05dc3ef8","is_valid_coordinates":true} 
[2026-04-26 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964055552001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76512166613614592,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800315172028647424,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:09] 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-04-26 17:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777203363000,"timestamp_ms":1777203363000,"timestamp_seconds":1777203363,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9933cb8"} 
[2026-04-26 17:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 17:08:09] 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-04-26 17:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:08: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-04-26 17:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964055552001,"66":13624,"173":206,"85":15104,"24":1,"16":76512166613614592,"45":8800315172028647424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-04-26 17:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 17:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 17:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964055552001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:08:09] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-26 17:08:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 17:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76512166613614592,"km_value":76512166613614.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800315172028647424,"description":"Unknown IO ID 45"} 
[2026-04-26 17:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964055552001,"power":13624,"unknown_173":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8800315172028647424}} 
[2026-04-26 17:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":54865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:08:09] local.INFO: GPS data processed {"connection_id":54865,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:08:09] local.INFO: Acknowledgment sent {"connection_id":54865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:08:24] local.INFO: TCP Data received {"connection_id":54686,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:08:24] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:08:24] local.INFO: IMEI packet received {"connection_id":54686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":54686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:08:27] local.INFO: TCP Data received {"connection_id":54940,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:27] local.INFO: Processing buffer {"connection_id":54940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:27] local.INFO: IMEI packet received {"connection_id":54940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":54940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:08:30] local.INFO: TCP Data received {"connection_id":54940,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:30] local.INFO: Processing buffer {"connection_id":54940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:30] local.INFO: IMEI packet received {"connection_id":54940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":54940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:08:32] local.INFO: TCP Data received {"connection_id":54940,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:32] local.INFO: Processing buffer {"connection_id":54940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:08:32] local.INFO: IMEI packet received {"connection_id":54940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":54940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:08:33] local.INFO: TCP Data received {"connection_id":54940,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9938ec0012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9938ec0012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:08:33] local.INFO: Processing buffer {"connection_id":54940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9938ec0012d1823000721b5c0004900ca27..."} 
[2026-04-26 17:08:33] local.INFO: Packet analysis {"connection_id":54940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:08:33] local.INFO: Extracted packet for processing {"connection_id":54940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":39,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964060928001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203384000,"timestamp_ms":1777203384000,"timestamp_seconds":1777203384,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9938ec0"} 
[2026-04-26 17:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-26 17:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964060928001,"66":12885,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964060928001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:08:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964060928001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":54940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:08:33] local.INFO: GPS data processed {"connection_id":54940,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:08:33] local.INFO: Acknowledgment sent {"connection_id":54940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:08:47] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99509a8012d7a2a4005db15b0000000aa0e..."} 
[2026-04-26 17:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99509a8012d7a2a4005db15b0000000aa0e..."} 
[2026-04-26 17:08:47] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99509a8012d7a2a4005db15b0000000aa0e..."} 
[2026-04-26 17:08:47] local.INFO: Packet analysis {"connection_id":54865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:08:47] local.INFO: Extracted packet for processing {"connection_id":54865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:08:47] local.INFO: GPS Element Parsed {"raw_longitude":762980928,"raw_latitude":98244016,"longitude_deg":76.2980928,"latitude_deg":9.8244016,"altitude":0,"angle":170,"satellites":14,"speed":5,"hex_longitude":"2d7a2a40","hex_latitude":"05db15b0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964087040001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76515929004965888,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804044715452028928,"note":"Value kept but may cause issues"} 
[2026-04-26 17:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777203481000,"timestamp_ms":1777203481000,"timestamp_seconds":1777203481,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99509a8"} 
[2026-04-26 17:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 17:08:47] 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-04-26 17: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-04-26 17:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:08:47] 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-04-26 17:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964087040001,"66":13406,"175":206,"85":15104,"24":5,"16":76515929004965888,"45":8804044715452028928},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 17:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 17:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 17:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964087040001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:08:47] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 17:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 17:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76515929004965888,"km_value":76515929004965.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804044715452028928,"description":"Unknown IO ID 45"} 
[2026-04-26 17:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964087040001,"power":13406,"unknown_175":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8804044715452028928}} 
[2026-04-26 17:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":54865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:08:47] local.INFO: GPS data processed {"connection_id":54865,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:08:47] local.INFO: Acknowledgment sent {"connection_id":54865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:08:54] local.INFO: TCP Data received {"connection_id":54686,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:08:54] local.INFO: Processing buffer {"connection_id":54686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:08:54] local.INFO: IMEI packet received {"connection_id":54686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":54686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:09:13] local.INFO: TCP Data received {"connection_id":54866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:09:13] local.INFO: Processing buffer {"connection_id":54866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:09:13] local.INFO: IMEI packet received {"connection_id":54866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":54866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:09:17] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99557c8012d7a2bc005db1328000000aa0f..."} 
[2026-04-26 17:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99557c8012d7a2bc005db1328000000aa0f..."} 
[2026-04-26 17:09:17] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99557c8012d7a2bc005db1328000000aa0f..."} 
[2026-04-26 17:09:17] local.INFO: Packet analysis {"connection_id":54865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:09:17] local.INFO: Extracted packet for processing {"connection_id":54865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:09:17] local.INFO: GPS Element Parsed {"raw_longitude":762981312,"raw_latitude":98243368,"longitude_deg":76.2981312,"latitude_deg":9.8243368,"altitude":0,"angle":170,"satellites":15,"speed":0,"hex_longitude":"2d7a2bc0","hex_latitude":"05db1328","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964091136001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76515971954638848,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815543701504,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777203501000,"timestamp_ms":1777203501000,"timestamp_seconds":1777203501,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99557c8"} 
[2026-04-26 17:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-04-26 17:09:17] 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-04-26 17:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 17:09:17] 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-04-26 17:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 17:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 17:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964091136001,"66":13428,"175":206,"85":15104,"24":0,"16":76515971954638848,"45":8802918815543701504},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 17:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 17:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 17:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964091136001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:09:17] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 17:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 17:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76515971954638848,"km_value":76515971954638.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815543701504,"description":"Unknown IO ID 45"} 
[2026-04-26 17:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964091136001,"power":13428,"unknown_175":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8802918815543701504}} 
[2026-04-26 17:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":54865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:09:17] local.INFO: GPS data processed {"connection_id":54865,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:09:17] local.INFO: Acknowledgment sent {"connection_id":54865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:09:19] local.INFO: TCP Data received {"connection_id":54866,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:09:19] local.INFO: Processing buffer {"connection_id":54866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:09:19] local.INFO: IMEI packet received {"connection_id":54866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":54866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:09:20] local.INFO: TCP Data received {"connection_id":54866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:09:20] local.INFO: Processing buffer {"connection_id":54866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:09:20] local.INFO: Packet analysis {"connection_id":54866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:09:20] local.INFO: Extracted packet for processing {"connection_id":54866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 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-04-26 17:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:09:20] 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-04-26 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-04-26 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-04-26 17:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:09: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-04-26 17:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:09:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:09:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:09:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":54866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:09:20] local.INFO: GPS data processed {"connection_id":54866,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:09:20] local.INFO: Acknowledgment sent {"connection_id":54866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:09:32] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:09:32] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:09:32] local.INFO: IMEI packet received {"connection_id":54687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":54687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:09:33] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:09:33] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:09:33] local.INFO: IMEI packet received {"connection_id":54687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":54687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:09:34] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc993e0c8012d1823000721b5c0004900ca26..."} 
[2026-04-26 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc993e0c8012d1823000721b5c0004900ca26..."} 
[2026-04-26 17:09:34] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc993e0c8012d1823000721b5c0004900ca26..."} 
[2026-04-26 17:09:34] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:09:34] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649728,"longitude_deg":75.6556544,"latitude_deg":11.9649728,"altitude":73,"angle":202,"satellites":38,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-04-26 17:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964066304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842464807813120,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777203405000,"timestamp_ms":1777203405000,"timestamp_seconds":1777203405,"priority":1,"record_length":96,"hex_timestamp":"0000019dc993e0c8"} 
[2026-04-26 17:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 17:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:09:34] 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-04-26 17:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964066304001,"66":12863,"105":206,"83":41984,"24":0,"16":114842464807813120,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964066304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:09:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:09:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842464807813120,"km_value":114842464807813.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964066304001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:09:34] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:09:34] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:09:37] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99432d0012d1822400721b528004a00d027..."} 
[2026-04-26 17:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99432d0012d1822400721b528004a00d027..."} 
[2026-04-26 17:09:37] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99432d0012d1822400721b528004a00d027..."} 
[2026-04-26 17:09:37] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:09:37] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649576,"longitude_deg":75.6556352,"latitude_deg":11.9649576,"altitude":74,"angle":208,"satellites":39,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-04-26 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964071680001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842477692715008,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725473792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777203426000,"timestamp_ms":1777203426000,"timestamp_seconds":1777203426,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99432d0"} 
[2026-04-26 17:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:09:37] 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-04-26 17:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-26 17:09:37] 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-04-26 17:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:09:37] 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-04-26 17:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964071680001,"66":12809,"105":206,"83":41984,"24":1,"16":114842477692715008,"45":1739233911725473792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964071680001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:09:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842477692715008,"km_value":114842477692715.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725473792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964071680001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739233911725473792}} 
[2026-04-26 17:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:09:38] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:09:38] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:09:51] local.INFO: TCP Data received {"connection_id":54866,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:09:51] local.INFO: Processing buffer {"connection_id":54866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:09:51] local.INFO: Packet analysis {"connection_id":54866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:09:51] local.INFO: Extracted packet for processing {"connection_id":54866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 17:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:09:51] 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-04-26 17: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-04-26 17:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:09:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:09:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:09:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":54866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:09:51] local.INFO: GPS data processed {"connection_id":54866,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:09:51] local.INFO: Acknowledgment sent {"connection_id":54866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:10:11] local.INFO: TCP Data received {"connection_id":54687,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9944270012d1821c00721b4a8004a00db27..."} 
[2026-04-26 17:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9944270012d1821c00721b4a8004a00db27..."} 
[2026-04-26 17:10:11] local.INFO: Processing buffer {"connection_id":54687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9944270012d1821c00721b4a8004a00db27..."} 
[2026-04-26 17:10:11] local.INFO: Packet analysis {"connection_id":54687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:10:11] local.INFO: Extracted packet for processing {"connection_id":54687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649448,"longitude_deg":75.6556224,"latitude_deg":11.9649448,"altitude":74,"angle":219,"satellites":39,"speed":1,"hex_longitude":"2d1821c0","hex_latitude":"0721b4a8","is_valid_coordinates":true} 
[2026-04-26 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964077056001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842486282649600,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492901888,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10: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-04-26 17:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777203430000,"timestamp_ms":1777203430000,"timestamp_seconds":1777203430,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9944270"} 
[2026-04-26 17:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":201,"raw_value":-7929545913073655040,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259081,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042274058669,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429058681493572134,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,224,45,181,73,38,10,66,142,39,60,1,240,117,227,201,33,4,113,205,152,35,192,239,50,2,7,164],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 17:10:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332490824729034752,"timestamp_seconds":5332490824729035.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 17:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964077056001,"66":12841,"105":206,"83":41984,"24":1,"16":114842486282649600,"45":1739022805492901888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964077056001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:10:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842486282649600,"km_value":114842486282649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492901888,"description":"Unknown IO ID 45"} 
[2026-04-26 17:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964077056001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739022805492901888}} 
[2026-04-26 17:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":54687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:10:11] local.INFO: GPS data processed {"connection_id":54687,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:10:11] local.INFO: Acknowledgment sent {"connection_id":54687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:10:19] local.INFO: TCP Data received {"connection_id":55606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:10:19] local.INFO: Processing buffer {"connection_id":55606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:10:19] local.INFO: IMEI packet received {"connection_id":55606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":55606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:10:20] local.INFO: TCP Data received {"connection_id":55605,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:20] local.INFO: Processing buffer {"connection_id":55605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:20] local.INFO: IMEI packet received {"connection_id":55605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":55605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:10:24] local.INFO: TCP Data received {"connection_id":55606,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:10:24] local.INFO: Processing buffer {"connection_id":55606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:10:24] local.INFO: IMEI packet received {"connection_id":55606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":55606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:10:24] local.INFO: TCP Data received {"connection_id":55606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:10:24] local.INFO: Processing buffer {"connection_id":55606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:10:24] local.INFO: Packet analysis {"connection_id":55606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:10:24] local.INFO: Extracted packet for processing {"connection_id":55606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:10:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 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-04-26 17:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:10:24] 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-04-26 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-04-26 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-04-26 17:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:10:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":55606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:10:24] local.INFO: GPS data processed {"connection_id":55606,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:10:24] local.INFO: Acknowledgment sent {"connection_id":55606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:10:27] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:10:27] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:10:27] local.INFO: IMEI packet received {"connection_id":54867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":54867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:10:29] local.INFO: TCP Data received {"connection_id":55606,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:10:29] local.INFO: Processing buffer {"connection_id":55606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:10:29] local.INFO: Packet analysis {"connection_id":55606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:10:29] local.INFO: Extracted packet for processing {"connection_id":55606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:10:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 17:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:10:29] 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-04-26 17:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:10:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":55606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:10:29] local.INFO: GPS data processed {"connection_id":55606,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:10:29] local.INFO: Acknowledgment sent {"connection_id":55606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:10:32] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:10:32] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:10:32] local.INFO: IMEI packet received {"connection_id":54867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":54867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:10:33] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9949478012d1821800721b440004a00d527..."} 
[2026-04-26 17:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9949478012d1821800721b440004a00d527..."} 
[2026-04-26 17:10:33] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9949478012d1821800721b440004a00d527..."} 
[2026-04-26 17:10:33] local.INFO: Packet analysis {"connection_id":54867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:10:33] local.INFO: Extracted packet for processing {"connection_id":54867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649344,"longitude_deg":75.655616,"latitude_deg":11.9649344,"altitude":74,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-04-26 17:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964078080001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842494872584192,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004513792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203451000,"timestamp_ms":1777203451000,"timestamp_seconds":1777203451,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9949478"} 
[2026-04-26 17:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 17:10:33] 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-04-26 17:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964078080001,"66":12841,"105":206,"83":41984,"24":0,"16":114842494872584192,"45":1738882068004513792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964078080001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:10:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:10:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842494872584192,"km_value":114842494872584.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004513792,"description":"Unknown IO ID 45"} 
[2026-04-26 17:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964078080001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004513792}} 
[2026-04-26 17:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":54867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:10:33] local.INFO: GPS data processed {"connection_id":54867,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:10:33] local.INFO: Acknowledgment sent {"connection_id":54867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:10:39] local.INFO: TCP Data received {"connection_id":55607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:39] local.INFO: Processing buffer {"connection_id":55607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:39] local.INFO: IMEI packet received {"connection_id":55607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":55607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:10:45] local.INFO: TCP Data received {"connection_id":55607,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:45] local.INFO: Processing buffer {"connection_id":55607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:10:45] local.INFO: IMEI packet received {"connection_id":55607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 17:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":55607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:10:47] local.INFO: TCP Data received {"connection_id":55607,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9669af0012cb29ac007822fe8004500852e..."} 
[2026-04-26 17:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9669af0012cb29ac007822fe8004500852e..."} 
[2026-04-26 17:10:47] local.INFO: Processing buffer {"connection_id":55607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9669af0012cb29ac007822fe8004500852e..."} 
[2026-04-26 17:10:47] local.INFO: Packet analysis {"connection_id":55607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc966"} 
[2026-04-26 17:10:47] local.INFO: Extracted packet for processing {"connection_id":55607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc966"} 
[2026-04-26 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972456,"longitude_deg":74.9902528,"latitude_deg":12.5972456,"altitude":69,"angle":133,"satellites":46,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822fe8","is_valid_coordinates":true} 
[2026-04-26 17:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:10:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963235072001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063456256,"note":"Value kept but may cause issues"} 
[2026-04-26 17:10:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:10:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777200438000,"timestamp_ms":1777200438000,"timestamp_seconds":1777200438,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9669af0"} 
[2026-04-26 17:10:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:10:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:10:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:10:47] 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-04-26 17:10:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:10:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:10:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:10:47] local.INFO: Teltonika packet parsed successfully {"connection_id":55607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:10:47] local.INFO: Passing IMEI to GPS processor {"connection_id":55607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 17:10:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":55607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 17:10:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:10:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 17:10:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 17:10:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963235072001,"66":25147,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063456256},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 17:10:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 17:10:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 17:10:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963235072001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:10:47] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 17:10:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 17:10:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:10:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063456256,"description":"Unknown IO ID 44"} 
[2026-04-26 17:10:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963235072001,"power":25147,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063456256}} 
[2026-04-26 17:10:47] local.INFO: DEBUG: GPS processor result {"connection_id":55607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66021,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:10:47] local.INFO: GPS data processed {"connection_id":55607,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:10:47] local.INFO: Acknowledgment sent {"connection_id":55607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:11:04] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc994e680012d1821800721b440004a00d528..."} 
[2026-04-26 17:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc994e680012d1821800721b440004a00d528..."} 
[2026-04-26 17:11:04] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc994e680012d1821800721b440004a00d528..."} 
[2026-04-26 17:11:04] local.INFO: Packet analysis {"connection_id":54867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:11:04] local.INFO: Extracted packet for processing {"connection_id":54867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc994"} 
[2026-04-26 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649344,"longitude_deg":75.655616,"latitude_deg":11.9649344,"altitude":74,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-04-26 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964083456001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842494872584192,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260309504,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777203472000,"timestamp_ms":1777203472000,"timestamp_seconds":1777203472,"priority":1,"record_length":96,"hex_timestamp":"0000019dc994e680"} 
[2026-04-26 17:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 17:11:04] 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-04-26 17:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:11:04] 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-04-26 17:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964083456001,"66":12798,"105":206,"83":41984,"24":0,"16":114842494872584192,"45":1738811699260309504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964083456001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:11:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:11:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842494872584192,"km_value":114842494872584.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260309504,"description":"Unknown IO ID 45"} 
[2026-04-26 17:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964083456001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260309504}} 
[2026-04-26 17:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":54867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:11:05] local.INFO: GPS data processed {"connection_id":54867,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:11:05] local.INFO: Acknowledgment sent {"connection_id":54867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:11:14] local.INFO: TCP Data received {"connection_id":55608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:14] local.INFO: Processing buffer {"connection_id":55608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:14] local.INFO: IMEI packet received {"connection_id":55608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":55608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:11:19] local.INFO: TCP Data received {"connection_id":55608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:19] local.INFO: Processing buffer {"connection_id":55608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:19] local.INFO: IMEI packet received {"connection_id":55608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":55608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:11:26] local.INFO: TCP Data received {"connection_id":55608,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:26] local.INFO: Processing buffer {"connection_id":55608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:11:26] local.INFO: IMEI packet received {"connection_id":55608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":55608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:11:27] local.INFO: TCP Data received {"connection_id":55608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:11:27] local.INFO: Processing buffer {"connection_id":55608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9930dd8012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:11:27] local.INFO: Packet analysis {"connection_id":55608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:11:27] local.INFO: Extracted packet for processing {"connection_id":55608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc993"} 
[2026-04-26 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454963980800001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777203351000,"timestamp_ms":1777203351000,"timestamp_seconds":1777203351,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9930dd8"} 
[2026-04-26 17:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:11: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-04-26 17:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454963980800001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454963980800001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:11:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:11:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454963980800001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":55608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:11:27] local.INFO: GPS data processed {"connection_id":55608,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:11:27] local.INFO: Acknowledgment sent {"connection_id":55608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:11:28] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:11:28] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:11:28] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:11:28] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:11:30] local.INFO: TCP Data received {"connection_id":54942,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:30] local.INFO: Processing buffer {"connection_id":54942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:30] local.INFO: IMEI packet received {"connection_id":54942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":54942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:11:32] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:11:32] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:11:32] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:11:33] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9953888012d1820400721b3c0004800cd29..."} 
[2026-04-26 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9953888012d1820400721b3c0004800cd29..."} 
[2026-04-26 17:11:33] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9953888012d1820400721b3c0004800cd29..."} 
[2026-04-26 17:11:33] local.INFO: Packet analysis {"connection_id":54941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:11:33] local.INFO: Extracted packet for processing {"connection_id":54941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649216,"longitude_deg":75.655584,"latitude_deg":11.9649216,"altitude":72,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-04-26 17:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964088832001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260309504,"note":"Value kept but may cause issues"} 
[2026-04-26 17:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203493000,"timestamp_ms":1777203493000,"timestamp_seconds":1777203493,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9953888"} 
[2026-04-26 17:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 17:11:33] 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-04-26 17:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964088832001,"66":12722,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738811699260309504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964088832001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:11:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260309504,"description":"Unknown IO ID 45"} 
[2026-04-26 17:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964088832001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260309504}} 
[2026-04-26 17:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":54941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:11:33] local.INFO: GPS data processed {"connection_id":54941,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:11:33] local.INFO: Acknowledgment sent {"connection_id":54941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:11:35] local.INFO: TCP Data received {"connection_id":54942,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:35] local.INFO: Processing buffer {"connection_id":54942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:35] local.INFO: IMEI packet received {"connection_id":54942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 17:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":54942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:11:39] local.INFO: TCP Data received {"connection_id":54942,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:39] local.INFO: Processing buffer {"connection_id":54942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:11:39] local.INFO: IMEI packet received {"connection_id":54942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 17:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":54942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:12:00] local.INFO: TCP Data received {"connection_id":55608,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:00] local.INFO: Processing buffer {"connection_id":55608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:00] local.INFO: Packet analysis {"connection_id":55608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:12:00] local.INFO: Extracted packet for processing {"connection_id":55608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":55608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":55608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":55608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:12:00] 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-04-26 17:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:12:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":55608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:12:00] local.INFO: GPS data processed {"connection_id":55608,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:12:00] local.INFO: Acknowledgment sent {"connection_id":55608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:12:07] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9958a90012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9958a90012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:12:07] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9958a90012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:12:07] local.INFO: Packet analysis {"connection_id":54941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:12:07] local.INFO: Extracted packet for processing {"connection_id":54941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964094208001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539388416,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777203514000,"timestamp_ms":1777203514000,"timestamp_seconds":1777203514,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9958a90"} 
[2026-04-26 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 17:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54941,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:12:07] 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-04-26 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964094208001,"66":12776,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539388416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964094208001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539388416,"description":"Unknown IO ID 45"} 
[2026-04-26 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964094208001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539388416}} 
[2026-04-26 17:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":54941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:12:08] local.INFO: GPS data processed {"connection_id":54941,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:12:08] local.INFO: Acknowledgment sent {"connection_id":54941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:12:13] local.INFO: TCP Data received {"connection_id":55609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:12:13] local.INFO: Processing buffer {"connection_id":55609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:12:13] local.INFO: IMEI packet received {"connection_id":55609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":55609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:12:18] local.INFO: TCP Data received {"connection_id":55609,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:12:18] local.INFO: Processing buffer {"connection_id":55609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:12:18] local.INFO: IMEI packet received {"connection_id":55609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":55609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:12:22] local.INFO: TCP Data received {"connection_id":55609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:22] local.INFO: Processing buffer {"connection_id":55609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:22] local.INFO: Packet analysis {"connection_id":55609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:12:22] local.INFO: Extracted packet for processing {"connection_id":55609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:12: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-04-26 17:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:12:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:12:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:12:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":55609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:12:22] local.INFO: GPS data processed {"connection_id":55609,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:12:22] local.INFO: Acknowledgment sent {"connection_id":55609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:12:28] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:12:28] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:12:28] local.INFO: IMEI packet received {"connection_id":54688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":54688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:12:32] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:12:32] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:12:32] local.INFO: IMEI packet received {"connection_id":54688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":54688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:12:33] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc995dc98012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc995dc98012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:12:33] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc995dc98012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:12:33] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:12:33] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc995"} 
[2026-04-26 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964099584001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203535000,"timestamp_ms":1777203535000,"timestamp_seconds":1777203535,"priority":1,"record_length":96,"hex_timestamp":"0000019dc995dc98"} 
[2026-04-26 17:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 17:12:33] 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-04-26 17: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-04-26 17:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964099584001,"66":12776,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964099584001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:12:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964099584001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:12:34] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:12:34] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:12:36] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:12:36] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:12:36] local.INFO: IMEI packet received {"connection_id":54943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":54943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:12:37] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9962ea0012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9962ea0012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:12:37] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9962ea0012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:12:37] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc996"} 
[2026-04-26 17:12:37] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc996"} 
[2026-04-26 17:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964104960001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12: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-04-26 17:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777203556000,"timestamp_ms":1777203556000,"timestamp_seconds":1777203556,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9962ea0"} 
[2026-04-26 17:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:12:37] 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-04-26 17:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 17:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:12:37] 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-04-26 17:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964104960001,"66":12722,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964104960001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:12:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964104960001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:12:37] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:12:37] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:12:53] local.INFO: TCP Data received {"connection_id":55609,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:53] local.INFO: Processing buffer {"connection_id":55609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:12:53] local.INFO: Packet analysis {"connection_id":55609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:12:53] local.INFO: Extracted packet for processing {"connection_id":55609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:12:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:12: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-04-26 17:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:12:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:12:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:12:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":55609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:12:53] local.INFO: GPS data processed {"connection_id":55609,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:12:53] local.INFO: Acknowledgment sent {"connection_id":55609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:13:09] local.INFO: TCP Data received {"connection_id":54688,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99680a8012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99680a8012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:13:09] local.INFO: Processing buffer {"connection_id":54688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99680a8012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:13:09] local.INFO: Packet analysis {"connection_id":54688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc996"} 
[2026-04-26 17:13:09] local.INFO: Extracted packet for processing {"connection_id":54688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc996"} 
[2026-04-26 17:13:09] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964110336001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777203577000,"timestamp_ms":1777203577000,"timestamp_seconds":1777203577,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99680a8"} 
[2026-04-26 17:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:13: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-04-26 17:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 17:13:09] 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-04-26 17:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:13:09] 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-04-26 17:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964110336001,"66":12711,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964110336001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:13:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:13:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964110336001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":54688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:13:09] local.INFO: GPS data processed {"connection_id":54688,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:13:09] local.INFO: Acknowledgment sent {"connection_id":54688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:13:13] local.INFO: TCP Data received {"connection_id":54689,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:13:13] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:13:13] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:13:19] local.INFO: TCP Data received {"connection_id":54689,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:13:19] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:13:19] local.INFO: IMEI packet received {"connection_id":54689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":54689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:13:20] local.INFO: TCP Data received {"connection_id":54689,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:13:20] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:13:20] local.INFO: Packet analysis {"connection_id":54689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:13:20] local.INFO: Extracted packet for processing {"connection_id":54689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:13:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:13:20] 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-04-26 17:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:13:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:13:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:13:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":54689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:13:20] local.INFO: GPS data processed {"connection_id":54689,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:13:20] local.INFO: Acknowledgment sent {"connection_id":54689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:13:27] local.INFO: TCP Data received {"connection_id":55610,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:13:27] local.INFO: Processing buffer {"connection_id":55610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:13:27] local.INFO: IMEI packet received {"connection_id":55610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":55610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:13:32] local.INFO: TCP Data received {"connection_id":55610,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:13:32] local.INFO: Processing buffer {"connection_id":55610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:13:32] local.INFO: IMEI packet received {"connection_id":55610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":55610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:13:33] local.INFO: TCP Data received {"connection_id":55610,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc996d2b0012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc996d2b0012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:13:33] local.INFO: Processing buffer {"connection_id":55610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc996d2b0012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:13:33] local.INFO: Packet analysis {"connection_id":55610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc996"} 
[2026-04-26 17:13:33] local.INFO: Extracted packet for processing {"connection_id":55610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc996"} 
[2026-04-26 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964115712001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777203598000,"timestamp_ms":1777203598000,"timestamp_seconds":1777203598,"priority":1,"record_length":96,"hex_timestamp":"0000019dc996d2b0"} 
[2026-04-26 17:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-26 17:13:33] 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-04-26 17: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-04-26 17:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964115712001,"66":12722,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964115712001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:13:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964115712001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":55610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:13:33] local.INFO: GPS data processed {"connection_id":55610,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:13:33] local.INFO: Acknowledgment sent {"connection_id":55610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:13:51] local.INFO: TCP Data received {"connection_id":54689,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:13:51] local.INFO: Processing buffer {"connection_id":54689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:13:51] local.INFO: Packet analysis {"connection_id":54689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:13:51] local.INFO: Extracted packet for processing {"connection_id":54689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 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-04-26 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 17:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:13:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:13:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:13:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":54689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:13:51] local.INFO: GPS data processed {"connection_id":54689,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:13:51] local.INFO: Acknowledgment sent {"connection_id":54689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:14:04] local.INFO: TCP Data received {"connection_id":55610,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99724b8012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99724b8012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:14:04] local.INFO: Processing buffer {"connection_id":55610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99724b8012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:14:04] local.INFO: Packet analysis {"connection_id":55610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:14:04] local.INFO: Extracted packet for processing {"connection_id":55610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964121088001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777203619000,"timestamp_ms":1777203619000,"timestamp_seconds":1777203619,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99724b8"} 
[2026-04-26 17:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 17:14:04] 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-04-26 17: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-04-26 17:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:14:04] 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-04-26 17:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964121088001,"66":12711,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964121088001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:14:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:14:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964121088001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":55610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:14:04] local.INFO: GPS data processed {"connection_id":55610,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:14:04] local.INFO: Acknowledgment sent {"connection_id":55610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:14:19] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:14:19] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:14:19] local.INFO: IMEI packet received {"connection_id":54868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":54868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:14:24] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:14:24] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:14:24] local.INFO: IMEI packet received {"connection_id":54868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":54868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:14:25] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:14:25] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:14:25] local.INFO: Packet analysis {"connection_id":54868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:14:25] local.INFO: Extracted packet for processing {"connection_id":54868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:14:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:14:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:14:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:14:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":54868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:14:25] local.INFO: GPS data processed {"connection_id":54868,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:14:25] local.INFO: Acknowledgment sent {"connection_id":54868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:14:32] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:14:32] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:14:32] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:14:49] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:14:49] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:14:49] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:14:49] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:14:49] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:14:49] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:14:56] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:14:56] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:14:56] local.INFO: Packet analysis {"connection_id":54868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:14:56] local.INFO: Extracted packet for processing {"connection_id":54868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:14: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-04-26 17:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:14:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:14:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":54868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:14:56] local.INFO: GPS data processed {"connection_id":54868,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:14:56] local.INFO: Acknowledgment sent {"connection_id":54868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:15:14] local.INFO: TCP Data received {"connection_id":54692,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:15:14] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:15:14] local.INFO: IMEI packet received {"connection_id":54692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":54692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:15:19] local.INFO: TCP Data received {"connection_id":54692,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:15:19] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:15:19] local.INFO: IMEI packet received {"connection_id":54692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":54692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:15:19] local.INFO: TCP Data received {"connection_id":54692,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:15:19] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:15:19] local.INFO: Packet analysis {"connection_id":54692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:15:19] local.INFO: Extracted packet for processing {"connection_id":54692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:15:19] 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-04-26 17:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:15:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":54692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:15:19] local.INFO: GPS data processed {"connection_id":54692,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:15:19] local.INFO: Acknowledgment sent {"connection_id":54692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:15:50] local.INFO: TCP Data received {"connection_id":54692,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:15:50] local.INFO: Processing buffer {"connection_id":54692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:15:50] local.INFO: Packet analysis {"connection_id":54692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:15:50] local.INFO: Extracted packet for processing {"connection_id":54692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:15:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:15:50] 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-04-26 17:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:15:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":54692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:15:50] local.INFO: GPS data processed {"connection_id":54692,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:15:50] local.INFO: Acknowledgment sent {"connection_id":54692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:16:20] local.INFO: TCP Data received {"connection_id":54944,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:16:20] local.INFO: Processing buffer {"connection_id":54944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:16:20] local.INFO: IMEI packet received {"connection_id":54944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":54944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:16:24] local.INFO: TCP Data received {"connection_id":54944,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:16:24] local.INFO: Processing buffer {"connection_id":54944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:16:24] local.INFO: IMEI packet received {"connection_id":54944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":54944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:16:25] local.INFO: TCP Data received {"connection_id":54944,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:16:25] local.INFO: Processing buffer {"connection_id":54944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:16:25] local.INFO: Packet analysis {"connection_id":54944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:16:25] local.INFO: Extracted packet for processing {"connection_id":54944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:16:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:16:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:16:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:16:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:16:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:16:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:16:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:16:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:16:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":54944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:16:25] local.INFO: GPS data processed {"connection_id":54944,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:16:25] local.INFO: Acknowledgment sent {"connection_id":54944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:16:28] local.INFO: TCP Data received {"connection_id":54944,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:16:28] local.INFO: Processing buffer {"connection_id":54944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc997a5a0012cb299c007822ce0004c00122a..."} 
[2026-04-26 17:16:28] local.INFO: Packet analysis {"connection_id":54944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:16:28] local.INFO: Extracted packet for processing {"connection_id":54944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc997"} 
[2026-04-26 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964057856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777203652000,"timestamp_ms":1777203652000,"timestamp_seconds":1777203652,"priority":1,"record_length":96,"hex_timestamp":"0000019dc997a5a0"} 
[2026-04-26 17:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:16:28] 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-04-26 17:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964057856001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964057856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:16:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964057856001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":54944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:16:28] local.INFO: GPS data processed {"connection_id":54944,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:16:28] local.INFO: Acknowledgment sent {"connection_id":54944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:17:13] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:17:13] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:17:13] local.INFO: IMEI packet received {"connection_id":54694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":54694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:17:19] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:17:19] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:17:19] local.INFO: IMEI packet received {"connection_id":54694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:17:19] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:17:19] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:17:19] local.INFO: Packet analysis {"connection_id":54694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:17:19] local.INFO: Extracted packet for processing {"connection_id":54694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:17:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:17:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 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-04-26 17:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:17:19] 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-04-26 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-04-26 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-04-26 17:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:17:19] 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-04-26 17:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:17:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:17:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":54694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:17:19] local.INFO: GPS data processed {"connection_id":54694,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:17:19] local.INFO: Acknowledgment sent {"connection_id":54694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:17:51] local.INFO: TCP Data received {"connection_id":54694,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:17:51] local.INFO: Processing buffer {"connection_id":54694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:17:51] local.INFO: Packet analysis {"connection_id":54694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:17:51] local.INFO: Extracted packet for processing {"connection_id":54694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:17:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:17: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-04-26 17: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-04-26 17:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:17:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:17:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":54694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:17:51] local.INFO: GPS data processed {"connection_id":54694,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:17:51] local.INFO: Acknowledgment sent {"connection_id":54694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:18:15] local.INFO: TCP Data received {"connection_id":54695,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:18:15] local.INFO: Processing buffer {"connection_id":54695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:18:15] local.INFO: IMEI packet received {"connection_id":54695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":54695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:18:19] local.INFO: TCP Data received {"connection_id":54945,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:18:19] local.INFO: Processing buffer {"connection_id":54945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:18:19] local.INFO: IMEI packet received {"connection_id":54945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":54945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:18:24] local.INFO: TCP Data received {"connection_id":54945,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:18:24] local.INFO: Processing buffer {"connection_id":54945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:18:24] local.INFO: IMEI packet received {"connection_id":54945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":54945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:18:26] local.INFO: TCP Data received {"connection_id":54945,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:18:26] local.INFO: Processing buffer {"connection_id":54945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:18:26] local.INFO: Packet analysis {"connection_id":54945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:18:26] local.INFO: Extracted packet for processing {"connection_id":54945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:18:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":54945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:18:26] local.INFO: GPS data processed {"connection_id":54945,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:18:26] local.INFO: Acknowledgment sent {"connection_id":54945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:18:39] local.INFO: TCP Data received {"connection_id":55615,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:18:39] local.INFO: Processing buffer {"connection_id":55615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:18:39] local.INFO: IMEI packet received {"connection_id":55615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":55615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:19:15] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:19:15] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:19:15] local.INFO: IMEI packet received {"connection_id":54696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":54696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:19:19] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:19:19] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:19:19] local.INFO: IMEI packet received {"connection_id":54696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":54696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:19:20] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:20] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:20] local.INFO: Packet analysis {"connection_id":54696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:19:20] local.INFO: Extracted packet for processing {"connection_id":54696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:19:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:19: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-04-26 17: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-04-26 17:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:19:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:19:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:19:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":54696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:19:20] local.INFO: GPS data processed {"connection_id":54696,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:19:20] local.INFO: Acknowledgment sent {"connection_id":54696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:19:24] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:24] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:24] local.INFO: Packet analysis {"connection_id":54696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:19:24] local.INFO: Extracted packet for processing {"connection_id":54696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:19:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:19: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-04-26 17:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:19:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":54696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:19:24] local.INFO: GPS data processed {"connection_id":54696,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:19:24] local.INFO: Acknowledgment sent {"connection_id":54696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:19:52] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:19:52] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:19:52] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:19:55] local.INFO: TCP Data received {"connection_id":54696,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:55] local.INFO: Processing buffer {"connection_id":54696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:19:55] local.INFO: Packet analysis {"connection_id":54696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:19:55] local.INFO: Extracted packet for processing {"connection_id":54696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:19:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:19: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-04-26 17:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:19:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":54696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:19:55] local.INFO: GPS data processed {"connection_id":54696,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:19:55] local.INFO: Acknowledgment sent {"connection_id":54696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:19:58] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99ddf60012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99ddf60012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:19:58] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99ddf60012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:19:58] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99d"} 
[2026-04-26 17:19:58] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99d"} 
[2026-04-26 17:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964233984001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777204060000,"timestamp_ms":1777204060000,"timestamp_seconds":1777204060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99ddf60"} 
[2026-04-26 17:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:19:58] 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-04-26 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 17:19:58] 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-04-26 17: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-04-26 17:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:19:58] 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-04-26 17:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964233984001,"66":12461,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964233984001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:19:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:19:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964233984001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:19:58] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:19:58] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:20:13] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:20:13] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:20:13] local.INFO: IMEI packet received {"connection_id":54871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:20:18] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:20:18] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:20:18] local.INFO: IMEI packet received {"connection_id":54871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:20:19] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:20:19] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:20:19] local.INFO: Packet analysis {"connection_id":54871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:20:19] local.INFO: Extracted packet for processing {"connection_id":54871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:20:19] 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-04-26 17:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:20:19] 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-04-26 17:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:20:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:20:19] local.INFO: GPS data processed {"connection_id":54871,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:20:19] local.INFO: Acknowledgment sent {"connection_id":54871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:20:27] local.INFO: TCP Data received {"connection_id":54697,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:27] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:27] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:20:32] local.INFO: TCP Data received {"connection_id":54697,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:32] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:32] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:20:37] local.INFO: TCP Data received {"connection_id":54697,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:37] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:20:37] local.INFO: IMEI packet received {"connection_id":54697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":54697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:20:38] local.INFO: TCP Data received {"connection_id":54697,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99e3168012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99e3168012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:20:38] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99e3168012d1820400721b3b8004800cd28..."} 
[2026-04-26 17:20:38] local.INFO: Packet analysis {"connection_id":54697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99e"} 
[2026-04-26 17:20:38] local.INFO: Extracted packet for processing {"connection_id":54697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99e"} 
[2026-04-26 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964239360001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777204081000,"timestamp_ms":1777204081000,"timestamp_seconds":1777204081,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99e3168"} 
[2026-04-26 17:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 17:20:38] 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-04-26 17:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:20:38] 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-04-26 17:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964239360001,"66":12461,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964239360001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:20:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964239360001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":54697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:20:38] local.INFO: GPS data processed {"connection_id":54697,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:20:38] local.INFO: Acknowledgment sent {"connection_id":54697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:20:50] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:20:50] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:20:50] local.INFO: Packet analysis {"connection_id":54871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:20:50] local.INFO: Extracted packet for processing {"connection_id":54871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:20:50] 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-04-26 17:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:20:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":54871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:20:50] local.INFO: GPS data processed {"connection_id":54871,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:20:50] local.INFO: Acknowledgment sent {"connection_id":54871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:21:09] local.INFO: TCP Data received {"connection_id":54697,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99e8370012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99e8370012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:21:09] local.INFO: Processing buffer {"connection_id":54697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99e8370012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:21:09] local.INFO: Packet analysis {"connection_id":54697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99e"} 
[2026-04-26 17:21:09] local.INFO: Extracted packet for processing {"connection_id":54697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99e"} 
[2026-04-26 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964244736001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777204102000,"timestamp_ms":1777204102000,"timestamp_seconds":1777204102,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99e8370"} 
[2026-04-26 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-04-26 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 17:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 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-04-26 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:21:09] 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-04-26 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964244736001,"66":12461,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964244736001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:21:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964244736001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":54697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:21:09] local.INFO: GPS data processed {"connection_id":54697,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:21:09] local.INFO: Acknowledgment sent {"connection_id":54697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:21:19] local.INFO: TCP Data received {"connection_id":55617,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:21:19] local.INFO: Processing buffer {"connection_id":55617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:21:19] local.INFO: IMEI packet received {"connection_id":55617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":55617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:21:24] local.INFO: TCP Data received {"connection_id":55617,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:21:24] local.INFO: Processing buffer {"connection_id":55617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:21:24] local.INFO: IMEI packet received {"connection_id":55617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":55617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:21:27] local.INFO: TCP Data received {"connection_id":55617,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:21:27] local.INFO: Processing buffer {"connection_id":55617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:21:27] local.INFO: Packet analysis {"connection_id":55617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:21:27] local.INFO: Extracted packet for processing {"connection_id":55617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:21: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-04-26 17:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:21:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:21:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":55617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:21:27] local.INFO: GPS data processed {"connection_id":55617,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:21:27] local.INFO: Acknowledgment sent {"connection_id":55617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:21:27] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:21:27] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:21:27] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:21:29] local.INFO: TCP Data received {"connection_id":55617,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:21:29] local.INFO: Processing buffer {"connection_id":55617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99c3d68012cb299c007822ce00050001228..."} 
[2026-04-26 17:21:29] local.INFO: Packet analysis {"connection_id":55617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:21:29] local.INFO: Extracted packet for processing {"connection_id":55617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99c"} 
[2026-04-26 17:21:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964134912001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777203953000,"timestamp_ms":1777203953000,"timestamp_seconds":1777203953,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99c3d68"} 
[2026-04-26 17:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:21:29] 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-04-26 17:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964134912001,"66":25028,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964134912001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:21:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964134912001,"power":25028,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":55617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:21:29] local.INFO: GPS data processed {"connection_id":55617,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:21:29] local.INFO: Acknowledgment sent {"connection_id":55617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:21:32] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:21:32] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:21:32] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:21:33] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99ed578012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99ed578012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:21:33] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99ed578012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:21:33] local.INFO: Packet analysis {"connection_id":54948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99e"} 
[2026-04-26 17:21:33] local.INFO: Extracted packet for processing {"connection_id":54948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99e"} 
[2026-04-26 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964250112001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777204123000,"timestamp_ms":1777204123000,"timestamp_seconds":1777204123,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99ed578"} 
[2026-04-26 17:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 17:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964250112001,"66":12439,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964250112001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:21:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964250112001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":54948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:21:33] local.INFO: GPS data processed {"connection_id":54948,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:21:33] local.INFO: Acknowledgment sent {"connection_id":54948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:22:06] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc99f2780012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc99f2780012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:22:06] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc99f2780012d1820400721b3b8004800cd29..."} 
[2026-04-26 17:22:06] local.INFO: Packet analysis {"connection_id":54948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc99f"} 
[2026-04-26 17:22:06] local.INFO: Extracted packet for processing {"connection_id":54948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc99f"} 
[2026-04-26 17:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119649208,"longitude_deg":75.655584,"latitude_deg":11.9649208,"altitude":72,"angle":205,"satellites":41,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-04-26 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964255488001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114842512052453376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539386368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777204144000,"timestamp_ms":1777204144000,"timestamp_seconds":1777204144,"priority":1,"record_length":96,"hex_timestamp":"0000019dc99f2780"} 
[2026-04-26 17:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:22:06] 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-04-26 17:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-26 17:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:22:06] 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-04-26 17:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964255488001,"66":12461,"105":206,"83":41984,"24":0,"16":114842512052453376,"45":1738459855539386368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 17:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964255488001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:22:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 17:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114842512052453376,"km_value":114842512052453.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539386368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964255488001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539386368}} 
[2026-04-26 17:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":54948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:22:07] local.INFO: GPS data processed {"connection_id":54948,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:22:07] local.INFO: Acknowledgment sent {"connection_id":54948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:22:14] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:22:14] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:22:14] local.INFO: IMEI packet received {"connection_id":54873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":54873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:22:18] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:22:18] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:22:18] local.INFO: IMEI packet received {"connection_id":54873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":54873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:22:19] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:22:19] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:22:19] local.INFO: Packet analysis {"connection_id":54873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:22:19] local.INFO: Extracted packet for processing {"connection_id":54873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:22:19] 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-04-26 17:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:22:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":54873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:22:19] local.INFO: GPS data processed {"connection_id":54873,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:22:19] local.INFO: Acknowledgment sent {"connection_id":54873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:22:27] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:22:27] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:22:27] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:22:50] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:22:50] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:22:50] local.INFO: Packet analysis {"connection_id":54873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:22:50] local.INFO: Extracted packet for processing {"connection_id":54873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:22:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:22:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":54873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:22:50] local.INFO: GPS data processed {"connection_id":54873,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:22:50] local.INFO: Acknowledgment sent {"connection_id":54873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:22:57] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:22:57] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:22:57] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:23:02] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:23:02] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:23:02] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:23:02] local.INFO: TCP Data received {"connection_id":54698,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:23:02] local.INFO: Processing buffer {"connection_id":54698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:23:02] local.INFO: IMEI packet received {"connection_id":54698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":54698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:23:19] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:23:19] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:23:19] local.INFO: IMEI packet received {"connection_id":54699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":54699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:23:24] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:23:24] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:23:24] local.INFO: IMEI packet received {"connection_id":54699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":54699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:23:52] local.INFO: TCP Data received {"connection_id":54699,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:23:52] local.INFO: Processing buffer {"connection_id":54699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:23:52] local.INFO: Packet analysis {"connection_id":54699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:23:52] local.INFO: Extracted packet for processing {"connection_id":54699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:23:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:23: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-04-26 17:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:23:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:23:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":54699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:23:52] local.INFO: GPS data processed {"connection_id":54699,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:23:52] local.INFO: Acknowledgment sent {"connection_id":54699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:24:00] local.INFO: TCP Data received {"connection_id":54949,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:00] local.INFO: Processing buffer {"connection_id":54949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:00] local.INFO: IMEI packet received {"connection_id":54949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":54949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:24:13] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:24:13] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:24:13] local.INFO: IMEI packet received {"connection_id":54950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":54950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:24:19] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:24:19] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:24:19] local.INFO: IMEI packet received {"connection_id":54950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":54950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:24:20] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:20] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:20] local.INFO: Packet analysis {"connection_id":54950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:24:20] local.INFO: Extracted packet for processing {"connection_id":54950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:24:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:24:20] 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-04-26 17:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:24:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:24:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:24:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":54950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:24:20] local.INFO: GPS data processed {"connection_id":54950,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:24:20] local.INFO: Acknowledgment sent {"connection_id":54950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:24:24] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:24] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:24] local.INFO: Packet analysis {"connection_id":54950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:24:24] local.INFO: Extracted packet for processing {"connection_id":54950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:24:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:24:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:24:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:24:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":54950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:24:24] local.INFO: GPS data processed {"connection_id":54950,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:24:24] local.INFO: Acknowledgment sent {"connection_id":54950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:24:39] local.INFO: TCP Data received {"connection_id":55619,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:39] local.INFO: Processing buffer {"connection_id":55619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:39] local.INFO: IMEI packet received {"connection_id":55619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":55619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:24:45] local.INFO: TCP Data received {"connection_id":55619,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:45] local.INFO: Processing buffer {"connection_id":55619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:45] local.INFO: IMEI packet received {"connection_id":55619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 17:24:45] local.INFO: IMEI acknowledgment sent {"connection_id":55619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:24:50] local.INFO: TCP Data received {"connection_id":55619,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:50] local.INFO: Processing buffer {"connection_id":55619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:24:50] local.INFO: IMEI packet received {"connection_id":55619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 17:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":55619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:24:55] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:55] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:24:55] local.INFO: Packet analysis {"connection_id":54950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:24:55] local.INFO: Extracted packet for processing {"connection_id":54950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:24:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":54950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:24:55] local.INFO: GPS data processed {"connection_id":54950,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:24:55] local.INFO: Acknowledgment sent {"connection_id":54950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:25:13] local.INFO: TCP Data received {"connection_id":54951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:25:13] local.INFO: Processing buffer {"connection_id":54951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:25:13] local.INFO: IMEI packet received {"connection_id":54951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":54951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:25:19] local.INFO: TCP Data received {"connection_id":54951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:25:19] local.INFO: Processing buffer {"connection_id":54951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:25:19] local.INFO: IMEI packet received {"connection_id":54951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":54951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:25:19] local.INFO: TCP Data received {"connection_id":54951,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:25:19] local.INFO: Processing buffer {"connection_id":54951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:25:19] local.INFO: Packet analysis {"connection_id":54951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:25:19] local.INFO: Extracted packet for processing {"connection_id":54951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:25:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:25:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:25:19] 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-04-26 17:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:25:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:25:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":54951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:25:19] local.INFO: GPS data processed {"connection_id":54951,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:25:19] local.INFO: Acknowledgment sent {"connection_id":54951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:25:39] local.INFO: TCP Data received {"connection_id":54700,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:25:39] local.INFO: Processing buffer {"connection_id":54700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:25:39] local.INFO: IMEI packet received {"connection_id":54700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":54700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:25:50] local.INFO: TCP Data received {"connection_id":54951,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:25:50] local.INFO: Processing buffer {"connection_id":54951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:25:50] local.INFO: Packet analysis {"connection_id":54951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:25:50] local.INFO: Extracted packet for processing {"connection_id":54951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:25:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":54951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:25:50] local.INFO: GPS data processed {"connection_id":54951,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:25:50] local.INFO: Acknowledgment sent {"connection_id":54951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:26:19] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:26:19] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:26:19] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:26:24] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:26:24] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:26:24] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:26:25] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:26:25] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:26:25] local.INFO: Packet analysis {"connection_id":54952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:26:25] local.INFO: Extracted packet for processing {"connection_id":54952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:26:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:26:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:26:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:26:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":54952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:26:25] local.INFO: GPS data processed {"connection_id":54952,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:26:25] local.INFO: Acknowledgment sent {"connection_id":54952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:26:28] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:26:28] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a0d530012cb299c007822ce0004e001227..."} 
[2026-04-26 17:26:28] local.INFO: Packet analysis {"connection_id":54952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:26:28] local.INFO: Extracted packet for processing {"connection_id":54952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a0"} 
[2026-04-26 17:26:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964211968001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:26:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777204254000,"timestamp_ms":1777204254000,"timestamp_seconds":1777204254,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a0d530"} 
[2026-04-26 17:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 17:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:26:28] 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-04-26 17:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964211968001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964211968001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:26:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:26:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964211968001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":54952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:26:28] local.INFO: GPS data processed {"connection_id":54952,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:26:28] local.INFO: Acknowledgment sent {"connection_id":54952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:27:14] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:14] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:14] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:27:19] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:19] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:19] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:27:25] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:25] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:27:25] local.INFO: IMEI packet received {"connection_id":54701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":54701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:27:30] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:27:30] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:27:30] local.INFO: Packet analysis {"connection_id":54701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:27:30] local.INFO: Extracted packet for processing {"connection_id":54701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":54701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:27:30] local.INFO: GPS data processed {"connection_id":54701,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:27:30] local.INFO: Acknowledgment sent {"connection_id":54701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:27:30] local.INFO: TCP Data received {"connection_id":54701,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:27:30] local.INFO: Processing buffer {"connection_id":54701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:27:30] local.INFO: Packet analysis {"connection_id":54701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:27:30] local.INFO: Extracted packet for processing {"connection_id":54701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":54701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:27:30] local.INFO: GPS data processed {"connection_id":54701,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:27:30] local.INFO: Acknowledgment sent {"connection_id":54701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:28:03] local.INFO: TCP Data received {"connection_id":55621,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:03] local.INFO: Processing buffer {"connection_id":55621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:03] local.INFO: IMEI packet received {"connection_id":55621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":55621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:28:15] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:28:15] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:28:15] local.INFO: IMEI packet received {"connection_id":54955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":54955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:28:19] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:28:19] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:28:19] local.INFO: IMEI packet received {"connection_id":54955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":54955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:28:29] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:28:29] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:28:29] local.INFO: Packet analysis {"connection_id":54955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:28:29] local.INFO: Extracted packet for processing {"connection_id":54955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:28:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:28:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":54955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:28:29] local.INFO: GPS data processed {"connection_id":54955,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:28:29] local.INFO: Acknowledgment sent {"connection_id":54955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:28:32] local.INFO: TCP Data received {"connection_id":55622,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:32] local.INFO: Processing buffer {"connection_id":55622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:32] local.INFO: IMEI packet received {"connection_id":55622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":55622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:28:37] local.INFO: TCP Data received {"connection_id":55622,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:37] local.INFO: Processing buffer {"connection_id":55622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:28:37] local.INFO: IMEI packet received {"connection_id":55622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":55622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:28:38] local.INFO: TCP Data received {"connection_id":55622,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a70b08012d18460007210230002a004b26..."} 
[2026-04-26 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a70b08012d18460007210230002a004b26..."} 
[2026-04-26 17:28:38] local.INFO: Processing buffer {"connection_id":55622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a70b08012d18460007210230002a004b26..."} 
[2026-04-26 17:28:38] local.INFO: Packet analysis {"connection_id":55622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a7"} 
[2026-04-26 17:28:38] local.INFO: Extracted packet for processing {"connection_id":55622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a7"} 
[2026-04-26 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756565504,"raw_latitude":119603760,"longitude_deg":75.6565504,"latitude_deg":11.960376,"altitude":42,"angle":75,"satellites":38,"speed":22,"hex_longitude":"2d184600","hex_latitude":"07210230","is_valid_coordinates":true} 
[2026-04-26 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964392960001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114845187817078784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748381848456767488,"note":"Value kept but may cause issues"} 
[2026-04-26 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777204661000,"timestamp_ms":1777204661000,"timestamp_seconds":1777204661,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a70b08"} 
[2026-04-26 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:28:38] 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-04-26 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964392960001,"66":14428,"106":206,"83":41984,"24":22,"16":114845187817078784,"45":1748381848456767488},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964392960001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:28:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114845187817078784,"km_value":114845187817078.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748381848456767488,"description":"Unknown IO ID 45"} 
[2026-04-26 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964392960001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1748381848456767488}} 
[2026-04-26 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":55622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:28:38] local.INFO: GPS data processed {"connection_id":55622,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:28:38] local.INFO: Acknowledgment sent {"connection_id":55622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:29:11] local.INFO: TCP Data received {"connection_id":55622,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a7c2a0012d187ec00720c6d8002f00b624..."} 
[2026-04-26 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a7c2a0012d187ec00720c6d8002f00b624..."} 
[2026-04-26 17:29:11] local.INFO: Processing buffer {"connection_id":55622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a7c2a0012d187ec00720c6d8002f00b624..."} 
[2026-04-26 17:29:11] local.INFO: Packet analysis {"connection_id":55622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a7"} 
[2026-04-26 17:29:11] local.INFO: Extracted packet for processing {"connection_id":55622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a7"} 
[2026-04-26 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756580032,"raw_latitude":119588568,"longitude_deg":75.6580032,"latitude_deg":11.9588568,"altitude":47,"angle":182,"satellites":36,"speed":23,"hex_longitude":"2d187ec0","hex_latitude":"0720c6d8","is_valid_coordinates":true} 
[2026-04-26 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964404992001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114846433357594624,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765059240823171072,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777204708000,"timestamp_ms":1777204708000,"timestamp_seconds":1777204708,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a7c2a0"} 
[2026-04-26 17:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 17:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":55622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":55622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":55622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964404992001,"66":13928,"106":206,"83":41984,"24":23,"16":114846433357594624,"45":1765059240823171072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964404992001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:29:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114846433357594624,"km_value":114846433357594.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765059240823171072,"description":"Unknown IO ID 45"} 
[2026-04-26 17:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964404992001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1765059240823171072}} 
[2026-04-26 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":55622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:29:12] local.INFO: GPS data processed {"connection_id":55622,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:29:12] local.INFO: Acknowledgment sent {"connection_id":55622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:29:13] local.INFO: TCP Data received {"connection_id":55623,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:29:13] local.INFO: Processing buffer {"connection_id":55623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:29:13] local.INFO: IMEI packet received {"connection_id":55623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":55623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:29:19] local.INFO: TCP Data received {"connection_id":55623,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:29:19] local.INFO: Processing buffer {"connection_id":55623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:29:19] local.INFO: IMEI packet received {"connection_id":55623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":55623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:29:20] local.INFO: TCP Data received {"connection_id":55623,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:29:20] local.INFO: Processing buffer {"connection_id":55623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:29:20] local.INFO: Packet analysis {"connection_id":55623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:29:20] local.INFO: Extracted packet for processing {"connection_id":55623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:29:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:29: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-04-26 17: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-04-26 17:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:29: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-04-26 17:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:29:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:29:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:29:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":55623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:29:20] local.INFO: GPS data processed {"connection_id":55623,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:29:20] local.INFO: Acknowledgment sent {"connection_id":55623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:29:27] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:27] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:27] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:29:29] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:29] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:29] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:29:36] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:36] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:29:36] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:29:37] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a7ca70012d187f000720c1d8002e00a624..."} 
[2026-04-26 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a7ca70012d187f000720c1d8002e00a624..."} 
[2026-04-26 17:29:37] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a7ca70012d187f000720c1d8002e00a624..."} 
[2026-04-26 17:29:37] local.INFO: Packet analysis {"connection_id":54877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a7"} 
[2026-04-26 17:29:37] local.INFO: Extracted packet for processing {"connection_id":54877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a7"} 
[2026-04-26 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":756580096,"raw_latitude":119587288,"longitude_deg":75.6580096,"latitude_deg":11.9587288,"altitude":46,"angle":166,"satellites":36,"speed":26,"hex_longitude":"2d187f00","hex_latitude":"0720c1d8","is_valid_coordinates":true} 
[2026-04-26 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964405248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114846493487136768,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765059240823019520,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777204710000,"timestamp_ms":1777204710000,"timestamp_seconds":1777204710,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a7ca70"} 
[2026-04-26 17:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:29:37] 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-04-26 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 17:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:29:37] 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-04-26 17:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964405248001,"66":14004,"106":206,"83":41984,"24":26,"16":114846493487136768,"45":1765059240823019520},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964405248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:29:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:29:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114846493487136768,"km_value":114846493487136.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765059240823019520,"description":"Unknown IO ID 45"} 
[2026-04-26 17:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964405248001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1765059240823019520}} 
[2026-04-26 17:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":54877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:29:37] local.INFO: GPS data processed {"connection_id":54877,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:29:37] local.INFO: Acknowledgment sent {"connection_id":54877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:29:51] local.INFO: TCP Data received {"connection_id":55623,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:29:51] local.INFO: Processing buffer {"connection_id":55623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:29:51] local.INFO: Packet analysis {"connection_id":55623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:29:51] local.INFO: Extracted packet for processing {"connection_id":55623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:29:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:29:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":55623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:29:51] local.INFO: GPS data processed {"connection_id":55623,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:29:51] local.INFO: Acknowledgment sent {"connection_id":55623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:30:08] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a8a148012d18b8c0072092180021006227..."} 
[2026-04-26 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a8a148012d18b8c0072092180021006227..."} 
[2026-04-26 17:30:08] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a8a148012d18b8c0072092180021006227..."} 
[2026-04-26 17:30:08] local.INFO: Packet analysis {"connection_id":54877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:08] local.INFO: Extracted packet for processing {"connection_id":54877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756594880,"raw_latitude":119575064,"longitude_deg":75.659488,"latitude_deg":11.9575064,"altitude":33,"angle":98,"satellites":39,"speed":11,"hex_longitude":"2d18b8c0","hex_latitude":"07209218","is_valid_coordinates":true} 
[2026-04-26 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964419072001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847837811900416,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780329258306113536,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777204765000,"timestamp_ms":1777204765000,"timestamp_seconds":1777204765,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a8a148"} 
[2026-04-26 17:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 17:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:08] 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-04-26 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964419072001,"66":14407,"106":206,"83":41984,"24":11,"16":114847837811900416,"45":1780329258306113536},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964419072001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847837811900416,"km_value":114847837811900.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780329258306113536,"description":"Unknown IO ID 45"} 
[2026-04-26 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964419072001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1780329258306113536}} 
[2026-04-26 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":54877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:30:09] local.INFO: GPS data processed {"connection_id":54877,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:30:09] local.INFO: Acknowledgment sent {"connection_id":54877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:30:19] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:30:19] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:30:19] local.INFO: IMEI packet received {"connection_id":54878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":54878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:30:24] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:30:24] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:30:24] local.INFO: IMEI packet received {"connection_id":54878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":54878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:30:29] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:30:29] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:30:29] local.INFO: Packet analysis {"connection_id":54878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:30:29] local.INFO: Extracted packet for processing {"connection_id":54878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":54878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:30:29] local.INFO: GPS data processed {"connection_id":54878,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:30:29] local.INFO: Acknowledgment sent {"connection_id":54878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:30:29] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:29] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:29] local.INFO: IMEI packet received {"connection_id":54958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":54958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:30:29] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:30:29] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a56cf8012cb299c007822ce0004d001229..."} 
[2026-04-26 17:30:29] local.INFO: Packet analysis {"connection_id":54878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:30:29] local.INFO: Extracted packet for processing {"connection_id":54878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a5"} 
[2026-04-26 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964289024001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777204555000,"timestamp_ms":1777204555000,"timestamp_seconds":1777204555,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a56cf8"} 
[2026-04-26 17:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964289024001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964289024001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964289024001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":54878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:30:29] local.INFO: GPS data processed {"connection_id":54878,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:30:29] local.INFO: Acknowledgment sent {"connection_id":54878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:30:32] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:32] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:32] local.INFO: IMEI packet received {"connection_id":54958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":54958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:30:35] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:35] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:30:35] local.INFO: IMEI packet received {"connection_id":54958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":54958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:30:36] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a8a530012d18b980072091800020007e27..."} 
[2026-04-26 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a8a530012d18b980072091800020007e27..."} 
[2026-04-26 17:30:36] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a8a530012d18b980072091800020007e27..."} 
[2026-04-26 17:30:36] local.INFO: Packet analysis {"connection_id":54958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:36] local.INFO: Extracted packet for processing {"connection_id":54958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756595072,"raw_latitude":119574912,"longitude_deg":75.6595072,"latitude_deg":11.9574912,"altitude":32,"angle":126,"satellites":39,"speed":10,"hex_longitude":"2d18b980","hex_latitude":"07209180","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964419840001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847850696802304,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781384789468780544,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777204766000,"timestamp_ms":1777204766000,"timestamp_seconds":1777204766,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a8a530"} 
[2026-04-26 17:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-26 17:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:36] 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-04-26 17:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964419840001,"66":14265,"106":206,"83":41984,"24":10,"16":114847850696802304,"45":1781384789468780544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964419840001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:30:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847850696802304,"km_value":114847850696802.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781384789468780544,"description":"Unknown IO ID 45"} 
[2026-04-26 17:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964419840001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1781384789468780544}} 
[2026-04-26 17:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":54958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:30:36] local.INFO: GPS data processed {"connection_id":54958,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:30:36] local.INFO: Acknowledgment sent {"connection_id":54958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:30:37] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a8ad00012d18bb0007208ff80020009129..."} 
[2026-04-26 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a8ad00012d18bb0007208ff80020009129..."} 
[2026-04-26 17:30:37] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a8ad00012d18bb0007208ff80020009129..."} 
[2026-04-26 17:30:37] local.INFO: Packet analysis {"connection_id":54958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:37] local.INFO: Extracted packet for processing {"connection_id":54958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756595456,"raw_latitude":119574520,"longitude_deg":75.6595456,"latitude_deg":11.957452,"altitude":32,"angle":145,"satellites":41,"speed":11,"hex_longitude":"2d18bb00","hex_latitude":"07208ff8","is_valid_coordinates":true} 
[2026-04-26 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964420096001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847880761573376,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781595895701274624,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777204768000,"timestamp_ms":1777204768000,"timestamp_seconds":1777204768,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a8ad00"} 
[2026-04-26 17:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:30:37] 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-04-26 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 17:30:37] 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-04-26 17:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:37] 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-04-26 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964420096001,"66":14396,"106":206,"83":41984,"24":11,"16":114847880761573376,"45":1781595895701274624},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964420096001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:30:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847880761573376,"km_value":114847880761573.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781595895701274624,"description":"Unknown IO ID 45"} 
[2026-04-26 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964420096001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1781595895701274624}} 
[2026-04-26 17:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":54958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:30:37] local.INFO: GPS data processed {"connection_id":54958,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:30:37] local.INFO: Acknowledgment sent {"connection_id":54958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:30:43] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a8c088012d18be0007208ac8001e009d29..."} 
[2026-04-26 17:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a8c088012d18be0007208ac8001e009d29..."} 
[2026-04-26 17:30:43] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a8c088012d18be0007208ac8001e009d29..."} 
[2026-04-26 17:30:43] local.INFO: Packet analysis {"connection_id":54958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:43] local.INFO: Extracted packet for processing {"connection_id":54958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a8"} 
[2026-04-26 17:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119573192,"longitude_deg":75.6596224,"latitude_deg":11.9573192,"altitude":30,"angle":157,"satellites":41,"speed":10,"hex_longitude":"2d18be00","hex_latitude":"07208ac8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964420608001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114847953776017408,"note":"Value kept but may cause issues"} 
[2026-04-26 17:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782018108166240256,"note":"Value kept but may cause issues"} 
[2026-04-26 17: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-04-26 17:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777204773000,"timestamp_ms":1777204773000,"timestamp_seconds":1777204773,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a8c088"} 
[2026-04-26 17:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 17:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:30:43] 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-04-26 17:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964420608001,"66":13580,"106":206,"83":41984,"24":10,"16":114847953776017408,"45":1782018108166240256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964420608001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:30:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:30:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114847953776017408,"km_value":114847953776017.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782018108166240256,"description":"Unknown IO ID 45"} 
[2026-04-26 17:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964420608001,"power":13580,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1782018108166240256}} 
[2026-04-26 17:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":54958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:30:43] local.INFO: GPS data processed {"connection_id":54958,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:30:43] local.INFO: Acknowledgment sent {"connection_id":54958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:31:10] local.INFO: TCP Data received {"connection_id":55624,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:31:10] local.INFO: Processing buffer {"connection_id":55624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:31:10] local.INFO: IMEI packet received {"connection_id":55624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":55624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:31:14] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:14] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:14] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:31:25] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:25] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:25] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:31:25] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:25] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:25] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:31:27] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:31:27] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:31:27] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:31:29] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:29] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:31:29] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:31:30] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:31:31] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:31:31] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:31:36] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a97820012d18db8007205a380020009828..."} 
[2026-04-26 17:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a97820012d18db8007205a380020009828..."} 
[2026-04-26 17:31:36] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a97820012d18db8007205a380020009828..."} 
[2026-04-26 17:31:36] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a9"} 
[2026-04-26 17:31:36] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a9"} 
[2026-04-26 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119560760,"longitude_deg":75.6603776,"latitude_deg":11.956076,"altitude":32,"angle":152,"satellites":40,"speed":12,"hex_longitude":"2d18db80","hex_latitude":"07205a38","is_valid_coordinates":true} 
[2026-04-26 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964433664001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114848692510392320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307417530368,"note":"Value kept but may cause issues"} 
[2026-04-26 17:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777204820000,"timestamp_ms":1777204820000,"timestamp_seconds":1777204820,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a97820"} 
[2026-04-26 17:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:31:36] 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-04-26 17:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964433664001,"66":14374,"106":206,"83":41984,"24":12,"16":114848692510392320,"45":1791025307417530368},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964433664001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:31:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114848692510392320,"km_value":114848692510392.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307417530368,"description":"Unknown IO ID 45"} 
[2026-04-26 17:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964433664001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791025307417530368}} 
[2026-04-26 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:31:36] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:31:36] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:31:44] local.INFO: TCP Data received {"connection_id":54702,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:31:44] local.INFO: Processing buffer {"connection_id":54702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:31:44] local.INFO: IMEI packet received {"connection_id":54702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":54702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:32:07] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a97ff0012d18dc8007205800002000a528..."} 
[2026-04-26 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a97ff0012d18dc8007205800002000a528..."} 
[2026-04-26 17:32:07] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a97ff0012d18dc8007205800002000a528..."} 
[2026-04-26 17:32:07] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a9"} 
[2026-04-26 17:32:07] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a9"} 
[2026-04-26 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119560192,"longitude_deg":75.6604032,"latitude_deg":11.9560192,"altitude":32,"angle":165,"satellites":40,"speed":10,"hex_longitude":"2d18dc80","hex_latitude":"07205800","is_valid_coordinates":true} 
[2026-04-26 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964433920001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114848722575163392,"note":"Value kept but may cause issues"} 
[2026-04-26 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044905814016,"note":"Value kept but may cause issues"} 
[2026-04-26 17:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777204822000,"timestamp_ms":1777204822000,"timestamp_seconds":1777204822,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a97ff0"} 
[2026-04-26 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 17:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:32:07] 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-04-26 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964433920001,"66":14374,"106":206,"83":41984,"24":10,"16":114848722575163392,"45":1791166044905814016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964433920001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:32:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114848722575163392,"km_value":114848722575163.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044905814016,"description":"Unknown IO ID 45"} 
[2026-04-26 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964433920001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1791166044905814016}} 
[2026-04-26 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:32:07] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:32:07] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:32:32] local.INFO: TCP Data received {"connection_id":54703,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:32:32] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:32:32] local.INFO: IMEI packet received {"connection_id":54703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":54703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:32:37] local.INFO: TCP Data received {"connection_id":54703,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:32:37] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:32:37] local.INFO: IMEI packet received {"connection_id":54703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":54703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:32:40] local.INFO: TCP Data received {"connection_id":54703,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9a987c0012d18dcc0072055d0002100b229..."} 
[2026-04-26 17:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9a987c0012d18dcc0072055d0002100b229..."} 
[2026-04-26 17:32:40] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9a987c0012d18dcc0072055d0002100b229..."} 
[2026-04-26 17:32:40] local.INFO: Packet analysis {"connection_id":54703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9a9"} 
[2026-04-26 17:32:40] local.INFO: Extracted packet for processing {"connection_id":54703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9a9"} 
[2026-04-26 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":756604096,"raw_latitude":119559632,"longitude_deg":75.6604096,"latitude_deg":11.9559632,"altitude":33,"angle":178,"satellites":41,"speed":13,"hex_longitude":"2d18dcc0","hex_latitude":"072055d0","is_valid_coordinates":true} 
[2026-04-26 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964434432001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114848752639934464,"note":"Value kept but may cause issues"} 
[2026-04-26 17:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519882379264,"note":"Value kept but may cause issues"} 
[2026-04-26 17:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777204824000,"timestamp_ms":1777204824000,"timestamp_seconds":1777204824,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9a987c0"} 
[2026-04-26 17:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 17:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:32:40] 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-04-26 17:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964434432001,"66":14265,"106":206,"83":41984,"24":13,"16":114848752639934464,"45":1791447519882379264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964434432001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:32:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:32:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114848752639934464,"km_value":114848752639934.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519882379264,"description":"Unknown IO ID 45"} 
[2026-04-26 17:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964434432001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1791447519882379264}} 
[2026-04-26 17:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":54703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:32:40] local.INFO: GPS data processed {"connection_id":54703,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:32:40] local.INFO: Acknowledgment sent {"connection_id":54703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:33:11] local.INFO: TCP Data received {"connection_id":54703,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ab25d0012d18db8007201af0002b008028..."} 
[2026-04-26 17:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ab25d0012d18db8007201af0002b008028..."} 
[2026-04-26 17:33:11] local.INFO: Processing buffer {"connection_id":54703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ab25d0012d18db8007201af0002b008028..."} 
[2026-04-26 17:33:11] local.INFO: Packet analysis {"connection_id":54703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ab"} 
[2026-04-26 17:33:11] local.INFO: Extracted packet for processing {"connection_id":54703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ab"} 
[2026-04-26 17:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119544560,"longitude_deg":75.6603776,"latitude_deg":11.954456,"altitude":43,"angle":128,"satellites":40,"speed":6,"hex_longitude":"2d18db80","hex_latitude":"07201af0","is_valid_coordinates":true} 
[2026-04-26 17:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964461824001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114849598748491776,"note":"Value kept but may cause issues"} 
[2026-04-26 17:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791095676157519872,"note":"Value kept but may cause issues"} 
[2026-04-26 17:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777204930000,"timestamp_ms":1777204930000,"timestamp_seconds":1777204930,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ab25d0"} 
[2026-04-26 17:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 17:33:11] 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-04-26 17:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964461824001,"66":13917,"106":206,"83":41984,"24":6,"16":114849598748491776,"45":1791095676157519872},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964461824001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114849598748491776,"km_value":114849598748491.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791095676157519872,"description":"Unknown IO ID 45"} 
[2026-04-26 17:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964461824001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1791095676157519872}} 
[2026-04-26 17:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":54703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:33:11] local.INFO: GPS data processed {"connection_id":54703,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:33:11] local.INFO: Acknowledgment sent {"connection_id":54703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:33:26] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:27] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:27] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:33:27] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:27] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:27] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:33:28] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:28] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:28] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:33:28] local.INFO: TCP Data received {"connection_id":54706,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:28] local.INFO: Processing buffer {"connection_id":54706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:33:28] local.INFO: IMEI packet received {"connection_id":54706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":54706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:36:34] local.INFO: TCP Data received {"connection_id":55627,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:36:34] local.INFO: Processing buffer {"connection_id":55627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:36:34] local.INFO: IMEI packet received {"connection_id":55627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":55627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:36:49] local.INFO: TCP Data received {"connection_id":55627,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aa08a8012cb299c007822ce0004b001229..."} 
[2026-04-26 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aa08a8012cb299c007822ce0004b001229..."} 
[2026-04-26 17:36:49] local.INFO: Processing buffer {"connection_id":55627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aa08a8012cb299c007822ce0004b001229..."} 
[2026-04-26 17:36:49] local.INFO: Packet analysis {"connection_id":55627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9aa"} 
[2026-04-26 17:36:49] local.INFO: Extracted packet for processing {"connection_id":55627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9aa"} 
[2026-04-26 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964366080001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:36:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777204857000,"timestamp_ms":1777204857000,"timestamp_seconds":1777204857,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aa08a8"} 
[2026-04-26 17:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:36:49] 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-04-26 17:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:36:49] 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-04-26 17:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964366080001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964366080001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:36:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:36:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:36:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964366080001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":55627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:36:49] local.INFO: GPS data processed {"connection_id":55627,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:36:49] local.INFO: Acknowledgment sent {"connection_id":55627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:37:14] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:37:15] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:37:15] local.INFO: IMEI packet received {"connection_id":54964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":54964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:37:19] local.INFO: TCP Data received {"connection_id":55628,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:37:19] local.INFO: Processing buffer {"connection_id":55628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:37:19] local.INFO: IMEI packet received {"connection_id":55628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":55628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:37:24] local.INFO: TCP Data received {"connection_id":55628,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:37:24] local.INFO: Processing buffer {"connection_id":55628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:37:24] local.INFO: IMEI packet received {"connection_id":55628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":55628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:37:24] local.INFO: TCP Data received {"connection_id":55628,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:37:24] local.INFO: Processing buffer {"connection_id":55628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:37:24] local.INFO: Packet analysis {"connection_id":55628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:37:24] local.INFO: Extracted packet for processing {"connection_id":55628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:37:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:37:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:37:24] 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-04-26 17: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-04-26 17:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:37:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:37:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":55628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:37:24] local.INFO: GPS data processed {"connection_id":55628,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:37:24] local.INFO: Acknowledgment sent {"connection_id":55628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:37:29] local.INFO: TCP Data received {"connection_id":55628,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:37:29] local.INFO: Processing buffer {"connection_id":55628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:37:29] local.INFO: Packet analysis {"connection_id":55628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:37:29] local.INFO: Extracted packet for processing {"connection_id":55628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:37:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:37:29] 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-04-26 17:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:37:29] 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-04-26 17:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:37:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":55628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:37:29] local.INFO: GPS data processed {"connection_id":55628,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:37:29] local.INFO: Acknowledgment sent {"connection_id":55628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:37:39] local.INFO: TCP Data received {"connection_id":54709,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:37:39] local.INFO: Processing buffer {"connection_id":54709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:37:39] local.INFO: IMEI packet received {"connection_id":54709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":54709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:38:14] local.INFO: TCP Data received {"connection_id":55629,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:38:14] local.INFO: Processing buffer {"connection_id":55629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:38:14] local.INFO: IMEI packet received {"connection_id":55629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":55629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:38:19] local.INFO: TCP Data received {"connection_id":55629,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:38:19] local.INFO: Processing buffer {"connection_id":55629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:38:19] local.INFO: IMEI packet received {"connection_id":55629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":55629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:38:19] local.INFO: TCP Data received {"connection_id":55629,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:38:19] local.INFO: Processing buffer {"connection_id":55629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:38:19] local.INFO: Packet analysis {"connection_id":55629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:19] local.INFO: Extracted packet for processing {"connection_id":55629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:38:19] 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-04-26 17:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":55629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:38:19] local.INFO: GPS data processed {"connection_id":55629,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:38:19] local.INFO: Acknowledgment sent {"connection_id":55629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:38:32] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:32] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:32] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:38:33] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:33] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:33] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:38:37] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:37] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:38:37] local.INFO: IMEI packet received {"connection_id":54710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":54710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:38:41] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ae7960012d1927c0072009000032007626..."} 
[2026-04-26 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ae7960012d1927c0072009000032007626..."} 
[2026-04-26 17:38:41] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ae7960012d1927c0072009000032007626..."} 
[2026-04-26 17:38:41] local.INFO: Packet analysis {"connection_id":54710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:41] local.INFO: Extracted packet for processing {"connection_id":54710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":38,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:38: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-04-26 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964512512001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38: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-04-26 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777205148000,"timestamp_ms":1777205148000,"timestamp_seconds":1777205148,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ae7960"} 
[2026-04-26 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-26 17:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:38: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-04-26 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":54710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:38:41] 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-04-26 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964512512001,"66":12863,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964512512001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:38:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:38:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964512512001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":54710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:38:41] local.INFO: GPS data processed {"connection_id":54710,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:38:41] local.INFO: Acknowledgment sent {"connection_id":54710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:38:42] local.INFO: TCP Data received {"connection_id":54710,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aecb68012d1927c0072009000032007626..."} 
[2026-04-26 17:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aecb68012d1927c0072009000032007626..."} 
[2026-04-26 17:38:42] local.INFO: Processing buffer {"connection_id":54710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aecb68012d1927c0072009000032007626..."} 
[2026-04-26 17:38:42] local.INFO: Packet analysis {"connection_id":54710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:42] local.INFO: Extracted packet for processing {"connection_id":54710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":38,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964517888001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777205169000,"timestamp_ms":1777205169000,"timestamp_seconds":1777205169,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aecb68"} 
[2026-04-26 17:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:38:42] 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-04-26 17:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-26 17:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:38:42] 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-04-26 17:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964517888001,"66":12863,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964517888001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964517888001,"power":12863,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":54710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:38:42] local.INFO: GPS data processed {"connection_id":54710,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:38:42] local.INFO: Acknowledgment sent {"connection_id":54710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:38:53] local.INFO: TCP Data received {"connection_id":55629,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:38:53] local.INFO: Processing buffer {"connection_id":55629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:38:53] local.INFO: Packet analysis {"connection_id":55629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:53] local.INFO: Extracted packet for processing {"connection_id":55629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:38:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:38:53] 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-04-26 17:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:38: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-04-26 17:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:38:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:38:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:38:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":55629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:38:53] local.INFO: GPS data processed {"connection_id":55629,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:38:53] local.INFO: Acknowledgment sent {"connection_id":55629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:39:13] local.INFO: TCP Data received {"connection_id":54966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:39:13] local.INFO: Processing buffer {"connection_id":54966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:39:13] local.INFO: IMEI packet received {"connection_id":54966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":54966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:39:19] local.INFO: TCP Data received {"connection_id":54966,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:39:19] local.INFO: Processing buffer {"connection_id":54966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:39:19] local.INFO: IMEI packet received {"connection_id":54966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":54966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:39:20] local.INFO: TCP Data received {"connection_id":54966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:39:20] local.INFO: Processing buffer {"connection_id":54966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:39:20] local.INFO: Packet analysis {"connection_id":54966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:39:20] local.INFO: Extracted packet for processing {"connection_id":54966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:39:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:39:20] 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-04-26 17: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-04-26 17:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:39:20] 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-04-26 17:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:39:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:39:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:39:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":54966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:39:20] local.INFO: GPS data processed {"connection_id":54966,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:39:20] local.INFO: Acknowledgment sent {"connection_id":54966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:39:27] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:39:27] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:39:27] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:39:32] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:39:32] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:39:32] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:39:33] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9af1d70012d1927c0072009000032007626..."} 
[2026-04-26 17:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9af1d70012d1927c0072009000032007626..."} 
[2026-04-26 17:39:33] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9af1d70012d1927c0072009000032007626..."} 
[2026-04-26 17:39:33] local.INFO: Packet analysis {"connection_id":54881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9af"} 
[2026-04-26 17:39:33] local.INFO: Extracted packet for processing {"connection_id":54881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9af"} 
[2026-04-26 17:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":38,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964523264001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205190000,"timestamp_ms":1777205190000,"timestamp_seconds":1777205190,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9af1d70"} 
[2026-04-26 17:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:39:33] 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-04-26 17:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-26 17:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964523264001,"66":12841,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964523264001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:39:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964523264001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":54881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:39:33] local.INFO: GPS data processed {"connection_id":54881,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:39:33] local.INFO: Acknowledgment sent {"connection_id":54881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:39:51] local.INFO: TCP Data received {"connection_id":54966,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:39:51] local.INFO: Processing buffer {"connection_id":54966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:39:51] local.INFO: Packet analysis {"connection_id":54966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:39:51] local.INFO: Extracted packet for processing {"connection_id":54966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:39:51] 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-04-26 17: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-04-26 17:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:39:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":54966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:39:51] local.INFO: GPS data processed {"connection_id":54966,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:39:51] local.INFO: Acknowledgment sent {"connection_id":54966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:40:04] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9af6f78012d1927c0072009000032007627..."} 
[2026-04-26 17:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9af6f78012d1927c0072009000032007627..."} 
[2026-04-26 17:40:04] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9af6f78012d1927c0072009000032007627..."} 
[2026-04-26 17:40:04] local.INFO: Packet analysis {"connection_id":54881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9af"} 
[2026-04-26 17:40:04] local.INFO: Extracted packet for processing {"connection_id":54881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9af"} 
[2026-04-26 17:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964528640001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777205211000,"timestamp_ms":1777205211000,"timestamp_seconds":1777205211,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9af6f78"} 
[2026-04-26 17:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:40:04] 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-04-26 17:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 17:40:04] 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-04-26 17:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:40:04] 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-04-26 17:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964528640001,"66":12841,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964528640001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:40:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:40:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964528640001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":54881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:40:05] local.INFO: GPS data processed {"connection_id":54881,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:40:05] local.INFO: Acknowledgment sent {"connection_id":54881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:40:19] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:40:19] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:40:19] local.INFO: IMEI packet received {"connection_id":54712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":54712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:40:24] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:40:24] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:40:24] local.INFO: IMEI packet received {"connection_id":54712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":54712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:40:24] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:40:24] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:40:24] local.INFO: Packet analysis {"connection_id":54712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:40:24] local.INFO: Extracted packet for processing {"connection_id":54712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:40:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:40:24] 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-04-26 17:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:40:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:40:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:40:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":54712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:40:24] local.INFO: GPS data processed {"connection_id":54712,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:40:24] local.INFO: Acknowledgment sent {"connection_id":54712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:40:27] local.INFO: TCP Data received {"connection_id":55630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:40:27] local.INFO: Processing buffer {"connection_id":55630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:40:27] local.INFO: IMEI packet received {"connection_id":55630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":55630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:40:28] local.INFO: TCP Data received {"connection_id":54712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:40:28] local.INFO: Processing buffer {"connection_id":54712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:40:28] local.INFO: Packet analysis {"connection_id":54712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:40:28] local.INFO: Extracted packet for processing {"connection_id":54712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:40:28] 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-04-26 17:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:40:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":54712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:40:28] local.INFO: GPS data processed {"connection_id":54712,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:40:28] local.INFO: Acknowledgment sent {"connection_id":54712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:40:32] local.INFO: TCP Data received {"connection_id":55630,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:40:32] local.INFO: Processing buffer {"connection_id":55630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:40:32] local.INFO: IMEI packet received {"connection_id":55630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":55630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:40:33] local.INFO: TCP Data received {"connection_id":55630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9afc180012d1927c0072009000032007625..."} 
[2026-04-26 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9afc180012d1927c0072009000032007625..."} 
[2026-04-26 17:40:33] local.INFO: Processing buffer {"connection_id":55630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9afc180012d1927c0072009000032007625..."} 
[2026-04-26 17:40:33] local.INFO: Packet analysis {"connection_id":55630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9af"} 
[2026-04-26 17:40:33] local.INFO: Extracted packet for processing {"connection_id":55630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9af"} 
[2026-04-26 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":37,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964534016001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205232000,"timestamp_ms":1777205232000,"timestamp_seconds":1777205232,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9afc180"} 
[2026-04-26 17:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 17:40:33] 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-04-26 17:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964534016001,"66":12798,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964534016001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964534016001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":55630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:40:33] local.INFO: GPS data processed {"connection_id":55630,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:40:33] local.INFO: Acknowledgment sent {"connection_id":55630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:41:04] local.INFO: TCP Data received {"connection_id":55630,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b01388012d1927c0072009000032007626..."} 
[2026-04-26 17:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b01388012d1927c0072009000032007626..."} 
[2026-04-26 17:41:04] local.INFO: Processing buffer {"connection_id":55630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b01388012d1927c0072009000032007626..."} 
[2026-04-26 17:41:04] local.INFO: Packet analysis {"connection_id":55630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b0"} 
[2026-04-26 17:41:04] local.INFO: Extracted packet for processing {"connection_id":55630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b0"} 
[2026-04-26 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":38,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964539392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777205253000,"timestamp_ms":1777205253000,"timestamp_seconds":1777205253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b01388"} 
[2026-04-26 17:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-26 17:41:04] 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-04-26 17:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:41:04] 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-04-26 17:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964539392001,"66":12743,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964539392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:41:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964539392001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":55630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:41:04] local.INFO: GPS data processed {"connection_id":55630,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:41:04] local.INFO: Acknowledgment sent {"connection_id":55630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:41:14] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:41:14] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:41:14] local.INFO: IMEI packet received {"connection_id":54713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":54713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:41:19] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:41:19] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:41:19] local.INFO: IMEI packet received {"connection_id":54713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":54713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:41:19] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:41:19] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9aea070012cb299c007822ce0004c001229..."} 
[2026-04-26 17:41:19] local.INFO: Packet analysis {"connection_id":54713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:41:19] local.INFO: Extracted packet for processing {"connection_id":54713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ae"} 
[2026-04-26 17:41:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:41: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-04-26 17:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964443392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205158000,"timestamp_ms":1777205158000,"timestamp_seconds":1777205158,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9aea070"} 
[2026-04-26 17:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:41: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 17:41:19] 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-04-26 17:41: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-04-26 17:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964443392001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964443392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:41:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964443392001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":54713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:41:19] local.INFO: GPS data processed {"connection_id":54713,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:41:19] local.INFO: Acknowledgment sent {"connection_id":54713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:41:27] local.INFO: TCP Data received {"connection_id":54714,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:41:27] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:41:27] local.INFO: IMEI packet received {"connection_id":54714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":54714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:41:32] local.INFO: TCP Data received {"connection_id":54714,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:41:32] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:41:32] local.INFO: IMEI packet received {"connection_id":54714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":54714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:41:33] local.INFO: TCP Data received {"connection_id":54714,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b06590012d1927c0072009000032007626..."} 
[2026-04-26 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b06590012d1927c0072009000032007626..."} 
[2026-04-26 17:41:33] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b06590012d1927c0072009000032007626..."} 
[2026-04-26 17:41:33] local.INFO: Packet analysis {"connection_id":54714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b0"} 
[2026-04-26 17:41:33] local.INFO: Extracted packet for processing {"connection_id":54714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b0"} 
[2026-04-26 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":38,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964544768001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205274000,"timestamp_ms":1777205274000,"timestamp_seconds":1777205274,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b06590"} 
[2026-04-26 17:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-26 17:41:33] 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-04-26 17:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964544768001,"66":12776,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964544768001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:41:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964544768001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":54714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:41:33] local.INFO: GPS data processed {"connection_id":54714,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:41:33] local.INFO: Acknowledgment sent {"connection_id":54714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:41:50] local.INFO: TCP Data received {"connection_id":54713,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:41:50] local.INFO: Processing buffer {"connection_id":54713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:41:50] local.INFO: Packet analysis {"connection_id":54713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:41:50] local.INFO: Extracted packet for processing {"connection_id":54713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:41:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:41:50] 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-04-26 17:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:41:50] 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-04-26 17:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:41:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":54713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:41:50] local.INFO: GPS data processed {"connection_id":54713,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:41:50] local.INFO: Acknowledgment sent {"connection_id":54713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:42:04] local.INFO: TCP Data received {"connection_id":54714,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b0b798012d1927c0072009000032007624..."} 
[2026-04-26 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b0b798012d1927c0072009000032007624..."} 
[2026-04-26 17:42:04] local.INFO: Processing buffer {"connection_id":54714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b0b798012d1927c0072009000032007624..."} 
[2026-04-26 17:42:04] local.INFO: Packet analysis {"connection_id":54714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b0"} 
[2026-04-26 17:42:04] local.INFO: Extracted packet for processing {"connection_id":54714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b0"} 
[2026-04-26 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":36,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964550144001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777205295000,"timestamp_ms":1777205295000,"timestamp_seconds":1777205295,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b0b798"} 
[2026-04-26 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 17:42:04] 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-04-26 17: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-04-26 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:42:04] 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-04-26 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964550144001,"66":12776,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964550144001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964550144001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":54714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:42:04] local.INFO: GPS data processed {"connection_id":54714,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:42:04] local.INFO: Acknowledgment sent {"connection_id":54714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:42:14] local.INFO: TCP Data received {"connection_id":54883,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:14] local.INFO: Processing buffer {"connection_id":54883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:14] local.INFO: IMEI packet received {"connection_id":54883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":54883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:42:18] local.INFO: TCP Data received {"connection_id":54883,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:18] local.INFO: Processing buffer {"connection_id":54883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:18] local.INFO: IMEI packet received {"connection_id":54883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":54883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:42:24] local.INFO: TCP Data received {"connection_id":54883,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:24] local.INFO: Processing buffer {"connection_id":54883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:42:24] local.INFO: IMEI packet received {"connection_id":54883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":54883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:42:24] local.INFO: TCP Data received {"connection_id":54883,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:42:24] local.INFO: Processing buffer {"connection_id":54883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:42:24] local.INFO: Packet analysis {"connection_id":54883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:42:24] local.INFO: Extracted packet for processing {"connection_id":54883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:42:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:42:24] 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-04-26 17:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:42:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":54883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:42:24] local.INFO: GPS data processed {"connection_id":54883,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:42:24] local.INFO: Acknowledgment sent {"connection_id":54883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:42:27] local.INFO: TCP Data received {"connection_id":55631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:42:27] local.INFO: Processing buffer {"connection_id":55631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:42:27] local.INFO: IMEI packet received {"connection_id":55631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":55631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:42:32] local.INFO: TCP Data received {"connection_id":55631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:42:32] local.INFO: Processing buffer {"connection_id":55631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:42:32] local.INFO: IMEI packet received {"connection_id":55631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":55631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:42:33] local.INFO: TCP Data received {"connection_id":55631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b109a0012d1927c0072009000032007624..."} 
[2026-04-26 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b109a0012d1927c0072009000032007624..."} 
[2026-04-26 17:42:33] local.INFO: Processing buffer {"connection_id":55631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b109a0012d1927c0072009000032007624..."} 
[2026-04-26 17:42:33] local.INFO: Packet analysis {"connection_id":55631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b1"} 
[2026-04-26 17:42:33] local.INFO: Extracted packet for processing {"connection_id":55631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b1"} 
[2026-04-26 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":36,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964555520001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205316000,"timestamp_ms":1777205316000,"timestamp_seconds":1777205316,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b109a0"} 
[2026-04-26 17:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-26 17:42:33] 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-04-26 17: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-04-26 17:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964555520001,"66":12711,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964555520001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:42:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:42:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964555520001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":55631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:42:33] local.INFO: GPS data processed {"connection_id":55631,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:42:33] local.INFO: Acknowledgment sent {"connection_id":55631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:42:56] local.INFO: TCP Data received {"connection_id":54883,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:42:56] local.INFO: Processing buffer {"connection_id":54883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:42:56] local.INFO: Packet analysis {"connection_id":54883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:42:56] local.INFO: Extracted packet for processing {"connection_id":54883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:42:56] 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-04-26 17:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:42:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:42:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":54883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:42:56] local.INFO: GPS data processed {"connection_id":54883,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:42:56] local.INFO: Acknowledgment sent {"connection_id":54883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:43:04] local.INFO: TCP Data received {"connection_id":55631,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b15ba8012d1927c0072009000032007626..."} 
[2026-04-26 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b15ba8012d1927c0072009000032007626..."} 
[2026-04-26 17:43:04] local.INFO: Processing buffer {"connection_id":55631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b15ba8012d1927c0072009000032007626..."} 
[2026-04-26 17:43:04] local.INFO: Packet analysis {"connection_id":55631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b1"} 
[2026-04-26 17:43:04] local.INFO: Extracted packet for processing {"connection_id":55631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b1"} 
[2026-04-26 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":38,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964560896001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777205337000,"timestamp_ms":1777205337000,"timestamp_seconds":1777205337,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b15ba8"} 
[2026-04-26 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:43:04] 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-04-26 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-26 17:43:04] 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-04-26 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:43:04] 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-04-26 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964560896001,"66":12678,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964560896001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:43:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964560896001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":55631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:43:05] local.INFO: GPS data processed {"connection_id":55631,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:43:05] local.INFO: Acknowledgment sent {"connection_id":55631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:43:10] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:43:10] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:43:10] local.INFO: IMEI packet received {"connection_id":54884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":54884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:43:13] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:43:13] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:43:13] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:43:19] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:43:19] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:43:19] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:43:19] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:43:19] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:43:19] local.INFO: Packet analysis {"connection_id":54969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:43:19] local.INFO: Extracted packet for processing {"connection_id":54969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:43:19] 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-04-26 17: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-04-26 17:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:43:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":54969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:43:19] local.INFO: GPS data processed {"connection_id":54969,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:43:19] local.INFO: Acknowledgment sent {"connection_id":54969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:43:27] local.INFO: TCP Data received {"connection_id":55632,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:43:27] local.INFO: Processing buffer {"connection_id":55632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:43:27] local.INFO: IMEI packet received {"connection_id":55632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":55632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:43:32] local.INFO: TCP Data received {"connection_id":55632,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:43:32] local.INFO: Processing buffer {"connection_id":55632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:43:32] local.INFO: IMEI packet received {"connection_id":55632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":55632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:43:33] local.INFO: TCP Data received {"connection_id":55632,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b1adb0012d1927c0072009000032007627..."} 
[2026-04-26 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b1adb0012d1927c0072009000032007627..."} 
[2026-04-26 17:43:33] local.INFO: Processing buffer {"connection_id":55632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b1adb0012d1927c0072009000032007627..."} 
[2026-04-26 17:43:33] local.INFO: Packet analysis {"connection_id":55632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b1"} 
[2026-04-26 17:43:33] local.INFO: Extracted packet for processing {"connection_id":55632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b1"} 
[2026-04-26 17:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119539968,"longitude_deg":75.6623296,"latitude_deg":11.9539968,"altitude":50,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d1927c0","hex_latitude":"07200900","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964566272001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850651015479296,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511874678784,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205358000,"timestamp_ms":1777205358000,"timestamp_seconds":1777205358,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b1adb0"} 
[2026-04-26 17:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:43:33] 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-04-26 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-26 17:43:33] 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-04-26 17: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-04-26 17:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964566272001,"66":12722,"106":206,"83":41984,"24":0,"16":114850651015479296,"45":1812628511874678784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964566272001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:43:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850651015479296,"km_value":114850651015479.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511874678784,"description":"Unknown IO ID 45"} 
[2026-04-26 17:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964566272001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1812628511874678784}} 
[2026-04-26 17:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":55632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:43:33] local.INFO: GPS data processed {"connection_id":55632,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:43:33] local.INFO: Acknowledgment sent {"connection_id":55632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:43:44] local.INFO: TCP Data received {"connection_id":54715,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:43:44] local.INFO: Processing buffer {"connection_id":54715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:43:44] local.INFO: IMEI packet received {"connection_id":54715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":54715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:43:50] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:43:50] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:43:50] local.INFO: Packet analysis {"connection_id":54969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:43:50] local.INFO: Extracted packet for processing {"connection_id":54969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:43:50] 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-04-26 17:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:43:50] 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-04-26 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:43:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":54969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:43:50] local.INFO: GPS data processed {"connection_id":54969,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:43:50] local.INFO: Acknowledgment sent {"connection_id":54969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:44:04] local.INFO: TCP Data received {"connection_id":55632,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b55f00012d19290007200018002f008f23..."} 
[2026-04-26 17:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b55f00012d19290007200018002f008f23..."} 
[2026-04-26 17:44:04] local.INFO: Processing buffer {"connection_id":55632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b55f00012d19290007200018002f008f23..."} 
[2026-04-26 17:44:04] local.INFO: Packet analysis {"connection_id":55632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:44:04] local.INFO: Extracted packet for processing {"connection_id":55632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756623616,"raw_latitude":119537688,"longitude_deg":75.6623616,"latitude_deg":11.9537688,"altitude":47,"angle":143,"satellites":35,"speed":13,"hex_longitude":"2d192900","hex_latitude":"07200018","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964633344001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850766979596288,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812839618106695680,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777205600000,"timestamp_ms":1777205600000,"timestamp_seconds":1777205600,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b55f00"} 
[2026-04-26 17:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 17:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:44:04] 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-04-26 17:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964633344001,"66":13939,"106":206,"83":41984,"24":13,"16":114850766979596288,"45":1812839618106695680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964633344001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850766979596288,"km_value":114850766979596.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812839618106695680,"description":"Unknown IO ID 45"} 
[2026-04-26 17:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964633344001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1812839618106695680}} 
[2026-04-26 17:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":55632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:44:04] local.INFO: GPS data processed {"connection_id":55632,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:44:04] local.INFO: Acknowledgment sent {"connection_id":55632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:44:19] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:44:19] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:44:19] local.INFO: IMEI packet received {"connection_id":54716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:44:24] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:44:24] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:44:24] local.INFO: IMEI packet received {"connection_id":54716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":54716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:44:26] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:44:26] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:44:26] local.INFO: Packet analysis {"connection_id":54716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:44:26] local.INFO: Extracted packet for processing {"connection_id":54716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:44:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:44: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-04-26 17:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:44:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:44:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:44:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":54716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:44:26] local.INFO: GPS data processed {"connection_id":54716,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:44:26] local.INFO: Acknowledgment sent {"connection_id":54716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:44:28] local.INFO: TCP Data received {"connection_id":54716,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:44:28] local.INFO: Processing buffer {"connection_id":54716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:44:28] local.INFO: Packet analysis {"connection_id":54716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:44:28] local.INFO: Extracted packet for processing {"connection_id":54716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:44:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:44:28] 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-04-26 17:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:44:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":54716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:44:29] local.INFO: GPS data processed {"connection_id":54716,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:44:29] local.INFO: Acknowledgment sent {"connection_id":54716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:44:30] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:30] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:30] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:44:32] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:32] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:32] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:44:37] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:37] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:44:37] local.INFO: IMEI packet received {"connection_id":54717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":54717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:44:39] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b562e8012d192a40071fff20002f007e24..."} 
[2026-04-26 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b562e8012d192a40071fff20002f007e24..."} 
[2026-04-26 17:44:39] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b562e8012d192a40071fff20002f007e24..."} 
[2026-04-26 17:44:39] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:44:39] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":756623936,"raw_latitude":119537440,"longitude_deg":75.6623936,"latitude_deg":11.953744,"altitude":47,"angle":126,"satellites":36,"speed":14,"hex_longitude":"2d192a40","hex_latitude":"071fff20","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964633600001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850784159465472,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812980355594983424,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777205601000,"timestamp_ms":1777205601000,"timestamp_seconds":1777205601,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b562e8"} 
[2026-04-26 17:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:44:39] 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-04-26 17:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-26 17:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:44:39] 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-04-26 17:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964633600001,"66":13939,"106":206,"83":41984,"24":14,"16":114850784159465472,"45":1812980355594983424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964633600001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:44:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:44:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850784159465472,"km_value":114850784159465.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812980355594983424,"description":"Unknown IO ID 45"} 
[2026-04-26 17:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964633600001,"power":13939,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1812980355594983424}} 
[2026-04-26 17:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:44:39] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:44:39] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:44:40] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b56ab8012d192cc0071ffde80030006925..."} 
[2026-04-26 17:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b56ab8012d192cc0071ffde80030006925..."} 
[2026-04-26 17:44:40] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b56ab8012d192cc0071ffde80030006925..."} 
[2026-04-26 17:44:40] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:44:40] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":756624576,"raw_latitude":119537128,"longitude_deg":75.6624576,"latitude_deg":11.9537128,"altitude":48,"angle":105,"satellites":37,"speed":15,"hex_longitude":"2d192cc0","hex_latitude":"071ffde8","is_valid_coordinates":true} 
[2026-04-26 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964633856001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850822814171136,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813332199315808256,"note":"Value kept but may cause issues"} 
[2026-04-26 17:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777205603000,"timestamp_ms":1777205603000,"timestamp_seconds":1777205603,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b56ab8"} 
[2026-04-26 17:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-26 17:44:40] 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-04-26 17:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:44:40] 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-04-26 17:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964633856001,"66":13820,"106":206,"83":41984,"24":15,"16":114850822814171136,"45":1813332199315808256},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964633856001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:44:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:44:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850822814171136,"km_value":114850822814171.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813332199315808256,"description":"Unknown IO ID 45"} 
[2026-04-26 17:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964633856001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1813332199315808256}} 
[2026-04-26 17:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:44:40] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:44:40] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:45:13] local.INFO: TCP Data received {"connection_id":54717,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b58610012d1938c0071ffbe80031005a26..."} 
[2026-04-26 17:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b58610012d1938c0071ffbe80031005a26..."} 
[2026-04-26 17:45:13] local.INFO: Processing buffer {"connection_id":54717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b58610012d1938c0071ffbe80031005a26..."} 
[2026-04-26 17:45:13] local.INFO: Packet analysis {"connection_id":54717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:45:13] local.INFO: Extracted packet for processing {"connection_id":54717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756627648,"raw_latitude":119536616,"longitude_deg":75.6627648,"latitude_deg":11.9536616,"altitude":49,"angle":90,"satellites":38,"speed":20,"hex_longitude":"2d1938c0","hex_latitude":"071ffbe8","is_valid_coordinates":true} 
[2026-04-26 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964634368001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850968843059200,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1814035886757505024,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777205610000,"timestamp_ms":1777205610000,"timestamp_seconds":1777205610,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b58610"} 
[2026-04-26 17:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 17:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:45:13] 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-04-26 17:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964634368001,"66":13917,"106":206,"83":41984,"24":20,"16":114850968843059200,"45":1814035886757505024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964634368001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:45:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:45:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850968843059200,"km_value":114850968843059.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1814035886757505024,"description":"Unknown IO ID 45"} 
[2026-04-26 17:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964634368001,"power":13917,"unknown_106":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1814035886757505024}} 
[2026-04-26 17:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":54717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:45:13] local.INFO: GPS data processed {"connection_id":54717,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:45:13] local.INFO: Acknowledgment sent {"connection_id":54717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:45:13] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:45:14] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:45:14] local.INFO: IMEI packet received {"connection_id":54886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":54886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:45:19] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:45:19] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:45:19] local.INFO: IMEI packet received {"connection_id":54886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":54886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:45:19] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:45:20] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:45:20] local.INFO: Packet analysis {"connection_id":54886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:45:20] local.INFO: Extracted packet for processing {"connection_id":54886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:45:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:45: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-04-26 17: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-04-26 17:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:45:20] 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-04-26 17:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:45:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:45:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:45:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":54886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:45:20] local.INFO: GPS data processed {"connection_id":54886,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:45:20] local.INFO: Acknowledgment sent {"connection_id":54886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:45:27] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:45:27] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:45:27] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:45:32] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:45:32] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:45:32] local.INFO: IMEI packet received {"connection_id":54718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":54718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:45:34] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b5a550012d194940071ffc400034006528..."} 
[2026-04-26 17:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b5a550012d194940071ffc400034006528..."} 
[2026-04-26 17:45:34] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b5a550012d194940071ffc400034006528..."} 
[2026-04-26 17:45:34] local.INFO: Packet analysis {"connection_id":54718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:45:34] local.INFO: Extracted packet for processing {"connection_id":54718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b5"} 
[2026-04-26 17:45:34] local.INFO: GPS Element Parsed {"raw_longitude":756631872,"raw_latitude":119536704,"longitude_deg":75.6631872,"latitude_deg":11.9536704,"altitude":52,"angle":101,"satellites":40,"speed":16,"hex_longitude":"2d194940","hex_latitude":"071ffc40","is_valid_coordinates":true} 
[2026-04-26 17:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964636160001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114851170706522112,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817413586477901824,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777205618000,"timestamp_ms":1777205618000,"timestamp_seconds":1777205618,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b5a550"} 
[2026-04-26 17:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:45:34] 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-04-26 17:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-26 17:45:34] 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-04-26 17:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:45:34] 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-04-26 17:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964636160001,"66":13906,"106":206,"83":41984,"24":16,"16":114851170706522112,"45":1817413586477901824},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964636160001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:45:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:45:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114851170706522112,"km_value":114851170706522.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817413586477901824,"description":"Unknown IO ID 45"} 
[2026-04-26 17:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964636160001,"power":13906,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1817413586477901824}} 
[2026-04-26 17:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":54718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:45:34] local.INFO: GPS data processed {"connection_id":54718,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:45:34] local.INFO: Acknowledgment sent {"connection_id":54718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:45:51] local.INFO: TCP Data received {"connection_id":54886,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:45:51] local.INFO: Processing buffer {"connection_id":54886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:45:51] local.INFO: Packet analysis {"connection_id":54886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:45:51] local.INFO: Extracted packet for processing {"connection_id":54886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:45: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-04-26 17:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:45:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:45:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:45:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":54886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:45:51] local.INFO: GPS data processed {"connection_id":54886,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:45:51] local.INFO: Acknowledgment sent {"connection_id":54886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:46:06] local.INFO: TCP Data received {"connection_id":54718,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b72bf0012d197cc0071feda00035003c27..."} 
[2026-04-26 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b72bf0012d197cc0071feda00035003c27..."} 
[2026-04-26 17:46:06] local.INFO: Processing buffer {"connection_id":54718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b72bf0012d197cc0071feda00035003c27..."} 
[2026-04-26 17:46:06] local.INFO: Packet analysis {"connection_id":54718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:06] local.INFO: Extracted packet for processing {"connection_id":54718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756645056,"raw_latitude":119532960,"longitude_deg":75.6645056,"latitude_deg":11.953296,"altitude":53,"angle":60,"satellites":39,"speed":18,"hex_longitude":"2d197cc0","hex_latitude":"071feda0","is_valid_coordinates":true} 
[2026-04-26 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964663552001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114851866491224064,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836131672428179456,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777205718000,"timestamp_ms":1777205718000,"timestamp_seconds":1777205718,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b72bf0"} 
[2026-04-26 17:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 17:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:46:06] 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-04-26 17:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964663552001,"66":13820,"106":206,"83":41984,"24":18,"16":114851866491224064,"45":1836131672428179456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964663552001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:46:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:46:06] 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-04-26 17:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836131672428179456,"description":"Unknown IO ID 45"} 
[2026-04-26 17:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964663552001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1836131672428179456}} 
[2026-04-26 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":54718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:46:06] local.INFO: GPS data processed {"connection_id":54718,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:46:06] local.INFO: Acknowledgment sent {"connection_id":54718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:46:14] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:46:14] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:46:14] local.INFO: IMEI packet received {"connection_id":54719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":54719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:46:19] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:46:19] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:46:19] local.INFO: IMEI packet received {"connection_id":54719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:46:19] local.INFO: IMEI acknowledgment sent {"connection_id":54719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:46:19] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:46:19] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b33450012cb299c007822ce0004a001227..."} 
[2026-04-26 17:46:19] local.INFO: Packet analysis {"connection_id":54719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:46:19] local.INFO: Extracted packet for processing {"connection_id":54719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b3"} 
[2026-04-26 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":39,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964520448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205458000,"timestamp_ms":1777205458000,"timestamp_seconds":1777205458,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b33450"} 
[2026-04-26 17:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:46:19] 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-04-26 17:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964520448001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964520448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:46:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964520448001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":54719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:46:19] local.INFO: GPS data processed {"connection_id":54719,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:46:19] local.INFO: Acknowledgment sent {"connection_id":54719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:46:25] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:25] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:25] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:46:27] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:27] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:27] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:46:32] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:32] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:46:32] local.INFO: IMEI packet received {"connection_id":54720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":54720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:46:33] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b73b90012d198340071ff1200038004a29..."} 
[2026-04-26 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b73b90012d198340071ff1200038004a29..."} 
[2026-04-26 17:46:33] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b73b90012d198340071ff1200038004a29..."} 
[2026-04-26 17:46:33] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:33] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756646720,"raw_latitude":119533856,"longitude_deg":75.664672,"latitude_deg":11.9533856,"altitude":56,"angle":74,"satellites":41,"speed":19,"hex_longitude":"2d198340","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-04-26 17:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964663808001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114851956685537280,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836553884893290496,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205722000,"timestamp_ms":1777205722000,"timestamp_seconds":1777205722,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b73b90"} 
[2026-04-26 17:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:46:33] 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-04-26 17:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 17:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964663808001,"66":14428,"106":206,"83":41984,"24":19,"16":114851956685537280,"45":1836553884893290496},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964663808001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:46:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114851956685537280,"km_value":114851956685537.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836553884893290496,"description":"Unknown IO ID 45"} 
[2026-04-26 17:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964663808001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1836553884893290496}} 
[2026-04-26 17:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:46:33] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:46:33] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:46:37] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b74360012d198780071ff190003900562a..."} 
[2026-04-26 17:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b74360012d198780071ff190003900562a..."} 
[2026-04-26 17:46:37] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b74360012d198780071ff190003900562a..."} 
[2026-04-26 17:46:37] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:37] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119533968,"longitude_deg":75.6647808,"latitude_deg":11.9533968,"altitude":57,"angle":86,"satellites":42,"speed":21,"hex_longitude":"2d198780","hex_latitude":"071ff190","is_valid_coordinates":true} 
[2026-04-26 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964664832001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114852008225144832,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838383472242139136,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777205724000,"timestamp_ms":1777205724000,"timestamp_seconds":1777205724,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b74360"} 
[2026-04-26 17:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:46:37] 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-04-26 17:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964664832001,"66":14374,"106":206,"83":41984,"24":21,"16":114852008225144832,"45":1838383472242139136},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964664832001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:46:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114852008225144832,"km_value":114852008225144.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838383472242139136,"description":"Unknown IO ID 45"} 
[2026-04-26 17:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964664832001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1838383472242139136}} 
[2026-04-26 17:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:46:37] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:46:37] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:46:50] local.INFO: TCP Data received {"connection_id":54719,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:46:50] local.INFO: Processing buffer {"connection_id":54719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:46:50] local.INFO: Packet analysis {"connection_id":54719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:50] local.INFO: Extracted packet for processing {"connection_id":54719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:46:50] 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-04-26 17:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:46:50] 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-04-26 17:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:46:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:46:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":54719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:46:50] local.INFO: GPS data processed {"connection_id":54719,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:46:50] local.INFO: Acknowledgment sent {"connection_id":54719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:47:09] local.INFO: TCP Data received {"connection_id":54720,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7ef40012d19d380071ffd68002e003728..."} 
[2026-04-26 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7ef40012d19d380071ffd68002e003728..."} 
[2026-04-26 17:47:09] local.INFO: Processing buffer {"connection_id":54720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7ef40012d19d380071ffd68002e003728..."} 
[2026-04-26 17:47:09] local.INFO: Packet analysis {"connection_id":54720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:09] local.INFO: Extracted packet for processing {"connection_id":54720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119537000,"longitude_deg":75.6667264,"latitude_deg":11.9537,"altitude":46,"angle":55,"satellites":40,"speed":18,"hex_longitude":"2d19d380","hex_latitude":"071ffd68","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964676096001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114853013247492096,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860057045449553920,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777205768000,"timestamp_ms":1777205768000,"timestamp_seconds":1777205768,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7ef40"} 
[2026-04-26 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-04-26 17:47: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-04-26 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 17:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:47:09] 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-04-26 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964676096001,"66":13820,"106":206,"83":41984,"24":18,"16":114853013247492096,"45":1860057045449553920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964676096001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:47:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114853013247492096,"km_value":114853013247492.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860057045449553920,"description":"Unknown IO ID 45"} 
[2026-04-26 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964676096001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1860057045449553920}} 
[2026-04-26 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":54720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:47:09] local.INFO: GPS data processed {"connection_id":54720,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:47:09] local.INFO: Acknowledgment sent {"connection_id":54720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:47:19] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:47:19] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:47:19] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:47:24] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:47:24] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:47:24] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:47:24] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:47:24] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:47:24] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:24] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:47:24] 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-04-26 17:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:47: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-04-26 17:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:47:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:47:24] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:47:24] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:47:27] local.INFO: TCP Data received {"connection_id":55634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:47:27] local.INFO: Processing buffer {"connection_id":55634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:47:27] local.INFO: IMEI packet received {"connection_id":55634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":55634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:47:29] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:47:29] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:47:29] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:29] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:47:29] 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-04-26 17: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-04-26 17:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17: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-04-26 17:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:47:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:47:29] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:47:29] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:47:32] local.INFO: TCP Data received {"connection_id":55634,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:47:32] local.INFO: Processing buffer {"connection_id":55634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:47:32] local.INFO: IMEI packet received {"connection_id":55634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":55634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:47:33] local.INFO: TCP Data received {"connection_id":55634,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7f710012d19d680071fffc0002e002b2a..."} 
[2026-04-26 17:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7f710012d19d680071fffc0002e002b2a..."} 
[2026-04-26 17:47:33] local.INFO: Processing buffer {"connection_id":55634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7f710012d19d680071fffc0002e002b2a..."} 
[2026-04-26 17:47:33] local.INFO: Packet analysis {"connection_id":55634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:33] local.INFO: Extracted packet for processing {"connection_id":55634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756668032,"raw_latitude":119537600,"longitude_deg":75.6668032,"latitude_deg":11.95376,"altitude":46,"angle":43,"satellites":42,"speed":18,"hex_longitude":"2d19d680","hex_latitude":"071fffc0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964676608001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114853056197165056,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839123974144,"note":"Value kept but may cause issues"} 
[2026-04-26 17:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205770000,"timestamp_ms":1777205770000,"timestamp_seconds":1777205770,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7f710"} 
[2026-04-26 17:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:47:33] 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-04-26 17: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 17:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964676608001,"66":13820,"106":206,"83":41984,"24":18,"16":114853056197165056,"45":1860971839123974144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964676608001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:47:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:47:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114853056197165056,"km_value":114853056197165.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839123974144,"description":"Unknown IO ID 45"} 
[2026-04-26 17:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964676608001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1860971839123974144}} 
[2026-04-26 17:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":55634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:47:33] local.INFO: GPS data processed {"connection_id":55634,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:47:33] local.INFO: Acknowledgment sent {"connection_id":55634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:48:06] local.INFO: TCP Data received {"connection_id":55634,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b802c8012d19d900072002f0002e00202a..."} 
[2026-04-26 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b802c8012d19d900072002f0002e00202a..."} 
[2026-04-26 17:48:06] local.INFO: Processing buffer {"connection_id":55634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b802c8012d19d900072002f0002e00202a..."} 
[2026-04-26 17:48:06] local.INFO: Packet analysis {"connection_id":55634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:06] local.INFO: Extracted packet for processing {"connection_id":55634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756668672,"raw_latitude":119538416,"longitude_deg":75.6668672,"latitude_deg":11.9538416,"altitude":46,"angle":32,"satellites":42,"speed":9,"hex_longitude":"2d19d900","hex_latitude":"072002f0","is_valid_coordinates":true} 
[2026-04-26 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964677120001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114853107736772608,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861816264054259712,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777205773000,"timestamp_ms":1777205773000,"timestamp_seconds":1777205773,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b802c8"} 
[2026-04-26 17:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 17:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":55634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":55634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":55634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:06] 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-04-26 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964677120001,"66":13863,"106":206,"83":41984,"24":9,"16":114853107736772608,"45":1861816264054259712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964677120001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:48:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114853107736772608,"km_value":114853107736772.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861816264054259712,"description":"Unknown IO ID 45"} 
[2026-04-26 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964677120001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1861816264054259712}} 
[2026-04-26 17:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":55634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:48:06] local.INFO: GPS data processed {"connection_id":55634,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:48:06] local.INFO: Acknowledgment sent {"connection_id":55634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:48:14] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:48:14] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:48:14] local.INFO: IMEI packet received {"connection_id":54973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":54973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:48:19] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:48:19] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:48:19] local.INFO: IMEI packet received {"connection_id":54973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":54973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:48:19] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:48:19] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:48:19] local.INFO: Packet analysis {"connection_id":54973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:48:19] local.INFO: Extracted packet for processing {"connection_id":54973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:48:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:48:19] 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-04-26 17: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-04-26 17:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:48:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:48:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":54973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:48:19] local.INFO: GPS data processed {"connection_id":54973,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:48:19] local.INFO: Acknowledgment sent {"connection_id":54973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:48:32] local.INFO: TCP Data received {"connection_id":54722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:32] local.INFO: Processing buffer {"connection_id":54722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:32] local.INFO: IMEI packet received {"connection_id":54722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":54722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:48:33] local.INFO: TCP Data received {"connection_id":54722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:33] local.INFO: Processing buffer {"connection_id":54722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:33] local.INFO: IMEI packet received {"connection_id":54722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":54722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:48:37] local.INFO: TCP Data received {"connection_id":54722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:37] local.INFO: Processing buffer {"connection_id":54722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:48:37] local.INFO: IMEI packet received {"connection_id":54722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":54722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:48:38] local.INFO: TCP Data received {"connection_id":54722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b854d0012d19da00072003c8002d002327..."} 
[2026-04-26 17:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b854d0012d19da00072003c8002d002327..."} 
[2026-04-26 17:48:38] local.INFO: Processing buffer {"connection_id":54722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b854d0012d19da00072003c8002d002327..."} 
[2026-04-26 17:48:38] local.INFO: Packet analysis {"connection_id":54722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:38] local.INFO: Extracted packet for processing {"connection_id":54722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756668928,"raw_latitude":119538632,"longitude_deg":75.6668928,"latitude_deg":11.9538632,"altitude":45,"angle":35,"satellites":39,"speed":0,"hex_longitude":"2d19da00","hex_latitude":"072003c8","is_valid_coordinates":true} 
[2026-04-26 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964677888001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114853124916641792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862519951496245248,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777205794000,"timestamp_ms":1777205794000,"timestamp_seconds":1777205794,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b854d0"} 
[2026-04-26 17:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-26 17:48:38] 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-04-26 17:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:38] 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-04-26 17:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964677888001,"66":14461,"106":206,"83":41984,"24":0,"16":114853124916641792,"45":1862519951496245248},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964677888001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:48:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114853124916641792,"km_value":114853124916641.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862519951496245248,"description":"Unknown IO ID 45"} 
[2026-04-26 17:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964677888001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1862519951496245248}} 
[2026-04-26 17:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":54722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:48:38] local.INFO: GPS data processed {"connection_id":54722,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:48:38] local.INFO: Acknowledgment sent {"connection_id":54722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:48:40] local.INFO: TCP Data received {"connection_id":54722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b8a6d8012d19da00072003c8002d002320..."} 
[2026-04-26 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b8a6d8012d19da00072003c8002d002320..."} 
[2026-04-26 17:48:40] local.INFO: Processing buffer {"connection_id":54722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b8a6d8012d19da00072003c8002d002320..."} 
[2026-04-26 17:48:40] local.INFO: Packet analysis {"connection_id":54722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:40] local.INFO: Extracted packet for processing {"connection_id":54722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":756668928,"raw_latitude":119538632,"longitude_deg":75.6668928,"latitude_deg":11.9538632,"altitude":45,"angle":35,"satellites":32,"speed":0,"hex_longitude":"2d19da00","hex_latitude":"072003c8","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964683264001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114853124916641792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862801426473011200,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777205815000,"timestamp_ms":1777205815000,"timestamp_seconds":1777205815,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b8a6d8"} 
[2026-04-26 17:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 17:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:40] 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-04-26 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964683264001,"66":14374,"106":206,"83":41984,"24":0,"16":114853124916641792,"45":1862801426473011200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964683264001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:48:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:48:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114853124916641792,"km_value":114853124916641.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862801426473011200,"description":"Unknown IO ID 45"} 
[2026-04-26 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964683264001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1862801426473011200}} 
[2026-04-26 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":54722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:48:40] local.INFO: GPS data processed {"connection_id":54722,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:48:40] local.INFO: Acknowledgment sent {"connection_id":54722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:48:42] local.INFO: TCP Data received {"connection_id":54722,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b8f8e0012d19da00072003c8002d002324..."} 
[2026-04-26 17:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b8f8e0012d19da00072003c8002d002324..."} 
[2026-04-26 17:48:42] local.INFO: Processing buffer {"connection_id":54722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b8f8e0012d19da00072003c8002d002324..."} 
[2026-04-26 17:48:42] local.INFO: Packet analysis {"connection_id":54722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:42] local.INFO: Extracted packet for processing {"connection_id":54722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b8"} 
[2026-04-26 17:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756668928,"raw_latitude":119538632,"longitude_deg":75.6668928,"latitude_deg":11.9538632,"altitude":45,"angle":35,"satellites":36,"speed":0,"hex_longitude":"2d19da00","hex_latitude":"072003c8","is_valid_coordinates":true} 
[2026-04-26 17:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964688640001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114853124916641792,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862801426473011200,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777205836000,"timestamp_ms":1777205836000,"timestamp_seconds":1777205836,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b8f8e0"} 
[2026-04-26 17:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:48:42] 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-04-26 17:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 17:48:42] 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-04-26 17:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:48:42] 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-04-26 17:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964688640001,"66":14374,"106":206,"83":41984,"24":0,"16":114853124916641792,"45":1862801426473011200},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964688640001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114853124916641792,"km_value":114853124916641.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862801426473011200,"description":"Unknown IO ID 45"} 
[2026-04-26 17:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964688640001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1862801426473011200}} 
[2026-04-26 17:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":54722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:48:42] local.INFO: GPS data processed {"connection_id":54722,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:48:42] local.INFO: Acknowledgment sent {"connection_id":54722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:48:51] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:48:51] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:48:51] local.INFO: Packet analysis {"connection_id":54973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:48:51] local.INFO: Extracted packet for processing {"connection_id":54973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:48: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-04-26 17: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-04-26 17:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:48:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:48:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:48:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":54973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:48:51] local.INFO: GPS data processed {"connection_id":54973,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:48:51] local.INFO: Acknowledgment sent {"connection_id":54973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:49:09] local.INFO: TCP Data received {"connection_id":54887,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:49:09] local.INFO: Processing buffer {"connection_id":54887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:49:09] local.INFO: IMEI packet received {"connection_id":54887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":54887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:49:14] local.INFO: TCP Data received {"connection_id":54723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:49:14] local.INFO: Processing buffer {"connection_id":54723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:49:14] local.INFO: IMEI packet received {"connection_id":54723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":54723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:49:19] local.INFO: TCP Data received {"connection_id":54723,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:49:19] local.INFO: Processing buffer {"connection_id":54723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:49:19] local.INFO: IMEI packet received {"connection_id":54723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":54723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:49:19] local.INFO: TCP Data received {"connection_id":54723,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:49:19] local.INFO: Processing buffer {"connection_id":54723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:49:19] local.INFO: Packet analysis {"connection_id":54723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:49:19] local.INFO: Extracted packet for processing {"connection_id":54723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:49:19] 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-04-26 17:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:49:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":54723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:49:19] local.INFO: GPS data processed {"connection_id":54723,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:49:19] local.INFO: Acknowledgment sent {"connection_id":54723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:49:23] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:23] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:23] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:49:27] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:27] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:27] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:49:32] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:32] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:49:32] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:49:33] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ba1220012d19b5000720ad200031012d2a..."} 
[2026-04-26 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ba1220012d19b5000720ad200031012d2a..."} 
[2026-04-26 17:49:33] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ba1220012d19b5000720ad200031012d2a..."} 
[2026-04-26 17:49:33] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ba"} 
[2026-04-26 17:49:33] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ba"} 
[2026-04-26 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756659456,"raw_latitude":119581984,"longitude_deg":75.6659456,"latitude_deg":11.9581984,"altitude":49,"angle":301,"satellites":42,"speed":23,"hex_longitude":"2d19b500","hex_latitude":"0720ad20","is_valid_coordinates":true} 
[2026-04-26 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964712192001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114855487148654592,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853090539787517952,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777205908000,"timestamp_ms":1777205908000,"timestamp_seconds":1777205908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ba1220"} 
[2026-04-26 17:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:49:33] 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-04-26 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-26 17:49:33] 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-04-26 17:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964712192001,"66":13928,"106":206,"83":41984,"24":23,"16":114855487148654592,"45":1853090539787517952},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964712192001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:49:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:49:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114855487148654592,"km_value":114855487148654.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853090539787517952,"description":"Unknown IO ID 45"} 
[2026-04-26 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964712192001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1853090539787517952}} 
[2026-04-26 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:49:33] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:49:33] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:49:34] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ba1dd8012d19ad400720afe0003301212a..."} 
[2026-04-26 17:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ba1dd8012d19ad400720afe0003301212a..."} 
[2026-04-26 17:49:34] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ba1dd8012d19ad400720afe0003301212a..."} 
[2026-04-26 17:49:34] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ba"} 
[2026-04-26 17:49:34] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ba"} 
[2026-04-26 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119582688,"longitude_deg":75.6657472,"latitude_deg":11.9582688,"altitude":51,"angle":289,"satellites":42,"speed":26,"hex_longitude":"2d19ad40","hex_latitude":"0720afe0","is_valid_coordinates":true} 
[2026-04-26 17:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964712448001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114855585932902400,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852386852345815040,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777205911000,"timestamp_ms":1777205911000,"timestamp_seconds":1777205911,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ba1dd8"} 
[2026-04-26 17:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 17:49:34] 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-04-26 17:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:49:34] 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-04-26 17:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964712448001,"66":14026,"106":206,"83":41984,"24":26,"16":114855585932902400,"45":1852386852345815040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964712448001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:49:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:49:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114855585932902400,"km_value":114855585932902.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852386852345815040,"description":"Unknown IO ID 45"} 
[2026-04-26 17:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964712448001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1852386852345815040}} 
[2026-04-26 17:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:49:34] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:49:34] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:49:44] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:49:45] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:49:45] local.INFO: IMEI packet received {"connection_id":54888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":54888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:49:53] local.INFO: TCP Data received {"connection_id":54723,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:49:53] local.INFO: Processing buffer {"connection_id":54723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:49:53] local.INFO: Packet analysis {"connection_id":54723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:49:53] local.INFO: Extracted packet for processing {"connection_id":54723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:49:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:49:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:49:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:49:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:49:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:49:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:49:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:49: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-04-26 17:49:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:49:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:49:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:49:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:49:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:49:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:49:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:49:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:49:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:49:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:49:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:49:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:49:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:49:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:49:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:49:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:49:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:49:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:49:53] local.INFO: DEBUG: GPS processor result {"connection_id":54723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:49:53] local.INFO: GPS data processed {"connection_id":54723,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:49:53] local.INFO: Acknowledgment sent {"connection_id":54723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:50:05] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ba2990012d19a5000720b188003301142a..."} 
[2026-04-26 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ba2990012d19a5000720b188003301142a..."} 
[2026-04-26 17:50:05] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ba2990012d19a5000720b188003301142a..."} 
[2026-04-26 17:50:05] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ba"} 
[2026-04-26 17:50:05] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ba"} 
[2026-04-26 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756655360,"raw_latitude":119583112,"longitude_deg":75.665536,"latitude_deg":11.9583112,"altitude":51,"angle":276,"satellites":42,"speed":28,"hex_longitude":"2d19a500","hex_latitude":"0720b188","is_valid_coordinates":true} 
[2026-04-26 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964713216001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114855689012117504,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421276487680,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777205914000,"timestamp_ms":1777205914000,"timestamp_seconds":1777205914,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ba2990"} 
[2026-04-26 17:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-26 17:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:50:05] 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-04-26 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964713216001,"66":14004,"106":206,"83":41984,"24":28,"16":114855689012117504,"45":1850205421276487680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964713216001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:50:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 17:50:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114855689012117504,"km_value":114855689012117.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421276487680,"description":"Unknown IO ID 45"} 
[2026-04-26 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964713216001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1850205421276487680}} 
[2026-04-26 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:50:05] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:50:05] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:50:14] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:50:14] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:50:14] local.INFO: IMEI packet received {"connection_id":54724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":54724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:50:19] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:50:19] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:50:19] local.INFO: IMEI packet received {"connection_id":54724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":54724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:50:19] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:50:19] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:50:19] local.INFO: Packet analysis {"connection_id":54724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:50:19] local.INFO: Extracted packet for processing {"connection_id":54724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:50:19] 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-04-26 17: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-04-26 17:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:50:19] 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-04-26 17:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:50:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:50:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":54724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:50:19] local.INFO: GPS data processed {"connection_id":54724,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:50:19] local.INFO: Acknowledgment sent {"connection_id":54724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:50:25] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:50:25] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:50:25] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:50:40] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:50:40] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:50:40] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:50:40] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:50:40] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 17:50:40] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:50:50] local.INFO: TCP Data received {"connection_id":54724,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:50:50] local.INFO: Processing buffer {"connection_id":54724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:50:50] local.INFO: Packet analysis {"connection_id":54724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:50:50] local.INFO: Extracted packet for processing {"connection_id":54724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:50:50] 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-04-26 17:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:50:50] 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-04-26 17:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:50:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":54724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:50:50] local.INFO: GPS data processed {"connection_id":54724,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:50:50] local.INFO: Acknowledgment sent {"connection_id":54724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:51:18] local.INFO: TCP Data received {"connection_id":54975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:18] local.INFO: Processing buffer {"connection_id":54975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:18] local.INFO: IMEI packet received {"connection_id":54975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":54975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:51:23] local.INFO: TCP Data received {"connection_id":54975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:23] local.INFO: Processing buffer {"connection_id":54975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:23] local.INFO: IMEI packet received {"connection_id":54975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":54975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:51:29] local.INFO: TCP Data received {"connection_id":54975,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:29] local.INFO: Processing buffer {"connection_id":54975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:51:29] local.INFO: IMEI packet received {"connection_id":54975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":54975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:51:29] local.INFO: TCP Data received {"connection_id":54975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:51:29] local.INFO: Processing buffer {"connection_id":54975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:51:29] local.INFO: Packet analysis {"connection_id":54975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:51:29] local.INFO: Extracted packet for processing {"connection_id":54975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 17:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:51:29] 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-04-26 17: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-04-26 17:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:51: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-04-26 17:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:51:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":54975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:51:29] local.INFO: GPS data processed {"connection_id":54975,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:51:29] local.INFO: Acknowledgment sent {"connection_id":54975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:51:34] local.INFO: TCP Data received {"connection_id":54975,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:51:34] local.INFO: Processing buffer {"connection_id":54975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9b7cc18012cb299c007822ce0004f001229..."} 
[2026-04-26 17:51:34] local.INFO: Packet analysis {"connection_id":54975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:51:34] local.INFO: Extracted packet for processing {"connection_id":54975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9b7"} 
[2026-04-26 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 17:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964597248001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777205759000,"timestamp_ms":1777205759000,"timestamp_seconds":1777205759,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9b7cc18"} 
[2026-04-26 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-04-26 17:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 17:51:34] 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-04-26 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-04-26 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-04-26 17:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:51: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-04-26 17:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964597248001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964597248001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:51:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964597248001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":54975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:51:34] local.INFO: GPS data processed {"connection_id":54975,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:51:34] local.INFO: Acknowledgment sent {"connection_id":54975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:52:14] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:52:14] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:52:14] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:52:19] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:52:19] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:52:19] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:52:19] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:52:19] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:52:19] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:52:19] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:52: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-04-26 17:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:52: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:52: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-04-26 17:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:52: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-04-26 17:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:52:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:52:19] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:52:19] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:52:51] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:52:51] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:52:51] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:52:51] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:52:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:52: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-04-26 17:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:52:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:52:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:52:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:52:51] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:52:51] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:53:14] local.INFO: TCP Data received {"connection_id":55637,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:53:14] local.INFO: Processing buffer {"connection_id":55637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:53:14] local.INFO: IMEI packet received {"connection_id":55637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":55637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:53:19] local.INFO: TCP Data received {"connection_id":55637,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:53:19] local.INFO: Processing buffer {"connection_id":55637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:53:19] local.INFO: IMEI packet received {"connection_id":55637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:53:19] local.INFO: IMEI acknowledgment sent {"connection_id":55637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:53:20] local.INFO: TCP Data received {"connection_id":55637,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:53:20] local.INFO: Processing buffer {"connection_id":55637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:53:20] local.INFO: Packet analysis {"connection_id":55637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:53:20] local.INFO: Extracted packet for processing {"connection_id":55637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:53:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:53:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:53:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:53:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:53:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:53:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":55637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:53:20] local.INFO: GPS data processed {"connection_id":55637,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:53:20] local.INFO: Acknowledgment sent {"connection_id":55637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:53:51] local.INFO: TCP Data received {"connection_id":55637,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:53:51] local.INFO: Processing buffer {"connection_id":55637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:53:51] local.INFO: Packet analysis {"connection_id":55637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:53:51] local.INFO: Extracted packet for processing {"connection_id":55637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:53:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:53:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:53:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:53:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":55637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:53:51] local.INFO: GPS data processed {"connection_id":55637,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:53:51] local.INFO: Acknowledgment sent {"connection_id":55637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:54:13] local.INFO: TCP Data received {"connection_id":54728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:54:13] local.INFO: Processing buffer {"connection_id":54728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:54:13] local.INFO: IMEI packet received {"connection_id":54728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":54728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:54:19] local.INFO: TCP Data received {"connection_id":54728,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:54:19] local.INFO: Processing buffer {"connection_id":54728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:54:19] local.INFO: IMEI packet received {"connection_id":54728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":54728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:54:20] local.INFO: TCP Data received {"connection_id":54728,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:54:20] local.INFO: Processing buffer {"connection_id":54728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:54:20] local.INFO: Packet analysis {"connection_id":54728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:54:20] local.INFO: Extracted packet for processing {"connection_id":54728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:54:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 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-04-26 17:54:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 17:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:54: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-04-26 17:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:54:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:54:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:54:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":54728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:54:20] local.INFO: GPS data processed {"connection_id":54728,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:54:20] local.INFO: Acknowledgment sent {"connection_id":54728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:54:51] local.INFO: TCP Data received {"connection_id":54728,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:54:51] local.INFO: Processing buffer {"connection_id":54728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:54:51] local.INFO: Packet analysis {"connection_id":54728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:54:51] local.INFO: Extracted packet for processing {"connection_id":54728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:54:51] local.INFO: GPS data processed {"connection_id":54728,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:54:51] local.INFO: Acknowledgment sent {"connection_id":54728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:55:13] local.INFO: TCP Data received {"connection_id":55638,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:55:13] local.INFO: Processing buffer {"connection_id":55638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:55:13] local.INFO: IMEI packet received {"connection_id":55638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":55638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:55:15] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:55:15] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:55:15] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:55:18] local.INFO: TCP Data received {"connection_id":55638,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:55:18] local.INFO: Processing buffer {"connection_id":55638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:55:18] local.INFO: IMEI packet received {"connection_id":55638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":55638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:55:19] local.INFO: TCP Data received {"connection_id":55638,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:55:19] local.INFO: Processing buffer {"connection_id":55638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:55:19] local.INFO: Packet analysis {"connection_id":55638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:55:19] local.INFO: Extracted packet for processing {"connection_id":55638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:55:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:55: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-04-26 17:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:55: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":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:55: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-04-26 17:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:55:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:55:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:55:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":55638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:55:19] local.INFO: GPS data processed {"connection_id":55638,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:55:19] local.INFO: Acknowledgment sent {"connection_id":55638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:55:42] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:55:42] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:55:42] local.INFO: IMEI packet received {"connection_id":54893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":54893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:55:43] local.INFO: TCP Data received {"connection_id":54893,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bf03c0012d16ea80072062b0002700de26..."} 
[2026-04-26 17:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bf03c0012d16ea80072062b0002700de26..."} 
[2026-04-26 17:55:43] local.INFO: Processing buffer {"connection_id":54893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bf03c0012d16ea80072062b0002700de26..."} 
[2026-04-26 17:55:43] local.INFO: Packet analysis {"connection_id":54893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:55:43] local.INFO: Extracted packet for processing {"connection_id":54893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756476544,"raw_latitude":119562928,"longitude_deg":75.6476544,"latitude_deg":11.9562928,"altitude":39,"angle":222,"satellites":38,"speed":36,"hex_longitude":"2d16ea80","hex_latitude":"072062b0","is_valid_coordinates":true} 
[2026-04-26 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964792832001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114867594661462016,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1658450593389193216,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777206232000,"timestamp_ms":1777206232000,"timestamp_seconds":1777206232,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bf03c0"} 
[2026-04-26 17:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-26 17:55:43] 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-04-26 17:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:55:43] 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-04-26 17:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964792832001,"66":12265,"107":206,"83":41984,"24":36,"16":114867594661462016,"45":1658450593389193216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-26 17:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964792832001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114867594661462016,"km_value":114867594661462.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1658450593389193216,"description":"Unknown IO ID 45"} 
[2026-04-26 17:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964792832001,"power":12265,"unknown_107":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1658450593389193216}} 
[2026-04-26 17:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":54893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:55:43] local.INFO: GPS data processed {"connection_id":54893,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:55:43] local.INFO: Acknowledgment sent {"connection_id":54893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:55:44] local.INFO: TCP Data received {"connection_id":55639,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:55:45] local.INFO: Processing buffer {"connection_id":55639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 17:55:45] local.INFO: IMEI packet received {"connection_id":55639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 17:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":55639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:55:50] local.INFO: TCP Data received {"connection_id":55638,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:55:50] local.INFO: Processing buffer {"connection_id":55638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:55:50] local.INFO: Packet analysis {"connection_id":55638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:55:50] local.INFO: Extracted packet for processing {"connection_id":55638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:55:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:55:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:55:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:55:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":55638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:55:50] local.INFO: GPS data processed {"connection_id":55638,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:55:50] local.INFO: Acknowledgment sent {"connection_id":55638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:56:19] local.INFO: TCP Data received {"connection_id":55640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:56:19] local.INFO: Processing buffer {"connection_id":55640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:56:19] local.INFO: IMEI packet received {"connection_id":55640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":55640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:56:24] local.INFO: TCP Data received {"connection_id":55640,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:56:24] local.INFO: Processing buffer {"connection_id":55640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:56:24] local.INFO: IMEI packet received {"connection_id":55640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":55640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:56:24] local.INFO: TCP Data received {"connection_id":55640,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:56:24] local.INFO: Processing buffer {"connection_id":55640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:56:24] local.INFO: Packet analysis {"connection_id":55640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:56:24] local.INFO: Extracted packet for processing {"connection_id":55640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:56:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":55640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:56:24] local.INFO: GPS data processed {"connection_id":55640,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:56:24] local.INFO: Acknowledgment sent {"connection_id":55640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:56:27] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:56:27] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:56:27] local.INFO: IMEI packet received {"connection_id":54729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":54729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:56:28] local.INFO: TCP Data received {"connection_id":55640,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:56:28] local.INFO: Processing buffer {"connection_id":55640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bc63e0012cb299c007822ce0004d001228..."} 
[2026-04-26 17:56:28] local.INFO: Packet analysis {"connection_id":55640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:56:28] local.INFO: Extracted packet for processing {"connection_id":55640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bc"} 
[2026-04-26 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964674304001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777206060000,"timestamp_ms":1777206060000,"timestamp_seconds":1777206060,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bc63e0"} 
[2026-04-26 17:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 17:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964674304001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964674304001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:56:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964674304001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":55640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:56:28] local.INFO: GPS data processed {"connection_id":55640,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:56:28] local.INFO: Acknowledgment sent {"connection_id":55640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:56:32] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:56:32] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:56:32] local.INFO: IMEI packet received {"connection_id":54729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":54729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:56:33] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bf32a0012d16d78007204d08002400e928..."} 
[2026-04-26 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bf32a0012d16d78007204d08002400e928..."} 
[2026-04-26 17:56:33] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bf32a0012d16d78007204d08002400e928..."} 
[2026-04-26 17:56:33] local.INFO: Packet analysis {"connection_id":54729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:56:33] local.INFO: Extracted packet for processing {"connection_id":54729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756471680,"raw_latitude":119557384,"longitude_deg":75.647168,"latitude_deg":11.9557384,"altitude":36,"angle":233,"satellites":40,"speed":11,"hex_longitude":"2d16d780","hex_latitude":"07204d08","is_valid_coordinates":true} 
[2026-04-26 17:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964795392001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114867946848780288,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651272981481172992,"note":"Value kept but may cause issues"} 
[2026-04-26 17:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777206244000,"timestamp_ms":1777206244000,"timestamp_seconds":1777206244,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bf32a0"} 
[2026-04-26 17:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-26 17:56:33] 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-04-26 17:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964795392001,"66":12287,"85":206,"83":41984,"24":11,"16":114867946848780288,"45":1651272981481172992},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964795392001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114867946848780288,"km_value":114867946848780.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651272981481172992,"description":"Unknown IO ID 45"} 
[2026-04-26 17:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964795392001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1651272981481172992}} 
[2026-04-26 17:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":54729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:56:33] local.INFO: GPS data processed {"connection_id":54729,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:56:33] local.INFO: Acknowledgment sent {"connection_id":54729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:57:04] local.INFO: TCP Data received {"connection_id":54729,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bf3688012d16d6c007204c90002400ff28..."} 
[2026-04-26 17:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bf3688012d16d6c007204c90002400ff28..."} 
[2026-04-26 17:57:04] local.INFO: Processing buffer {"connection_id":54729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bf3688012d16d6c007204c90002400ff28..."} 
[2026-04-26 17:57:04] local.INFO: Packet analysis {"connection_id":54729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:57:04] local.INFO: Extracted packet for processing {"connection_id":54729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756471488,"raw_latitude":119557264,"longitude_deg":75.6471488,"latitude_deg":11.9557264,"altitude":36,"angle":255,"satellites":40,"speed":10,"hex_longitude":"2d16d6c0","hex_latitude":"07204c90","is_valid_coordinates":true} 
[2026-04-26 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964798464001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114867959733682176,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645924956922251264,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777206245000,"timestamp_ms":1777206245000,"timestamp_seconds":1777206245,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bf3688"} 
[2026-04-26 17:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:57:04] 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-04-26 17:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-26 17:57:04] 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-04-26 17:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:57:04] 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-04-26 17:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964798464001,"66":12287,"85":206,"83":41984,"24":10,"16":114867959733682176,"45":1645924956922251264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964798464001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:57:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114867959733682176,"km_value":114867959733682.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645924956922251264,"description":"Unknown IO ID 45"} 
[2026-04-26 17:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964798464001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1645924956922251264}} 
[2026-04-26 17:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":54729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:57:04] local.INFO: GPS data processed {"connection_id":54729,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:57:04] local.INFO: Acknowledgment sent {"connection_id":54729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:57:14] local.INFO: TCP Data received {"connection_id":54730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:57:14] local.INFO: Processing buffer {"connection_id":54730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:57:14] local.INFO: IMEI packet received {"connection_id":54730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":54730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:57:18] local.INFO: TCP Data received {"connection_id":54730,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:57:18] local.INFO: Processing buffer {"connection_id":54730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:57:18] local.INFO: IMEI packet received {"connection_id":54730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":54730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:57:19] local.INFO: TCP Data received {"connection_id":54730,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:57:19] local.INFO: Processing buffer {"connection_id":54730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:57:19] local.INFO: Packet analysis {"connection_id":54730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:57:19] local.INFO: Extracted packet for processing {"connection_id":54730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 17:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:57:19] 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-04-26 17:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:57:19] 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-04-26 17:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:57:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":54730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:57:19] local.INFO: GPS data processed {"connection_id":54730,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:57:19] local.INFO: Acknowledgment sent {"connection_id":54730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:57:27] local.INFO: TCP Data received {"connection_id":54895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:57:27] local.INFO: Processing buffer {"connection_id":54895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:57:27] local.INFO: IMEI packet received {"connection_id":54895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":54895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:57:32] local.INFO: TCP Data received {"connection_id":54895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:57:32] local.INFO: Processing buffer {"connection_id":54895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:57:32] local.INFO: IMEI packet received {"connection_id":54895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":54895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:57:33] local.INFO: TCP Data received {"connection_id":54895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9bf3a70012d16d5c007204cb8002401242a..."} 
[2026-04-26 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9bf3a70012d16d5c007204cb8002401242a..."} 
[2026-04-26 17:57:33] local.INFO: Processing buffer {"connection_id":54895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9bf3a70012d16d5c007204cb8002401242a..."} 
[2026-04-26 17:57:33] local.INFO: Packet analysis {"connection_id":54895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:57:33] local.INFO: Extracted packet for processing {"connection_id":54895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9bf"} 
[2026-04-26 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119557304,"longitude_deg":75.6471232,"latitude_deg":11.9557304,"altitude":36,"angle":292,"satellites":42,"speed":9,"hex_longitude":"2d16d5c0","hex_latitude":"07204cb8","is_valid_coordinates":true} 
[2026-04-26 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964798720001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114867968323616768,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645713850689687552,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777206246000,"timestamp_ms":1777206246000,"timestamp_seconds":1777206246,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9bf3a70"} 
[2026-04-26 17:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:57:33] 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-04-26 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-26 17:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964798720001,"66":12287,"85":206,"83":41984,"24":9,"16":114867968323616768,"45":1645713850689687552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964798720001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:57:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114867968323616768,"km_value":114867968323616.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645713850689687552,"description":"Unknown IO ID 45"} 
[2026-04-26 17:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964798720001,"power":12287,"unknown_85":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1645713850689687552}} 
[2026-04-26 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":54895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:57:34] local.INFO: GPS data processed {"connection_id":54895,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:57:34] local.INFO: Acknowledgment sent {"connection_id":54895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:57:50] local.INFO: TCP Data received {"connection_id":54730,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:57:50] local.INFO: Processing buffer {"connection_id":54730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:57:50] local.INFO: Packet analysis {"connection_id":54730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:57:50] local.INFO: Extracted packet for processing {"connection_id":54730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:57:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 17:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:57:50] 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-04-26 17: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-04-26 17:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:57:50] 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-04-26 17:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:57:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":54730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:57:50] local.INFO: GPS data processed {"connection_id":54730,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:57:50] local.INFO: Acknowledgment sent {"connection_id":54730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:58:05] local.INFO: TCP Data received {"connection_id":54895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c18848012d16d5c007204f800024002e29..."} 
[2026-04-26 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c18848012d16d5c007204f800024002e29..."} 
[2026-04-26 17:58:05] local.INFO: Processing buffer {"connection_id":54895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c18848012d16d5c007204f800024002e29..."} 
[2026-04-26 17:58:05] local.INFO: Packet analysis {"connection_id":54895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c1"} 
[2026-04-26 17:58:05] local.INFO: Extracted packet for processing {"connection_id":54895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c1"} 
[2026-04-26 17:58:05] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 17:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964832256001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777206397000,"timestamp_ms":1777206397000,"timestamp_seconds":1777206397,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c18848"} 
[2026-04-26 17:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:58:05] 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-04-26 17:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-26 17:58:05] 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-04-26 17:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:58:05] 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-04-26 17:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964832256001,"66":12341,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964832256001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:58:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 17:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964832256001,"power":12341,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 17:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":54895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:58:05] local.INFO: GPS data processed {"connection_id":54895,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:58:05] local.INFO: Acknowledgment sent {"connection_id":54895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:58:13] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:58:13] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:58:13] local.INFO: IMEI packet received {"connection_id":54731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":54731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:58:18] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:58:18] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:58:18] local.INFO: IMEI packet received {"connection_id":54731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":54731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:58:27] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:58:27] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:58:27] local.INFO: IMEI packet received {"connection_id":54979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":54979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:58:29] local.INFO: TCP Data received {"connection_id":54731,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:58:29] local.INFO: Processing buffer {"connection_id":54731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:58:29] local.INFO: Packet analysis {"connection_id":54731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:58:29] local.INFO: Extracted packet for processing {"connection_id":54731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 17:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17: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-04-26 17:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:58:29] 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-04-26 17:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:58:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":54731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:58:29] local.INFO: GPS data processed {"connection_id":54731,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:58:29] local.INFO: Acknowledgment sent {"connection_id":54731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:58:32] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:58:32] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:58:32] local.INFO: IMEI packet received {"connection_id":54979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":54979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:58:33] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c1da50012d16d5c007204f800024002e29..."} 
[2026-04-26 17:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c1da50012d16d5c007204f800024002e29..."} 
[2026-04-26 17:58:33] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c1da50012d16d5c007204f800024002e29..."} 
[2026-04-26 17:58:33] local.INFO: Packet analysis {"connection_id":54979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c1"} 
[2026-04-26 17:58:33] local.INFO: Extracted packet for processing {"connection_id":54979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c1"} 
[2026-04-26 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964837632001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 17:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777206418000,"timestamp_ms":1777206418000,"timestamp_seconds":1777206418,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c1da50"} 
[2026-04-26 17:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 17:58:33] 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-04-26 17:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964837632001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964837632001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:58:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 17:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964837632001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 17:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":54979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:58:33] local.INFO: GPS data processed {"connection_id":54979,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:58:33] local.INFO: Acknowledgment sent {"connection_id":54979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:59:05] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c22c58012d16d5c007204f800024002e2a..."} 
[2026-04-26 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c22c58012d16d5c007204f800024002e2a..."} 
[2026-04-26 17:59:05] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c22c58012d16d5c007204f800024002e2a..."} 
[2026-04-26 17:59:05] local.INFO: Packet analysis {"connection_id":54979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c2"} 
[2026-04-26 17:59:05] local.INFO: Extracted packet for processing {"connection_id":54979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c2"} 
[2026-04-26 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":42,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964843008001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777206439000,"timestamp_ms":1777206439000,"timestamp_seconds":1777206439,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c22c58"} 
[2026-04-26 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:59:05] 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-04-26 17:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 17:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:59:05] 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-04-26 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964843008001,"66":12341,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964843008001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:59:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964843008001,"power":12341,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 17:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":54979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:59:05] local.INFO: GPS data processed {"connection_id":54979,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:59:05] local.INFO: Acknowledgment sent {"connection_id":54979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:59:18] local.INFO: TCP Data received {"connection_id":54896,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:59:18] local.INFO: Processing buffer {"connection_id":54896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:59:18] local.INFO: IMEI packet received {"connection_id":54896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 17:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":54896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:59:23] local.INFO: TCP Data received {"connection_id":54896,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:59:23] local.INFO: Processing buffer {"connection_id":54896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 17:59:23] local.INFO: IMEI packet received {"connection_id":54896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 17:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":54896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:59:24] local.INFO: TCP Data received {"connection_id":54896,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:59:24] local.INFO: Processing buffer {"connection_id":54896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:59:24] local.INFO: Packet analysis {"connection_id":54896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:59:24] local.INFO: Extracted packet for processing {"connection_id":54896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:59:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17: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-04-26 17:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 17:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:59: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-04-26 17: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-04-26 17:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 17:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:59:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":54896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:59:24] local.INFO: GPS data processed {"connection_id":54896,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:59:24] local.INFO: Acknowledgment sent {"connection_id":54896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:59:27] local.INFO: TCP Data received {"connection_id":55641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:59:27] local.INFO: Processing buffer {"connection_id":55641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:59:27] local.INFO: IMEI packet received {"connection_id":55641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":55641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 17:59:29] local.INFO: TCP Data received {"connection_id":54896,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:59:29] local.INFO: Processing buffer {"connection_id":54896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 17:59:29] local.INFO: Packet analysis {"connection_id":54896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:59:29] local.INFO: Extracted packet for processing {"connection_id":54896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 17:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 17:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 17:59:29] 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-04-26 17:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 17:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 17:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 17:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 17:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 17:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:59:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 17:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 17:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 17:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 17:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":54896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:59:29] local.INFO: GPS data processed {"connection_id":54896,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:59:29] local.INFO: Acknowledgment sent {"connection_id":54896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 17:59:32] local.INFO: TCP Data received {"connection_id":55641,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:59:32] local.INFO: Processing buffer {"connection_id":55641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 17:59:32] local.INFO: IMEI packet received {"connection_id":55641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 17:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":55641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 17:59:39] local.INFO: TCP Data received {"connection_id":55641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c27e60012d16d5c007204f800024002e28..."} 
[2026-04-26 17:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c27e60012d16d5c007204f800024002e28..."} 
[2026-04-26 17:59:39] local.INFO: Processing buffer {"connection_id":55641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c27e60012d16d5c007204f800024002e28..."} 
[2026-04-26 17:59:39] local.INFO: Packet analysis {"connection_id":55641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c2"} 
[2026-04-26 17:59:39] local.INFO: Extracted packet for processing {"connection_id":55641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c2"} 
[2026-04-26 17:59:39] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":40,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 17:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 17:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964848384001,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 17:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 17:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777206460000,"timestamp_ms":1777206460000,"timestamp_seconds":1777206460,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c27e60"} 
[2026-04-26 17:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 17:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 17:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 17:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 17:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 17:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 17:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 17:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 17:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 17:59:39] 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-04-26 17:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 17:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 17:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964848384001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 17:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 17:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 17:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964848384001,"description":"Unknown IO ID 0"} 
[2026-04-26 17:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 17:59:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 17:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 17:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 17:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964848384001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 17:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":55641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 17:59:39] local.INFO: GPS data processed {"connection_id":55641,"processed":1,"errors":0,"total":1} 
[2026-04-26 17:59:39] local.INFO: Acknowledgment sent {"connection_id":55641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:00:09] local.INFO: TCP Data received {"connection_id":55641,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c2d068012d16d5c007204f800024002e28..."} 
[2026-04-26 18:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c2d068012d16d5c007204f800024002e28..."} 
[2026-04-26 18:00:09] local.INFO: Processing buffer {"connection_id":55641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c2d068012d16d5c007204f800024002e28..."} 
[2026-04-26 18:00:09] local.INFO: Packet analysis {"connection_id":55641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c2"} 
[2026-04-26 18:00:09] local.INFO: Extracted packet for processing {"connection_id":55641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c2"} 
[2026-04-26 18:00:09] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":40,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:00: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-04-26 18:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964853760001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777206481000,"timestamp_ms":1777206481000,"timestamp_seconds":1777206481,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c2d068"} 
[2026-04-26 18:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:00: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-04-26 18:00: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-04-26 18:00: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-04-26 18:00: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-04-26 18:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:00:09] 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-04-26 18:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964853760001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964853760001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:00:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:00:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964853760001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":55641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:00:10] local.INFO: GPS data processed {"connection_id":55641,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:00:10] local.INFO: Acknowledgment sent {"connection_id":55641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:00:14] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:00:14] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:00:14] local.INFO: IMEI packet received {"connection_id":54733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":54733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:00:18] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:00:18] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:00:18] local.INFO: IMEI packet received {"connection_id":54733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":54733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:00:19] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:00:19] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:00:19] local.INFO: Packet analysis {"connection_id":54733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 18:00:19] local.INFO: Extracted packet for processing {"connection_id":54733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 18:00:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 18:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:00:19] 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-04-26 18:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:00:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:00:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":54733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:00:19] local.INFO: GPS data processed {"connection_id":54733,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:00:19] local.INFO: Acknowledgment sent {"connection_id":54733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:00:27] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:00:27] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:00:27] local.INFO: IMEI packet received {"connection_id":54981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":54981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:00:32] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:00:32] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:00:32] local.INFO: IMEI packet received {"connection_id":54981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":54981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:00:36] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c32270012d16d5c007204f800024002e27..."} 
[2026-04-26 18:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c32270012d16d5c007204f800024002e27..."} 
[2026-04-26 18:00:36] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c32270012d16d5c007204f800024002e27..."} 
[2026-04-26 18:00:36] local.INFO: Packet analysis {"connection_id":54981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c3"} 
[2026-04-26 18:00:36] local.INFO: Extracted packet for processing {"connection_id":54981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c3"} 
[2026-04-26 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964859136001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777206502000,"timestamp_ms":1777206502000,"timestamp_seconds":1777206502,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c32270"} 
[2026-04-26 18:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:00:36] 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-04-26 18:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964859136001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964859136001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:00:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964859136001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":54981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:00:36] local.INFO: GPS data processed {"connection_id":54981,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:00:36] local.INFO: Acknowledgment sent {"connection_id":54981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:00:55] local.INFO: TCP Data received {"connection_id":54733,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:00:55] local.INFO: Processing buffer {"connection_id":54733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:00:55] local.INFO: Packet analysis {"connection_id":54733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 18:00:55] local.INFO: Extracted packet for processing {"connection_id":54733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 18:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:00:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:00:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":54733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:00:55] local.INFO: GPS data processed {"connection_id":54733,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:00:55] local.INFO: Acknowledgment sent {"connection_id":54733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:01:09] local.INFO: TCP Data received {"connection_id":55642,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:01:09] local.INFO: Processing buffer {"connection_id":55642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:01:09] local.INFO: IMEI packet received {"connection_id":55642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":55642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:01:13] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:01:13] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:01:13] local.INFO: IMEI packet received {"connection_id":54897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":54897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:01:19] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:01:19] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:01:19] local.INFO: IMEI packet received {"connection_id":54897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":54897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:01:20] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:01:20] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c0fba8012cb299c007822ce0004b001228..."} 
[2026-04-26 18:01:20] local.INFO: Packet analysis {"connection_id":54897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 18:01:20] local.INFO: Extracted packet for processing {"connection_id":54897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c0"} 
[2026-04-26 18:01:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964751360001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:01:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777206361000,"timestamp_ms":1777206361000,"timestamp_seconds":1777206361,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c0fba8"} 
[2026-04-26 18:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:01:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:01: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-04-26 18: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-04-26 18:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:01:20] 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-04-26 18:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964751360001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964751360001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:01:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:01:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:01:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964751360001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":54897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:01:20] local.INFO: GPS data processed {"connection_id":54897,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:01:20] local.INFO: Acknowledgment sent {"connection_id":54897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:01:32] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:01:32] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:01:32] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:01:37] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:01:37] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:01:37] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:01:38] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c37478012d16d5c007204f800024002e29..."} 
[2026-04-26 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c37478012d16d5c007204f800024002e29..."} 
[2026-04-26 18:01:38] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c37478012d16d5c007204f800024002e29..."} 
[2026-04-26 18:01:38] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c3"} 
[2026-04-26 18:01:38] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c3"} 
[2026-04-26 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964864512001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777206523000,"timestamp_ms":1777206523000,"timestamp_seconds":1777206523,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c37478"} 
[2026-04-26 18:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:01:38] 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-04-26 18:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964864512001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964864512001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964864512001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:01:38] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:01:38] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:01:43] local.INFO: TCP Data received {"connection_id":55643,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:01:43] local.INFO: Processing buffer {"connection_id":55643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:01:43] local.INFO: IMEI packet received {"connection_id":55643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":55643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:02:13] local.INFO: TCP Data received {"connection_id":54898,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:02:13] local.INFO: Processing buffer {"connection_id":54898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:02:13] local.INFO: IMEI packet received {"connection_id":54898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":54898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:02:18] local.INFO: TCP Data received {"connection_id":54898,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:02:18] local.INFO: Processing buffer {"connection_id":54898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:02:18] local.INFO: IMEI packet received {"connection_id":54898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":54898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:02:19] local.INFO: TCP Data received {"connection_id":54898,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:02:19] local.INFO: Processing buffer {"connection_id":54898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:02:19] local.INFO: Packet analysis {"connection_id":54898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:02:19] local.INFO: Extracted packet for processing {"connection_id":54898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:02:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:02:19] 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-04-26 18:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:02:19] 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-04-26 18:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:02:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":54898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:02:19] local.INFO: GPS data processed {"connection_id":54898,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:02:19] local.INFO: Acknowledgment sent {"connection_id":54898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:02:27] local.INFO: TCP Data received {"connection_id":55644,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:02:27] local.INFO: Processing buffer {"connection_id":55644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:02:27] local.INFO: IMEI packet received {"connection_id":55644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":55644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:02:30] local.INFO: TCP Data received {"connection_id":55644,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:02:30] local.INFO: Processing buffer {"connection_id":55644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:02:30] local.INFO: IMEI packet received {"connection_id":55644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":55644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:02:31] local.INFO: TCP Data received {"connection_id":55644,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c3c680012d16d5c007204f800024002e27..."} 
[2026-04-26 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c3c680012d16d5c007204f800024002e27..."} 
[2026-04-26 18:02:31] local.INFO: Processing buffer {"connection_id":55644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c3c680012d16d5c007204f800024002e27..."} 
[2026-04-26 18:02:31] local.INFO: Packet analysis {"connection_id":55644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c3"} 
[2026-04-26 18:02:31] local.INFO: Extracted packet for processing {"connection_id":55644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c3"} 
[2026-04-26 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964869888001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777206544000,"timestamp_ms":1777206544000,"timestamp_seconds":1777206544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c3c680"} 
[2026-04-26 18:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:02:31] 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-04-26 18: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-04-26 18:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:02:31] 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-04-26 18:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964869888001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964869888001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:02:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:02:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964869888001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":55644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:02:31] local.INFO: GPS data processed {"connection_id":55644,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:02:31] local.INFO: Acknowledgment sent {"connection_id":55644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:02:51] local.INFO: TCP Data received {"connection_id":54898,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:02:51] local.INFO: Processing buffer {"connection_id":54898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:02:51] local.INFO: Packet analysis {"connection_id":54898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:02:51] local.INFO: Extracted packet for processing {"connection_id":54898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 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-04-26 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:02:51] 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-04-26 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-04-26 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-04-26 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:02:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:02:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":54898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:02:51] local.INFO: GPS data processed {"connection_id":54898,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:02:51] local.INFO: Acknowledgment sent {"connection_id":54898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:03:02] local.INFO: TCP Data received {"connection_id":55644,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c41888012d16d5c007204f800024002e26..."} 
[2026-04-26 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c41888012d16d5c007204f800024002e26..."} 
[2026-04-26 18:03:02] local.INFO: Processing buffer {"connection_id":55644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c41888012d16d5c007204f800024002e26..."} 
[2026-04-26 18:03:02] local.INFO: Packet analysis {"connection_id":55644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c4"} 
[2026-04-26 18:03:02] local.INFO: Extracted packet for processing {"connection_id":55644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c4"} 
[2026-04-26 18:03:02] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":38,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964875264001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777206565000,"timestamp_ms":1777206565000,"timestamp_seconds":1777206565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c41888"} 
[2026-04-26 18:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:03:02] 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-04-26 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":55644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":55644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":55644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:03:02] 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-04-26 18:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964875264001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964875264001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:03:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964875264001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":55644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:03:03] local.INFO: GPS data processed {"connection_id":55644,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:03:03] local.INFO: Acknowledgment sent {"connection_id":55644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:03:13] local.INFO: TCP Data received {"connection_id":55646,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:03:13] local.INFO: Processing buffer {"connection_id":55646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:03:13] local.INFO: IMEI packet received {"connection_id":55646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":55646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:03:18] local.INFO: TCP Data received {"connection_id":55646,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:03:18] local.INFO: Processing buffer {"connection_id":55646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:03:18] local.INFO: IMEI packet received {"connection_id":55646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":55646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:03:19] local.INFO: TCP Data received {"connection_id":55646,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:03:19] local.INFO: Processing buffer {"connection_id":55646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:03:19] local.INFO: Packet analysis {"connection_id":55646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:03:19] local.INFO: Extracted packet for processing {"connection_id":55646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:03:19] 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-04-26 18:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:03:19] 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-04-26 18:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:03:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":55646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:03:19] local.INFO: GPS data processed {"connection_id":55646,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:03:19] local.INFO: Acknowledgment sent {"connection_id":55646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:03:27] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:27] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:27] local.INFO: IMEI packet received {"connection_id":54983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":54983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:03:34] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:34] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:34] local.INFO: IMEI packet received {"connection_id":54983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":54983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:03:34] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:34] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:34] local.INFO: IMEI packet received {"connection_id":54983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":54983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:03:37] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:37] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:03:37] local.INFO: IMEI packet received {"connection_id":54983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":54983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:03:38] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c46a90012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c46a90012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:03:38] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c46a90012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:03:38] local.INFO: Packet analysis {"connection_id":54983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c4"} 
[2026-04-26 18:03:38] local.INFO: Extracted packet for processing {"connection_id":54983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c4"} 
[2026-04-26 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":42,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964880640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777206586000,"timestamp_ms":1777206586000,"timestamp_seconds":1777206586,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c46a90"} 
[2026-04-26 18:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:03:38] 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-04-26 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964880640001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964880640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:03:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964880640001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":54983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:03:38] local.INFO: GPS data processed {"connection_id":54983,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:03:38] local.INFO: Acknowledgment sent {"connection_id":54983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:03:50] local.INFO: TCP Data received {"connection_id":55646,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:03:50] local.INFO: Processing buffer {"connection_id":55646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:03:50] local.INFO: Packet analysis {"connection_id":55646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:03:50] local.INFO: Extracted packet for processing {"connection_id":55646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:03:50] 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-04-26 18:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:03:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":55646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:03:50] local.INFO: GPS data processed {"connection_id":55646,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:03:50] local.INFO: Acknowledgment sent {"connection_id":55646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:04:09] local.INFO: TCP Data received {"connection_id":54983,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c4bc98012d16d5c007204f800024002e27..."} 
[2026-04-26 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c4bc98012d16d5c007204f800024002e27..."} 
[2026-04-26 18:04:09] local.INFO: Processing buffer {"connection_id":54983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c4bc98012d16d5c007204f800024002e27..."} 
[2026-04-26 18:04:09] local.INFO: Packet analysis {"connection_id":54983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c4"} 
[2026-04-26 18:04:09] local.INFO: Extracted packet for processing {"connection_id":54983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c4"} 
[2026-04-26 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964886016001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777206607000,"timestamp_ms":1777206607000,"timestamp_seconds":1777206607,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c4bc98"} 
[2026-04-26 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:04: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-04-26 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:04: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-04-26 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:04:09] 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-04-26 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964886016001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964886016001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:04:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964886016001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":54983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:04:09] local.INFO: GPS data processed {"connection_id":54983,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:04:09] local.INFO: Acknowledgment sent {"connection_id":54983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:04:19] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:04:19] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:04:19] local.INFO: IMEI packet received {"connection_id":54899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":54899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:04:23] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:04:23] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:04:23] local.INFO: IMEI packet received {"connection_id":54899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":54899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:04:26] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:04:26] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:04:26] local.INFO: Packet analysis {"connection_id":54899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:04:26] local.INFO: Extracted packet for processing {"connection_id":54899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:04:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18: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-04-26 18:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:04:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:04:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":54899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:04:26] local.INFO: GPS data processed {"connection_id":54899,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:04:26] local.INFO: Acknowledgment sent {"connection_id":54899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:04:27] local.INFO: TCP Data received {"connection_id":55647,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:04:27] local.INFO: Processing buffer {"connection_id":55647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:04:27] local.INFO: IMEI packet received {"connection_id":55647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":55647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:04:28] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:04:28] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:04:28] local.INFO: Packet analysis {"connection_id":54899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:04:28] local.INFO: Extracted packet for processing {"connection_id":54899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:04:28] 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-04-26 18:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:04: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-04-26 18:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:04:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:04:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":54899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:04:28] local.INFO: GPS data processed {"connection_id":54899,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:04:28] local.INFO: Acknowledgment sent {"connection_id":54899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:04:32] local.INFO: TCP Data received {"connection_id":55647,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:04:32] local.INFO: Processing buffer {"connection_id":55647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:04:32] local.INFO: IMEI packet received {"connection_id":55647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":55647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:04:33] local.INFO: TCP Data received {"connection_id":55647,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c50ea0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c50ea0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:04:33] local.INFO: Processing buffer {"connection_id":55647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c50ea0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:04:33] local.INFO: Packet analysis {"connection_id":55647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:04:33] local.INFO: Extracted packet for processing {"connection_id":55647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964891392001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777206628000,"timestamp_ms":1777206628000,"timestamp_seconds":1777206628,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c50ea0"} 
[2026-04-26 18:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964891392001,"66":12341,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964891392001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:04:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964891392001,"power":12341,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":55647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:04:33] local.INFO: GPS data processed {"connection_id":55647,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:04:33] local.INFO: Acknowledgment sent {"connection_id":55647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:05:04] local.INFO: TCP Data received {"connection_id":55647,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c560a8012d16d5c007204f800024002e27..."} 
[2026-04-26 18:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c560a8012d16d5c007204f800024002e27..."} 
[2026-04-26 18:05:04] local.INFO: Processing buffer {"connection_id":55647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c560a8012d16d5c007204f800024002e27..."} 
[2026-04-26 18:05:04] local.INFO: Packet analysis {"connection_id":55647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:04] local.INFO: Extracted packet for processing {"connection_id":55647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964896768001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777206649000,"timestamp_ms":1777206649000,"timestamp_seconds":1777206649,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c560a8"} 
[2026-04-26 18:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 18:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:05:04] 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-04-26 18:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964896768001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964896768001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:05:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964896768001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":55647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:05:04] local.INFO: GPS data processed {"connection_id":55647,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:05:04] local.INFO: Acknowledgment sent {"connection_id":55647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:05:13] local.INFO: TCP Data received {"connection_id":55648,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:05:13] local.INFO: Processing buffer {"connection_id":55648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:05:13] local.INFO: IMEI packet received {"connection_id":55648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":55648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:05:18] local.INFO: TCP Data received {"connection_id":55648,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:05:18] local.INFO: Processing buffer {"connection_id":55648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:05:18] local.INFO: IMEI packet received {"connection_id":55648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":55648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:05:19] local.INFO: TCP Data received {"connection_id":55648,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:05:19] local.INFO: Processing buffer {"connection_id":55648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:05:19] local.INFO: Packet analysis {"connection_id":55648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:19] local.INFO: Extracted packet for processing {"connection_id":55648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 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-04-26 18:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:05:19] 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-04-26 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-04-26 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-04-26 18:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:05:19] 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-04-26 18:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:05:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":55648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:05:19] local.INFO: GPS data processed {"connection_id":55648,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:05:19] local.INFO: Acknowledgment sent {"connection_id":55648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:05:27] local.INFO: TCP Data received {"connection_id":55649,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:05:27] local.INFO: Processing buffer {"connection_id":55649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:05:27] local.INFO: IMEI packet received {"connection_id":55649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":55649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:05:32] local.INFO: TCP Data received {"connection_id":55649,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:05:32] local.INFO: Processing buffer {"connection_id":55649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:05:32] local.INFO: IMEI packet received {"connection_id":55649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":55649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:05:33] local.INFO: TCP Data received {"connection_id":55649,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c5b2b0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c5b2b0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:05:33] local.INFO: Processing buffer {"connection_id":55649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c5b2b0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:05:33] local.INFO: Packet analysis {"connection_id":55649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:33] local.INFO: Extracted packet for processing {"connection_id":55649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964902144001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777206670000,"timestamp_ms":1777206670000,"timestamp_seconds":1777206670,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c5b2b0"} 
[2026-04-26 18:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964902144001,"66":12341,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964902144001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:05:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964902144001,"power":12341,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":55649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:05:33] local.INFO: GPS data processed {"connection_id":55649,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:05:33] local.INFO: Acknowledgment sent {"connection_id":55649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:05:50] local.INFO: TCP Data received {"connection_id":55648,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:05:50] local.INFO: Processing buffer {"connection_id":55648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:05:50] local.INFO: Packet analysis {"connection_id":55648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:50] local.INFO: Extracted packet for processing {"connection_id":55648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:05:50] 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-04-26 18: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-04-26 18:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:05:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":55648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:05:50] local.INFO: GPS data processed {"connection_id":55648,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:05:50] local.INFO: Acknowledgment sent {"connection_id":55648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:06:04] local.INFO: TCP Data received {"connection_id":55649,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c604b8012d16d5c007204f800024002e27..."} 
[2026-04-26 18:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c604b8012d16d5c007204f800024002e27..."} 
[2026-04-26 18:06:04] local.INFO: Processing buffer {"connection_id":55649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c604b8012d16d5c007204f800024002e27..."} 
[2026-04-26 18:06:04] local.INFO: Packet analysis {"connection_id":55649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c6"} 
[2026-04-26 18:06:04] local.INFO: Extracted packet for processing {"connection_id":55649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c6"} 
[2026-04-26 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964907520001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777206691000,"timestamp_ms":1777206691000,"timestamp_seconds":1777206691,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c604b8"} 
[2026-04-26 18:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 18:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:06:04] 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-04-26 18:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964907520001,"66":12363,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964907520001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:06:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964907520001,"power":12363,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":55649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:06:04] local.INFO: GPS data processed {"connection_id":55649,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:06:04] local.INFO: Acknowledgment sent {"connection_id":55649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:06:13] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:06:13] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:06:13] local.INFO: IMEI packet received {"connection_id":54734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":54734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:06:18] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:06:18] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:06:18] local.INFO: IMEI packet received {"connection_id":54734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":54734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:06:28] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:06:28] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:06:28] local.INFO: Packet analysis {"connection_id":54734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:06:28] local.INFO: Extracted packet for processing {"connection_id":54734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:06:28] 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-04-26 18:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:06:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:06:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":54734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:06:28] local.INFO: GPS data processed {"connection_id":54734,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:06:28] local.INFO: Acknowledgment sent {"connection_id":54734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:06:29] local.INFO: TCP Data received {"connection_id":54734,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:06:29] local.INFO: Processing buffer {"connection_id":54734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c59370012cb299c007822ce0004d00122a..."} 
[2026-04-26 18:06:29] local.INFO: Packet analysis {"connection_id":54734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:06:29] local.INFO: Extracted packet for processing {"connection_id":54734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c5"} 
[2026-04-26 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964828416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777206662000,"timestamp_ms":1777206662000,"timestamp_seconds":1777206662,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c59370"} 
[2026-04-26 18:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:06:29] 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-04-26 18: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-04-26 18:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964828416001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964828416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:06:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964828416001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":54734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:06:29] local.INFO: GPS data processed {"connection_id":54734,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:06:29] local.INFO: Acknowledgment sent {"connection_id":54734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:06:32] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:06:32] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:06:32] local.INFO: IMEI packet received {"connection_id":54986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":54986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:06:37] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:06:37] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:06:37] local.INFO: IMEI packet received {"connection_id":54986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":54986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:06:38] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c656c0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c656c0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:06:38] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c656c0012d16d5c007204f800024002e27..."} 
[2026-04-26 18:06:38] local.INFO: Packet analysis {"connection_id":54986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c6"} 
[2026-04-26 18:06:38] local.INFO: Extracted packet for processing {"connection_id":54986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c6"} 
[2026-04-26 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964912896001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777206712000,"timestamp_ms":1777206712000,"timestamp_seconds":1777206712,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c656c0"} 
[2026-04-26 18:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-26 18:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:06:38] 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-04-26 18:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964912896001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964912896001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:06:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964912896001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":54986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:06:38] local.INFO: GPS data processed {"connection_id":54986,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:06:38] local.INFO: Acknowledgment sent {"connection_id":54986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:06:43] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9c6a8c8012d16d5c007204f800024002e29..."} 
[2026-04-26 18:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9c6a8c8012d16d5c007204f800024002e29..."} 
[2026-04-26 18:06:43] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9c6a8c8012d16d5c007204f800024002e29..."} 
[2026-04-26 18:06:43] local.INFO: Packet analysis {"connection_id":54986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9c6"} 
[2026-04-26 18:06:43] local.INFO: Extracted packet for processing {"connection_id":54986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9c6"} 
[2026-04-26 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964918272001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777206733000,"timestamp_ms":1777206733000,"timestamp_seconds":1777206733,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9c6a8c8"} 
[2026-04-26 18:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:06:43] 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-04-26 18:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964918272001,"66":12374,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964918272001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:06:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964918272001,"power":12374,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":54986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:06:43] local.INFO: GPS data processed {"connection_id":54986,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:06:43] local.INFO: Acknowledgment sent {"connection_id":54986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:06:59] local.INFO: TCP Data received {"connection_id":54987,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:06:59] local.INFO: Processing buffer {"connection_id":54987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:06:59] local.INFO: IMEI packet received {"connection_id":54987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":54987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:07:13] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:07:13] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:07:13] local.INFO: IMEI packet received {"connection_id":54988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:07:18] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:07:18] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:07:18] local.INFO: IMEI packet received {"connection_id":54988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":54988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:07:19] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:07:19] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:07:19] local.INFO: Packet analysis {"connection_id":54988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:07:19] local.INFO: Extracted packet for processing {"connection_id":54988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:07:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964905472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777206963000,"timestamp_ms":1777206963000,"timestamp_seconds":1777206963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2b38"} 
[2026-04-26 18:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:07:19] 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-04-26 18:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964905472001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964905472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:07:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:07:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:07:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964905472001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":54988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:07:19] local.INFO: GPS data processed {"connection_id":54988,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:07:19] local.INFO: Acknowledgment sent {"connection_id":54988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:07:24] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:24] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:24] local.INFO: IMEI packet received {"connection_id":54735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":54735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:07:27] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:27] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:27] local.INFO: IMEI packet received {"connection_id":54735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":54735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:07:33] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:33] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:07:33] local.INFO: IMEI packet received {"connection_id":54735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":54735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:07:33] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2f20012d16d5c007204f800024002e27..."} 
[2026-04-26 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2f20012d16d5c007204f800024002e27..."} 
[2026-04-26 18:07:33] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2f20012d16d5c007204f800024002e27..."} 
[2026-04-26 18:07:33] local.INFO: Packet analysis {"connection_id":54735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:07:33] local.INFO: Extracted packet for processing {"connection_id":54735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964977408001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777206964000,"timestamp_ms":1777206964000,"timestamp_seconds":1777206964,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2f20"} 
[2026-04-26 18:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964977408001,"66":12374,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964977408001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:07:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964977408001,"power":12374,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":54735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:07:34] local.INFO: GPS data processed {"connection_id":54735,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:07:34] local.INFO: Acknowledgment sent {"connection_id":54735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:07:47] local.INFO: TCP Data received {"connection_id":54900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:07:47] local.INFO: Processing buffer {"connection_id":54900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:07:47] local.INFO: IMEI packet received {"connection_id":54900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:07:47] local.INFO: IMEI acknowledgment sent {"connection_id":54900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:07:49] local.INFO: TCP Data received {"connection_id":54900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:07:49] local.INFO: Processing buffer {"connection_id":54900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:07:49] local.INFO: IMEI packet received {"connection_id":54900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 18:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":54900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:07:50] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:07:50] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:07:50] local.INFO: Packet analysis {"connection_id":54988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:07:50] local.INFO: Extracted packet for processing {"connection_id":54988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964905472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777206963000,"timestamp_ms":1777206963000,"timestamp_seconds":1777206963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2b38"} 
[2026-04-26 18:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:07:50] 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-04-26 18:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964905472001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964905472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:07:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:07:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:07:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964905472001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":54988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:07:50] local.INFO: GPS data processed {"connection_id":54988,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:07:50] local.INFO: Acknowledgment sent {"connection_id":54988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:08:05] local.INFO: TCP Data received {"connection_id":54735,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca8128012d16d5c007204f800024002e27..."} 
[2026-04-26 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca8128012d16d5c007204f800024002e27..."} 
[2026-04-26 18:08:05] local.INFO: Processing buffer {"connection_id":54735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca8128012d16d5c007204f800024002e27..."} 
[2026-04-26 18:08:05] local.INFO: Packet analysis {"connection_id":54735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:05] local.INFO: Extracted packet for processing {"connection_id":54735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964982784001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777206985000,"timestamp_ms":1777206985000,"timestamp_seconds":1777206985,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca8128"} 
[2026-04-26 18:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-26 18:08:05] 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-04-26 18: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-04-26 18:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:08:05] 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-04-26 18:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964982784001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964982784001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:08:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964982784001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":54735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:08:05] local.INFO: GPS data processed {"connection_id":54735,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:08:05] local.INFO: Acknowledgment sent {"connection_id":54735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:08:18] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:08:18] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:08:18] local.INFO: IMEI packet received {"connection_id":54736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":54736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:08:23] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:08:23] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:08:23] local.INFO: IMEI packet received {"connection_id":54736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":54736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:08:27] local.INFO: TCP Data received {"connection_id":55651,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:27] local.INFO: Processing buffer {"connection_id":55651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:27] local.INFO: IMEI packet received {"connection_id":55651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":55651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:08:28] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:08:28] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:08:28] local.INFO: Packet analysis {"connection_id":54736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:28] local.INFO: Extracted packet for processing {"connection_id":54736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964905472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777206963000,"timestamp_ms":1777206963000,"timestamp_seconds":1777206963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2b38"} 
[2026-04-26 18:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:08:28] 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-04-26 18:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:08:28] 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-04-26 18:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964905472001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964905472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:08:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:08:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964905472001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":54736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:08:28] local.INFO: GPS data processed {"connection_id":54736,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:08:28] local.INFO: Acknowledgment sent {"connection_id":54736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:08:28] local.INFO: TCP Data received {"connection_id":55651,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:28] local.INFO: Processing buffer {"connection_id":55651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:28] local.INFO: IMEI packet received {"connection_id":55651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":55651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:08:30] local.INFO: TCP Data received {"connection_id":54736,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:08:30] local.INFO: Processing buffer {"connection_id":54736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:08:30] local.INFO: Packet analysis {"connection_id":54736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:30] local.INFO: Extracted packet for processing {"connection_id":54736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964905472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777206963000,"timestamp_ms":1777206963000,"timestamp_seconds":1777206963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2b38"} 
[2026-04-26 18:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:08: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-04-26 18:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964905472001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964905472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:08:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964905472001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":54736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:08:30] local.INFO: GPS data processed {"connection_id":54736,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:08:30] local.INFO: Acknowledgment sent {"connection_id":54736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:08:32] local.INFO: TCP Data received {"connection_id":55651,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:32] local.INFO: Processing buffer {"connection_id":55651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:08:32] local.INFO: IMEI packet received {"connection_id":55651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":55651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:08:33] local.INFO: TCP Data received {"connection_id":55651,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cad330012d16d5c007204f800024002e29..."} 
[2026-04-26 18:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cad330012d16d5c007204f800024002e29..."} 
[2026-04-26 18:08:33] local.INFO: Processing buffer {"connection_id":55651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cad330012d16d5c007204f800024002e29..."} 
[2026-04-26 18:08:33] local.INFO: Packet analysis {"connection_id":55651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:33] local.INFO: Extracted packet for processing {"connection_id":55651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964988160001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777207006000,"timestamp_ms":1777207006000,"timestamp_seconds":1777207006,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cad330"} 
[2026-04-26 18:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964988160001,"66":12374,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964988160001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964988160001,"power":12374,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":55651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:08:33] local.INFO: GPS data processed {"connection_id":55651,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:08:33] local.INFO: Acknowledgment sent {"connection_id":55651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:08:34] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:08:34] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:08:34] local.INFO: IMEI packet received {"connection_id":54989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":54989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:09:04] local.INFO: TCP Data received {"connection_id":55651,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cb2538012d16d5c007204f800024002e27..."} 
[2026-04-26 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cb2538012d16d5c007204f800024002e27..."} 
[2026-04-26 18:09:04] local.INFO: Processing buffer {"connection_id":55651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cb2538012d16d5c007204f800024002e27..."} 
[2026-04-26 18:09:04] local.INFO: Packet analysis {"connection_id":55651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cb"} 
[2026-04-26 18:09:04] local.INFO: Extracted packet for processing {"connection_id":55651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cb"} 
[2026-04-26 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964993536001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777207027000,"timestamp_ms":1777207027000,"timestamp_seconds":1777207027,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cb2538"} 
[2026-04-26 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-26 18:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:09:04] 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-04-26 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964993536001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964993536001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964993536001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":55651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:09:04] local.INFO: GPS data processed {"connection_id":55651,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:09:04] local.INFO: Acknowledgment sent {"connection_id":55651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:09:13] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:13] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:13] local.INFO: IMEI packet received {"connection_id":54990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":54990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:09:18] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:18] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:18] local.INFO: IMEI packet received {"connection_id":54990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":54990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:09:23] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:23] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:09:23] local.INFO: IMEI packet received {"connection_id":54990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":54990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:09:24] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:09:24] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:09:24] local.INFO: Packet analysis {"connection_id":54990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:09:24] local.INFO: Extracted packet for processing {"connection_id":54990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:09:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964905472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777206963000,"timestamp_ms":1777206963000,"timestamp_seconds":1777206963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2b38"} 
[2026-04-26 18:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:09:24] 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-04-26 18: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-04-26 18:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964905472001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964905472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:09:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964905472001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":54990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:09:24] local.INFO: GPS data processed {"connection_id":54990,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:09:24] local.INFO: Acknowledgment sent {"connection_id":54990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:09:28] local.INFO: TCP Data received {"connection_id":55652,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:28] local.INFO: Processing buffer {"connection_id":55652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:28] local.INFO: IMEI packet received {"connection_id":55652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":55652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:09:30] local.INFO: TCP Data received {"connection_id":55652,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:30] local.INFO: Processing buffer {"connection_id":55652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:30] local.INFO: IMEI packet received {"connection_id":55652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":55652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:09:32] local.INFO: TCP Data received {"connection_id":55652,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:32] local.INFO: Processing buffer {"connection_id":55652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:09:32] local.INFO: IMEI packet received {"connection_id":55652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":55652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:09:35] local.INFO: TCP Data received {"connection_id":55652,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cb7740012d16d5c007204f800024002e27..."} 
[2026-04-26 18:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cb7740012d16d5c007204f800024002e27..."} 
[2026-04-26 18:09:35] local.INFO: Processing buffer {"connection_id":55652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cb7740012d16d5c007204f800024002e27..."} 
[2026-04-26 18:09:35] local.INFO: Packet analysis {"connection_id":55652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cb"} 
[2026-04-26 18:09:35] local.INFO: Extracted packet for processing {"connection_id":55652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cb"} 
[2026-04-26 18:09:35] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":39,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964998912001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777207048000,"timestamp_ms":1777207048000,"timestamp_seconds":1777207048,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cb7740"} 
[2026-04-26 18:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:09:35] 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-04-26 18:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964998912001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964998912001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:09:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964998912001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":55652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:09:35] local.INFO: GPS data processed {"connection_id":55652,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:09:35] local.INFO: Acknowledgment sent {"connection_id":55652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:09:38] local.INFO: TCP Data received {"connection_id":55652,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cbc948012d16d5c007204f800024002e29..."} 
[2026-04-26 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cbc948012d16d5c007204f800024002e29..."} 
[2026-04-26 18:09:38] local.INFO: Processing buffer {"connection_id":55652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cbc948012d16d5c007204f800024002e29..."} 
[2026-04-26 18:09:38] local.INFO: Packet analysis {"connection_id":55652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cb"} 
[2026-04-26 18:09:38] local.INFO: Extracted packet for processing {"connection_id":55652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cb"} 
[2026-04-26 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":41,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965004288001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777207069000,"timestamp_ms":1777207069000,"timestamp_seconds":1777207069,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cbc948"} 
[2026-04-26 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:09:38] 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-04-26 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965004288001,"66":12341,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965004288001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:09:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965004288001,"power":12341,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":55652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:09:38] local.INFO: GPS data processed {"connection_id":55652,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:09:38] local.INFO: Acknowledgment sent {"connection_id":55652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:09:56] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:09:56] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ca2b38012cb299c007822ce0004900122b..."} 
[2026-04-26 18:09:56] local.INFO: Packet analysis {"connection_id":54990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:09:56] local.INFO: Extracted packet for processing {"connection_id":54990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ca"} 
[2026-04-26 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964905472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777206963000,"timestamp_ms":1777206963000,"timestamp_seconds":1777206963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ca2b38"} 
[2026-04-26 18:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:09: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-04-26 18:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964905472001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964905472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:09:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:09:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964905472001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":54990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:09:56] local.INFO: GPS data processed {"connection_id":54990,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:09:56] local.INFO: Acknowledgment sent {"connection_id":54990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:10:08] local.INFO: TCP Data received {"connection_id":55652,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cc1b50012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cc1b50012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:10:08] local.INFO: Processing buffer {"connection_id":55652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cc1b50012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:10:08] local.INFO: Packet analysis {"connection_id":55652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cc"} 
[2026-04-26 18:10:08] local.INFO: Extracted packet for processing {"connection_id":55652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cc"} 
[2026-04-26 18:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":42,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965009664001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777207090000,"timestamp_ms":1777207090000,"timestamp_seconds":1777207090,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cc1b50"} 
[2026-04-26 18:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:10: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-04-26 18:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 18:10:08] 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-04-26 18:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:10:08] 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-04-26 18:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965009664001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965009664001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965009664001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":55652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:10:08] local.INFO: GPS data processed {"connection_id":55652,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:10:08] local.INFO: Acknowledgment sent {"connection_id":55652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:10:13] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:10:13] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:10:13] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:10:27] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:10:27] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:10:27] local.INFO: IMEI packet received {"connection_id":54991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":54991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:10:28] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:10:28] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:10:28] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:10:32] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:10:32] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:10:32] local.INFO: IMEI packet received {"connection_id":54991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":54991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:10:35] local.INFO: TCP Data received {"connection_id":54738,"ip":"42.106.6.42","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 18:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54738,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 18:10:35] local.INFO: Processing buffer {"connection_id":54738,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 18:10:35] local.INFO: IMEI packet received {"connection_id":54738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":54738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:10:37] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cc6d58012d16d5c007204f800024002e2c..."} 
[2026-04-26 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cc6d58012d16d5c007204f800024002e2c..."} 
[2026-04-26 18:10:37] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cc6d58012d16d5c007204f800024002e2c..."} 
[2026-04-26 18:10:37] local.INFO: Packet analysis {"connection_id":54991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cc"} 
[2026-04-26 18:10:37] local.INFO: Extracted packet for processing {"connection_id":54991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cc"} 
[2026-04-26 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":44,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965015040001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777207111000,"timestamp_ms":1777207111000,"timestamp_seconds":1777207111,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cc6d58"} 
[2026-04-26 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 18:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:10:37] 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-04-26 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965015040001,"66":11863,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965015040001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965015040001,"power":11863,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":54991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:10:37] local.INFO: GPS data processed {"connection_id":54991,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:10:37] local.INFO: Acknowledgment sent {"connection_id":54991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:11:27] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:11:27] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:11:27] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:11:32] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:11:32] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:11:32] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:11:33] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ccbf60012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ccbf60012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:11:33] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ccbf60012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:11:33] local.INFO: Packet analysis {"connection_id":54902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cc"} 
[2026-04-26 18:11:33] local.INFO: Extracted packet for processing {"connection_id":54902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cc"} 
[2026-04-26 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":42,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965020416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777207132000,"timestamp_ms":1777207132000,"timestamp_seconds":1777207132,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ccbf60"} 
[2026-04-26 18:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-26 18:11:33] 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-04-26 18:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965020416001,"66":12319,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965020416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965020416001,"power":12319,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":54902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:11:33] local.INFO: GPS data processed {"connection_id":54902,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:11:33] local.INFO: Acknowledgment sent {"connection_id":54902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:12:04] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cd1168012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cd1168012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:12:04] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cd1168012d16d5c007204f800024002e2a..."} 
[2026-04-26 18:12:04] local.INFO: Packet analysis {"connection_id":54902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cd"} 
[2026-04-26 18:12:04] local.INFO: Extracted packet for processing {"connection_id":54902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cd"} 
[2026-04-26 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":42,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965025792001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777207153000,"timestamp_ms":1777207153000,"timestamp_seconds":1777207153,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cd1168"} 
[2026-04-26 18:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-26 18:12:04] 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-04-26 18:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:12:04] 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-04-26 18:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965025792001,"66":12319,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965025792001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:12:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965025792001,"power":12319,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":54902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:12:04] local.INFO: GPS data processed {"connection_id":54902,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:12:04] local.INFO: Acknowledgment sent {"connection_id":54902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:12:29] local.INFO: TCP Data received {"connection_id":54740,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:29] local.INFO: Processing buffer {"connection_id":54740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:29] local.INFO: IMEI packet received {"connection_id":54740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":54740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:12:32] local.INFO: TCP Data received {"connection_id":54740,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:32] local.INFO: Processing buffer {"connection_id":54740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:32] local.INFO: IMEI packet received {"connection_id":54740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":54740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:12:37] local.INFO: TCP Data received {"connection_id":54740,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:37] local.INFO: Processing buffer {"connection_id":54740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:12:37] local.INFO: IMEI packet received {"connection_id":54740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":54740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:12:38] local.INFO: TCP Data received {"connection_id":54740,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cd6370012d16d5c007204f800024002e2b..."} 
[2026-04-26 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cd6370012d16d5c007204f800024002e2b..."} 
[2026-04-26 18:12:38] local.INFO: Processing buffer {"connection_id":54740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cd6370012d16d5c007204f800024002e2b..."} 
[2026-04-26 18:12:38] local.INFO: Packet analysis {"connection_id":54740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cd"} 
[2026-04-26 18:12:38] local.INFO: Extracted packet for processing {"connection_id":54740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cd"} 
[2026-04-26 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756471232,"raw_latitude":119558016,"longitude_deg":75.6471232,"latitude_deg":11.9558016,"altitude":36,"angle":46,"satellites":43,"speed":0,"hex_longitude":"2d16d5c0","hex_latitude":"07204f80","is_valid_coordinates":true} 
[2026-04-26 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965031168001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114868019863224320,"note":"Value kept but may cause issues"} 
[2026-04-26 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1645432375713169408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777207174000,"timestamp_ms":1777207174000,"timestamp_seconds":1777207174,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cd6370"} 
[2026-04-26 18:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-26 18:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:12:38] 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-04-26 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965031168001,"66":12385,"85":206,"83":41984,"24":0,"16":114868019863224320,"45":1645432375713169408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-26 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965031168001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-26 18:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114868019863224320,"km_value":114868019863224.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1645432375713169408,"description":"Unknown IO ID 45"} 
[2026-04-26 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965031168001,"power":12385,"unknown_85":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1645432375713169408}} 
[2026-04-26 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":54740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:12:38] local.INFO: GPS data processed {"connection_id":54740,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:12:38] local.INFO: Acknowledgment sent {"connection_id":54740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:13:28] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:13:28] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:13:28] local.INFO: IMEI packet received {"connection_id":54992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":54992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:13:31] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:13:31] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:13:31] local.INFO: IMEI packet received {"connection_id":54992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":54992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:13:35] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cfc4d0012d17b2c007211d880037002f26..."} 
[2026-04-26 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cfc4d0012d17b2c007211d880037002f26..."} 
[2026-04-26 18:13:35] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cfc4d0012d17b2c007211d880037002f26..."} 
[2026-04-26 18:13:35] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cf"} 
[2026-04-26 18:13:35] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cf"} 
[2026-04-26 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119610760,"longitude_deg":75.6527808,"latitude_deg":11.961076,"altitude":55,"angle":47,"satellites":38,"speed":41,"hex_longitude":"2d17b2c0","hex_latitude":"07211d88","is_valid_coordinates":true} 
[2026-04-26 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965074176001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114871735009935360,"note":"Value kept but may cause issues"} 
[2026-04-26 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1699405202509504512,"note":"Value kept but may cause issues"} 
[2026-04-26 18:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777207330000,"timestamp_ms":1777207330000,"timestamp_seconds":1777207330,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cfc4d0"} 
[2026-04-26 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 18:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:13:35] 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-04-26 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965074176001,"66":13906,"107":206,"83":41984,"24":41,"16":114871735009935360,"45":1699405202509504512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-26 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965074176001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:13:35] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-26 18:13:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114871735009935360,"km_value":114871735009935.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1699405202509504512,"description":"Unknown IO ID 45"} 
[2026-04-26 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965074176001,"power":13906,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1699405202509504512}} 
[2026-04-26 18:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:13:35] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:13:35] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:13:36] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cfdc40012d17c340072130380039002326..."} 
[2026-04-26 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cfdc40012d17c340072130380039002326..."} 
[2026-04-26 18:13:36] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cfdc40012d17c340072130380039002326..."} 
[2026-04-26 18:13:36] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9cf"} 
[2026-04-26 18:13:36] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9cf"} 
[2026-04-26 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756532032,"raw_latitude":119615544,"longitude_deg":75.6532032,"latitude_deg":11.9615544,"altitude":57,"angle":35,"satellites":38,"speed":41,"hex_longitude":"2d17c340","hex_latitude":"07213038","is_valid_coordinates":true} 
[2026-04-26 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965076480001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114872039952613376,"note":"Value kept but may cause issues"} 
[2026-04-26 18:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345579726848,"note":"Value kept but may cause issues"} 
[2026-04-26 18:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777207336000,"timestamp_ms":1777207336000,"timestamp_seconds":1777207336,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cfdc40"} 
[2026-04-26 18:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 18:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:13:36] 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-04-26 18:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965076480001,"66":14374,"107":206,"83":41984,"24":41,"16":114872039952613376,"45":1707638345579726848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-26 18:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965076480001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:13:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-26 18:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114872039952613376,"km_value":114872039952613.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345579726848,"description":"Unknown IO ID 45"} 
[2026-04-26 18:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965076480001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1707638345579726848}} 
[2026-04-26 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:13:36] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:13:36] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:14:04] local.INFO: TCP Data received {"connection_id":55654,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:04] local.INFO: Processing buffer {"connection_id":55654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:04] local.INFO: IMEI packet received {"connection_id":55654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":55654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:14:26] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:26] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:26] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:14:30] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:30] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:30] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:14:35] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:35] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:35] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:14:38] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:38] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:14:38] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:14:41] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d00350012d17d70007214ff8003c001f27..."} 
[2026-04-26 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d00350012d17d70007214ff8003c001f27..."} 
[2026-04-26 18:14:41] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d00350012d17d70007214ff8003c001f27..."} 
[2026-04-26 18:14:41] local.INFO: Packet analysis {"connection_id":54993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:14:41] local.INFO: Extracted packet for processing {"connection_id":54993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756537088,"raw_latitude":119623672,"longitude_deg":75.6537088,"latitude_deg":11.9623672,"altitude":60,"angle":31,"satellites":39,"speed":34,"hex_longitude":"2d17d700","hex_latitude":"07214ff8","is_valid_coordinates":true} 
[2026-04-26 18:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965078016001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114872503809081344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712282682696677376,"note":"Value kept but may cause issues"} 
[2026-04-26 18:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777207346000,"timestamp_ms":1777207346000,"timestamp_seconds":1777207346,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d00350"} 
[2026-04-26 18:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 18:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":54993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":54993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":54993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:14:41] 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-04-26 18:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965078016001,"66":13993,"107":206,"83":41984,"24":34,"16":114872503809081344,"45":1712282682696677376},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-26 18:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965078016001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:14:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-26 18:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114872503809081344,"km_value":114872503809081.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712282682696677376,"description":"Unknown IO ID 45"} 
[2026-04-26 18:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965078016001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1712282682696677376}} 
[2026-04-26 18:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":54993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:14:41] local.INFO: GPS data processed {"connection_id":54993,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:14:41] local.INFO: Acknowledgment sent {"connection_id":54993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:14:41] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:41] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:41] local.INFO: IMEI packet received {"connection_id":54905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":54905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:14:42] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d02e48012d17e94007216ff00043002128..."} 
[2026-04-26 18:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d02e48012d17e94007216ff00043002128..."} 
[2026-04-26 18:14:42] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d02e48012d17e94007216ff00043002128..."} 
[2026-04-26 18:14:42] local.INFO: Packet analysis {"connection_id":54993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:14:42] local.INFO: Extracted packet for processing {"connection_id":54993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:14:42] local.INFO: GPS Element Parsed {"raw_longitude":756541760,"raw_latitude":119631856,"longitude_deg":75.654176,"latitude_deg":11.9631856,"altitude":67,"angle":33,"satellites":40,"speed":34,"hex_longitude":"2d17e940","hex_latitude":"07216ff0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965080576001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114872954780647424,"note":"Value kept but may cause issues"} 
[2026-04-26 18:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717841813488793600,"note":"Value kept but may cause issues"} 
[2026-04-26 18:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777207357000,"timestamp_ms":1777207357000,"timestamp_seconds":1777207357,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d02e48"} 
[2026-04-26 18:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:14:42] 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-04-26 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 18:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:14:42] 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-04-26 18:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965080576001,"66":14483,"105":206,"83":41984,"24":34,"16":114872954780647424,"45":1717841813488793600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965080576001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114872954780647424,"km_value":114872954780647.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717841813488793600,"description":"Unknown IO ID 45"} 
[2026-04-26 18:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965080576001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1717841813488793600}} 
[2026-04-26 18:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":54993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:14:42] local.INFO: GPS data processed {"connection_id":54993,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:14:42] local.INFO: Acknowledgment sent {"connection_id":54993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:14:52] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:52] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:52] local.INFO: IMEI packet received {"connection_id":54905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 18:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":54905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:14:52] local.INFO: TCP Data received {"connection_id":54905,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:52] local.INFO: Processing buffer {"connection_id":54905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:14:52] local.INFO: IMEI packet received {"connection_id":54905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 18:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":54905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:15:27] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:27] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:27] local.INFO: IMEI packet received {"connection_id":54743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":54743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:15:30] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:30] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:30] local.INFO: IMEI packet received {"connection_id":54743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":54743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:15:32] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:32] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:15:32] local.INFO: IMEI packet received {"connection_id":54743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":54743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:15:33] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d041d0012d17f44007217d300045002c2a..."} 
[2026-04-26 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d041d0012d17f44007217d300045002c2a..."} 
[2026-04-26 18:15:33] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d041d0012d17f44007217d300045002c2a..."} 
[2026-04-26 18:15:33] local.INFO: Packet analysis {"connection_id":54743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:15:33] local.INFO: Extracted packet for processing {"connection_id":54743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756544576,"raw_latitude":119635248,"longitude_deg":75.6544576,"latitude_deg":11.9635248,"altitude":69,"angle":44,"satellites":42,"speed":35,"hex_longitude":"2d17f440","hex_latitude":"07217d30","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965083392001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873169529012224,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722978731815858176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777207362000,"timestamp_ms":1777207362000,"timestamp_seconds":1777207362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d041d0"} 
[2026-04-26 18:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 18:15:33] 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-04-26 18: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-04-26 18:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965083392001,"66":14483,"105":206,"83":41984,"24":35,"16":114873169529012224,"45":1722978731815858176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965083392001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:15:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873169529012224,"km_value":114873169529012.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722978731815858176,"description":"Unknown IO ID 45"} 
[2026-04-26 18:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965083392001,"power":14483,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1722978731815858176}} 
[2026-04-26 18:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":54743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:15:33] local.INFO: GPS data processed {"connection_id":54743,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:15:33] local.INFO: Acknowledgment sent {"connection_id":54743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:15:33] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:15:33] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:15:33] local.INFO: IMEI packet received {"connection_id":54994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":54994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:15:34] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cec300012cb299c007822ce0004d001228..."} 
[2026-04-26 18:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cec300012cb299c007822ce0004d001228..."} 
[2026-04-26 18:15:34] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cec300012cb299c007822ce0004d001228..."} 
[2026-04-26 18:15:34] local.INFO: Packet analysis {"connection_id":54994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ce"} 
[2026-04-26 18:15:34] local.INFO: Extracted packet for processing {"connection_id":54994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ce"} 
[2026-04-26 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964982528001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777207264000,"timestamp_ms":1777207264000,"timestamp_seconds":1777207264,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cec300"} 
[2026-04-26 18:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:15:34] 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-04-26 18:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964982528001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964982528001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:15:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:15:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:15:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964982528001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":54994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:15:34] local.INFO: GPS data processed {"connection_id":54994,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:15:34] local.INFO: Acknowledgment sent {"connection_id":54994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:15:38] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d06cc8012d180f40072196680046002328..."} 
[2026-04-26 18:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d06cc8012d180f40072196680046002328..."} 
[2026-04-26 18:15:38] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d06cc8012d180f40072196680046002328..."} 
[2026-04-26 18:15:38] local.INFO: Packet analysis {"connection_id":54743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:15:38] local.INFO: Extracted packet for processing {"connection_id":54743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119641704,"longitude_deg":75.6551488,"latitude_deg":11.9641704,"altitude":70,"angle":35,"satellites":40,"speed":28,"hex_longitude":"2d180f40","hex_latitude":"07219668","is_valid_coordinates":true} 
[2026-04-26 18:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965084672001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873624795545600,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726074956560543744,"note":"Value kept but may cause issues"} 
[2026-04-26 18:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777207373000,"timestamp_ms":1777207373000,"timestamp_seconds":1777207373,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d06cc8"} 
[2026-04-26 18:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 18:15:38] 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-04-26 18:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:15:38] 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-04-26 18:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965084672001,"66":13906,"105":206,"83":41984,"24":28,"16":114873624795545600,"45":1726074956560543744},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965084672001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:15:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873624795545600,"km_value":114873624795545.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726074956560543744,"description":"Unknown IO ID 45"} 
[2026-04-26 18:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965084672001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1726074956560543744}} 
[2026-04-26 18:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":54743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:15:38] local.INFO: GPS data processed {"connection_id":54743,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:15:38] local.INFO: Acknowledgment sent {"connection_id":54743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:16:09] local.INFO: TCP Data received {"connection_id":54743,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d0a378012d1821400721b1d00046000628..."} 
[2026-04-26 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d0a378012d1821400721b1d00046000628..."} 
[2026-04-26 18:16:09] local.INFO: Processing buffer {"connection_id":54743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d0a378012d1821400721b1d00046000628..."} 
[2026-04-26 18:16:09] local.INFO: Packet analysis {"connection_id":54743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:16:09] local.INFO: Extracted packet for processing {"connection_id":54743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648720,"longitude_deg":75.6556096,"latitude_deg":11.964872,"altitude":70,"angle":6,"satellites":40,"speed":8,"hex_longitude":"2d182140","hex_latitude":"0721b1d0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965087488001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874028522471424,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674780933384192,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777207387000,"timestamp_ms":1777207387000,"timestamp_seconds":1777207387,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d0a378"} 
[2026-04-26 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-04-26 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 18:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:16:09] 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-04-26 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965087488001,"66":13135,"105":206,"83":41984,"24":8,"16":114874028522471424,"45":1733674780933384192},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965087488001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:16:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:16:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874028522471424,"km_value":114874028522471.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674780933384192,"description":"Unknown IO ID 45"} 
[2026-04-26 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965087488001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1733674780933384192}} 
[2026-04-26 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":54743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:16:09] local.INFO: GPS data processed {"connection_id":54743,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:16:09] local.INFO: Acknowledgment sent {"connection_id":54743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:16:13] local.INFO: TCP Data received {"connection_id":55655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:16:13] local.INFO: Processing buffer {"connection_id":55655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:16:13] local.INFO: IMEI packet received {"connection_id":55655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":55655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:16:18] local.INFO: TCP Data received {"connection_id":55655,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:16:18] local.INFO: Processing buffer {"connection_id":55655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:16:18] local.INFO: IMEI packet received {"connection_id":55655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":55655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:16:21] local.INFO: TCP Data received {"connection_id":55655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9cec300012cb299c007822ce0004d001228..."} 
[2026-04-26 18:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9cec300012cb299c007822ce0004d001228..."} 
[2026-04-26 18:16:21] local.INFO: Processing buffer {"connection_id":55655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9cec300012cb299c007822ce0004d001228..."} 
[2026-04-26 18:16:21] local.INFO: Packet analysis {"connection_id":55655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ce"} 
[2026-04-26 18:16:21] local.INFO: Extracted packet for processing {"connection_id":55655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ce"} 
[2026-04-26 18:16:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:16:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454964982528001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:16:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777207264000,"timestamp_ms":1777207264000,"timestamp_seconds":1777207264,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9cec300"} 
[2026-04-26 18:16:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:16:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:16:21] 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-04-26 18: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-04-26 18:16:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:16:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:16:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:16:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:16:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:16: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-04-26 18:16:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:16:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:16:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454964982528001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:16:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:16:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:16:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454964982528001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:16:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:16:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:16:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:16:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:16:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454964982528001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:16:21] local.INFO: DEBUG: GPS processor result {"connection_id":55655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:16:21] local.INFO: GPS data processed {"connection_id":55655,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:16:21] local.INFO: Acknowledgment sent {"connection_id":55655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:16:27] local.INFO: TCP Data received {"connection_id":54907,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:16:27] local.INFO: Processing buffer {"connection_id":54907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:16:27] local.INFO: IMEI packet received {"connection_id":54907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":54907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:16:32] local.INFO: TCP Data received {"connection_id":54907,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:16:32] local.INFO: Processing buffer {"connection_id":54907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:16:32] local.INFO: IMEI packet received {"connection_id":54907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":54907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:16:33] local.INFO: TCP Data received {"connection_id":54907,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d0a760012d1821400721b280004601512a..."} 
[2026-04-26 18:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d0a760012d1821400721b280004601512a..."} 
[2026-04-26 18:16:33] local.INFO: Processing buffer {"connection_id":54907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d0a760012d1821400721b280004601512a..."} 
[2026-04-26 18:16:33] local.INFO: Packet analysis {"connection_id":54907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:16:33] local.INFO: Extracted packet for processing {"connection_id":54907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119648896,"longitude_deg":75.6556096,"latitude_deg":11.9648896,"altitude":70,"angle":337,"satellites":42,"speed":5,"hex_longitude":"2d182140","hex_latitude":"0721b280","is_valid_coordinates":true} 
[2026-04-26 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965091072001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874037112406016,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330515972096,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777207388000,"timestamp_ms":1777207388000,"timestamp_seconds":1777207388,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d0a760"} 
[2026-04-26 18:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-26 18:16:33] 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-04-26 18:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965091072001,"66":13135,"105":206,"83":41984,"24":5,"16":114874037112406016,"45":1738741330515972096},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965091072001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:16:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874037112406016,"km_value":114874037112406.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330515972096,"description":"Unknown IO ID 45"} 
[2026-04-26 18:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965091072001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738741330515972096}} 
[2026-04-26 18:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":54907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:16:33] local.INFO: GPS data processed {"connection_id":54907,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:16:33] local.INFO: Acknowledgment sent {"connection_id":54907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:16:53] local.INFO: TCP Data received {"connection_id":55655,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:16:53] local.INFO: Processing buffer {"connection_id":55655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:16:53] local.INFO: Packet analysis {"connection_id":55655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:16:53] local.INFO: Extracted packet for processing {"connection_id":55655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:16:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:16:53] 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-04-26 18: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-04-26 18:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:16: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-04-26 18:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:16:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:16:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:16:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":55655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:16:53] local.INFO: GPS data processed {"connection_id":55655,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:16:53] local.INFO: Acknowledgment sent {"connection_id":55655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:17:06] local.INFO: TCP Data received {"connection_id":54907,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d0f198012d181f400721b108004500d329..."} 
[2026-04-26 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d0f198012d181f400721b108004500d329..."} 
[2026-04-26 18:17:06] local.INFO: Processing buffer {"connection_id":54907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d0f198012d181f400721b108004500d329..."} 
[2026-04-26 18:17:06] local.INFO: Packet analysis {"connection_id":54907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:17:06] local.INFO: Extracted packet for processing {"connection_id":54907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d0"} 
[2026-04-26 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648520,"longitude_deg":75.6555584,"latitude_deg":11.964852,"altitude":69,"angle":211,"satellites":41,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-04-26 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965091328001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874092946980864,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516017152,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777207407000,"timestamp_ms":1777207407000,"timestamp_seconds":1777207407,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d0f198"} 
[2026-04-26 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-26 18:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:17:06] 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-04-26 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965091328001,"66":13135,"105":206,"83":41984,"24":6,"16":114874092946980864,"45":1738741330516017152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965091328001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:17:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874092946980864,"km_value":114874092946980.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516017152,"description":"Unknown IO ID 45"} 
[2026-04-26 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965091328001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738741330516017152}} 
[2026-04-26 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":54907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:17:06] local.INFO: GPS data processed {"connection_id":54907,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:17:06] local.INFO: Acknowledgment sent {"connection_id":54907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:17:18] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:18] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:18] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:17:27] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:17:27] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:17:27] local.INFO: IMEI packet received {"connection_id":54745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":54745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:17:30] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:30] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:30] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:17:30] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:30] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:30] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:17:32] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:17:32] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:17:32] local.INFO: IMEI packet received {"connection_id":54745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":54745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:17:35] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d143a0012d181e800721afa8004500cc26..."} 
[2026-04-26 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d143a0012d181e800721afa8004500cc26..."} 
[2026-04-26 18:17:35] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d143a0012d181e800721afa8004500cc26..."} 
[2026-04-26 18:17:35] local.INFO: Packet analysis {"connection_id":54745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d1"} 
[2026-04-26 18:17:35] local.INFO: Extracted packet for processing {"connection_id":54745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d1"} 
[2026-04-26 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965096192001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562499584,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777207428000,"timestamp_ms":1777207428000,"timestamp_seconds":1777207428,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d143a0"} 
[2026-04-26 18:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-26 18:17:35] 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-04-26 18:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:17:35] 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-04-26 18:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965096192001,"66":13015,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1738178380562499584},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965096192001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:17:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:17:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562499584,"description":"Unknown IO ID 45"} 
[2026-04-26 18:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965096192001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562499584}} 
[2026-04-26 18:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":54745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:17:35] local.INFO: GPS data processed {"connection_id":54745,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:17:35] local.INFO: Acknowledgment sent {"connection_id":54745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:17:36] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:36] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:17:36] local.INFO: IMEI packet received {"connection_id":54744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":54744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:17:41] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:17:41] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:17:41] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:17:41] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 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-04-26 18:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:17:41] 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-04-26 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-04-26 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-04-26 18:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:17:41] 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-04-26 18:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:17:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:17:41] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:17:41] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:17:42] local.INFO: TCP Data received {"connection_id":54744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:17:42] local.INFO: Processing buffer {"connection_id":54744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:17:42] local.INFO: Packet analysis {"connection_id":54744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:17:42] local.INFO: Extracted packet for processing {"connection_id":54744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:17:42] 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-04-26 18:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:17:42] 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-04-26 18:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:17:42] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:17:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:17:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":54744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:17:42] local.INFO: GPS data processed {"connection_id":54744,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:17:42] local.INFO: Acknowledgment sent {"connection_id":54744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:18:06] local.INFO: TCP Data received {"connection_id":54745,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d195a8012d181e800721afa8004500cc29..."} 
[2026-04-26 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d195a8012d181e800721afa8004500cc29..."} 
[2026-04-26 18:18:06] local.INFO: Processing buffer {"connection_id":54745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d195a8012d181e800721afa8004500cc29..."} 
[2026-04-26 18:18:06] local.INFO: Packet analysis {"connection_id":54745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d1"} 
[2026-04-26 18:18:06] local.INFO: Extracted packet for processing {"connection_id":54745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d1"} 
[2026-04-26 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965101568001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777207449000,"timestamp_ms":1777207449000,"timestamp_seconds":1777207449,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d195a8"} 
[2026-04-26 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-26 18:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:18:06] 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-04-26 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965101568001,"66":12809,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965101568001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:18:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:18:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965101568001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":54745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:18:06] local.INFO: GPS data processed {"connection_id":54745,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:18:06] local.INFO: Acknowledgment sent {"connection_id":54745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:18:18] local.INFO: TCP Data received {"connection_id":55656,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:18:18] local.INFO: Processing buffer {"connection_id":55656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:18:18] local.INFO: IMEI packet received {"connection_id":55656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":55656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:18:23] local.INFO: TCP Data received {"connection_id":55656,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:18:23] local.INFO: Processing buffer {"connection_id":55656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:18:23] local.INFO: IMEI packet received {"connection_id":55656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":55656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:18:26] local.INFO: TCP Data received {"connection_id":55656,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:18:26] local.INFO: Processing buffer {"connection_id":55656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:18:26] local.INFO: Packet analysis {"connection_id":55656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:18:26] local.INFO: Extracted packet for processing {"connection_id":55656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:18:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:18: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-04-26 18:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:18:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:18:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":55656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:18:26] local.INFO: GPS data processed {"connection_id":55656,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:18:26] local.INFO: Acknowledgment sent {"connection_id":55656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:18:27] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:18:27] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:18:27] local.INFO: IMEI packet received {"connection_id":54909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":54909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:18:32] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:18:32] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:18:32] local.INFO: IMEI packet received {"connection_id":54909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":54909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:18:38] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d1e7b0012d181e800721afa8004500cc26..."} 
[2026-04-26 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d1e7b0012d181e800721afa8004500cc26..."} 
[2026-04-26 18:18:38] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d1e7b0012d181e800721afa8004500cc26..."} 
[2026-04-26 18:18:38] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d1"} 
[2026-04-26 18:18:38] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d1"} 
[2026-04-26 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":38,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965106944001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777207470000,"timestamp_ms":1777207470000,"timestamp_seconds":1777207470,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d1e7b0"} 
[2026-04-26 18:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3385868752,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":201,"raw_value":-3445737495003141824,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2983198790,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2409408209581252904,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-7854051893222257069,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,29,67,45,128,175,69,38,10,66,64,177,41,167,1,240,79,227,201,33,4,113,205,8,108,15,104,40,239,54,2,152,7,35,56,164,138],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-26 18:18:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972198465082753024,"timestamp_seconds":4972198465082753.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 18:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:18:38] 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-04-26 18:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965106944001,"66":12972,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965106944001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:18:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965106944001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:18:38] local.INFO: GPS data processed {"connection_id":54909,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:18:38] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:18:57] local.INFO: TCP Data received {"connection_id":55656,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:18:57] local.INFO: Processing buffer {"connection_id":55656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:18:57] local.INFO: Packet analysis {"connection_id":55656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:18:57] local.INFO: Extracted packet for processing {"connection_id":55656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 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-04-26 18:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:18:57] 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-04-26 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-04-26 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-04-26 18:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:18: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-04-26 18:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:18:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:18:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":55656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:18:57] local.INFO: GPS data processed {"connection_id":55656,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:18:57] local.INFO: Acknowledgment sent {"connection_id":55656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:19:09] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d239b8012d181e800721afa8004500cc29..."} 
[2026-04-26 18:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d239b8012d181e800721afa8004500cc29..."} 
[2026-04-26 18:19:09] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d239b8012d181e800721afa8004500cc29..."} 
[2026-04-26 18:19:09] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d2"} 
[2026-04-26 18:19:09] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d2"} 
[2026-04-26 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965112320001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777207491000,"timestamp_ms":1777207491000,"timestamp_seconds":1777207491,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d239b8"} 
[2026-04-26 18:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 18:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:19:09] 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-04-26 18:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965112320001,"66":12972,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965112320001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:19:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965112320001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:19:09] local.INFO: GPS data processed {"connection_id":54909,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:19:09] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:19:13] local.INFO: TCP Data received {"connection_id":55657,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:14] local.INFO: Processing buffer {"connection_id":55657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:14] local.INFO: IMEI packet received {"connection_id":55657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":55657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:19:25] local.INFO: TCP Data received {"connection_id":55657,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:25] local.INFO: Processing buffer {"connection_id":55657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:25] local.INFO: IMEI packet received {"connection_id":55657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":55657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:19:25] local.INFO: TCP Data received {"connection_id":55657,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:25] local.INFO: Processing buffer {"connection_id":55657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:25] local.INFO: IMEI packet received {"connection_id":55657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":55657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:19:28] local.INFO: TCP Data received {"connection_id":55657,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:28] local.INFO: Processing buffer {"connection_id":55657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:19:28] local.INFO: IMEI packet received {"connection_id":55657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":55657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:19:29] local.INFO: TCP Data received {"connection_id":55657,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:19:29] local.INFO: Processing buffer {"connection_id":55657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:19:29] local.INFO: Packet analysis {"connection_id":55657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:19:29] local.INFO: Extracted packet for processing {"connection_id":55657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:19:29] 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-04-26 18:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:19:29] 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-04-26 18:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:19:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":55657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:19:29] local.INFO: GPS data processed {"connection_id":55657,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:19:29] local.INFO: Acknowledgment sent {"connection_id":55657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:19:32] local.INFO: TCP Data received {"connection_id":55658,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:19:32] local.INFO: Processing buffer {"connection_id":55658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:19:32] local.INFO: IMEI packet received {"connection_id":55658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":55658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:19:34] local.INFO: TCP Data received {"connection_id":55657,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:19:34] local.INFO: Processing buffer {"connection_id":55657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:19:34] local.INFO: Packet analysis {"connection_id":55657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:19:34] local.INFO: Extracted packet for processing {"connection_id":55657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:19:34] 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-04-26 18:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:19:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:19:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:19:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":55657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:19:34] local.INFO: GPS data processed {"connection_id":55657,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:19:34] local.INFO: Acknowledgment sent {"connection_id":55657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:19:37] local.INFO: TCP Data received {"connection_id":55658,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:19:37] local.INFO: Processing buffer {"connection_id":55658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:19:37] local.INFO: IMEI packet received {"connection_id":55658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":55658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:19:39] local.INFO: TCP Data received {"connection_id":55658,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d28bc0012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d28bc0012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:19:39] local.INFO: Processing buffer {"connection_id":55658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d28bc0012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:19:39] local.INFO: Packet analysis {"connection_id":55658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d2"} 
[2026-04-26 18:19:39] local.INFO: Extracted packet for processing {"connection_id":55658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d2"} 
[2026-04-26 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965117696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19: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-04-26 18:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777207512000,"timestamp_ms":1777207512000,"timestamp_seconds":1777207512,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d28bc0"} 
[2026-04-26 18:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-26 18:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:19:39] 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-04-26 18:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965117696001,"66":12939,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965117696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:19:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:19:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965117696001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":55658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:19:39] local.INFO: GPS data processed {"connection_id":55658,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:19:39] local.INFO: Acknowledgment sent {"connection_id":55658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:19:42] local.INFO: TCP Data received {"connection_id":55658,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d2ddc8012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d2ddc8012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:19:42] local.INFO: Processing buffer {"connection_id":55658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d2ddc8012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:19:42] local.INFO: Packet analysis {"connection_id":55658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d2"} 
[2026-04-26 18:19:42] local.INFO: Extracted packet for processing {"connection_id":55658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d2"} 
[2026-04-26 18:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965123072001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777207533000,"timestamp_ms":1777207533000,"timestamp_seconds":1777207533,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d2ddc8"} 
[2026-04-26 18:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:19:42] 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-04-26 18:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 18:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":55658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":55658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":55658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:19:42] 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-04-26 18:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965123072001,"66":12939,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965123072001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:19:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:19:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965123072001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":55658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:19:42] local.INFO: GPS data processed {"connection_id":55658,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:19:42] local.INFO: Acknowledgment sent {"connection_id":55658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:19:54] local.INFO: TCP Data received {"connection_id":54746,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:19:54] local.INFO: Processing buffer {"connection_id":54746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:19:54] local.INFO: IMEI packet received {"connection_id":54746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":54746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:20:13] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:20:13] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:20:13] local.INFO: IMEI packet received {"connection_id":54747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":54747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:20:18] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:20:18] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:20:18] local.INFO: IMEI packet received {"connection_id":54747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":54747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:20:19] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:20:19] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:20:19] local.INFO: Packet analysis {"connection_id":54747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:20:19] local.INFO: Extracted packet for processing {"connection_id":54747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:20:19] 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-04-26 18:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:20:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":54747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:20:19] local.INFO: GPS data processed {"connection_id":54747,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:20:19] local.INFO: Acknowledgment sent {"connection_id":54747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:20:27] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:27] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:27] local.INFO: IMEI packet received {"connection_id":54997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":54997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:20:32] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:32] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:32] local.INFO: IMEI packet received {"connection_id":54997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":54997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:20:37] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:37] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:20:37] local.INFO: IMEI packet received {"connection_id":54997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":54997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:20:38] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d32fd0012d181e800721afa8004500cc29..."} 
[2026-04-26 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d32fd0012d181e800721afa8004500cc29..."} 
[2026-04-26 18:20:38] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d32fd0012d181e800721afa8004500cc29..."} 
[2026-04-26 18:20:38] local.INFO: Packet analysis {"connection_id":54997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:20:38] local.INFO: Extracted packet for processing {"connection_id":54997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965128448001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777207554000,"timestamp_ms":1777207554000,"timestamp_seconds":1777207554,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d32fd0"} 
[2026-04-26 18:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 18:20:38] 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-04-26 18:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:20:38] 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-04-26 18:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965128448001,"66":12928,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965128448001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:20:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965128448001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":54997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:20:38] local.INFO: GPS data processed {"connection_id":54997,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:20:38] local.INFO: Acknowledgment sent {"connection_id":54997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:20:39] local.INFO: TCP Data received {"connection_id":54910,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:20:39] local.INFO: Processing buffer {"connection_id":54910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:20:39] local.INFO: IMEI packet received {"connection_id":54910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":54910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:20:50] local.INFO: TCP Data received {"connection_id":54747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:20:50] local.INFO: Processing buffer {"connection_id":54747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:20:50] local.INFO: Packet analysis {"connection_id":54747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:20:50] local.INFO: Extracted packet for processing {"connection_id":54747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:20:50] 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-04-26 18:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:20:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":54747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:20:50] local.INFO: GPS data processed {"connection_id":54747,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:20:50] local.INFO: Acknowledgment sent {"connection_id":54747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:21:09] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d6b628012d181e800721afa8004500cc28..."} 
[2026-04-26 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d6b628012d181e800721afa8004500cc28..."} 
[2026-04-26 18:21:09] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d6b628012d181e800721afa8004500cc28..."} 
[2026-04-26 18:21:09] local.INFO: Packet analysis {"connection_id":54997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d6"} 
[2026-04-26 18:21:09] local.INFO: Extracted packet for processing {"connection_id":54997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d6"} 
[2026-04-26 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965187584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777207785000,"timestamp_ms":1777207785000,"timestamp_seconds":1777207785,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d6b628"} 
[2026-04-26 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-04-26 18:21:09] 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-04-26 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 18:21:09] 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-04-26 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-04-26 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-04-26 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:09] 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-04-26 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965187584001,"66":12689,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965187584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:21:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:21:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965187584001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":54997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:21:09] local.INFO: GPS data processed {"connection_id":54997,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:21:09] local.INFO: Acknowledgment sent {"connection_id":54997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:21:13] local.INFO: TCP Data received {"connection_id":54748,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:13] local.INFO: Processing buffer {"connection_id":54748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:13] local.INFO: IMEI packet received {"connection_id":54748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":54748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:21:19] local.INFO: TCP Data received {"connection_id":54748,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:19] local.INFO: Processing buffer {"connection_id":54748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:19] local.INFO: IMEI packet received {"connection_id":54748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":54748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:21:26] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:26] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:26] local.INFO: IMEI packet received {"connection_id":55659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":55659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:21:32] local.INFO: TCP Data received {"connection_id":54748,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:32] local.INFO: Processing buffer {"connection_id":54748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:21:32] local.INFO: IMEI packet received {"connection_id":54748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":54748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:21:32] local.INFO: TCP Data received {"connection_id":54748,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:21:32] local.INFO: Processing buffer {"connection_id":54748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:21:32] local.INFO: Packet analysis {"connection_id":54748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:21:32] local.INFO: Extracted packet for processing {"connection_id":54748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:21:32] 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-04-26 18:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:21:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:21:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":54748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:21:33] local.INFO: GPS data processed {"connection_id":54748,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:21:33] local.INFO: Acknowledgment sent {"connection_id":54748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:21:33] local.INFO: TCP Data received {"connection_id":54748,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:21:33] local.INFO: Processing buffer {"connection_id":54748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d35ac8012cb299c007822ce0004800122c..."} 
[2026-04-26 18:21:33] local.INFO: Packet analysis {"connection_id":54748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:21:33] local.INFO: Extracted packet for processing {"connection_id":54748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d3"} 
[2026-04-26 18:21:33] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965059584001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777207565000,"timestamp_ms":1777207565000,"timestamp_seconds":1777207565,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d35ac8"} 
[2026-04-26 18:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:21:33] 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-04-26 18:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965059584001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965059584001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:21:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:21:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:21:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965059584001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":54748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:21:33] local.INFO: GPS data processed {"connection_id":54748,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:21:33] local.INFO: Acknowledgment sent {"connection_id":54748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:21:35] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:35] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:35] local.INFO: IMEI packet received {"connection_id":55659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":55659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:21:35] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:35] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:35] local.INFO: IMEI packet received {"connection_id":55659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":55659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:21:38] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:38] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:21:38] local.INFO: IMEI packet received {"connection_id":55659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":55659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:21:52] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d70830012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d70830012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:21:52] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d70830012d181e800721afa8004500cc2a..."} 
[2026-04-26 18:21:52] local.INFO: Packet analysis {"connection_id":55659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:52] local.INFO: Extracted packet for processing {"connection_id":55659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965192960001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21: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-04-26 18:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777207806000,"timestamp_ms":1777207806000,"timestamp_seconds":1777207806,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d70830"} 
[2026-04-26 18:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:21:52] 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-04-26 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-26 18:21:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965192960001,"66":12678,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965192960001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965192960001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":55659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:21:52] local.INFO: GPS data processed {"connection_id":55659,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:21:52] local.INFO: Acknowledgment sent {"connection_id":55659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:21:52] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":1348,"data_hex":"000000000000030f8e0a0000019dc9d75a38012d181e800721afa8004500cc29..."} 
[2026-04-26 18:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019dc9d75a38012d181e800721afa8004500cc29..."} 
[2026-04-26 18:21:52] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019dc9d75a38012d181e800721afa8004500cc29..."} 
[2026-04-26 18:21:52] local.INFO: Packet analysis {"connection_id":55659,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:52] local.INFO: Extracted packet for processing {"connection_id":55659,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:52] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965198336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21: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-04-26 18:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777207827000,"timestamp_ms":1777207827000,"timestamp_seconds":1777207827,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d75a38"} 
[2026-04-26 18:21:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:21:52] 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-04-26 18: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-26 18:21:52] 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-04-26 18: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-04-26 18:21:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965198336001,"66":12689,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965198336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:21:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965198336001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":55659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:21:52] local.INFO: GPS data processed {"connection_id":55659,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:21:52] local.INFO: Acknowledgment sent {"connection_id":55659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:21:52] local.INFO: Packet analysis {"connection_id":55659,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:52] local.INFO: Incomplete packet, waiting for more data {"connection_id":55659,"needed":795,"available":553} 
[2026-04-26 18:21:53] local.INFO: TCP Data received {"connection_id":55659,"ip":"42.106.6.41","data_length":242,"data_hex":"0000000000019dc9d56e08012d181e800721afa8004500cc2700000000000a00..."} 
[2026-04-26 18:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55659,"packet_length":242,"packet_hex":"0000000000019dc9d56e08012d181e800721afa8004500cc2700000000000a00..."} 
[2026-04-26 18:21:53] local.INFO: Processing buffer {"connection_id":55659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7ac40012d181e800721afa8004500cc29..."} 
[2026-04-26 18:21:53] local.INFO: Packet analysis {"connection_id":55659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:53] local.INFO: Extracted packet for processing {"connection_id":55659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965203712001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777207848000,"timestamp_ms":1777207848000,"timestamp_seconds":1777207848,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7ac40"} 
[2026-04-26 18:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:21:53] 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-04-26 18: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-26 18:21:53] 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-04-26 18: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-04-26 18:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:21:53] 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-04-26 18:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965203712001,"66":13961,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965203712001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:21:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965203712001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":55659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:21:53] local.INFO: GPS data processed {"connection_id":55659,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:21:53] local.INFO: Acknowledgment sent {"connection_id":55659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:22:13] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:22:13] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:22:13] local.INFO: IMEI packet received {"connection_id":54999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":54999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:22:18] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:22:18] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:22:18] local.INFO: IMEI packet received {"connection_id":54999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":54999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:22:19] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:22:19] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:22:19] local.INFO: Packet analysis {"connection_id":54999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:22:19] local.INFO: Extracted packet for processing {"connection_id":54999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:22:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:22:19] 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-04-26 18:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:22:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":54999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:22:19] local.INFO: GPS data processed {"connection_id":54999,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:22:19] local.INFO: Acknowledgment sent {"connection_id":54999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:22:27] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:22:27] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:22:27] local.INFO: IMEI packet received {"connection_id":54749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":54749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:22:35] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:22:35] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:22:35] local.INFO: IMEI packet received {"connection_id":54749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":54749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:22:36] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7fe48012d181e800721afa8004500cc28..."} 
[2026-04-26 18:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7fe48012d181e800721afa8004500cc28..."} 
[2026-04-26 18:22:36] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7fe48012d181e800721afa8004500cc28..."} 
[2026-04-26 18:22:36] local.INFO: Packet analysis {"connection_id":54749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:22:36] local.INFO: Extracted packet for processing {"connection_id":54749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648168,"longitude_deg":75.6555392,"latitude_deg":11.9648168,"altitude":69,"angle":204,"satellites":40,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721afa8","is_valid_coordinates":true} 
[2026-04-26 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965209088001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874114421817344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777207869000,"timestamp_ms":1777207869000,"timestamp_seconds":1777207869,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7fe48"} 
[2026-04-26 18:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-26 18:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:22:36] 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-04-26 18:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965209088001,"66":14233,"105":206,"83":41984,"24":0,"16":114874114421817344,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965209088001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874114421817344,"km_value":114874114421817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965209088001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":54749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:22:36] local.INFO: GPS data processed {"connection_id":54749,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:22:36] local.INFO: Acknowledgment sent {"connection_id":54749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:22:50] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:22:50] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:22:50] local.INFO: Packet analysis {"connection_id":54999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:22:50] local.INFO: Extracted packet for processing {"connection_id":54999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:22:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:22:50] 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-04-26 18: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-04-26 18:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:22:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":54999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:22:50] local.INFO: GPS data processed {"connection_id":54999,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:22:50] local.INFO: Acknowledgment sent {"connection_id":54999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:23:07] local.INFO: TCP Data received {"connection_id":54749,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d80a00012d181d400721ace8004600a728..."} 
[2026-04-26 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d80a00012d181d400721ace8004600a728..."} 
[2026-04-26 18:23:07] local.INFO: Processing buffer {"connection_id":54749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d80a00012d181d400721ace8004600a728..."} 
[2026-04-26 18:23:07] local.INFO: Packet analysis {"connection_id":54749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d8"} 
[2026-04-26 18:23:07] local.INFO: Extracted packet for processing {"connection_id":54749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d8"} 
[2026-04-26 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647464,"longitude_deg":75.6555072,"latitude_deg":11.9647464,"altitude":70,"angle":167,"satellites":40,"speed":1,"hex_longitude":"2d181d40","hex_latitude":"0721ace8","is_valid_coordinates":true} 
[2026-04-26 18:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965214464001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114874153076523008,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329876480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777207872000,"timestamp_ms":1777207872000,"timestamp_seconds":1777207872,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d80a00"} 
[2026-04-26 18:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-26 18:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:23:07] 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-04-26 18:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965214464001,"66":14243,"105":206,"83":41984,"24":1,"16":114874153076523008,"45":1737967274329876480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 18:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965214464001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 18:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114874153076523008,"km_value":114874153076523.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329876480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965214464001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274329876480}} 
[2026-04-26 18:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":54749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:23:07] local.INFO: GPS data processed {"connection_id":54749,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:23:07] local.INFO: Acknowledgment sent {"connection_id":54749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:23:14] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:23:14] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:23:14] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:23:18] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:23:18] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:23:18] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:23:19] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:23:19] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:23:19] local.INFO: Packet analysis {"connection_id":54912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:23:19] local.INFO: Extracted packet for processing {"connection_id":54912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:23:19] 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-04-26 18:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:23:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:23:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":54912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:23:19] local.INFO: GPS data processed {"connection_id":54912,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:23:19] local.INFO: Acknowledgment sent {"connection_id":54912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:23:29] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:29] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:29] local.INFO: IMEI packet received {"connection_id":54750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":54750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:23:32] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:32] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:32] local.INFO: IMEI packet received {"connection_id":54750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":54750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:23:33] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:33] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:33] local.INFO: IMEI packet received {"connection_id":54750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":54750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:23:35] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:35] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:23:35] local.INFO: IMEI packet received {"connection_id":54750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":54750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:23:37] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d94280012d18af0007217040004a008b26..."} 
[2026-04-26 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d94280012d18af0007217040004a008b26..."} 
[2026-04-26 18:23:37] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d94280012d18af0007217040004a008b26..."} 
[2026-04-26 18:23:37] local.INFO: Packet analysis {"connection_id":54750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d9"} 
[2026-04-26 18:23:37] local.INFO: Extracted packet for processing {"connection_id":54750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d9"} 
[2026-04-26 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119631936,"longitude_deg":75.6592384,"latitude_deg":11.9631936,"altitude":74,"angle":139,"satellites":38,"speed":29,"hex_longitude":"2d18af00","hex_latitude":"07217040","is_valid_coordinates":true} 
[2026-04-26 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965235200001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114876150236315648,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777514508553809920,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777207952000,"timestamp_ms":1777207952000,"timestamp_seconds":1777207952,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d94280"} 
[2026-04-26 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:23:37] 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-04-26 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965235200001,"66":14396,"106":206,"83":41984,"24":29,"16":114876150236315648,"45":1777514508553809920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965235200001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:23:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114876150236315648,"km_value":114876150236315.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777514508553809920,"description":"Unknown IO ID 45"} 
[2026-04-26 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965235200001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777514508553809920}} 
[2026-04-26 18:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":54750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:23:37] local.INFO: GPS data processed {"connection_id":54750,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:23:37] local.INFO: Acknowledgment sent {"connection_id":54750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:23:38] local.INFO: TCP Data received {"connection_id":54750,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d96d78012d18c3c0072152180045009e28..."} 
[2026-04-26 18:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d96d78012d18c3c0072152180045009e28..."} 
[2026-04-26 18:23:38] local.INFO: Processing buffer {"connection_id":54750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d96d78012d18c3c0072152180045009e28..."} 
[2026-04-26 18:23:38] local.INFO: Packet analysis {"connection_id":54750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d9"} 
[2026-04-26 18:23:38] local.INFO: Extracted packet for processing {"connection_id":54750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d9"} 
[2026-04-26 18:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756597696,"raw_latitude":119624216,"longitude_deg":75.6597696,"latitude_deg":11.9624216,"altitude":69,"angle":158,"satellites":40,"speed":35,"hex_longitude":"2d18c3c0","hex_latitude":"07215218","is_valid_coordinates":true} 
[2026-04-26 18:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965235712001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114876601207881728,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408460410880,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777207963000,"timestamp_ms":1777207963000,"timestamp_seconds":1777207963,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d96d78"} 
[2026-04-26 18:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 18:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:23:38] 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-04-26 18:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965235712001,"66":14461,"106":206,"83":41984,"24":35,"16":114876601207881728,"45":1778640408460410880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965235712001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:23:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114876601207881728,"km_value":114876601207881.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408460410880,"description":"Unknown IO ID 45"} 
[2026-04-26 18:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965235712001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1778640408460410880}} 
[2026-04-26 18:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":54750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:23:38] local.INFO: GPS data processed {"connection_id":54750,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:23:38] local.INFO: Acknowledgment sent {"connection_id":54750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:23:52] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:23:52] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:23:52] local.INFO: Packet analysis {"connection_id":54912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:23:52] local.INFO: Extracted packet for processing {"connection_id":54912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:23:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:23: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-04-26 18:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:23:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:23:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":54912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:23:52] local.INFO: GPS data processed {"connection_id":54912,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:23:52] local.INFO: Acknowledgment sent {"connection_id":54912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:24:13] local.INFO: TCP Data received {"connection_id":55661,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:24:13] local.INFO: Processing buffer {"connection_id":55661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:24:13] local.INFO: IMEI packet received {"connection_id":55661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":55661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:24:18] local.INFO: TCP Data received {"connection_id":55661,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:24:18] local.INFO: Processing buffer {"connection_id":55661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:24:18] local.INFO: IMEI packet received {"connection_id":55661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":55661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:24:19] local.INFO: TCP Data received {"connection_id":55661,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:24:19] local.INFO: Processing buffer {"connection_id":55661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:24:19] local.INFO: Packet analysis {"connection_id":55661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:24:19] local.INFO: Extracted packet for processing {"connection_id":55661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:24:19] 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-04-26 18:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:24:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":55661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:24:19] local.INFO: GPS data processed {"connection_id":55661,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:24:19] local.INFO: Acknowledgment sent {"connection_id":55661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:24:27] local.INFO: TCP Data received {"connection_id":55662,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:27] local.INFO: Processing buffer {"connection_id":55662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:27] local.INFO: IMEI packet received {"connection_id":55662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":55662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:24:29] local.INFO: TCP Data received {"connection_id":55662,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:29] local.INFO: Processing buffer {"connection_id":55662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:29] local.INFO: IMEI packet received {"connection_id":55662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":55662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:24:44] local.INFO: TCP Data received {"connection_id":55662,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:44] local.INFO: Processing buffer {"connection_id":55662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:24:44] local.INFO: IMEI packet received {"connection_id":55662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":55662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:24:51] local.INFO: TCP Data received {"connection_id":55661,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:24:51] local.INFO: Processing buffer {"connection_id":55661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:24:51] local.INFO: Packet analysis {"connection_id":55661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:24:51] local.INFO: Extracted packet for processing {"connection_id":55661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:24:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:24:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:24: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-04-26 18: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-04-26 18:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:24:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:24:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:24:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":55661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:24:51] local.INFO: GPS data processed {"connection_id":55661,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:24:51] local.INFO: Acknowledgment sent {"connection_id":55661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:25:18] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:25:18] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:25:18] local.INFO: IMEI packet received {"connection_id":54913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":54913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:25:23] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:25:23] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:25:23] local.INFO: IMEI packet received {"connection_id":54913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":54913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:25:24] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:25:24] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:25:24] local.INFO: Packet analysis {"connection_id":54913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:25:24] local.INFO: Extracted packet for processing {"connection_id":54913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:25: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-04-26 18:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:25:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":54913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:25:24] local.INFO: GPS data processed {"connection_id":54913,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:25:24] local.INFO: Acknowledgment sent {"connection_id":54913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:25:55] local.INFO: TCP Data received {"connection_id":54913,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:25:55] local.INFO: Processing buffer {"connection_id":54913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:25:55] local.INFO: Packet analysis {"connection_id":54913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:25:55] local.INFO: Extracted packet for processing {"connection_id":54913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:25:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:25:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:25:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:25:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":54913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:25:55] local.INFO: GPS data processed {"connection_id":54913,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:25:55] local.INFO: Acknowledgment sent {"connection_id":54913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:26:04] local.INFO: TCP Data received {"connection_id":54914,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:26:04] local.INFO: Processing buffer {"connection_id":54914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:26:04] local.INFO: IMEI packet received {"connection_id":54914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":54914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:26:12] local.INFO: TCP Data received {"connection_id":55662,"ip":"42.106.6.41","data_length":1348,"data_hex":"000000000000030f8e0a0000019dc9d9fe00012d18f7000720d7680033008622..."} 
[2026-04-26 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55662,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019dc9d9fe00012d18f7000720d7680033008622..."} 
[2026-04-26 18:26:12] local.INFO: Processing buffer {"connection_id":55662,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019dc9d9fe00012d18f7000720d7680033008622..."} 
[2026-04-26 18:26:12] local.INFO: Packet analysis {"connection_id":55662,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019dc9d9"} 
[2026-04-26 18:26:12] local.INFO: Extracted packet for processing {"connection_id":55662,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019dc9d9"} 
[2026-04-26 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756610816,"raw_latitude":119592808,"longitude_deg":75.6610816,"latitude_deg":11.9592808,"altitude":51,"angle":134,"satellites":34,"speed":39,"hex_longitude":"2d18f700","hex_latitude":"0720d768","is_valid_coordinates":true} 
[2026-04-26 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965246208001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114878297719963648,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794403007147638784,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26: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-04-26 18:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777208000000,"timestamp_ms":1777208000000,"timestamp_seconds":1777208000,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d9fe00"} 
[2026-04-26 18:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-26 18:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:26:12] 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-04-26 18:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965246208001,"66":14396,"106":206,"83":41984,"24":39,"16":114878297719963648,"45":1794403007147638784},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965246208001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:26:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114878297719963648,"km_value":114878297719963.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794403007147638784,"description":"Unknown IO ID 45"} 
[2026-04-26 18:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965246208001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1794403007147638784}} 
[2026-04-26 18:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":55662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:26:13] local.INFO: GPS data processed {"connection_id":55662,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:26:13] local.INFO: Acknowledgment sent {"connection_id":55662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:26:13] local.INFO: Packet analysis {"connection_id":55662,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019dc9da"} 
[2026-04-26 18:26:13] local.INFO: Incomplete packet, waiting for more data {"connection_id":55662,"needed":795,"available":553} 
[2026-04-26 18:26:18] local.INFO: TCP Data received {"connection_id":55663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:26:18] local.INFO: Processing buffer {"connection_id":55663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:26:18] local.INFO: IMEI packet received {"connection_id":55663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":55663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:26:19] local.INFO: TCP Data received {"connection_id":55664,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:26:19] local.INFO: Processing buffer {"connection_id":55664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:26:19] local.INFO: IMEI packet received {"connection_id":55664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":55664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:26:21] local.INFO: TCP Data received {"connection_id":55664,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:26:21] local.INFO: Processing buffer {"connection_id":55664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:26:21] local.INFO: IMEI packet received {"connection_id":55664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":55664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:26:23] local.INFO: TCP Data received {"connection_id":55664,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9db7cd0012d1a0e400720c3e8002a003525..."} 
[2026-04-26 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9db7cd0012d1a0e400720c3e8002a003525..."} 
[2026-04-26 18:26:23] local.INFO: Processing buffer {"connection_id":55664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9db7cd0012d1a0e400720c3e8002a003525..."} 
[2026-04-26 18:26:23] local.INFO: Packet analysis {"connection_id":55664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9db"} 
[2026-04-26 18:26:23] local.INFO: Extracted packet for processing {"connection_id":55664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9db"} 
[2026-04-26 18:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756682304,"raw_latitude":119587816,"longitude_deg":75.6682304,"latitude_deg":11.9587816,"altitude":42,"angle":53,"satellites":37,"speed":24,"hex_longitude":"2d1a0e40","hex_latitude":"0720c3e8","is_valid_coordinates":true} 
[2026-04-26 18:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965273088001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114881995686805504,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877508494018734080,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777208098000,"timestamp_ms":1777208098000,"timestamp_seconds":1777208098,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9db7cd0"} 
[2026-04-26 18:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:26:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 18:26:23] 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-04-26 18:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965273088001,"66":14461,"75":206,"83":41984,"24":24,"16":114881995686805504,"45":1877508494018734080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-26 18:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965273088001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:26:23] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-26 18:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114881995686805504,"km_value":114881995686805.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877508494018734080,"description":"Unknown IO ID 45"} 
[2026-04-26 18:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965273088001,"power":14461,"unknown_75":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1877508494018734080}} 
[2026-04-26 18:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":55664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:26:23] local.INFO: GPS data processed {"connection_id":55664,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:26:23] local.INFO: Acknowledgment sent {"connection_id":55664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:26:23] local.INFO: TCP Data received {"connection_id":55663,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:26:23] local.INFO: Processing buffer {"connection_id":55663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:26:23] local.INFO: IMEI packet received {"connection_id":55663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":55663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:26:24] local.INFO: TCP Data received {"connection_id":55664,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9db8c70012d1a14c00720ca000029002824..."} 
[2026-04-26 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9db8c70012d1a14c00720ca000029002824..."} 
[2026-04-26 18:26:24] local.INFO: Processing buffer {"connection_id":55664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9db8c70012d1a14c00720ca000029002824..."} 
[2026-04-26 18:26:24] local.INFO: Packet analysis {"connection_id":55664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9db"} 
[2026-04-26 18:26:24] local.INFO: Extracted packet for processing {"connection_id":55664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9db"} 
[2026-04-26 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756683968,"raw_latitude":119589376,"longitude_deg":75.6683968,"latitude_deg":11.9589376,"altitude":41,"angle":40,"satellites":36,"speed":23,"hex_longitude":"2d1a14c0","hex_latitude":"0720ca00","is_valid_coordinates":true} 
[2026-04-26 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965273088001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114882103060987904,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1877508494018734080,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777208102000,"timestamp_ms":1777208102000,"timestamp_seconds":1777208102,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9db8c70"} 
[2026-04-26 18:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 18:26: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-04-26 18:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965273088001,"66":14396,"75":206,"83":41984,"24":23,"16":114882103060987904,"45":1877508494018734080},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,83,24,16,45]} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965273088001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114882103060987904,"km_value":114882103060987.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1877508494018734080,"description":"Unknown IO ID 45"} 
[2026-04-26 18:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965273088001,"power":14396,"unknown_75":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1877508494018734080}} 
[2026-04-26 18:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":55664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:26:24] local.INFO: GPS data processed {"connection_id":55664,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:26:24] local.INFO: Acknowledgment sent {"connection_id":55664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:26:24] local.INFO: TCP Data received {"connection_id":55663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:26:24] local.INFO: Processing buffer {"connection_id":55663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:26:24] local.INFO: Packet analysis {"connection_id":55663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:26:24] local.INFO: Extracted packet for processing {"connection_id":55663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:26: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-04-26 18:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:26:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":55663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:26:24] local.INFO: GPS data processed {"connection_id":55663,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:26:24] local.INFO: Acknowledgment sent {"connection_id":55663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:26:28] local.INFO: TCP Data received {"connection_id":55663,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:26:28] local.INFO: Processing buffer {"connection_id":55663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9d7f290012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:26:28] local.INFO: Packet analysis {"connection_id":55663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:26:28] local.INFO: Extracted packet for processing {"connection_id":55663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9d7"} 
[2026-04-26 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965136640001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777207866000,"timestamp_ms":1777207866000,"timestamp_seconds":1777207866,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9d7f290"} 
[2026-04-26 18:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:26:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:26:28] 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-04-26 18:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965136640001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965136640001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:26:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:26:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965136640001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":55663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:26:28] local.INFO: GPS data processed {"connection_id":55663,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:26:28] local.INFO: Acknowledgment sent {"connection_id":55663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:26:39] local.INFO: TCP Data received {"connection_id":55002,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:26:39] local.INFO: Processing buffer {"connection_id":55002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:26:39] local.INFO: IMEI packet received {"connection_id":55002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":55002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:27:01] local.INFO: TCP Data received {"connection_id":55664,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc9610012d1a1840072110500048002b27..."} 
[2026-04-26 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc9610012d1a1840072110500048002b27..."} 
[2026-04-26 18:27:01] local.INFO: Processing buffer {"connection_id":55664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc9610012d1a1840072110500048002b27..."} 
[2026-04-26 18:27:01] local.INFO: Packet analysis {"connection_id":55664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:27:01] local.INFO: Extracted packet for processing {"connection_id":55664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756684864,"raw_latitude":119607376,"longitude_deg":75.6684864,"latitude_deg":11.9607376,"altitude":72,"angle":43,"satellites":39,"speed":8,"hex_longitude":"2d1a1840","hex_latitude":"07211050","is_valid_coordinates":true} 
[2026-04-26 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965291264001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114883477450522624,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1880182506302447616,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777208170000,"timestamp_ms":1777208170000,"timestamp_seconds":1777208170,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc9610"} 
[2026-04-26 18:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-26 18:27:01] 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-04-26 18:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":55664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":55664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":55664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:27:01] 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-04-26 18:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965291264001,"66":13722,"61":206,"83":41984,"24":8,"16":114883477450522624,"45":1880182506302447616},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-26 18:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965291264001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:27:01] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-26 18:27:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114883477450522624,"km_value":114883477450522.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1880182506302447616,"description":"Unknown IO ID 45"} 
[2026-04-26 18:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965291264001,"power":13722,"unknown_61":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1880182506302447616}} 
[2026-04-26 18:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":55664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:27:01] local.INFO: GPS data processed {"connection_id":55664,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:27:01] local.INFO: Acknowledgment sent {"connection_id":55664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:27:13] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:27:13] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:27:13] local.INFO: IMEI packet received {"connection_id":54751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":54751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:27:18] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:27:18] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:27:18] local.INFO: IMEI packet received {"connection_id":54751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":54751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:27:20] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:27:20] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:27:20] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:27:20] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:27:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:27: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-04-26 18: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-04-26 18:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:27: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-04-26 18:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:27:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:27:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:27:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:27:20] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:27:20] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:27:32] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:27:32] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:27:32] local.INFO: IMEI packet received {"connection_id":54752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":54752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:27:35] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:27:35] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:27:35] local.INFO: IMEI packet received {"connection_id":54752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":54752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:27:43] local.INFO: TCP Data received {"connection_id":54752,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54752,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:27:43] local.INFO: Processing buffer {"connection_id":54752,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:27:43] local.INFO: IMEI packet received {"connection_id":54752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":54752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:27:51] local.INFO: TCP Data received {"connection_id":54751,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:27:51] local.INFO: Processing buffer {"connection_id":54751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:27:51] local.INFO: Packet analysis {"connection_id":54751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:27:51] local.INFO: Extracted packet for processing {"connection_id":54751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:27:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:27: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-04-26 18: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-04-26 18:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:27: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-04-26 18:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:27:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:27:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:27:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":54751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:27:51] local.INFO: GPS data processed {"connection_id":54751,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:27:51] local.INFO: Acknowledgment sent {"connection_id":54751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:28:13] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:28:13] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:28:13] local.INFO: IMEI packet received {"connection_id":54753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":54753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:28:18] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:28:18] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:28:18] local.INFO: IMEI packet received {"connection_id":54753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":54753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:28:19] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:28:19] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:28:19] local.INFO: Packet analysis {"connection_id":54753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:28:19] local.INFO: Extracted packet for processing {"connection_id":54753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:28:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:28:19] 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-04-26 18:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:28:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":54753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:28:19] local.INFO: GPS data processed {"connection_id":54753,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:28:19] local.INFO: Acknowledgment sent {"connection_id":54753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:28:50] local.INFO: TCP Data received {"connection_id":54753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:28:50] local.INFO: Processing buffer {"connection_id":54753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:28:50] local.INFO: Packet analysis {"connection_id":54753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:28:50] local.INFO: Extracted packet for processing {"connection_id":54753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:28:50] 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-04-26 18:28: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-04-26 18:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:28: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-04-26 18:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:28:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":54753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:28:50] local.INFO: GPS data processed {"connection_id":54753,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:28:50] local.INFO: Acknowledgment sent {"connection_id":54753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:29:13] local.INFO: TCP Data received {"connection_id":55665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:29:13] local.INFO: Processing buffer {"connection_id":55665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:29:13] local.INFO: IMEI packet received {"connection_id":55665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":55665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:29:18] local.INFO: TCP Data received {"connection_id":55665,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:29:18] local.INFO: Processing buffer {"connection_id":55665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:29:18] local.INFO: IMEI packet received {"connection_id":55665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":55665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:29:21] local.INFO: TCP Data received {"connection_id":55665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:29:21] local.INFO: Processing buffer {"connection_id":55665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:29:21] local.INFO: Packet analysis {"connection_id":55665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:29:21] local.INFO: Extracted packet for processing {"connection_id":55665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:29:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:29:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:29:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:29:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:29:21] 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-04-26 18: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-04-26 18:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:29: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-04-26 18:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:29:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:29:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:29:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":55665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:29:21] local.INFO: GPS data processed {"connection_id":55665,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:29:21] local.INFO: Acknowledgment sent {"connection_id":55665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:29:52] local.INFO: TCP Data received {"connection_id":55665,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:29:52] local.INFO: Processing buffer {"connection_id":55665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:29:52] local.INFO: Packet analysis {"connection_id":55665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:29:52] local.INFO: Extracted packet for processing {"connection_id":55665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:29:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:29:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:29: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-04-26 18:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:29: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-04-26 18:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:29:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:29:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:29:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":55665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:29:52] local.INFO: GPS data processed {"connection_id":55665,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:29:52] local.INFO: Acknowledgment sent {"connection_id":55665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:30:13] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:30:13] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:30:13] local.INFO: IMEI packet received {"connection_id":54916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":54916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:30:18] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:30:18] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:30:18] local.INFO: IMEI packet received {"connection_id":54916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":54916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:30:21] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:30:21] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:30:21] local.INFO: Packet analysis {"connection_id":54916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:30:21] local.INFO: Extracted packet for processing {"connection_id":54916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:30:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:30:21] 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-04-26 18:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:30: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-04-26 18:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:30:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:30:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":54916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:30:22] local.INFO: GPS data processed {"connection_id":54916,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:30:22] local.INFO: Acknowledgment sent {"connection_id":54916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:30:53] local.INFO: TCP Data received {"connection_id":54916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:30:53] local.INFO: Processing buffer {"connection_id":54916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:30:53] local.INFO: Packet analysis {"connection_id":54916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:30:53] local.INFO: Extracted packet for processing {"connection_id":54916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:30:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:30:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:30:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:30:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:30:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:30:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:30:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:30:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:30:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:30:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:30:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:30:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:30:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:30:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:30: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-04-26 18:30:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:30:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:30:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:30:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:30:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:30:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:30:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:30:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:30:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:30:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:30:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:30:53] local.INFO: DEBUG: GPS processor result {"connection_id":54916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:30:53] local.INFO: GPS data processed {"connection_id":54916,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:30:53] local.INFO: Acknowledgment sent {"connection_id":54916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:31:20] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:31:20] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:31:20] local.INFO: IMEI packet received {"connection_id":55005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":55005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:31:23] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:31:23] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:31:23] local.INFO: IMEI packet received {"connection_id":55005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":55005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:31:24] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:31:24] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:31:24] local.INFO: Packet analysis {"connection_id":55005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:31:24] local.INFO: Extracted packet for processing {"connection_id":55005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:31:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:31:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:31:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:31:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:31:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":55005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:31:24] local.INFO: GPS data processed {"connection_id":55005,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:31:24] local.INFO: Acknowledgment sent {"connection_id":55005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:31:29] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:31:29] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9dc8a58012cb299c007822ce0004d00122c..."} 
[2026-04-26 18:31:29] local.INFO: Packet analysis {"connection_id":55005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:31:29] local.INFO: Extracted packet for processing {"connection_id":55005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9dc"} 
[2026-04-26 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965213696001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777208167000,"timestamp_ms":1777208167000,"timestamp_seconds":1777208167,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9dc8a58"} 
[2026-04-26 18:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965213696001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965213696001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:31:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965213696001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":55005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:31:29] local.INFO: GPS data processed {"connection_id":55005,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:31:29] local.INFO: Acknowledgment sent {"connection_id":55005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:32:04] local.INFO: TCP Data received {"connection_id":54757,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:32:04] local.INFO: Processing buffer {"connection_id":54757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:32:04] local.INFO: IMEI packet received {"connection_id":54757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":54757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:32:13] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:32:13] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:32:13] local.INFO: IMEI packet received {"connection_id":54917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":54917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:32:19] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:32:19] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:32:19] local.INFO: IMEI packet received {"connection_id":54917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:32:19] local.INFO: IMEI acknowledgment sent {"connection_id":54917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:32:19] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:19] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:19] local.INFO: Packet analysis {"connection_id":54917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:19] local.INFO: Extracted packet for processing {"connection_id":54917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:32:19] 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-04-26 18:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:32:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":54917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:32:19] local.INFO: GPS data processed {"connection_id":54917,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:32:19] local.INFO: Acknowledgment sent {"connection_id":54917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:32:24] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:24] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:24] local.INFO: Packet analysis {"connection_id":54917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:24] local.INFO: Extracted packet for processing {"connection_id":54917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:32: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-04-26 18: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-04-26 18:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:32:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:32:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":54917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:32:24] local.INFO: GPS data processed {"connection_id":54917,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:32:24] local.INFO: Acknowledgment sent {"connection_id":54917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:32:39] local.INFO: TCP Data received {"connection_id":54759,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:32:39] local.INFO: Processing buffer {"connection_id":54759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:32:39] local.INFO: IMEI packet received {"connection_id":54759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":54759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:32:42] local.INFO: TCP Data received {"connection_id":54758,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:32:42] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:32:42] local.INFO: IMEI packet received {"connection_id":54758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":54758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:32:43] local.INFO: TCP Data received {"connection_id":54758,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e16488012d1a1e000720d068003700f326..."} 
[2026-04-26 18:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e16488012d1a1e000720d068003700f326..."} 
[2026-04-26 18:32:43] local.INFO: Processing buffer {"connection_id":54758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e16488012d1a1e000720d068003700f326..."} 
[2026-04-26 18:32:43] local.INFO: Packet analysis {"connection_id":54758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:43] local.INFO: Extracted packet for processing {"connection_id":54758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119591016,"longitude_deg":75.6686336,"latitude_deg":11.9591016,"altitude":55,"angle":243,"satellites":38,"speed":13,"hex_longitude":"2d1a1e00","hex_latitude":"0720d068","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965370368001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114886509697433600,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885460162112139264,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777208485000,"timestamp_ms":1777208485000,"timestamp_seconds":1777208485,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e16488"} 
[2026-04-26 18:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 18:32: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-04-26 18: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-04-26 18:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:32:43] 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-04-26 18:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:32:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965370368001,"66":13689,"61":206,"83":41984,"24":13,"16":114886509697433600,"45":1885460162112139264},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-04-26 18:32:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:32:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:32:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965370368001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:32:43] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-26 18:32:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:32:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114886509697433600,"km_value":114886509697433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:32:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885460162112139264,"description":"Unknown IO ID 45"} 
[2026-04-26 18:32:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965370368001,"power":13689,"unknown_61":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1885460162112139264}} 
[2026-04-26 18:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":54758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:32:43] local.INFO: GPS data processed {"connection_id":54758,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:32:43] local.INFO: Acknowledgment sent {"connection_id":54758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:32:56] local.INFO: TCP Data received {"connection_id":54917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:56] local.INFO: Processing buffer {"connection_id":54917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:32:56] local.INFO: Packet analysis {"connection_id":54917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:56] local.INFO: Extracted packet for processing {"connection_id":54917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:32:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:32:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:32:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:32:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":54917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:32:56] local.INFO: GPS data processed {"connection_id":54917,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:32:56] local.INFO: Acknowledgment sent {"connection_id":54917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:33:13] local.INFO: TCP Data received {"connection_id":54918,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:33:13] local.INFO: Processing buffer {"connection_id":54918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:33:13] local.INFO: IMEI packet received {"connection_id":54918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":54918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:33:18] local.INFO: TCP Data received {"connection_id":54918,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:33:18] local.INFO: Processing buffer {"connection_id":54918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:33:18] local.INFO: IMEI packet received {"connection_id":54918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":54918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:33:19] local.INFO: TCP Data received {"connection_id":54918,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:33:19] local.INFO: Processing buffer {"connection_id":54918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:33:19] local.INFO: Packet analysis {"connection_id":54918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:33:19] local.INFO: Extracted packet for processing {"connection_id":54918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:33:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:33:19] 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-04-26 18:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:33:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":54918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:33:19] local.INFO: GPS data processed {"connection_id":54918,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:33:19] local.INFO: Acknowledgment sent {"connection_id":54918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:33:32] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:33:32] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:33:32] local.INFO: IMEI packet received {"connection_id":55006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":55006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:33:37] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:33:37] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:33:37] local.INFO: IMEI packet received {"connection_id":55006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":55006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:33:38] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e24718012d19ae8007209390002e00c626..."} 
[2026-04-26 18:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e24718012d19ae8007209390002e00c626..."} 
[2026-04-26 18:33:38] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e24718012d19ae8007209390002e00c626..."} 
[2026-04-26 18:33:38] local.INFO: Packet analysis {"connection_id":55006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:33:38] local.INFO: Extracted packet for processing {"connection_id":55006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119575440,"longitude_deg":75.6657792,"latitude_deg":11.957544,"altitude":46,"angle":198,"satellites":38,"speed":26,"hex_longitude":"2d19ae80","hex_latitude":"07209390","is_valid_coordinates":true} 
[2026-04-26 18:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965384704001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888167554809856,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717170688,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777208543000,"timestamp_ms":1777208543000,"timestamp_seconds":1777208543,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e24718"} 
[2026-04-26 18:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-26 18:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:33:38] 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-04-26 18:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965384704001,"66":13928,"106":206,"83":41984,"24":26,"16":114888167554809856,"45":1853934964717170688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965384704001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888167554809856,"km_value":114888167554809.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717170688,"description":"Unknown IO ID 45"} 
[2026-04-26 18:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965384704001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853934964717170688}} 
[2026-04-26 18:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":55006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:33:38] local.INFO: GPS data processed {"connection_id":55006,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:33:38] local.INFO: Acknowledgment sent {"connection_id":55006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:33:42] local.INFO: TCP Data received {"connection_id":55006,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e24b00012d19ae00072090e8002e00b927..."} 
[2026-04-26 18:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e24b00012d19ae00072090e8002e00b927..."} 
[2026-04-26 18:33:42] local.INFO: Processing buffer {"connection_id":55006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e24b00012d19ae00072090e8002e00b927..."} 
[2026-04-26 18:33:42] local.INFO: Packet analysis {"connection_id":55006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:33:42] local.INFO: Extracted packet for processing {"connection_id":55006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574760,"longitude_deg":75.6657664,"latitude_deg":11.957476,"altitude":46,"angle":185,"satellites":39,"speed":29,"hex_longitude":"2d19ae00","hex_latitude":"072090e8","is_valid_coordinates":true} 
[2026-04-26 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965387008001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888197619580928,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995520512,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777208544000,"timestamp_ms":1777208544000,"timestamp_seconds":1777208544,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e24b00"} 
[2026-04-26 18:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 18:33:42] 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-04-26 18:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":55006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":55006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":55006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:33:42] 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-04-26 18:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965387008001,"66":13928,"106":206,"83":41984,"24":29,"16":114888197619580928,"45":1850557264995520512},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965387008001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888197619580928,"km_value":114888197619580.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995520512,"description":"Unknown IO ID 45"} 
[2026-04-26 18:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965387008001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850557264995520512}} 
[2026-04-26 18:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":55006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:33:42] local.INFO: GPS data processed {"connection_id":55006,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:33:42] local.INFO: Acknowledgment sent {"connection_id":55006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:33:51] local.INFO: TCP Data received {"connection_id":54918,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:33:51] local.INFO: Processing buffer {"connection_id":54918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:33:51] local.INFO: Packet analysis {"connection_id":54918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:33:51] local.INFO: Extracted packet for processing {"connection_id":54918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:33: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-04-26 18:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:33:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:33:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:33:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":54918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:33:51] local.INFO: GPS data processed {"connection_id":54918,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:33:51] local.INFO: Acknowledgment sent {"connection_id":54918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:34:13] local.INFO: TCP Data received {"connection_id":55668,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:34:13] local.INFO: Processing buffer {"connection_id":55668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:34:13] local.INFO: IMEI packet received {"connection_id":55668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":55668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:34:18] local.INFO: TCP Data received {"connection_id":55668,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:34:18] local.INFO: Processing buffer {"connection_id":55668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:34:18] local.INFO: IMEI packet received {"connection_id":55668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":55668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:34:20] local.INFO: TCP Data received {"connection_id":55668,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:34:20] local.INFO: Processing buffer {"connection_id":55668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:34:20] local.INFO: Packet analysis {"connection_id":55668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:34:20] local.INFO: Extracted packet for processing {"connection_id":55668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:34:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:34:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:34:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:34: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-04-26 18: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-04-26 18:34:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:34:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:34:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:34:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":55668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:34:20] local.INFO: GPS data processed {"connection_id":55668,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:34:20] local.INFO: Acknowledgment sent {"connection_id":55668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:34:27] local.INFO: TCP Data received {"connection_id":55669,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:34:27] local.INFO: Processing buffer {"connection_id":55669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:34:27] local.INFO: IMEI packet received {"connection_id":55669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":55669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:34:29] local.INFO: TCP Data received {"connection_id":55669,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:34:29] local.INFO: Processing buffer {"connection_id":55669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:34:29] local.INFO: IMEI packet received {"connection_id":55669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":55669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:34:30] local.INFO: TCP Data received {"connection_id":55669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e252d0012d19ae8007208a88002d00a928..."} 
[2026-04-26 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e252d0012d19ae8007208a88002d00a928..."} 
[2026-04-26 18:34:30] local.INFO: Processing buffer {"connection_id":55669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e252d0012d19ae8007208a88002d00a928..."} 
[2026-04-26 18:34:30] local.INFO: Packet analysis {"connection_id":55669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:34:30] local.INFO: Extracted packet for processing {"connection_id":55669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:34:30] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119573128,"longitude_deg":75.6657792,"latitude_deg":11.9573128,"altitude":45,"angle":169,"satellites":40,"speed":34,"hex_longitude":"2d19ae80","hex_latitude":"07208a88","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965387264001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888279223959552,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506991104,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:30] 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-04-26 18:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777208546000,"timestamp_ms":1777208546000,"timestamp_seconds":1777208546,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e252d0"} 
[2026-04-26 18:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:34:30] 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-04-26 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 18:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:34:30] 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-04-26 18:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965387264001,"66":14265,"106":206,"83":41984,"24":34,"16":114888279223959552,"45":1850416527506991104},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965387264001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:34:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:34:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888279223959552,"km_value":114888279223959.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506991104,"description":"Unknown IO ID 45"} 
[2026-04-26 18:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965387264001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850416527506991104}} 
[2026-04-26 18:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":55669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:34:30] local.INFO: GPS data processed {"connection_id":55669,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:34:30] local.INFO: Acknowledgment sent {"connection_id":55669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:34:34] local.INFO: TCP Data received {"connection_id":55669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e2a4d8012d19b14007207cc8002c00ad27..."} 
[2026-04-26 18:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e2a4d8012d19b14007207cc8002c00ad27..."} 
[2026-04-26 18:34:34] local.INFO: Processing buffer {"connection_id":55669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e2a4d8012d19b14007207cc8002c00ad27..."} 
[2026-04-26 18:34:34] local.INFO: Packet analysis {"connection_id":55669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:34:34] local.INFO: Extracted packet for processing {"connection_id":55669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e2"} 
[2026-04-26 18:34:34] local.INFO: GPS Element Parsed {"raw_longitude":756658496,"raw_latitude":119569608,"longitude_deg":75.6658496,"latitude_deg":11.9569608,"altitude":44,"angle":173,"satellites":39,"speed":0,"hex_longitude":"2d19b140","hex_latitude":"07207cc8","is_valid_coordinates":true} 
[2026-04-26 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965387776001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888459612585984,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264994928640,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777208567000,"timestamp_ms":1777208567000,"timestamp_seconds":1777208567,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e2a4d8"} 
[2026-04-26 18:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:34:34] 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-04-26 18:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-26 18:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:34:34] 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-04-26 18:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965387776001,"66":14374,"106":206,"83":41984,"24":0,"16":114888459612585984,"45":1850557264994928640},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965387776001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:34:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:34:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888459612585984,"km_value":114888459612585.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264994928640,"description":"Unknown IO ID 45"} 
[2026-04-26 18:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965387776001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1850557264994928640}} 
[2026-04-26 18:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":55669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:34:34] local.INFO: GPS data processed {"connection_id":55669,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:34:34] local.INFO: Acknowledgment sent {"connection_id":55669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:34:51] local.INFO: TCP Data received {"connection_id":55668,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:34:51] local.INFO: Processing buffer {"connection_id":55668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:34:51] local.INFO: Packet analysis {"connection_id":55668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:34:51] local.INFO: Extracted packet for processing {"connection_id":55668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:34: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-04-26 18:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:34:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:34:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:34:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":55668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:34:51] local.INFO: GPS data processed {"connection_id":55668,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:34:51] local.INFO: Acknowledgment sent {"connection_id":55668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:35:05] local.INFO: TCP Data received {"connection_id":55669,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e41bd8012d19cc40071ff780002e00c525..."} 
[2026-04-26 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e41bd8012d19cc40071ff780002e00c525..."} 
[2026-04-26 18:35:05] local.INFO: Processing buffer {"connection_id":55669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e41bd8012d19cc40071ff780002e00c525..."} 
[2026-04-26 18:35:05] local.INFO: Packet analysis {"connection_id":55669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:35:05] local.INFO: Extracted packet for processing {"connection_id":55669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535488,"longitude_deg":75.6665408,"latitude_deg":11.9535488,"altitude":46,"angle":197,"satellites":37,"speed":17,"hex_longitude":"2d19cc40","hex_latitude":"071ff780","is_valid_coordinates":true} 
[2026-04-26 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965417472001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114890375168000000,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251775066112,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777208663000,"timestamp_ms":1777208663000,"timestamp_seconds":1777208663,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e41bd8"} 
[2026-04-26 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-26 18:35:05] 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-04-26 18:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:35:05] 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-04-26 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965417472001,"66":14363,"106":206,"83":41984,"24":17,"16":114890375168000000,"45":1859142251775066112},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965417472001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:35:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114890375168000000,"km_value":114890375168000,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251775066112,"description":"Unknown IO ID 45"} 
[2026-04-26 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965417472001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1859142251775066112}} 
[2026-04-26 18:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":55669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:35:05] local.INFO: GPS data processed {"connection_id":55669,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:35:05] local.INFO: Acknowledgment sent {"connection_id":55669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:35:18] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:18] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:18] local.INFO: IMEI packet received {"connection_id":54920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":54920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:35:27] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:35:27] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:35:27] local.INFO: IMEI packet received {"connection_id":54921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":54921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:35:28] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:28] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:28] local.INFO: IMEI packet received {"connection_id":54920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":54920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:35:29] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:29] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:29] local.INFO: IMEI packet received {"connection_id":54920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":54920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:35:32] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:35:32] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:35:32] local.INFO: IMEI packet received {"connection_id":54921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":54921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:35:32] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:35:33] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:35:33] local.INFO: IMEI packet received {"connection_id":54921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":54921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:35:35] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:35] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:35:35] local.INFO: IMEI packet received {"connection_id":54920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":54920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:35:36] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:36] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:36] local.INFO: Packet analysis {"connection_id":54920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:35:36] local.INFO: Extracted packet for processing {"connection_id":54920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:35:36] 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-04-26 18:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:35:36] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:35:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":54920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:35:36] local.INFO: GPS data processed {"connection_id":54920,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:35:36] local.INFO: Acknowledgment sent {"connection_id":54920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:35:43] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:43] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:43] local.INFO: Packet analysis {"connection_id":54920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:35:43] local.INFO: Extracted packet for processing {"connection_id":54920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:35:43] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:35:43] 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-04-26 18:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:35:43] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:35:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":54920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:35:43] local.INFO: GPS data processed {"connection_id":54920,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:35:43] local.INFO: Acknowledgment sent {"connection_id":54920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:35:55] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:55] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:35:55] local.INFO: Packet analysis {"connection_id":54920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:35:55] local.INFO: Extracted packet for processing {"connection_id":54920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:35: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-04-26 18:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:35:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:35:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:35:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":54920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:35:55] local.INFO: GPS data processed {"connection_id":54920,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:35:55] local.INFO: Acknowledgment sent {"connection_id":54920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:36:13] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:36:13] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:36:13] local.INFO: IMEI packet received {"connection_id":54761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":54761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:36:18] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:36:18] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:36:18] local.INFO: IMEI packet received {"connection_id":54761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":54761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:36:19] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:36:19] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:36:19] local.INFO: Packet analysis {"connection_id":54761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:36:19] local.INFO: Extracted packet for processing {"connection_id":54761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:36:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:36:19] 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-04-26 18: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-04-26 18:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:36:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":54761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:36:19] local.INFO: GPS data processed {"connection_id":54761,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:36:19] local.INFO: Acknowledgment sent {"connection_id":54761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:36:24] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:36:24] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e12220012cb299c007822ce0004900122c..."} 
[2026-04-26 18:36:24] local.INFO: Packet analysis {"connection_id":54761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:36:24] local.INFO: Extracted packet for processing {"connection_id":54761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e1"} 
[2026-04-26 18:36:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965290752001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777208468000,"timestamp_ms":1777208468000,"timestamp_seconds":1777208468,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e12220"} 
[2026-04-26 18:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18: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-04-26 18: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-04-26 18:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965290752001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965290752001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:36:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:36:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965290752001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":54761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:36:24] local.INFO: GPS data processed {"connection_id":54761,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:36:24] local.INFO: Acknowledgment sent {"connection_id":54761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:36:55] local.INFO: TCP Data received {"connection_id":54761,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:36:55] local.INFO: Processing buffer {"connection_id":54761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:36:55] local.INFO: Packet analysis {"connection_id":54761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:36:55] local.INFO: Extracted packet for processing {"connection_id":54761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:36: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-04-26 18:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:36:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:36:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:36:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":54761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:36:55] local.INFO: GPS data processed {"connection_id":54761,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:36:55] local.INFO: Acknowledgment sent {"connection_id":54761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:37:13] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:37:13] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:37:13] local.INFO: IMEI packet received {"connection_id":54922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":54922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:37:18] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:37:18] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:37:18] local.INFO: IMEI packet received {"connection_id":54922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":54922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:37:19] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:19] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:19] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:37:19] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:37:19] 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-04-26 18: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-04-26 18:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:37:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:37:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:37:19] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:37:19] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:37:24] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:24] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:24] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:37:24] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:37: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-04-26 18:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:37:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:37:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:37:24] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:37:24] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:37:55] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:55] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:37:55] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:37:55] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:37: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-04-26 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:37:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:37:55] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:37:55] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:38:04] local.INFO: TCP Data received {"connection_id":54923,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:38:04] local.INFO: Processing buffer {"connection_id":54923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:38:04] local.INFO: IMEI packet received {"connection_id":54923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":54923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:38:13] local.INFO: TCP Data received {"connection_id":55673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:38:13] local.INFO: Processing buffer {"connection_id":55673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:38:13] local.INFO: IMEI packet received {"connection_id":55673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":55673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:38:19] local.INFO: TCP Data received {"connection_id":55673,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:38:19] local.INFO: Processing buffer {"connection_id":55673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:38:19] local.INFO: IMEI packet received {"connection_id":55673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":55673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:38:20] local.INFO: TCP Data received {"connection_id":55673,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:38:20] local.INFO: Processing buffer {"connection_id":55673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:38:20] local.INFO: Packet analysis {"connection_id":55673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:38:20] local.INFO: Extracted packet for processing {"connection_id":55673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:38:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:38:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18: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-04-26 18: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-04-26 18:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:38: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-04-26 18:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:38:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:38:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:38:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":55673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:38:20] local.INFO: GPS data processed {"connection_id":55673,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:38:20] local.INFO: Acknowledgment sent {"connection_id":55673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:39:15] local.INFO: TCP Data received {"connection_id":54764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:39:15] local.INFO: Processing buffer {"connection_id":54764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:39:15] local.INFO: IMEI packet received {"connection_id":54764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:39:15] local.INFO: IMEI acknowledgment sent {"connection_id":54764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:39:18] local.INFO: TCP Data received {"connection_id":54764,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:39:18] local.INFO: Processing buffer {"connection_id":54764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:39:18] local.INFO: IMEI packet received {"connection_id":54764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":54764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:39:19] local.INFO: TCP Data received {"connection_id":54764,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:39:19] local.INFO: Processing buffer {"connection_id":54764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:39:19] local.INFO: Packet analysis {"connection_id":54764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:39:19] local.INFO: Extracted packet for processing {"connection_id":54764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:39:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:39:19] 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-04-26 18: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-04-26 18:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:39:19] 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-04-26 18:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:39:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":54764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:39:19] local.INFO: GPS data processed {"connection_id":54764,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:39:19] local.INFO: Acknowledgment sent {"connection_id":54764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:39:51] local.INFO: TCP Data received {"connection_id":54764,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:39:51] local.INFO: Processing buffer {"connection_id":54764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:39:51] local.INFO: Packet analysis {"connection_id":54764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:39:51] local.INFO: Extracted packet for processing {"connection_id":54764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:39:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:39:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18: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-04-26 18:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:39:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:39:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:39:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":54764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:39:51] local.INFO: GPS data processed {"connection_id":54764,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:39:51] local.INFO: Acknowledgment sent {"connection_id":54764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:39:58] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:39:58] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:39:58] local.INFO: IMEI packet received {"connection_id":55675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":55675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:40:03] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:40:03] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:40:03] local.INFO: IMEI packet received {"connection_id":55675,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":55675,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:40:06] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 18:40:06] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 18:40:06] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 18:40:06] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 18:40: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-04-26 18:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:40:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 18:40:06] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 18:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 18:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 18:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 18:40:06] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 18:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 18:40:06] local.ERROR: GPS data processing failed {"connection_id":55675,"error":"No valid data to process"} 
[2026-04-26 18:40:06] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 18:40:13] local.INFO: TCP Data received {"connection_id":55008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:40:13] local.INFO: Processing buffer {"connection_id":55008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:40:13] local.INFO: IMEI packet received {"connection_id":55008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":55008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:40:18] local.INFO: TCP Data received {"connection_id":55008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:40:18] local.INFO: Processing buffer {"connection_id":55008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:40:18] local.INFO: IMEI packet received {"connection_id":55008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":55008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:40:19] local.INFO: TCP Data received {"connection_id":55008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:40:19] local.INFO: Processing buffer {"connection_id":55008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:40:19] local.INFO: Packet analysis {"connection_id":55008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:40:19] local.INFO: Extracted packet for processing {"connection_id":55008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:40:19] 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-04-26 18:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18: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-04-26 18:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:40:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":55008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:40:19] local.INFO: GPS data processed {"connection_id":55008,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:40:19] local.INFO: Acknowledgment sent {"connection_id":55008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:40:37] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 18:40:37] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 18:40:37] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 18:40:37] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 18:40:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 18:40:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:40:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 18:40:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 18:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 18:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 18:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 18:40:37] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 18:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 18:40:37] local.ERROR: GPS data processing failed {"connection_id":55675,"error":"No valid data to process"} 
[2026-04-26 18:40:37] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 18:40:37] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:40:37] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:40:37] local.INFO: IMEI packet received {"connection_id":55009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":55009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:40:50] local.INFO: TCP Data received {"connection_id":55008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:40:50] local.INFO: Processing buffer {"connection_id":55008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:40:50] local.INFO: Packet analysis {"connection_id":55008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:40:50] local.INFO: Extracted packet for processing {"connection_id":55008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:40:50] 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-04-26 18:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:40: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-04-26 18:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:40:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":55008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:40:50] local.INFO: GPS data processed {"connection_id":55008,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:40:50] local.INFO: Acknowledgment sent {"connection_id":55008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:40:54] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e48938012d199b40071ff0000036011927..."} 
[2026-04-26 18:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e48938012d199b40071ff0000036011927..."} 
[2026-04-26 18:40:54] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e48938012d199b40071ff0000036011927..."} 
[2026-04-26 18:40:54] local.INFO: Packet analysis {"connection_id":55009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:40:54] local.INFO: Extracted packet for processing {"connection_id":55009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756652864,"raw_latitude":119533568,"longitude_deg":75.6652864,"latitude_deg":11.9533568,"altitude":54,"angle":281,"satellites":39,"speed":18,"hex_longitude":"2d199b40","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965424384001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891019413094400,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846124034101596160,"note":"Value kept but may cause issues"} 
[2026-04-26 18:40: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-04-26 18:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777208691000,"timestamp_ms":1777208691000,"timestamp_seconds":1777208691,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e48938"} 
[2026-04-26 18:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:40:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-26 18:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:40:54] 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-04-26 18:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965424384001,"66":14483,"106":206,"83":41984,"24":18,"16":114891019413094400,"45":1846124034101596160},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965424384001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:40:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:40:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891019413094400,"km_value":114891019413094.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846124034101596160,"description":"Unknown IO ID 45"} 
[2026-04-26 18:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965424384001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1846124034101596160}} 
[2026-04-26 18:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":55009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:40:54] local.INFO: GPS data processed {"connection_id":55009,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:40:54] local.INFO: Acknowledgment sent {"connection_id":55009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:41:08] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e9c5100100000000000000000000000000..."} 
[2026-04-26 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e9c5100100000000000000000000000000..."} 
[2026-04-26 18:41:08] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e9c5100100000000000000000000000000..."} 
[2026-04-26 18:41:08] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:41:08] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777209034000,"timestamp_ms":1777209034000,"timestamp_seconds":1777209034,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e9c510"} 
[2026-04-26 18:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-26 18:41:08] 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-04-26 18:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 18:41:08] local.INFO: GPS data processed {"connection_id":55675,"processed":0,"errors":0,"total":1} 
[2026-04-26 18:41:08] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:41:13] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:41:13] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:41:13] local.INFO: IMEI packet received {"connection_id":54766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":54766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:41:18] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:41:18] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:41:18] local.INFO: IMEI packet received {"connection_id":54766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":54766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:41:19] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:41:19] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e5b9e8012cb299c007822ce0004e00122c..."} 
[2026-04-26 18:41:19] local.INFO: Packet analysis {"connection_id":54766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:41:19] local.INFO: Extracted packet for processing {"connection_id":54766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e5"} 
[2026-04-26 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:41: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-04-26 18:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965367808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777208769000,"timestamp_ms":1777208769000,"timestamp_seconds":1777208769,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e5b9e8"} 
[2026-04-26 18:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:41: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:41:19] 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-04-26 18:41: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-04-26 18:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965367808001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965367808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965367808001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":54766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:41:19] local.INFO: GPS data processed {"connection_id":54766,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:41:19] local.INFO: Acknowledgment sent {"connection_id":54766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:41:27] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:41:27] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:41:27] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:41:32] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:41:32] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:41:32] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:41:33] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e4a0a8012d199080071ff0f0003a010d29..."} 
[2026-04-26 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e4a0a8012d199080071ff0f0003a010d29..."} 
[2026-04-26 18:41:33] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e4a0a8012d199080071ff0f0003a010d29..."} 
[2026-04-26 18:41:33] local.INFO: Packet analysis {"connection_id":55010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:41:33] local.INFO: Extracted packet for processing {"connection_id":55010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756650112,"raw_latitude":119533808,"longitude_deg":75.6650112,"latitude_deg":11.9533808,"altitude":58,"angle":269,"satellites":41,"speed":17,"hex_longitude":"2d199080","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965424896001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891148262113280,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845138871683121152,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777208697000,"timestamp_ms":1777208697000,"timestamp_seconds":1777208697,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e4a0a8"} 
[2026-04-26 18:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-26 18:41:33] 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-04-26 18: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-04-26 18:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965424896001,"66":13993,"106":206,"83":41984,"24":17,"16":114891148262113280,"45":1845138871683121152},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965424896001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:41:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891148262113280,"km_value":114891148262113.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845138871683121152,"description":"Unknown IO ID 45"} 
[2026-04-26 18:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965424896001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1845138871683121152}} 
[2026-04-26 18:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":55010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:41:33] local.INFO: GPS data processed {"connection_id":55010,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:41:33] local.INFO: Acknowledgment sent {"connection_id":55010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:41:39] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea17180100000000000000000000000000..."} 
[2026-04-26 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea17180100000000000000000000000000..."} 
[2026-04-26 18:41:39] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea17180100000000000000000000000000..."} 
[2026-04-26 18:41:39] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:41:39] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777209055000,"timestamp_ms":1777209055000,"timestamp_seconds":1777209055,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea1718"} 
[2026-04-26 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 18:41:39] local.INFO: GPS data processed {"connection_id":55675,"processed":0,"errors":0,"total":1} 
[2026-04-26 18:41:39] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:41:51] local.INFO: TCP Data received {"connection_id":54766,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:41:51] local.INFO: Processing buffer {"connection_id":54766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:41:51] local.INFO: Packet analysis {"connection_id":54766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:41:51] local.INFO: Extracted packet for processing {"connection_id":54766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:41:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 18:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:41: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-04-26 18: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-04-26 18:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:41:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:41:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:41:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":54766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:41:51] local.INFO: GPS data processed {"connection_id":54766,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:41:51] local.INFO: Acknowledgment sent {"connection_id":54766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:42:04] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e4ac60012d198ac0071ff068003a010d29..."} 
[2026-04-26 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e4ac60012d198ac0071ff068003a010d29..."} 
[2026-04-26 18:42:04] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e4ac60012d198ac0071ff068003a010d29..."} 
[2026-04-26 18:42:04] local.INFO: Packet analysis {"connection_id":55010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:42:04] local.INFO: Extracted packet for processing {"connection_id":55010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756648640,"raw_latitude":119533672,"longitude_deg":75.664864,"latitude_deg":11.9533672,"altitude":58,"angle":269,"satellites":41,"speed":19,"hex_longitude":"2d198ac0","hex_latitude":"071ff068","is_valid_coordinates":true} 
[2026-04-26 18:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965426432001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842113015683543040,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777208700000,"timestamp_ms":1777208700000,"timestamp_seconds":1777208700,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e4ac60"} 
[2026-04-26 18:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:42:04] 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-04-26 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-26 18:42:04] 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-04-26 18: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-04-26 18:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:42:04] 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-04-26 18:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965426432001,"66":13515,"106":206,"83":41984,"24":19,"16":114891221276557312,"45":1842113015683543040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965426432001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842113015683543040,"description":"Unknown IO ID 45"} 
[2026-04-26 18:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965426432001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1842113015683543040}} 
[2026-04-26 18:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":55010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:42:04] local.INFO: GPS data processed {"connection_id":55010,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:42:04] local.INFO: Acknowledgment sent {"connection_id":55010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:42:10] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea69200100000000000000000000000000..."} 
[2026-04-26 18:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea69200100000000000000000000000000..."} 
[2026-04-26 18:42:10] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea69200100000000000000000000000000..."} 
[2026-04-26 18:42:10] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:10] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777209076000,"timestamp_ms":1777209076000,"timestamp_seconds":1777209076,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea6920"} 
[2026-04-26 18:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-04-26 18:42:10] local.WARNING: Large IO value detected {"io_id":214,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416621,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477861,"corrected_to":0} 
[2026-04-26 18:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:10] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3606118400,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:10] local.WARNING: Large IO value detected {"io_id":201,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:10] local.INFO: IO Element Parsed {"io_data_count":26,"io_data_keys":[0,229,85,24,241,157,16,214,197,10,66,9,183,1,240,247,227,4,113,205,27,239,2,45,15,201],"length":527,"final_offset":657,"validated_count":26,"validation_warnings":[{"io_id":247,"original":13477861,"validated":0}]} 
[2026-04-26 18:42:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 18:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 18:42:10] local.INFO: GPS data processed {"connection_id":55675,"processed":0,"errors":0,"total":1} 
[2026-04-26 18:42:10] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:42:18] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:42:18] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:42:18] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:42:23] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:42:23] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:42:23] local.INFO: IMEI packet received {"connection_id":54768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":54768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:42:24] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:42:24] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:42:24] local.INFO: Packet analysis {"connection_id":54768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:24] local.INFO: Extracted packet for processing {"connection_id":54768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 18:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:42: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-04-26 18:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:42:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":54768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:42:24] local.INFO: GPS data processed {"connection_id":54768,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:42:24] local.INFO: Acknowledgment sent {"connection_id":54768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:42:32] local.INFO: TCP Data received {"connection_id":55676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:42:32] local.INFO: Processing buffer {"connection_id":55676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:42:32] local.INFO: IMEI packet received {"connection_id":55676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":55676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:42:37] local.INFO: TCP Data received {"connection_id":55676,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:42:37] local.INFO: Processing buffer {"connection_id":55676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:42:37] local.INFO: IMEI packet received {"connection_id":55676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":55676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:42:38] local.INFO: TCP Data received {"connection_id":55676,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e4b048012d1988c0071ff078003a010f29..."} 
[2026-04-26 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e4b048012d1988c0071ff078003a010f29..."} 
[2026-04-26 18:42:38] local.INFO: Processing buffer {"connection_id":55676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e4b048012d1988c0071ff078003a010f29..."} 
[2026-04-26 18:42:38] local.INFO: Packet analysis {"connection_id":55676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:42:38] local.INFO: Extracted packet for processing {"connection_id":55676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533688,"longitude_deg":75.6648128,"latitude_deg":11.9533688,"altitude":58,"angle":271,"satellites":41,"speed":19,"hex_longitude":"2d1988c0","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-04-26 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965427200001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840494534567421952,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777208701000,"timestamp_ms":1777208701000,"timestamp_seconds":1777208701,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e4b048"} 
[2026-04-26 18:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:42:38] 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-04-26 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 18:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:42:38] 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-04-26 18:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965427200001,"66":13515,"106":206,"83":41984,"24":19,"16":114891221276557312,"45":1840494534567421952},"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-04-26 18:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965427200001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:42:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840494534567421952,"description":"Unknown IO ID 45"} 
[2026-04-26 18:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965427200001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1840494534567421952}} 
[2026-04-26 18:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":55676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:42:38] local.INFO: GPS data processed {"connection_id":55676,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:42:38] local.INFO: Acknowledgment sent {"connection_id":55676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:42:41] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eabb280100000000000000000000000000..."} 
[2026-04-26 18:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eabb280100000000000000000000000000..."} 
[2026-04-26 18:42:41] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eabb280100000000000000000000000000..."} 
[2026-04-26 18:42:41] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:41] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777209097000,"timestamp_ms":1777209097000,"timestamp_seconds":1777209097,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eabb28"} 
[2026-04-26 18:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-26 18:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:42: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-04-26 18:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 18:42:41] local.INFO: GPS data processed {"connection_id":55675,"processed":0,"errors":0,"total":1} 
[2026-04-26 18:42:41] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:42:55] local.INFO: TCP Data received {"connection_id":54768,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:42:55] local.INFO: Processing buffer {"connection_id":54768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:42:55] local.INFO: Packet analysis {"connection_id":54768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:55] local.INFO: Extracted packet for processing {"connection_id":54768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 18:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:42:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:42:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:42:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":54768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:42:55] local.INFO: GPS data processed {"connection_id":54768,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:42:55] local.INFO: Acknowledgment sent {"connection_id":54768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:43:09] local.INFO: TCP Data received {"connection_id":55676,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e4b048012d1988c0071ff078003a010f29..."} 
[2026-04-26 18:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e4b048012d1988c0071ff078003a010f29..."} 
[2026-04-26 18:43:09] local.INFO: Processing buffer {"connection_id":55676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e4b048012d1988c0071ff078003a010f29..."} 
[2026-04-26 18:43:09] local.INFO: Packet analysis {"connection_id":55676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:43:09] local.INFO: Extracted packet for processing {"connection_id":55676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533688,"longitude_deg":75.6648128,"latitude_deg":11.9533688,"altitude":58,"angle":271,"satellites":41,"speed":19,"hex_longitude":"2d1988c0","hex_latitude":"071ff078","is_valid_coordinates":true} 
[2026-04-26 18:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965427456001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614004736,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777208701000,"timestamp_ms":1777208701000,"timestamp_seconds":1777208701,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e4b048"} 
[2026-04-26 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-04-26 18:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 18:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 18:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:43:09] 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-04-26 18:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965427456001,"66":13515,"106":206,"83":41984,"24":19,"16":114891221276557312,"45":1839931584614004736},"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-04-26 18:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965427456001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:43:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614004736,"description":"Unknown IO ID 45"} 
[2026-04-26 18:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965427456001,"power":13515,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1839931584614004736}} 
[2026-04-26 18:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":55676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:43:09] local.INFO: GPS data processed {"connection_id":55676,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:43:09] local.INFO: Acknowledgment sent {"connection_id":55676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:43:12] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eae620012d7a914005daa6c8000d004b07..."} 
[2026-04-26 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eae620012d7a914005daa6c8000d004b07..."} 
[2026-04-26 18:43:12] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eae620012d7a914005daa6c8000d004b07..."} 
[2026-04-26 18:43:12] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:43:12] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":763007296,"raw_latitude":98215624,"longitude_deg":76.3007296,"latitude_deg":9.8215624,"altitude":13,"angle":75,"satellites":7,"speed":12,"hex_longitude":"2d7a9140","hex_latitude":"05daa6c8","is_valid_coordinates":true} 
[2026-04-26 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76516049264050176,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 18:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777209108000,"timestamp_ms":1777209108000,"timestamp_seconds":1777209108,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eae620"} 
[2026-04-26 18:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-26 18:43:12] 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-04-26 18:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13526,"229":206,"85":15104,"24":12,"16":76516049264050176},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16]} 
[2026-04-26 18:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-26 18:43:12] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 18:43:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76516049264050176,"km_value":76516049264050.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:43:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13526,"unknown_229":206,"unknown_85":15104,"ignition":12,"odometer":null}} 
[2026-04-26 18:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:43:12] local.INFO: GPS data processed {"connection_id":55675,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:43:12] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:43:13] local.INFO: TCP Data received {"connection_id":55011,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:43:13] local.INFO: Processing buffer {"connection_id":55011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:43:13] local.INFO: IMEI packet received {"connection_id":55011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":55011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:43:18] local.INFO: TCP Data received {"connection_id":55011,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:43:18] local.INFO: Processing buffer {"connection_id":55011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:43:18] local.INFO: IMEI packet received {"connection_id":55011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":55011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:43:19] local.INFO: TCP Data received {"connection_id":55011,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:43:19] local.INFO: Processing buffer {"connection_id":55011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:43:19] local.INFO: Packet analysis {"connection_id":55011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:43:19] local.INFO: Extracted packet for processing {"connection_id":55011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 18:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:43:19] 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-04-26 18: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-04-26 18:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:43:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":55011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:43:19] local.INFO: GPS data processed {"connection_id":55011,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:43:19] local.INFO: Acknowledgment sent {"connection_id":55011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:43:27] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:43:27] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:43:27] local.INFO: IMEI packet received {"connection_id":54925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":54925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:43:32] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:43:32] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:43:32] local.INFO: IMEI packet received {"connection_id":54925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":54925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:43:33] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e4b818012d198480071ff008003a00fc27..."} 
[2026-04-26 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e4b818012d198480071ff008003a00fc27..."} 
[2026-04-26 18:43:33] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e4b818012d198480071ff008003a00fc27..."} 
[2026-04-26 18:43:33] local.INFO: Packet analysis {"connection_id":54925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:43:33] local.INFO: Extracted packet for processing {"connection_id":54925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756647040,"raw_latitude":119533576,"longitude_deg":75.664704,"latitude_deg":11.9533576,"altitude":58,"angle":252,"satellites":39,"speed":19,"hex_longitude":"2d198480","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965427456001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614004736,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777208703000,"timestamp_ms":1777208703000,"timestamp_seconds":1777208703,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e4b818"} 
[2026-04-26 18:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:43:33] 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-04-26 18: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 18:43:33] 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-04-26 18: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-04-26 18:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965427456001,"66":2927,"106":206,"83":41984,"24":19,"16":114891221276557312,"45":1839931584614004736},"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-04-26 18:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965427456001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:43:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614004736,"description":"Unknown IO ID 45"} 
[2026-04-26 18:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965427456001,"power":2927,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1839931584614004736}} 
[2026-04-26 18:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":54925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:43:33] local.INFO: GPS data processed {"connection_id":54925,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:43:33] local.INFO: Acknowledgment sent {"connection_id":54925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:43:39] local.INFO: TCP Data received {"connection_id":55678,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:43:39] local.INFO: Processing buffer {"connection_id":55678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:43:39] local.INFO: IMEI packet received {"connection_id":55678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:43:39] local.INFO: IMEI acknowledgment sent {"connection_id":55678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:43:44] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ec93d0012d7b0b4005dac4600017006b0d..."} 
[2026-04-26 18:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ec93d0012d7b0b4005dac4600017006b0d..."} 
[2026-04-26 18:43:44] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ec93d0012d7b0b4005dac4600017006b0d..."} 
[2026-04-26 18:43:44] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ec"} 
[2026-04-26 18:43:44] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ec"} 
[2026-04-26 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98223200,"longitude_deg":76.3038528,"latitude_deg":9.82232,"altitude":23,"angle":107,"satellites":13,"speed":1,"hex_longitude":"2d7b0b40","hex_latitude":"05dac460","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965558272001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76517625517047808,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865898841577410560,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777209218000,"timestamp_ms":1777209218000,"timestamp_seconds":1777209218,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ec93d0"} 
[2026-04-26 18:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 18:43: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-04-26 18: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-04-26 18:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965558272001,"66":13352,"188":206,"85":15104,"24":1,"16":76517625517047808,"45":8865898841577410560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 18:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965558272001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:43:44] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 18:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76517625517047808,"km_value":76517625517047.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865898841577410560,"description":"Unknown IO ID 45"} 
[2026-04-26 18:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965558272001,"power":13352,"unknown_188":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8865898841577410560}} 
[2026-04-26 18:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:43:44] local.INFO: GPS data processed {"connection_id":55675,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:43:44] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:43:51] local.INFO: TCP Data received {"connection_id":55011,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:43:51] local.INFO: Processing buffer {"connection_id":55011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:43:51] local.INFO: Packet analysis {"connection_id":55011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:43:51] local.INFO: Extracted packet for processing {"connection_id":55011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:43:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 18:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:43: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-04-26 18:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:43:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:43:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:43:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":55011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:43:51] local.INFO: GPS data processed {"connection_id":55011,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:43:51] local.INFO: Acknowledgment sent {"connection_id":55011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:44:04] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e4bc00012d198300071fef40003a00ee28..."} 
[2026-04-26 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e4bc00012d198300071fef40003a00ee28..."} 
[2026-04-26 18:44:04] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e4bc00012d198300071fef40003a00ee28..."} 
[2026-04-26 18:44:04] local.INFO: Packet analysis {"connection_id":54925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:44:04] local.INFO: Extracted packet for processing {"connection_id":54925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e4"} 
[2026-04-26 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756646656,"raw_latitude":119533376,"longitude_deg":75.6646656,"latitude_deg":11.9533376,"altitude":58,"angle":238,"satellites":40,"speed":19,"hex_longitude":"2d198300","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-04-26 18:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965427968001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838735315962955776,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777208704000,"timestamp_ms":1777208704000,"timestamp_seconds":1777208704,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e4bc00"} 
[2026-04-26 18:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:44:04] 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-04-26 18:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-26 18:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:44:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:44:04] 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-04-26 18:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965427968001,"66":2459,"106":206,"83":41984,"24":19,"16":114891221276557312,"45":1838735315962955776},"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-04-26 18:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965427968001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838735315962955776,"description":"Unknown IO ID 45"} 
[2026-04-26 18:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965427968001,"power":2459,"unknown_106":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1838735315962955776}} 
[2026-04-26 18:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":54925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:44:04] local.INFO: GPS data processed {"connection_id":54925,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:44:04] local.INFO: Acknowledgment sent {"connection_id":54925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:44:13] local.INFO: TCP Data received {"connection_id":54769,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:44:13] local.INFO: Processing buffer {"connection_id":54769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:44:13] local.INFO: IMEI packet received {"connection_id":54769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":54769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:44:16] local.INFO: TCP Data received {"connection_id":55675,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ec9f88012d7b0c4005dac4380016005c0d..."} 
[2026-04-26 18:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ec9f88012d7b0c4005dac4380016005c0d..."} 
[2026-04-26 18:44:16] local.INFO: Processing buffer {"connection_id":55675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ec9f88012d7b0c4005dac4380016005c0d..."} 
[2026-04-26 18:44:16] local.INFO: Packet analysis {"connection_id":55675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ec"} 
[2026-04-26 18:44:16] local.INFO: Extracted packet for processing {"connection_id":55675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ec"} 
[2026-04-26 18:44:16] local.INFO: GPS Element Parsed {"raw_longitude":763038784,"raw_latitude":98223160,"longitude_deg":76.3038784,"latitude_deg":9.822316,"altitude":22,"angle":92,"satellites":13,"speed":3,"hex_longitude":"2d7b0c40","hex_latitude":"05dac438","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965559808001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76517638401949696,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685298270208,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777209221000,"timestamp_ms":1777209221000,"timestamp_seconds":1777209221,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ec9f88"} 
[2026-04-26 18:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 18:44:16] 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-04-26 18: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-04-26 18:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":55675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":55675,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965559808001,"66":13374,"188":206,"85":15104,"24":3,"16":76517638401949696,"45":8866250685298270208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 18:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965559808001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:44:16] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 18:44:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76517638401949696,"km_value":76517638401949.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685298270208,"description":"Unknown IO ID 45"} 
[2026-04-26 18:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965559808001,"power":13374,"unknown_188":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866250685298270208}} 
[2026-04-26 18:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":55675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:44:16] local.INFO: GPS data processed {"connection_id":55675,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:44:16] local.INFO: Acknowledgment sent {"connection_id":55675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:44:20] local.INFO: TCP Data received {"connection_id":54769,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:44:20] local.INFO: Processing buffer {"connection_id":54769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:44:20] local.INFO: IMEI packet received {"connection_id":54769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":54769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:44:20] local.INFO: TCP Data received {"connection_id":54769,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:44:20] local.INFO: Processing buffer {"connection_id":54769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:44:20] local.INFO: Packet analysis {"connection_id":54769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:44:20] local.INFO: Extracted packet for processing {"connection_id":54769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 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-04-26 18:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:44: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-04-26 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-04-26 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-04-26 18:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:44:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:44:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:44:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":54769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:44:20] local.INFO: GPS data processed {"connection_id":54769,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:44:20] local.INFO: Acknowledgment sent {"connection_id":54769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:44:27] local.INFO: TCP Data received {"connection_id":55012,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:44:27] local.INFO: Processing buffer {"connection_id":55012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:44:27] local.INFO: IMEI packet received {"connection_id":55012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":55012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:44:32] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:32] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:32] local.INFO: IMEI packet received {"connection_id":55013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":55013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:44:32] local.INFO: TCP Data received {"connection_id":55012,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:44:32] local.INFO: Processing buffer {"connection_id":55012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:44:32] local.INFO: IMEI packet received {"connection_id":55012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":55012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:44:33] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:33] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:33] local.INFO: IMEI packet received {"connection_id":55013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":55013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:44:33] local.INFO: TCP Data received {"connection_id":55012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:44:33] local.INFO: Processing buffer {"connection_id":55012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:44:33] local.INFO: Packet analysis {"connection_id":55012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:44:33] local.INFO: Extracted packet for processing {"connection_id":55012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965428224001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497838592,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777209005000,"timestamp_ms":1777209005000,"timestamp_seconds":1777209005,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e953c8"} 
[2026-04-26 18:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":9,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-04-26 18:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965428224001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1838313103497838592},"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-04-26 18:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965428224001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:44:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:44:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497838592,"description":"Unknown IO ID 45"} 
[2026-04-26 18:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965428224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838313103497838592}} 
[2026-04-26 18:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":55012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:44:33] local.INFO: GPS data processed {"connection_id":55012,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:44:33] local.INFO: Acknowledgment sent {"connection_id":55012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:44:38] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:38] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:44:38] local.INFO: IMEI packet received {"connection_id":55013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":55013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:44:39] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eca370012d7b0cc005dac458001600500d..."} 
[2026-04-26 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eca370012d7b0cc005dac458001600500d..."} 
[2026-04-26 18:44:39] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eca370012d7b0cc005dac458001600500d..."} 
[2026-04-26 18:44:39] local.INFO: Packet analysis {"connection_id":55013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ec"} 
[2026-04-26 18:44:39] local.INFO: Extracted packet for processing {"connection_id":55013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ec"} 
[2026-04-26 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98223192,"longitude_deg":76.3038912,"latitude_deg":9.8223192,"altitude":22,"angle":80,"satellites":13,"speed":3,"hex_longitude":"2d7b0cc0","hex_latitude":"05dac458","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965560576001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76517646991884288,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866532160274970624,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777209222000,"timestamp_ms":1777209222000,"timestamp_seconds":1777209222,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eca370"} 
[2026-04-26 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-04-26 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-26 18:44:39] 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-04-26 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-04-26 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-04-26 18:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965560576001,"66":13222,"188":206,"85":15104,"24":3,"16":76517646991884288,"45":8866532160274970624},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 18:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965560576001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:44:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 18:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76517646991884288,"km_value":76517646991884.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866532160274970624,"description":"Unknown IO ID 45"} 
[2026-04-26 18:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965560576001,"power":13222,"unknown_188":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866532160274970624}} 
[2026-04-26 18:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":55013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:44:39] local.INFO: GPS data processed {"connection_id":55013,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:44:39] local.INFO: Acknowledgment sent {"connection_id":55013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:44:52] local.INFO: TCP Data received {"connection_id":54769,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:44:52] local.INFO: Processing buffer {"connection_id":54769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ea51b0012cb299c007822ce0005000122c..."} 
[2026-04-26 18:44:52] local.INFO: Packet analysis {"connection_id":54769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:44:52] local.INFO: Extracted packet for processing {"connection_id":54769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ea"} 
[2026-04-26 18:44:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965444864001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777209070000,"timestamp_ms":1777209070000,"timestamp_seconds":1777209070,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ea51b0"} 
[2026-04-26 18:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 18:44: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-04-26 18: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-04-26 18:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965444864001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965444864001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:44:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:44:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:44:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965444864001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":54769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:44:52] local.INFO: GPS data processed {"connection_id":54769,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:44:52] local.INFO: Acknowledgment sent {"connection_id":54769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:45:04] local.INFO: TCP Data received {"connection_id":55012,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:04] local.INFO: Processing buffer {"connection_id":55012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:04] local.INFO: Packet analysis {"connection_id":55012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:45:04] local.INFO: Extracted packet for processing {"connection_id":55012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:45:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965428224001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497838592,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777209005000,"timestamp_ms":1777209005000,"timestamp_seconds":1777209005,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e953c8"} 
[2026-04-26 18:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:45:04] 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-04-26 18: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":9,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-04-26 18:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:45:04] 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-04-26 18:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965428224001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1838313103497838592},"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-04-26 18:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965428224001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:45:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497838592,"description":"Unknown IO ID 45"} 
[2026-04-26 18:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965428224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838313103497838592}} 
[2026-04-26 18:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":55012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:45:05] local.INFO: GPS data processed {"connection_id":55012,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:45:05] local.INFO: Acknowledgment sent {"connection_id":55012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:45:10] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eda928012d7ba2c005daea100005005512..."} 
[2026-04-26 18:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eda928012d7ba2c005daea100005005512..."} 
[2026-04-26 18:45:10] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eda928012d7ba2c005daea100005005512..."} 
[2026-04-26 18:45:10] local.INFO: Packet analysis {"connection_id":55013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ed"} 
[2026-04-26 18:45:10] local.INFO: Extracted packet for processing {"connection_id":55013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ed"} 
[2026-04-26 18:45:10] local.INFO: GPS Element Parsed {"raw_longitude":763077312,"raw_latitude":98232848,"longitude_deg":76.3077312,"latitude_deg":9.8232848,"altitude":5,"angle":85,"satellites":18,"speed":42,"hex_longitude":"2d7ba2c0","hex_latitude":"05daea10","is_valid_coordinates":true} 
[2026-04-26 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965577984001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76519558252331008,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908894144272404480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777209289000,"timestamp_ms":1777209289000,"timestamp_seconds":1777209289,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eda928"} 
[2026-04-26 18:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:45:10] 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-04-26 18:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 18:45:10] 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-04-26 18:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965577984001,"66":13472,"188":206,"85":15104,"24":42,"16":76519558252331008,"45":8908894144272404480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 18:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965577984001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:45:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 18:45:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76519558252331008,"km_value":76519558252331.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908894144272404480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965577984001,"power":13472,"unknown_188":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8908894144272404480}} 
[2026-04-26 18:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":55013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:45:10] local.INFO: GPS data processed {"connection_id":55013,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:45:10] local.INFO: Acknowledgment sent {"connection_id":55013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:45:13] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:45:13] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:45:13] local.INFO: IMEI packet received {"connection_id":55014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":55014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:45:32] local.INFO: TCP Data received {"connection_id":55679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:45:32] local.INFO: Processing buffer {"connection_id":55679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:45:32] local.INFO: IMEI packet received {"connection_id":55679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":55679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:45:37] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:45:37] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:45:37] local.INFO: IMEI packet received {"connection_id":55014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":55014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:45:37] local.INFO: TCP Data received {"connection_id":55679,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:45:37] local.INFO: Processing buffer {"connection_id":55679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:45:37] local.INFO: IMEI packet received {"connection_id":55679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":55679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:45:37] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.50","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 18:45:37] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 18:45:37] local.INFO: IMEI packet received {"connection_id":55014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":55014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:45:38] local.INFO: TCP Data received {"connection_id":55679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:38] local.INFO: Processing buffer {"connection_id":55679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:38] local.INFO: Packet analysis {"connection_id":55679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:45:38] local.INFO: Extracted packet for processing {"connection_id":55679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965428224001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497838592,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777209005000,"timestamp_ms":1777209005000,"timestamp_seconds":1777209005,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e953c8"} 
[2026-04-26 18:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-04-26 18:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:45:38] 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-04-26 18:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965428224001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1838313103497838592},"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-04-26 18:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965428224001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:45:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497838592,"description":"Unknown IO ID 45"} 
[2026-04-26 18:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965428224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838313103497838592}} 
[2026-04-26 18:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":55679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:45:38] local.INFO: GPS data processed {"connection_id":55679,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:45:38] local.INFO: Acknowledgment sent {"connection_id":55679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:45:41] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9edc868012d7bc84005daeb900003005711..."} 
[2026-04-26 18:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9edc868012d7bc84005daeb900003005711..."} 
[2026-04-26 18:45:41] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9edc868012d7bc84005daeb900003005711..."} 
[2026-04-26 18:45:41] local.INFO: Packet analysis {"connection_id":55013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ed"} 
[2026-04-26 18:45:41] local.INFO: Extracted packet for processing {"connection_id":55013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ed"} 
[2026-04-26 18:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763086912,"raw_latitude":98233232,"longitude_deg":76.3086912,"latitude_deg":9.8233232,"altitude":3,"angle":87,"satellites":17,"speed":49,"hex_longitude":"2d7bc840","hex_latitude":"05daeb90","is_valid_coordinates":true} 
[2026-04-26 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965577984001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76520017813831680,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908894144272404480,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777209297000,"timestamp_ms":1777209297000,"timestamp_seconds":1777209297,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9edc868"} 
[2026-04-26 18:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:45:41] 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-04-26 18:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 18:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":55013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965577984001,"66":13319,"188":206,"85":15104,"24":49,"16":76520017813831680,"45":8908894144272404480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-04-26 18:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965577984001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:45:41] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-26 18:45:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76520017813831680,"km_value":76520017813831.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908894144272404480,"description":"Unknown IO ID 45"} 
[2026-04-26 18:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965577984001,"power":13319,"unknown_188":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8908894144272404480}} 
[2026-04-26 18:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":55013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:45:41] local.INFO: GPS data processed {"connection_id":55013,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:45:41] local.INFO: Acknowledgment sent {"connection_id":55013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:45:42] local.INFO: TCP Data received {"connection_id":55679,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:43] local.INFO: Processing buffer {"connection_id":55679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9e953c8012d196ac0071fec50003c00e625..."} 
[2026-04-26 18:45:43] local.INFO: Packet analysis {"connection_id":55679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:45:43] local.INFO: Extracted packet for processing {"connection_id":55679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9e9"} 
[2026-04-26 18:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965428224001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838313103497838592,"note":"Value kept but may cause issues"} 
[2026-04-26 18:45: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-04-26 18:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777209005000,"timestamp_ms":1777209005000,"timestamp_seconds":1777209005,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9e953c8"} 
[2026-04-26 18:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:45:43] 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-04-26 18:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-04-26 18:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:45: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-04-26 18:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965428224001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1838313103497838592},"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-04-26 18:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965428224001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838313103497838592,"description":"Unknown IO ID 45"} 
[2026-04-26 18:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965428224001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1838313103497838592}} 
[2026-04-26 18:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":55679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:45:43] local.INFO: GPS data processed {"connection_id":55679,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:45:43] local.INFO: Acknowledgment sent {"connection_id":55679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:46:12] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eec650012d7c2ec005daec20000600a711..."} 
[2026-04-26 18:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eec650012d7c2ec005daec20000600a711..."} 
[2026-04-26 18:46:12] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eec650012d7c2ec005daec20000600a711..."} 
[2026-04-26 18:46:12] local.INFO: Packet analysis {"connection_id":55013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ee"} 
[2026-04-26 18:46:12] local.INFO: Extracted packet for processing {"connection_id":55013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ee"} 
[2026-04-26 18:46:12] local.INFO: GPS Element Parsed {"raw_longitude":763113152,"raw_latitude":98233376,"longitude_deg":76.3113152,"latitude_deg":9.8233376,"altitude":6,"angle":167,"satellites":17,"speed":7,"hex_longitude":"2d7c2ec0","hex_latitude":"05daec20","is_valid_coordinates":true} 
[2026-04-26 18:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965596416001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76521594066829312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948300641012082688,"note":"Value kept but may cause issues"} 
[2026-04-26 18:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777209362000,"timestamp_ms":1777209362000,"timestamp_seconds":1777209362,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eec650"} 
[2026-04-26 18:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-26 18:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965596416001,"66":13363,"187":206,"85":15104,"24":7,"16":76521594066829312,"45":8948300641012082688},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-26 18:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965596416001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:46:12] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-26 18:46:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76521594066829312,"km_value":76521594066829.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948300641012082688,"description":"Unknown IO ID 45"} 
[2026-04-26 18:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965596416001,"power":13363,"unknown_187":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8948300641012082688}} 
[2026-04-26 18:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":55013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:46:12] local.INFO: GPS data processed {"connection_id":55013,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:46:12] local.INFO: Acknowledgment sent {"connection_id":55013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:46:28] local.INFO: TCP Data received {"connection_id":54770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:28] local.INFO: Processing buffer {"connection_id":54770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:28] local.INFO: IMEI packet received {"connection_id":54770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":54770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:46:40] local.INFO: TCP Data received {"connection_id":54770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:40] local.INFO: Processing buffer {"connection_id":54770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:40] local.INFO: IMEI packet received {"connection_id":54770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":54770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:46:41] local.INFO: TCP Data received {"connection_id":54770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:41] local.INFO: Processing buffer {"connection_id":54770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:41] local.INFO: IMEI packet received {"connection_id":54770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":54770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:46:42] local.INFO: TCP Data received {"connection_id":54770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:42] local.INFO: Processing buffer {"connection_id":54770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:46:42] local.INFO: IMEI packet received {"connection_id":54770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":54770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:49:04] local.INFO: TCP Data received {"connection_id":55016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:49:04] local.INFO: Processing buffer {"connection_id":55016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:49:04] local.INFO: IMEI packet received {"connection_id":55016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":55016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:49:39] local.INFO: TCP Data received {"connection_id":54775,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:49:39] local.INFO: Processing buffer {"connection_id":54775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:49:39] local.INFO: IMEI packet received {"connection_id":54775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":54775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:50:38] local.INFO: TCP Data received {"connection_id":54930,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:50:38] local.INFO: Processing buffer {"connection_id":54930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:50:38] local.INFO: IMEI packet received {"connection_id":54930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":54930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:50:39] local.INFO: TCP Data received {"connection_id":54930,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eee978012cb299c007822ce0004e00122a..."} 
[2026-04-26 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eee978012cb299c007822ce0004e00122a..."} 
[2026-04-26 18:50:39] local.INFO: Processing buffer {"connection_id":54930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eee978012cb299c007822ce0004e00122a..."} 
[2026-04-26 18:50:39] local.INFO: Packet analysis {"connection_id":54930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ee"} 
[2026-04-26 18:50:39] local.INFO: Extracted packet for processing {"connection_id":54930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ee"} 
[2026-04-26 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965521920001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777209371000,"timestamp_ms":1777209371000,"timestamp_seconds":1777209371,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eee978"} 
[2026-04-26 18:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:50:39] 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-04-26 18: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-04-26 18:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965521920001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965521920001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:50:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:50:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965521920001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":54930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:50:39] local.INFO: GPS data processed {"connection_id":54930,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:50:39] local.INFO: Acknowledgment sent {"connection_id":54930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:51:13] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:51:13] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:51:13] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:51:18] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:51:18] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:51:18] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:51:20] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9eee978012cb299c007822ce0004e00122a..."} 
[2026-04-26 18:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9eee978012cb299c007822ce0004e00122a..."} 
[2026-04-26 18:51:20] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9eee978012cb299c007822ce0004e00122a..."} 
[2026-04-26 18:51:20] local.INFO: Packet analysis {"connection_id":55017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ee"} 
[2026-04-26 18:51:20] local.INFO: Extracted packet for processing {"connection_id":55017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ee"} 
[2026-04-26 18:51:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965521920001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777209371000,"timestamp_ms":1777209371000,"timestamp_seconds":1777209371,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9eee978"} 
[2026-04-26 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-04-26 18:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:51:20] 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-04-26 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-04-26 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-04-26 18:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965521920001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965521920001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:51:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:51:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:51:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965521920001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":55017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:51:20] local.INFO: GPS data processed {"connection_id":55017,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:51:20] local.INFO: Acknowledgment sent {"connection_id":55017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:51:47] local.INFO: TCP Data received {"connection_id":54777,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:51:47] local.INFO: Processing buffer {"connection_id":54777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:51:47] local.INFO: IMEI packet received {"connection_id":54777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":54777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:51:48] local.INFO: TCP Data received {"connection_id":54777,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9edeb90012d196ac0071fec50003c00e622..."} 
[2026-04-26 18:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9edeb90012d196ac0071fec50003c00e622..."} 
[2026-04-26 18:51:48] local.INFO: Processing buffer {"connection_id":54777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9edeb90012d196ac0071fec50003c00e622..."} 
[2026-04-26 18:51:48] local.INFO: Packet analysis {"connection_id":54777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ed"} 
[2026-04-26 18:51:48] local.INFO: Extracted packet for processing {"connection_id":54777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ed"} 
[2026-04-26 18:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":34,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965505280001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51: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-04-26 18:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777209306000,"timestamp_ms":1777209306000,"timestamp_seconds":1777209306,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9edeb90"} 
[2026-04-26 18:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:51:48] 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-04-26 18:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:51: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-04-26 18:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:51:48] 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-04-26 18:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965505280001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965505280001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:51:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965505280001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":54777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:51:48] local.INFO: GPS data processed {"connection_id":54777,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:51:48] local.INFO: Acknowledgment sent {"connection_id":54777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:51:51] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:51:51] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:51:51] local.INFO: Packet analysis {"connection_id":55017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:51:51] local.INFO: Extracted packet for processing {"connection_id":55017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 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-04-26 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:51:51] 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-04-26 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-04-26 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-04-26 18:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:51:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:51:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:51:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":55017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:51:51] local.INFO: GPS data processed {"connection_id":55017,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:51:51] local.INFO: Acknowledgment sent {"connection_id":55017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:52:18] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:52:18] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:52:18] local.INFO: IMEI packet received {"connection_id":55018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":55018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:52:23] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:52:23] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:52:23] local.INFO: IMEI packet received {"connection_id":55018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":55018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:52:24] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:52:24] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:52:24] local.INFO: Packet analysis {"connection_id":55018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:52:24] local.INFO: Extracted packet for processing {"connection_id":55018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:52:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:52:24] 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-04-26 18: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-04-26 18:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:52:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:52:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":55018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:52:24] local.INFO: GPS data processed {"connection_id":55018,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:52:24] local.INFO: Acknowledgment sent {"connection_id":55018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:52:29] local.INFO: TCP Data received {"connection_id":55682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:52:29] local.INFO: Processing buffer {"connection_id":55682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:52:29] local.INFO: IMEI packet received {"connection_id":55682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":55682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:52:32] local.INFO: TCP Data received {"connection_id":55682,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:52:32] local.INFO: Processing buffer {"connection_id":55682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:52:32] local.INFO: IMEI packet received {"connection_id":55682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":55682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:52:33] local.INFO: TCP Data received {"connection_id":55682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:52:33] local.INFO: Processing buffer {"connection_id":55682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:52:33] local.INFO: Packet analysis {"connection_id":55682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:52:33] local.INFO: Extracted packet for processing {"connection_id":55682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965582336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777209607000,"timestamp_ms":1777209607000,"timestamp_seconds":1777209607,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f28358"} 
[2026-04-26 18:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:52: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-04-26 18: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-04-26 18:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:52:33] 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-04-26 18:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965582336001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965582336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:52:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965582336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":55682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:52:33] local.INFO: GPS data processed {"connection_id":55682,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:52:33] local.INFO: Acknowledgment sent {"connection_id":55682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:52:55] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:52:55] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:52:55] local.INFO: Packet analysis {"connection_id":55018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:52:55] local.INFO: Extracted packet for processing {"connection_id":55018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:52:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:52: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-04-26 18:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:52:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":55018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:52:56] local.INFO: GPS data processed {"connection_id":55018,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:52:56] local.INFO: Acknowledgment sent {"connection_id":55018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:53:06] local.INFO: TCP Data received {"connection_id":55682,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:53:06] local.INFO: Processing buffer {"connection_id":55682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:53:06] local.INFO: Packet analysis {"connection_id":55682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:53:06] local.INFO: Extracted packet for processing {"connection_id":55682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965582336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777209607000,"timestamp_ms":1777209607000,"timestamp_seconds":1777209607,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f28358"} 
[2026-04-26 18:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:53:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":55682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":55682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":55682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965582336001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965582336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:53:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:53:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965582336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":55682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:53:06] local.INFO: GPS data processed {"connection_id":55682,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:53:06] local.INFO: Acknowledgment sent {"connection_id":55682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:53:13] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:53:13] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:53:13] local.INFO: IMEI packet received {"connection_id":54780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":54780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:53:18] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:53:18] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:53:18] local.INFO: IMEI packet received {"connection_id":54780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":54780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:53:19] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:53:19] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:53:19] local.INFO: Packet analysis {"connection_id":54780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:53:19] local.INFO: Extracted packet for processing {"connection_id":54780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:53:19] 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-04-26 18: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-04-26 18:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:53:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":54780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:53:19] local.INFO: GPS data processed {"connection_id":54780,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:53:19] local.INFO: Acknowledgment sent {"connection_id":54780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:53:27] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:27] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:27] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:53:36] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:36] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:36] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:53:37] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:37] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:37] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:53:44] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:44] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:53:44] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:53:44] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:53:44] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:53:44] local.INFO: Packet analysis {"connection_id":55019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:53:44] local.INFO: Extracted packet for processing {"connection_id":55019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965582336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53: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-04-26 18:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777209607000,"timestamp_ms":1777209607000,"timestamp_seconds":1777209607,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f28358"} 
[2026-04-26 18:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:53: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-04-26 18:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965582336001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 18:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965582336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:53:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:53:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965582336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":55019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:53:45] local.INFO: GPS data processed {"connection_id":55019,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:53:45] local.INFO: Acknowledgment sent {"connection_id":55019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:53:50] local.INFO: TCP Data received {"connection_id":54780,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:53:50] local.INFO: Processing buffer {"connection_id":54780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:53:50] local.INFO: Packet analysis {"connection_id":54780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:53:50] local.INFO: Extracted packet for processing {"connection_id":54780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:53:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:53:50] 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-04-26 18: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-04-26 18:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:53:50] 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-04-26 18:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:53:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":54780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:53:50] local.INFO: GPS data processed {"connection_id":54780,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:53:50] local.INFO: Acknowledgment sent {"connection_id":54780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:54:14] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:54:14] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:54:14] local.INFO: IMEI packet received {"connection_id":55020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":55020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:54:18] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:54:18] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:54:18] local.INFO: IMEI packet received {"connection_id":55020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":55020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:54:19] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:54:19] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:54:19] local.INFO: Packet analysis {"connection_id":55020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:54:19] local.INFO: Extracted packet for processing {"connection_id":55020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:54:19] 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-04-26 18: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-04-26 18:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:54: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-04-26 18:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:54:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":55020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:54:19] local.INFO: GPS data processed {"connection_id":55020,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:54:19] local.INFO: Acknowledgment sent {"connection_id":55020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:54:27] local.INFO: TCP Data received {"connection_id":55021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:54:27] local.INFO: Processing buffer {"connection_id":55021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:54:27] local.INFO: IMEI packet received {"connection_id":55021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":55021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:54:32] local.INFO: TCP Data received {"connection_id":55021,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:54:32] local.INFO: Processing buffer {"connection_id":55021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:54:32] local.INFO: IMEI packet received {"connection_id":55021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":55021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:54:41] local.INFO: TCP Data received {"connection_id":55021,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:54:41] local.INFO: Processing buffer {"connection_id":55021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:54:41] local.INFO: Packet analysis {"connection_id":55021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:54:41] local.INFO: Extracted packet for processing {"connection_id":55021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965582336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54: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-04-26 18:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777209607000,"timestamp_ms":1777209607000,"timestamp_seconds":1777209607,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f28358"} 
[2026-04-26 18:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:54: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-04-26 18: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-04-26 18:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":55021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":55021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":55021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965582336001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 18:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965582336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:54:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965582336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":55021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:54:41] local.INFO: GPS data processed {"connection_id":55021,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:54:41] local.INFO: Acknowledgment sent {"connection_id":55021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:54:51] local.INFO: TCP Data received {"connection_id":55020,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:54:51] local.INFO: Processing buffer {"connection_id":55020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:54:51] local.INFO: Packet analysis {"connection_id":55020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:54:51] local.INFO: Extracted packet for processing {"connection_id":55020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:54:51] 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-04-26 18: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-04-26 18:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":55020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:54:51] local.INFO: GPS data processed {"connection_id":55020,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:54:51] local.INFO: Acknowledgment sent {"connection_id":55020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:55:09] local.INFO: TCP Data received {"connection_id":54781,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:55:09] local.INFO: Processing buffer {"connection_id":54781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:55:09] local.INFO: IMEI packet received {"connection_id":54781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":54781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:55:13] local.INFO: TCP Data received {"connection_id":55684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:55:13] local.INFO: Processing buffer {"connection_id":55684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:55:13] local.INFO: IMEI packet received {"connection_id":55684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":55684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:55:18] local.INFO: TCP Data received {"connection_id":55684,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:55:18] local.INFO: Processing buffer {"connection_id":55684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:55:18] local.INFO: IMEI packet received {"connection_id":55684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":55684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:55:19] local.INFO: TCP Data received {"connection_id":55684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:55:20] local.INFO: Processing buffer {"connection_id":55684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:55:20] local.INFO: Packet analysis {"connection_id":55684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:55:20] local.INFO: Extracted packet for processing {"connection_id":55684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 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-04-26 18:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:55:20] 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-04-26 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-04-26 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-04-26 18:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:55: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-04-26 18:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:55:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:55:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:55:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":55684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:55:20] local.INFO: GPS data processed {"connection_id":55684,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:55:20] local.INFO: Acknowledgment sent {"connection_id":55684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:55:32] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:32] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:32] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:55:33] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:33] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:33] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:55:34] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:55:34] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:55:34] local.INFO: IMEI packet received {"connection_id":54932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":54932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:55:37] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:55:37] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:55:37] local.INFO: IMEI packet received {"connection_id":54932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":54932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:55:38] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:38] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:55:38] local.INFO: IMEI packet received {"connection_id":54782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":54782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:55:39] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f5b7a8012d7c800005d9bad0000000bd18..."} 
[2026-04-26 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f5b7a8012d7c800005d9bad0000000bd18..."} 
[2026-04-26 18:55:39] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f5b7a8012d7c800005d9bad0000000bd18..."} 
[2026-04-26 18:55:39] local.INFO: Packet analysis {"connection_id":54782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f5"} 
[2026-04-26 18:55:39] local.INFO: Extracted packet for processing {"connection_id":54782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f5"} 
[2026-04-26 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":763133952,"raw_latitude":98155216,"longitude_deg":76.3133952,"latitude_deg":9.8155216,"altitude":0,"angle":189,"satellites":24,"speed":18,"hex_longitude":"2d7c8000","hex_latitude":"05d9bad0","is_valid_coordinates":true} 
[2026-04-26 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965710848001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76525575501512704,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970748270385983488,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777209817000,"timestamp_ms":1777209817000,"timestamp_seconds":1777209817,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f5b7a8"} 
[2026-04-26 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-26 18:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965710848001,"66":12341,"245":206,"85":15104,"24":18,"16":76525575501512704,"45":8970748270385983488},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965710848001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76525575501512704,"km_value":76525575501512.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970748270385983488,"description":"Unknown IO ID 45"} 
[2026-04-26 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965710848001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8970748270385983488}} 
[2026-04-26 18:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":54782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:55:39] local.INFO: GPS data processed {"connection_id":54782,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:55:39] local.INFO: Acknowledgment sent {"connection_id":54782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:55:39] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:55:39] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f28358012d196ac0071fec50003c00e627..."} 
[2026-04-26 18:55:39] local.INFO: Packet analysis {"connection_id":54932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:55:39] local.INFO: Extracted packet for processing {"connection_id":54932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f2"} 
[2026-04-26 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965582336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777209607000,"timestamp_ms":1777209607000,"timestamp_seconds":1777209607,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f28358"} 
[2026-04-26 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:55: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-04-26 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:55:39] 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-04-26 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965582336001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965582336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965582336001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":54932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:55:39] local.INFO: GPS data processed {"connection_id":54932,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:55:39] local.INFO: Acknowledgment sent {"connection_id":54932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:55:44] local.INFO: TCP Data received {"connection_id":54783,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:55:44] local.INFO: Processing buffer {"connection_id":54783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 18:55:44] local.INFO: IMEI packet received {"connection_id":54783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 18:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":54783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:55:53] local.INFO: TCP Data received {"connection_id":55684,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:55:53] local.INFO: Processing buffer {"connection_id":55684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:55:53] local.INFO: Packet analysis {"connection_id":55684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:55:53] local.INFO: Extracted packet for processing {"connection_id":55684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:55:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:55:53] 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-04-26 18: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-04-26 18:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:55:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:55:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:55:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":55684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:55:53] local.INFO: GPS data processed {"connection_id":55684,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:55:53] local.INFO: Acknowledgment sent {"connection_id":55684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:56:10] local.INFO: TCP Data received {"connection_id":54782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f79c08012d7c9f8005d82ed8000000b41a..."} 
[2026-04-26 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f79c08012d7c9f8005d82ed8000000b41a..."} 
[2026-04-26 18:56:10] local.INFO: Processing buffer {"connection_id":54782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f79c08012d7c9f8005d82ed8000000b41a..."} 
[2026-04-26 18:56:10] local.INFO: Packet analysis {"connection_id":54782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:10] local.INFO: Extracted packet for processing {"connection_id":54782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763142016,"raw_latitude":98053848,"longitude_deg":76.3142016,"latitude_deg":9.8053848,"altitude":0,"angle":180,"satellites":26,"speed":40,"hex_longitude":"2d7c9f80","hex_latitude":"05d82ed8","is_valid_coordinates":true} 
[2026-04-26 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965742336001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76530514713903104,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979614732127545344,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] 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-04-26 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777209941000,"timestamp_ms":1777209941000,"timestamp_seconds":1777209941,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f79c08"} 
[2026-04-26 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":421459299600957616,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436986577408,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":24,"raw_value":9288674232107012,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185871,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3893828276930642808,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832533,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469864399054,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":63489,"corrected_to":0} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4140886017,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3907518464,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834563278,"corrected_to":0} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3784900608,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3643693056,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3674937295934324737,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,196,85,24,241,157,16,227,77,45,64,120,26,10,66,197,34,128,1,29,226,247,240,201,216,4,113,205,42,173,144,30,239,47,245,2,15,5,225],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":247,"original":63489,"validated":0},{"io_id":205,"original":2834563278,"validated":0}]} 
[2026-04-26 18:56:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":195833330991104,"timestamp_seconds":195833330991.104,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965742336001,"66":12461,"196":206,"85":15104,"24":40,"16":76530514713903104,"45":8979614732127545344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-26 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965742336001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76530514713903104,"km_value":76530514713903.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979614732127545344,"description":"Unknown IO ID 45"} 
[2026-04-26 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965742336001,"power":12461,"unknown_196":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8979614732127545344}} 
[2026-04-26 18:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":54782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:56:10] local.INFO: GPS data processed {"connection_id":54782,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:56:10] local.INFO: Acknowledgment sent {"connection_id":54782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:56:10] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:56:10] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:56:10] local.INFO: Packet analysis {"connection_id":54932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:10] local.INFO: Extracted packet for processing {"connection_id":54932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965659392001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56: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-04-26 18:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777209908000,"timestamp_ms":1777209908000,"timestamp_seconds":1777209908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f71b20"} 
[2026-04-26 18:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:56: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-04-26 18:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:56:10] 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-04-26 18:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965659392001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 18:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965659392001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965659392001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":54932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:56:11] local.INFO: GPS data processed {"connection_id":54932,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:56:11] local.INFO: Acknowledgment sent {"connection_id":54932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:56:13] local.INFO: TCP Data received {"connection_id":55685,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:13] local.INFO: Processing buffer {"connection_id":55685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:13] local.INFO: IMEI packet received {"connection_id":55685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":55685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:56:19] local.INFO: TCP Data received {"connection_id":55685,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:19] local.INFO: Processing buffer {"connection_id":55685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:19] local.INFO: IMEI packet received {"connection_id":55685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":55685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:56:23] local.INFO: TCP Data received {"connection_id":55685,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:23] local.INFO: Processing buffer {"connection_id":55685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:56:23] local.INFO: IMEI packet received {"connection_id":55685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":55685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:56:24] local.INFO: TCP Data received {"connection_id":55685,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:56:24] local.INFO: Processing buffer {"connection_id":55685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f38140012cb299c007822ce0004b00122c..."} 
[2026-04-26 18:56:24] local.INFO: Packet analysis {"connection_id":55685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:56:24] local.INFO: Extracted packet for processing {"connection_id":55685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f3"} 
[2026-04-26 18:56:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965598976001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777209672000,"timestamp_ms":1777209672000,"timestamp_seconds":1777209672,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f38140"} 
[2026-04-26 18:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:56:24] 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-04-26 18:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:56: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-04-26 18:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965598976001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965598976001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:56:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965598976001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":55685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:56:24] local.INFO: GPS data processed {"connection_id":55685,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:56:24] local.INFO: Acknowledgment sent {"connection_id":55685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:56:27] local.INFO: TCP Data received {"connection_id":55022,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:56:27] local.INFO: Processing buffer {"connection_id":55022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:56:27] local.INFO: IMEI packet received {"connection_id":55022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":55022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:56:32] local.INFO: TCP Data received {"connection_id":55022,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:56:32] local.INFO: Processing buffer {"connection_id":55022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:56:32] local.INFO: IMEI packet received {"connection_id":55022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":55022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:56:33] local.INFO: TCP Data received {"connection_id":55686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:56:33] local.INFO: Processing buffer {"connection_id":55686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:56:33] local.INFO: IMEI packet received {"connection_id":55686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":55686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:56:33] local.INFO: TCP Data received {"connection_id":55022,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:56:33] local.INFO: Processing buffer {"connection_id":55022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:56:33] local.INFO: Packet analysis {"connection_id":55022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:33] local.INFO: Extracted packet for processing {"connection_id":55022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965659392001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777209908000,"timestamp_ms":1777209908000,"timestamp_seconds":1777209908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f71b20"} 
[2026-04-26 18:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:56: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-04-26 18:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965659392001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 18:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965659392001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:56:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:56:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965659392001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":55022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:56:33] local.INFO: GPS data processed {"connection_id":55022,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:56:33] local.INFO: Acknowledgment sent {"connection_id":55022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:56:38] local.INFO: TCP Data received {"connection_id":55686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55686,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:56:38] local.INFO: Processing buffer {"connection_id":55686,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:56:38] local.INFO: IMEI packet received {"connection_id":55686,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":55686,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:56:39] local.INFO: TCP Data received {"connection_id":55686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f7bf30012d7ca18005d80c28000000b21d..."} 
[2026-04-26 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f7bf30012d7ca18005d80c28000000b21d..."} 
[2026-04-26 18:56:39] local.INFO: Processing buffer {"connection_id":55686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f7bf30012d7ca18005d80c28000000b21d..."} 
[2026-04-26 18:56:39] local.INFO: Packet analysis {"connection_id":55686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:39] local.INFO: Extracted packet for processing {"connection_id":55686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":763142528,"raw_latitude":98044968,"longitude_deg":76.3142528,"latitude_deg":9.8044968,"altitude":0,"angle":178,"satellites":29,"speed":37,"hex_longitude":"2d7ca180","hex_latitude":"05d80c28","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965744896001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76530944210632704,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980036944590198784,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:39] 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-04-26 18:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777209950000,"timestamp_ms":1777209950000,"timestamp_seconds":1777209950,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f7bf30"} 
[2026-04-26 18:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 18:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18: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-04-26 18:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965744896001,"66":12232,"196":206,"85":15104,"24":37,"16":76530944210632704,"45":8980036944590198784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-26 18:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965744896001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:56:39] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-26 18:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76530944210632704,"km_value":76530944210632.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980036944590198784,"description":"Unknown IO ID 45"} 
[2026-04-26 18:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965744896001,"power":12232,"unknown_196":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8980036944590198784}} 
[2026-04-26 18:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":55686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:56:39] local.INFO: GPS data processed {"connection_id":55686,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:56:39] local.INFO: Acknowledgment sent {"connection_id":55686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:56:55] local.INFO: TCP Data received {"connection_id":55685,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:56:55] local.INFO: Processing buffer {"connection_id":55685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:56:55] local.INFO: Packet analysis {"connection_id":55685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:56:55] local.INFO: Extracted packet for processing {"connection_id":55685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:56:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 18:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:56:55] 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-04-26 18:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:56:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:56:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:56:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":55685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:56:55] local.INFO: GPS data processed {"connection_id":55685,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:56:55] local.INFO: Acknowledgment sent {"connection_id":55685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:57:04] local.INFO: TCP Data received {"connection_id":55022,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:57:04] local.INFO: Processing buffer {"connection_id":55022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f71b20012d196ac0071fec50003c00e629..."} 
[2026-04-26 18:57:04] local.INFO: Packet analysis {"connection_id":55022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:57:04] local.INFO: Extracted packet for processing {"connection_id":55022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":41,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965659392001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777209908000,"timestamp_ms":1777209908000,"timestamp_seconds":1777209908,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f71b20"} 
[2026-04-26 18:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 18:57: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-04-26 18:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 18:57:04] 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-04-26 18:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 18:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 18:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965659392001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 18:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 18:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 18:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965659392001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:57:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 18:57:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 18:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 18:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965659392001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 18:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":55022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:57:04] local.INFO: GPS data processed {"connection_id":55022,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:57:04] local.INFO: Acknowledgment sent {"connection_id":55022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:57:13] local.INFO: TCP Data received {"connection_id":55686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f7ee10012d7ca28005d7e6f8000000b31b..."} 
[2026-04-26 18:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f7ee10012d7ca28005d7e6f8000000b31b..."} 
[2026-04-26 18:57:13] local.INFO: Processing buffer {"connection_id":55686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f7ee10012d7ca28005d7e6f8000000b31b..."} 
[2026-04-26 18:57:13] local.INFO: Packet analysis {"connection_id":55686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:57:13] local.INFO: Extracted packet for processing {"connection_id":55686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f7"} 
[2026-04-26 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763142784,"raw_latitude":98035448,"longitude_deg":76.3142784,"latitude_deg":9.8035448,"altitude":0,"angle":179,"satellites":27,"speed":26,"hex_longitude":"2d7ca280","hex_latitude":"05d7e6f8","is_valid_coordinates":true} 
[2026-04-26 18:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965747200001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76531408067100672,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980599894541346816,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777209962000,"timestamp_ms":1777209962000,"timestamp_seconds":1777209962,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f7ee10"} 
[2026-04-26 18:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 18:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55686,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965747200001,"66":12298,"196":206,"85":15104,"24":26,"16":76531408067100672,"45":8980599894541346816},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-26 18:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965747200001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:57:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-26 18:57:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76531408067100672,"km_value":76531408067100.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980599894541346816,"description":"Unknown IO ID 45"} 
[2026-04-26 18:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965747200001,"power":12298,"unknown_196":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8980599894541346816}} 
[2026-04-26 18:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":55686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:57:13] local.INFO: GPS data processed {"connection_id":55686,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:57:13] local.INFO: Acknowledgment sent {"connection_id":55686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:57:19] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:57:19] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:57:19] local.INFO: IMEI packet received {"connection_id":54784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":54784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:57:23] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:57:23] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:57:23] local.INFO: IMEI packet received {"connection_id":54784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":54784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:57:24] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:57:24] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:57:24] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:24] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 18:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:57:24] 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-04-26 18:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:57:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:57:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:57:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:57:24] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:57:24] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:57:27] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:57:27] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:57:27] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 18:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:57:29] local.INFO: TCP Data received {"connection_id":54784,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:57:29] local.INFO: Processing buffer {"connection_id":54784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:57:29] local.INFO: Packet analysis {"connection_id":54784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:29] local.INFO: Extracted packet for processing {"connection_id":54784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 18:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:57:29] 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-04-26 18: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-04-26 18:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:57:29] 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-04-26 18:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:57:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":54784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:57:29] local.INFO: GPS data processed {"connection_id":54784,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:57:29] local.INFO: Acknowledgment sent {"connection_id":54784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:57:38] local.INFO: TCP Data received {"connection_id":54934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:57:38] local.INFO: Processing buffer {"connection_id":54934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:57:38] local.INFO: IMEI packet received {"connection_id":54934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":54934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:57:43] local.INFO: TCP Data received {"connection_id":54934,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:57:43] local.INFO: Processing buffer {"connection_id":54934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:57:43] local.INFO: IMEI packet received {"connection_id":54934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":54934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:57:43] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:57:43] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 18:57:43] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:57:44] local.INFO: TCP Data received {"connection_id":54785,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54785,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:57:44] local.INFO: Processing buffer {"connection_id":54785,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 18:57:44] local.INFO: IMEI packet received {"connection_id":54785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":54785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:57:44] local.INFO: TCP Data received {"connection_id":54934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f828a8012d7ca64005d7c3d8000000b01b..."} 
[2026-04-26 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f828a8012d7ca64005d7c3d8000000b01b..."} 
[2026-04-26 18:57:44] local.INFO: Processing buffer {"connection_id":54934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f828a8012d7ca64005d7c3d8000000b01b..."} 
[2026-04-26 18:57:44] local.INFO: Packet analysis {"connection_id":54934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:44] local.INFO: Extracted packet for processing {"connection_id":54934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":763143744,"raw_latitude":98026456,"longitude_deg":76.3143744,"latitude_deg":9.8026456,"altitude":0,"angle":176,"satellites":27,"speed":18,"hex_longitude":"2d7ca640","hex_latitude":"05d7c3d8","is_valid_coordinates":true} 
[2026-04-26 18:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965750272001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76531846153764864,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980881369515620352,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] 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-04-26 18:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777209977000,"timestamp_ms":1777209977000,"timestamp_seconds":1777209977,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f828a8"} 
[2026-04-26 18:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437137572352,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185871,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3893695132944466796,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":128,"raw_value":421342648289198255,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":29,"raw_value":11821949022502916,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832536,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146890506446,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4149078017,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455751374,"corrected_to":0} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":154,"raw_value":2147866781,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931222,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3805872128,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3636709376,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.WARNING: Large IO value detected {"io_id":226,"raw_value":7638104968020361217,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:44] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,196,85,24,241,157,16,228,191,45,128,12,29,10,66,156,46,26,116,1,240,227,201,216,4,113,205,34,154,112,239,48,197,2,15,5,226],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1455751374,"validated":0}]} 
[2026-04-26 18:57:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":196928547192832,"timestamp_seconds":196928547192.832,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 18:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":54934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":54934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":54934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965750272001,"66":12287,"196":206,"85":15104,"24":18,"16":76531846153764864,"45":8980881369515620352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-26 18:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965750272001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:57:44] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-26 18:57:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76531846153764864,"km_value":76531846153764.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980881369515620352,"description":"Unknown IO ID 45"} 
[2026-04-26 18:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965750272001,"power":12287,"unknown_196":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8980881369515620352}} 
[2026-04-26 18:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":54934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66352,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:57:44] local.INFO: GPS data processed {"connection_id":54934,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:57:44] local.INFO: Acknowledgment sent {"connection_id":54934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:57:45] local.INFO: TCP Data received {"connection_id":54934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f85788012d7caac005d7a118000000ab1d..."} 
[2026-04-26 18:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f85788012d7caac005d7a118000000ab1d..."} 
[2026-04-26 18:57:45] local.INFO: Processing buffer {"connection_id":54934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f85788012d7caac005d7a118000000ab1d..."} 
[2026-04-26 18:57:45] local.INFO: Packet analysis {"connection_id":54934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:45] local.INFO: Extracted packet for processing {"connection_id":54934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763144896,"raw_latitude":98017560,"longitude_deg":76.3144896,"latitude_deg":9.801756,"altitude":0,"angle":171,"satellites":29,"speed":36,"hex_longitude":"2d7caac0","hex_latitude":"05d7a118","is_valid_coordinates":true} 
[2026-04-26 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965754112001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76532284240429056,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981936900675983360,"note":"Value kept but may cause issues"} 
[2026-04-26 18:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777209989000,"timestamp_ms":1777209989000,"timestamp_seconds":1777209989,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f85788"} 
[2026-04-26 18:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-26 18:57: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-04-26 18:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":54934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":54934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":54934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965754112001,"66":12156,"196":206,"85":15104,"24":36,"16":76532284240429056,"45":8981936900675983360},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-26 18:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965754112001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:57:45] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-26 18:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76532284240429056,"km_value":76532284240429.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981936900675983360,"description":"Unknown IO ID 45"} 
[2026-04-26 18:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965754112001,"power":12156,"unknown_196":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8981936900675983360}} 
[2026-04-26 18:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":54934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:57:45] local.INFO: GPS data processed {"connection_id":54934,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:57:45] local.INFO: Acknowledgment sent {"connection_id":54934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:58:13] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:58:13] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:58:13] local.INFO: IMEI packet received {"connection_id":55024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":55024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:58:17] local.INFO: TCP Data received {"connection_id":54934,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f87ab0012d7cb10005d77e38000000a81e..."} 
[2026-04-26 18:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f87ab0012d7cb10005d77e38000000a81e..."} 
[2026-04-26 18:58:17] local.INFO: Processing buffer {"connection_id":54934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f87ab0012d7cb10005d77e38000000a81e..."} 
[2026-04-26 18:58:17] local.INFO: Packet analysis {"connection_id":54934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:17] local.INFO: Extracted packet for processing {"connection_id":54934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:17] local.INFO: GPS Element Parsed {"raw_longitude":763146496,"raw_latitude":98008632,"longitude_deg":76.3146496,"latitude_deg":9.8008632,"altitude":0,"angle":168,"satellites":30,"speed":41,"hex_longitude":"2d7cb100","hex_latitude":"05d77e38","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965757184001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76532722327093248,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8983203538068903936,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:17] 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-04-26 18:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777209998000,"timestamp_ms":1777209998000,"timestamp_seconds":1777209998,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f87ab0"} 
[2026-04-26 18:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:58:17] 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-04-26 18: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":124,"data_length":795,"current_offset":136} 
[2026-04-26 18:58: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-04-26 18: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-04-26 18:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965757184001,"66":12374,"195":206,"85":15104,"24":41,"16":76532722327093248,"45":8983203538068903936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-26 18:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965757184001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:58:17] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-26 18:58:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76532722327093248,"km_value":76532722327093.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8983203538068903936,"description":"Unknown IO ID 45"} 
[2026-04-26 18:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965757184001,"power":12374,"unknown_195":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8983203538068903936}} 
[2026-04-26 18:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":54934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:58:17] local.INFO: GPS data processed {"connection_id":54934,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:58:17] local.INFO: Acknowledgment sent {"connection_id":54934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:58:18] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:58:18] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:58:18] local.INFO: IMEI packet received {"connection_id":55024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":55024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:58:20] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:58:20] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:58:20] local.INFO: Packet analysis {"connection_id":55024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:20] local.INFO: Extracted packet for processing {"connection_id":55024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 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-04-26 18:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:58:20] 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-04-26 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-04-26 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-04-26 18:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:58: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-04-26 18:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:58:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:58:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":55024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:58:20] local.INFO: GPS data processed {"connection_id":55024,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:58:20] local.INFO: Acknowledgment sent {"connection_id":55024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:58:33] local.INFO: TCP Data received {"connection_id":55688,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:58:33] local.INFO: Processing buffer {"connection_id":55688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:58:33] local.INFO: IMEI packet received {"connection_id":55688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":55688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:58:38] local.INFO: TCP Data received {"connection_id":55688,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:58:38] local.INFO: Processing buffer {"connection_id":55688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:58:38] local.INFO: IMEI packet received {"connection_id":55688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":55688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:58:39] local.INFO: TCP Data received {"connection_id":55688,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f899f0012d7cb90005d75bd8000000a619..."} 
[2026-04-26 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f899f0012d7cb90005d75bd8000000a619..."} 
[2026-04-26 18:58:39] local.INFO: Processing buffer {"connection_id":55688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f899f0012d7cb90005d75bd8000000a619..."} 
[2026-04-26 18:58:39] local.INFO: Packet analysis {"connection_id":55688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:39] local.INFO: Extracted packet for processing {"connection_id":55688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":763148544,"raw_latitude":97999832,"longitude_deg":76.3148544,"latitude_deg":9.7999832,"altitude":0,"angle":166,"satellites":25,"speed":45,"hex_longitude":"2d7cb900","hex_latitude":"05d75bd8","is_valid_coordinates":true} 
[2026-04-26 18:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965759488001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76533160413757440,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984962756671059968,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777210006000,"timestamp_ms":1777210006000,"timestamp_seconds":1777210006,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f899f0"} 
[2026-04-26 18:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:58:39] 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-04-26 18:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-26 18:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965759488001,"66":12319,"195":206,"85":15104,"24":45,"16":76533160413757440,"45":8984962756671059968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-26 18:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965759488001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:58:39] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-26 18:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76533160413757440,"km_value":76533160413757.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984962756671059968,"description":"Unknown IO ID 45"} 
[2026-04-26 18:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965759488001,"power":12319,"unknown_195":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8984962756671059968}} 
[2026-04-26 18:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":55688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:58:39] local.INFO: GPS data processed {"connection_id":55688,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:58:39] local.INFO: Acknowledgment sent {"connection_id":55688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:58:51] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:58:51] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:58:51] local.INFO: Packet analysis {"connection_id":55024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:51] local.INFO: Extracted packet for processing {"connection_id":55024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:58:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 18:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:58:51] 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-04-26 18: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-04-26 18:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:58: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-04-26 18:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:58:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:58:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":55024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:58:51] local.INFO: GPS data processed {"connection_id":55024,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:58:51] local.INFO: Acknowledgment sent {"connection_id":55024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:59:15] local.INFO: TCP Data received {"connection_id":55688,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f8bd18012d7cc24005d73970000000a919..."} 
[2026-04-26 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f8bd18012d7cc24005d73970000000a919..."} 
[2026-04-26 18:59:15] local.INFO: Processing buffer {"connection_id":55688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f8bd18012d7cc24005d73970000000a919..."} 
[2026-04-26 18:59:15] local.INFO: Packet analysis {"connection_id":55688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:59:15] local.INFO: Extracted packet for processing {"connection_id":55688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":763150912,"raw_latitude":97991024,"longitude_deg":76.3150912,"latitude_deg":9.7991024,"altitude":0,"angle":169,"satellites":25,"speed":28,"hex_longitude":"2d7cc240","hex_latitude":"05d73970","is_valid_coordinates":true} 
[2026-04-26 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-04-26 18:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965761536001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76533602795388928,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987214556482492416,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:15] 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-04-26 18:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777210015000,"timestamp_ms":1777210015000,"timestamp_seconds":1777210015,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f8bd18"} 
[2026-04-26 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-04-26 18:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-26 18:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 18:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":55688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":55688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":55688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965761536001,"66":12472,"195":206,"85":15104,"24":28,"16":76533602795388928,"45":8987214556482492416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-26 18:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965761536001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:59:15] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-26 18:59:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76533602795388928,"km_value":76533602795388.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987214556482492416,"description":"Unknown IO ID 45"} 
[2026-04-26 18:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965761536001,"power":12472,"unknown_195":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8987214556482492416}} 
[2026-04-26 18:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":55688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:59:15] local.INFO: GPS data processed {"connection_id":55688,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:59:15] local.INFO: Acknowledgment sent {"connection_id":55688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:59:18] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:18] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:18] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 18:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:59:24] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:24] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:24] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:59:28] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:28] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 18:59:28] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 18:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:59:31] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:59:31] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 18:59:31] local.INFO: Packet analysis {"connection_id":55025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:59:31] local.INFO: Extracted packet for processing {"connection_id":55025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 18:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 18:59:31] 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-04-26 18:59:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 18:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 18:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 18:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 18:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 18:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 18:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:59:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 18:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 18:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 18:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 18:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":55025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:59:31] local.INFO: GPS data processed {"connection_id":55025,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:59:31] local.INFO: Acknowledgment sent {"connection_id":55025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:59:37] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:37] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:37] local.INFO: IMEI packet received {"connection_id":54787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 18:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":54787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 18:59:38] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:38] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:38] local.INFO: IMEI packet received {"connection_id":54787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":54787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:59:43] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:43] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 18:59:43] local.INFO: IMEI packet received {"connection_id":54787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 18:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":54787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 18:59:52] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fad828012d7d16c005d5b7b00000009e1b..."} 
[2026-04-26 18:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fad828012d7d16c005d5b7b00000009e1b..."} 
[2026-04-26 18:59:52] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fad828012d7d16c005d5b7b00000009e1b..."} 
[2026-04-26 18:59:52] local.INFO: Packet analysis {"connection_id":54787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fa"} 
[2026-04-26 18:59:52] local.INFO: Extracted packet for processing {"connection_id":54787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fa"} 
[2026-04-26 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":763172544,"raw_latitude":97892272,"longitude_deg":76.3172544,"latitude_deg":9.7892272,"altitude":0,"angle":158,"satellites":27,"speed":33,"hex_longitude":"2d7d16c0","hex_latitude":"05d5b7b0","is_valid_coordinates":true} 
[2026-04-26 18: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-04-26 18:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965796096001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76538533417844736,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554594056192,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:52] 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-04-26 18:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777210153000,"timestamp_ms":1777210153000,"timestamp_seconds":1777210153,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fad828"} 
[2026-04-26 18:59:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-26 18:59:52] 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-04-26 18: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-04-26 18:59:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965796096001,"66":12211,"29":206,"85":15104,"24":33,"16":76538533417844736,"45":9009732554594056192},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-26 18:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965796096001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:59:52] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-26 18:59:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76538533417844736,"km_value":76538533417844.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554594056192,"description":"Unknown IO ID 45"} 
[2026-04-26 18:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965796096001,"power":12211,"unknown_29":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9009732554594056192}} 
[2026-04-26 18:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":54787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:59:52] local.INFO: GPS data processed {"connection_id":54787,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:59:52] local.INFO: Acknowledgment sent {"connection_id":54787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:59:53] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fb0708012d7d230005d59528000100a61a..."} 
[2026-04-26 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fb0708012d7d230005d59528000100a61a..."} 
[2026-04-26 18:59:53] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fb0708012d7d230005d59528000100a61a..."} 
[2026-04-26 18:59:53] local.INFO: Packet analysis {"connection_id":54787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 18:59:53] local.INFO: Extracted packet for processing {"connection_id":54787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 18:59:53] local.INFO: GPS Element Parsed {"raw_longitude":763175680,"raw_latitude":97883432,"longitude_deg":76.317568,"latitude_deg":9.7883432,"altitude":1,"angle":166,"satellites":26,"speed":29,"hex_longitude":"2d7d2300","hex_latitude":"05d59528","is_valid_coordinates":true} 
[2026-04-26 18:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965799168001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76538988684378112,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013602835521581056,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59: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-04-26 18:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777210165000,"timestamp_ms":1777210165000,"timestamp_seconds":1777210165,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fb0708"} 
[2026-04-26 18:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 18:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965799168001,"66":12330,"29":206,"85":15104,"24":29,"16":76538988684378112,"45":9013602835521581056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-26 18:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965799168001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:59:53] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-26 18:59:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76538988684378112,"km_value":76538988684378.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:59:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013602835521581056,"description":"Unknown IO ID 45"} 
[2026-04-26 18:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965799168001,"power":12330,"unknown_29":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9013602835521581056}} 
[2026-04-26 18:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":54787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:59:53] local.INFO: GPS data processed {"connection_id":54787,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:59:53] local.INFO: Acknowledgment sent {"connection_id":54787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 18:59:54] local.INFO: TCP Data received {"connection_id":54787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fb3200012d7d284005d57ce8000000b119..."} 
[2026-04-26 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fb3200012d7d284005d57ce8000000b119..."} 
[2026-04-26 18:59:54] local.INFO: Processing buffer {"connection_id":54787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fb3200012d7d284005d57ce8000000b119..."} 
[2026-04-26 18:59:54] local.INFO: Packet analysis {"connection_id":54787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 18:59:54] local.INFO: Extracted packet for processing {"connection_id":54787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":763177024,"raw_latitude":97877224,"longitude_deg":76.3177024,"latitude_deg":9.7877224,"altitude":0,"angle":177,"satellites":25,"speed":20,"hex_longitude":"2d7d2840","hex_latitude":"05d57ce8","is_valid_coordinates":true} 
[2026-04-26 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 18:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965802240001,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76539297922023424,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017050903984023552,"note":"Value kept but may cause issues"} 
[2026-04-26 18:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 18:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777210176000,"timestamp_ms":1777210176000,"timestamp_seconds":1777210176,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fb3200"} 
[2026-04-26 18:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-26 18:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 18:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 18:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 18:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 18:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 18:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 18:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 18:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 18:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 18:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965802240001,"66":12298,"29":206,"85":15104,"24":20,"16":76539297922023424,"45":9017050903984023552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-26 18:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 18:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 18:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965802240001,"description":"Unknown IO ID 0"} 
[2026-04-26 18:59:54] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-26 18:59:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 18:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76539297922023424,"km_value":76539297922023.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 18:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017050903984023552,"description":"Unknown IO ID 45"} 
[2026-04-26 18:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965802240001,"power":12298,"unknown_29":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9017050903984023552}} 
[2026-04-26 18:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":54787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 18:59:54] local.INFO: GPS data processed {"connection_id":54787,"processed":1,"errors":0,"total":1} 
[2026-04-26 18:59:54] local.INFO: Acknowledgment sent {"connection_id":54787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:00:18] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:00:18] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:00:18] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:00:23] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:00:23] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:00:23] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:00:24] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 19:00:24] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 19:00:24] local.INFO: Packet analysis {"connection_id":54935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 19:00:24] local.INFO: Extracted packet for processing {"connection_id":54935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 19:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:00:24] 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-04-26 19:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:00:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:00:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:00:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":54935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:00:24] local.INFO: GPS data processed {"connection_id":54935,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:00:24] local.INFO: Acknowledgment sent {"connection_id":54935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:00:28] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 19:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 19:00:28] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9f81908012cb299c007822ce0004e00122b..."} 
[2026-04-26 19:00:28] local.INFO: Packet analysis {"connection_id":54935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 19:00:28] local.INFO: Extracted packet for processing {"connection_id":54935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9f8"} 
[2026-04-26 19:00:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965676032001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777209973000,"timestamp_ms":1777209973000,"timestamp_seconds":1777209973,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9f81908"} 
[2026-04-26 19:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:00:28] 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-04-26 19:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965676032001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965676032001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:00:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:00:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965676032001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":54935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:00:28] local.INFO: GPS data processed {"connection_id":54935,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:00:28] local.INFO: Acknowledgment sent {"connection_id":54935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:00:33] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:00:33] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:00:33] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:00:38] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:00:38] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:00:38] local.INFO: IMEI packet received {"connection_id":54789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":54789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:00:39] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fb6c98012d7d2cc005d55990000000b21b..."} 
[2026-04-26 19:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fb6c98012d7d2cc005d55990000000b21b..."} 
[2026-04-26 19:00:39] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fb6c98012d7d2cc005d55990000000b21b..."} 
[2026-04-26 19:00:39] local.INFO: Packet analysis {"connection_id":54789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:00:39] local.INFO: Extracted packet for processing {"connection_id":54789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:00:39] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":97868176,"longitude_deg":76.3178176,"latitude_deg":9.7868176,"altitude":0,"angle":178,"satellites":27,"speed":28,"hex_longitude":"2d7d2cc0","hex_latitude":"05d55990","is_valid_coordinates":true} 
[2026-04-26 19:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965805056001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76539740303654912,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018528647610165248,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777210191000,"timestamp_ms":1777210191000,"timestamp_seconds":1777210191,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fb6c98"} 
[2026-04-26 19:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:00: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-04-26 19:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":420636590025474222,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437020131840,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185871,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3892844729419858701,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832553,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3427803149654360270,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":234,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":201,"raw_value":4202582017,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":213,"raw_value":4240441348,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803695822,"corrected_to":0} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2147866143,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":49006333264920576,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3928817664,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3594668032,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.WARNING: Large IO value detected {"io_id":28,"raw_value":5629499534868484,"note":"Value kept but may cause issues"} 
[2026-04-26 19:00:39] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,29,85,24,241,157,16,236,7,45,149,1,26,10,66,235,216,192,183,27,169,240,81,227,234,201,213,4,113,205,35,79,250,239,48,2,15,5,233,28],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2803695822,"validated":0}]} 
[2026-04-26 19:00:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":194720933609472,"timestamp_seconds":194720933609.472,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 19:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965805056001,"66":12461,"253":206,"85":15104,"24":28,"16":76539740303654912,"45":9018528647610165248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-26 19:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965805056001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:00:39] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-26 19:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76539740303654912,"km_value":76539740303654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018528647610165248,"description":"Unknown IO ID 45"} 
[2026-04-26 19:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965805056001,"power":12461,"unknown_253":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9018528647610165248}} 
[2026-04-26 19:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":54789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:00:39] local.INFO: GPS data processed {"connection_id":54789,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:00:39] local.INFO: Acknowledgment sent {"connection_id":54789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:01:12] local.INFO: TCP Data received {"connection_id":54789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fb9f60012d7d2e8005d53430000000b21c..."} 
[2026-04-26 19:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fb9f60012d7d2e8005d53430000000b21c..."} 
[2026-04-26 19:01:12] local.INFO: Processing buffer {"connection_id":54789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fb9f60012d7d2e8005d53430000000b21c..."} 
[2026-04-26 19:01:12] local.INFO: Packet analysis {"connection_id":54789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:01:12] local.INFO: Extracted packet for processing {"connection_id":54789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763178624,"raw_latitude":97858608,"longitude_deg":76.3178624,"latitude_deg":9.7858608,"altitude":0,"angle":178,"satellites":28,"speed":30,"hex_longitude":"2d7d2e80","hex_latitude":"05d53430","is_valid_coordinates":true} 
[2026-04-26 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965808896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76540204160122880,"note":"Value kept but may cause issues"} 
[2026-04-26 19:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795285003046912,"note":"Value kept but may cause issues"} 
[2026-04-26 19:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777210204000,"timestamp_ms":1777210204000,"timestamp_seconds":1777210204,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fb9f60"} 
[2026-04-26 19:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 19:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":54789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":54789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":54789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965808896001,"66":12319,"253":206,"85":15104,"24":30,"16":76540204160122880,"45":9019795285003046912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-26 19:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965808896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:01:12] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-26 19:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76540204160122880,"km_value":76540204160122.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795285003046912,"description":"Unknown IO ID 45"} 
[2026-04-26 19:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965808896001,"power":12319,"unknown_253":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9019795285003046912}} 
[2026-04-26 19:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":54789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:01:12] local.INFO: GPS data processed {"connection_id":54789,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:01:12] local.INFO: Acknowledgment sent {"connection_id":54789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:01:13] local.INFO: TCP Data received {"connection_id":55691,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:13] local.INFO: Processing buffer {"connection_id":55691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:13] local.INFO: IMEI packet received {"connection_id":55691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":55691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:01:14] local.INFO: TCP Data received {"connection_id":55690,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:01:14] local.INFO: Processing buffer {"connection_id":55690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:01:14] local.INFO: IMEI packet received {"connection_id":55690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":55690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:01:18] local.INFO: TCP Data received {"connection_id":55691,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:18] local.INFO: Processing buffer {"connection_id":55691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:18] local.INFO: IMEI packet received {"connection_id":55691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":55691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:01:26] local.INFO: TCP Data received {"connection_id":55691,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:26] local.INFO: Processing buffer {"connection_id":55691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:26] local.INFO: IMEI packet received {"connection_id":55691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":55691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:01:33] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:33] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:33] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:01:33] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:33] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:33] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:01:38] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:38] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:01:38] local.INFO: IMEI packet received {"connection_id":54790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":54790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:01:39] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fbce40012d7d2ec005d51098000000b31a..."} 
[2026-04-26 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fbce40012d7d2ec005d51098000000b31a..."} 
[2026-04-26 19:01:39] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fbce40012d7d2ec005d51098000000b31a..."} 
[2026-04-26 19:01:39] local.INFO: Packet analysis {"connection_id":54790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:01:39] local.INFO: Extracted packet for processing {"connection_id":54790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":763178688,"raw_latitude":97849496,"longitude_deg":76.3178688,"latitude_deg":9.7849496,"altitude":0,"angle":179,"satellites":26,"speed":30,"hex_longitude":"2d7d2ec0","hex_latitude":"05d51098","is_valid_coordinates":true} 
[2026-04-26 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965812224001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76540646541754368,"note":"Value kept but may cause issues"} 
[2026-04-26 19:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020287866209841152,"note":"Value kept but may cause issues"} 
[2026-04-26 19:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777210216000,"timestamp_ms":1777210216000,"timestamp_seconds":1777210216,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fbce40"} 
[2026-04-26 19:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:01: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-04-26 19:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-26 19:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965812224001,"66":12178,"253":206,"85":15104,"24":30,"16":76540646541754368,"45":9020287866209841152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-04-26 19:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965812224001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:01:39] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-04-26 19:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76540646541754368,"km_value":76540646541754.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020287866209841152,"description":"Unknown IO ID 45"} 
[2026-04-26 19:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965812224001,"power":12178,"unknown_253":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9020287866209841152}} 
[2026-04-26 19:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":54790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:01:39] local.INFO: GPS data processed {"connection_id":54790,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:01:39] local.INFO: Acknowledgment sent {"connection_id":54790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:01:39] local.INFO: TCP Data received {"connection_id":55692,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:01:39] local.INFO: Processing buffer {"connection_id":55692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:01:39] local.INFO: IMEI packet received {"connection_id":55692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":55692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:01:53] local.INFO: TCP Data received {"connection_id":55691,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:53] local.INFO: Processing buffer {"connection_id":55691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:01:53] local.INFO: IMEI packet received {"connection_id":55691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":55691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:02:10] local.INFO: TCP Data received {"connection_id":54790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fc04f0012d7d304005d4ebd8000000ae1d..."} 
[2026-04-26 19:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fc04f0012d7d304005d4ebd8000000ae1d..."} 
[2026-04-26 19:02:10] local.INFO: Processing buffer {"connection_id":54790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fc04f0012d7d304005d4ebd8000000ae1d..."} 
[2026-04-26 19:02:10] local.INFO: Packet analysis {"connection_id":54790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:02:10] local.INFO: Extracted packet for processing {"connection_id":54790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":97840088,"longitude_deg":76.3179072,"latitude_deg":9.7840088,"altitude":0,"angle":174,"satellites":29,"speed":27,"hex_longitude":"2d7d3040","hex_latitude":"05d4ebd8","is_valid_coordinates":true} 
[2026-04-26 19:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965815296001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76541101808287744,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020358234951686144,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:10] 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-04-26 19:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777210230000,"timestamp_ms":1777210230000,"timestamp_seconds":1777210230,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fc04f0"} 
[2026-04-26 19:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-26 19:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965815296001,"66":12232,"254":206,"85":15104,"24":27,"16":76541101808287744,"45":9020358234951686144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-26 19:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965815296001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:02:10] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-26 19:02:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76541101808287744,"km_value":76541101808287.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020358234951686144,"description":"Unknown IO ID 45"} 
[2026-04-26 19:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965815296001,"power":12232,"unknown_254":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9020358234951686144}} 
[2026-04-26 19:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":54790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:02:10] local.INFO: GPS data processed {"connection_id":54790,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:02:10] local.INFO: Acknowledgment sent {"connection_id":54790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:02:35] local.INFO: TCP Data received {"connection_id":54938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:35] local.INFO: Processing buffer {"connection_id":54938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:35] local.INFO: IMEI packet received {"connection_id":54938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":54938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:02:39] local.INFO: TCP Data received {"connection_id":54938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:39] local.INFO: Processing buffer {"connection_id":54938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:39] local.INFO: IMEI packet received {"connection_id":54938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":54938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:02:43] local.INFO: TCP Data received {"connection_id":54938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54938,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:43] local.INFO: Processing buffer {"connection_id":54938,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:02:43] local.INFO: IMEI packet received {"connection_id":54938,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":54938,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:02:44] local.INFO: TCP Data received {"connection_id":54938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fc37b8012d7d348005d4c698000000ad1d..."} 
[2026-04-26 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fc37b8012d7d348005d4c698000000ad1d..."} 
[2026-04-26 19:02:44] local.INFO: Processing buffer {"connection_id":54938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fc37b8012d7d348005d4c698000000ad1d..."} 
[2026-04-26 19:02:44] local.INFO: Packet analysis {"connection_id":54938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:02:44] local.INFO: Extracted packet for processing {"connection_id":54938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:02:44] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97830552,"longitude_deg":76.318016,"latitude_deg":9.7830552,"altitude":0,"angle":173,"satellites":29,"speed":34,"hex_longitude":"2d7d3480","hex_latitude":"05d4c698","is_valid_coordinates":true} 
[2026-04-26 19:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965818880001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76541569959723008,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447414343680,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:44] 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-04-26 19:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777210243000,"timestamp_ms":1777210243000,"timestamp_seconds":1777210243,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fc37b8"} 
[2026-04-26 19:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:02:44] 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-04-26 19:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 19:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":54938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":54938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":54938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965818880001,"66":12613,"254":206,"85":15104,"24":34,"16":76541569959723008,"45":9020780447414343680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-26 19:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965818880001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:02:44] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-26 19:02:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76541569959723008,"km_value":76541569959723.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447414343680,"description":"Unknown IO ID 45"} 
[2026-04-26 19:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965818880001,"power":12613,"unknown_254":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9020780447414343680}} 
[2026-04-26 19:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":54938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:02:44] local.INFO: GPS data processed {"connection_id":54938,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:02:44] local.INFO: Acknowledgment sent {"connection_id":54938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:02:45] local.INFO: TCP Data received {"connection_id":54938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fc5ec8012d7d398005d4a308000000aa1d..."} 
[2026-04-26 19:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fc5ec8012d7d398005d4a308000000aa1d..."} 
[2026-04-26 19:02:45] local.INFO: Processing buffer {"connection_id":54938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fc5ec8012d7d398005d4a308000000aa1d..."} 
[2026-04-26 19:02:45] local.INFO: Packet analysis {"connection_id":54938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:02:45] local.INFO: Extracted packet for processing {"connection_id":54938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97821448,"longitude_deg":76.318144,"latitude_deg":9.7821448,"altitude":0,"angle":170,"satellites":29,"speed":41,"hex_longitude":"2d7d3980","hex_latitude":"05d4a308","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965822208001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76542016636321792,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976716062922752,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777210253000,"timestamp_ms":1777210253000,"timestamp_seconds":1777210253,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fc5ec8"} 
[2026-04-26 19:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-26 19:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":54938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":54938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":54938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965822208001,"66":12374,"254":206,"85":15104,"24":41,"16":76542016636321792,"45":9021976716062922752},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-26 19:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965822208001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:02:45] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-26 19:02:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76542016636321792,"km_value":76542016636321.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976716062922752,"description":"Unknown IO ID 45"} 
[2026-04-26 19:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965822208001,"power":12374,"unknown_254":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9021976716062922752}} 
[2026-04-26 19:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":54938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:02:45] local.INFO: GPS data processed {"connection_id":54938,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:02:45] local.INFO: Acknowledgment sent {"connection_id":54938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:02:47] local.INFO: TCP Data received {"connection_id":54791,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:02:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:02:47] local.INFO: Processing buffer {"connection_id":54791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:02:47] local.INFO: IMEI packet received {"connection_id":54791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:02:47] local.INFO: IMEI acknowledgment sent {"connection_id":54791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:02:48] local.INFO: TCP Data received {"connection_id":54791,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:02:48] local.INFO: Processing buffer {"connection_id":54791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:02:48] local.INFO: Packet analysis {"connection_id":54791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:02:48] local.INFO: Extracted packet for processing {"connection_id":54791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965736448001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:02: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-04-26 19:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777210209000,"timestamp_ms":1777210209000,"timestamp_seconds":1777210209,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fbb2e8"} 
[2026-04-26 19:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:02:48] 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-04-26 19:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:02: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-04-26 19:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:02: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-04-26 19:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965736448001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965736448001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:02:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965736448001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":54791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:02:48] local.INFO: GPS data processed {"connection_id":54791,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:02:48] local.INFO: Acknowledgment sent {"connection_id":54791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:03:16] local.INFO: TCP Data received {"connection_id":54938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fe2bb8012d7d3e0005d315e0000200b01b..."} 
[2026-04-26 19:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fe2bb8012d7d3e0005d315e0000200b01b..."} 
[2026-04-26 19:03:16] local.INFO: Processing buffer {"connection_id":54938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fe2bb8012d7d3e0005d315e0000200b01b..."} 
[2026-04-26 19:03:16] local.INFO: Packet analysis {"connection_id":54938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:03:16] local.INFO: Extracted packet for processing {"connection_id":54938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:03:16] local.INFO: GPS Element Parsed {"raw_longitude":763182592,"raw_latitude":97719776,"longitude_deg":76.3182592,"latitude_deg":9.7719776,"altitude":2,"angle":176,"satellites":27,"speed":43,"hex_longitude":"2d7d3e00","hex_latitude":"05d315e0","is_valid_coordinates":true} 
[2026-04-26 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965852672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76546968733614080,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298884594921472,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777210371000,"timestamp_ms":1777210371000,"timestamp_seconds":1777210371,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fe2bb8"} 
[2026-04-26 19:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:03:16] 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-04-26 19:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 19:03: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-04-26 19:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54938,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965852672001,"66":12135,"81":206,"85":15104,"24":43,"16":76546968733614080,"45":9024298884594921472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-26 19:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965852672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-26 19:03:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76546968733614080,"km_value":76546968733614.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298884594921472,"description":"Unknown IO ID 45"} 
[2026-04-26 19:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965852672001,"power":12135,"unknown_81":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9024298884594921472}} 
[2026-04-26 19:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":54938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:03:16] local.INFO: GPS data processed {"connection_id":54938,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:03:16] local.INFO: Acknowledgment sent {"connection_id":54938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:03:32] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:32] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:32] local.INFO: IMEI packet received {"connection_id":55027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":55027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:03:33] local.INFO: TCP Data received {"connection_id":55694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:33] local.INFO: Processing buffer {"connection_id":55694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:33] local.INFO: IMEI packet received {"connection_id":55694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":55694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:03:34] local.INFO: TCP Data received {"connection_id":55694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:34] local.INFO: Processing buffer {"connection_id":55694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:34] local.INFO: IMEI packet received {"connection_id":55694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":55694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:03:38] local.INFO: TCP Data received {"connection_id":55694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55694,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:38] local.INFO: Processing buffer {"connection_id":55694,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:03:38] local.INFO: IMEI packet received {"connection_id":55694,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":55694,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:03:39] local.INFO: TCP Data received {"connection_id":55694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fe4af8012d7d3f4005d2f228000200b41a..."} 
[2026-04-26 19:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fe4af8012d7d3f4005d2f228000200b41a..."} 
[2026-04-26 19:03:39] local.INFO: Processing buffer {"connection_id":55694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fe4af8012d7d3f4005d2f228000200b41a..."} 
[2026-04-26 19:03:39] local.INFO: Packet analysis {"connection_id":55694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:03:39] local.INFO: Extracted packet for processing {"connection_id":55694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:03:39] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97710632,"longitude_deg":76.3182912,"latitude_deg":9.7710632,"altitude":2,"angle":180,"satellites":26,"speed":45,"hex_longitude":"2d7d3f40","hex_latitude":"05d2f228","is_valid_coordinates":true} 
[2026-04-26 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965854976001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76547411115245568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024650728313315328,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777210379000,"timestamp_ms":1777210379000,"timestamp_seconds":1777210379,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fe4af8"} 
[2026-04-26 19:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 19:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965854976001,"66":12200,"115":206,"85":15104,"24":45,"16":76547411115245568,"45":9024650728313315328},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-26 19:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965854976001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:03:39] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-26 19:03:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76547411115245568,"km_value":76547411115245.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024650728313315328,"description":"Unknown IO ID 45"} 
[2026-04-26 19:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965854976001,"power":12200,"unknown_115":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9024650728313315328}} 
[2026-04-26 19:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":55694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66373,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:03:39] local.INFO: GPS data processed {"connection_id":55694,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:03:39] local.INFO: Acknowledgment sent {"connection_id":55694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:03:40] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:40] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:40] local.INFO: IMEI packet received {"connection_id":55027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":55027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:03:42] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:42] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:42] local.INFO: IMEI packet received {"connection_id":55027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":55027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:03:43] local.INFO: TCP Data received {"connection_id":55694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fe7dc0012d7d418005d2ced0000100b41b..."} 
[2026-04-26 19:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fe7dc0012d7d418005d2ced0000100b41b..."} 
[2026-04-26 19:03:43] local.INFO: Processing buffer {"connection_id":55694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fe7dc0012d7d418005d2ced0000100b41b..."} 
[2026-04-26 19:03:43] local.INFO: Packet analysis {"connection_id":55694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:03:43] local.INFO: Extracted packet for processing {"connection_id":55694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763183488,"raw_latitude":97701584,"longitude_deg":76.3183488,"latitude_deg":9.7701584,"altitude":1,"angle":180,"satellites":27,"speed":14,"hex_longitude":"2d7d4180","hex_latitude":"05d2ced0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965857024001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76547853496877056,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572031862784,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777210392000,"timestamp_ms":1777210392000,"timestamp_seconds":1777210392,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fe7dc0"} 
[2026-04-26 19:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-26 19:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965857024001,"66":12156,"115":206,"85":15104,"24":14,"16":76547853496877056,"45":9025002572031862784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-26 19:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965857024001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76547853496877056,"km_value":76547853496877.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572031862784,"description":"Unknown IO ID 45"} 
[2026-04-26 19:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965857024001,"power":12156,"unknown_115":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9025002572031862784}} 
[2026-04-26 19:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":55694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:03:43] local.INFO: GPS data processed {"connection_id":55694,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:03:43] local.INFO: Acknowledgment sent {"connection_id":55694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:03:48] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:48] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:03:48] local.INFO: IMEI packet received {"connection_id":55027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":55027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:03:48] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:03:48] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:03:48] local.INFO: Packet analysis {"connection_id":55027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:03:48] local.INFO: Extracted packet for processing {"connection_id":55027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965736448001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03: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-04-26 19:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777210209000,"timestamp_ms":1777210209000,"timestamp_seconds":1777210209,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fbb2e8"} 
[2026-04-26 19:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:03:48] 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-04-26 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:03: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-04-26 19: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-04-26 19:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:03: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-04-26 19:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965736448001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965736448001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:03:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:03:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965736448001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":55027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:03:48] local.INFO: GPS data processed {"connection_id":55027,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:03:48] local.INFO: Acknowledgment sent {"connection_id":55027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:03:52] local.INFO: TCP Data received {"connection_id":55027,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:03:52] local.INFO: Processing buffer {"connection_id":55027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:03:52] local.INFO: Packet analysis {"connection_id":55027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:03:52] local.INFO: Extracted packet for processing {"connection_id":55027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:03:52] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965736448001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:03: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-04-26 19:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777210209000,"timestamp_ms":1777210209000,"timestamp_seconds":1777210209,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fbb2e8"} 
[2026-04-26 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-04-26 19:03:52] 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-04-26 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:03:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 19:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:03: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-04-26 19:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965736448001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965736448001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:03:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:03:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:03:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965736448001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":55027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:03:53] local.INFO: GPS data processed {"connection_id":55027,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:03:53] local.INFO: Acknowledgment sent {"connection_id":55027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:04:14] local.INFO: TCP Data received {"connection_id":55694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fecfc8012d7d430005d2ba28000500b31d..."} 
[2026-04-26 19:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fecfc8012d7d430005d2ba28000500b31d..."} 
[2026-04-26 19:04:14] local.INFO: Processing buffer {"connection_id":55694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fecfc8012d7d430005d2ba28000500b31d..."} 
[2026-04-26 19:04:14] local.INFO: Packet analysis {"connection_id":55694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:04:14] local.INFO: Extracted packet for processing {"connection_id":55694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fe"} 
[2026-04-26 19:04:14] local.INFO: GPS Element Parsed {"raw_longitude":763183872,"raw_latitude":97696296,"longitude_deg":76.3183872,"latitude_deg":9.7696296,"altitude":5,"angle":179,"satellites":29,"speed":13,"hex_longitude":"2d7d4300","hex_latitude":"05d2ba28","is_valid_coordinates":true} 
[2026-04-26 19:04: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-04-26 19:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965860352001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76548111194914816,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025635890727145472,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777210413000,"timestamp_ms":1777210413000,"timestamp_seconds":1777210413,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fecfc8"} 
[2026-04-26 19:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:04: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":124,"data_length":795,"current_offset":136} 
[2026-04-26 19:04:14] 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-04-26 19:04: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-04-26 19:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":55694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":55694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":55694,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965860352001,"66":12189,"117":206,"85":15104,"24":13,"16":76548111194914816,"45":9025635890727145472},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 19:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965860352001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:04:14] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 19:04:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76548111194914816,"km_value":76548111194914.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025635890727145472,"description":"Unknown IO ID 45"} 
[2026-04-26 19:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965860352001,"power":12189,"unknown_117":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9025635890727145472}} 
[2026-04-26 19:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":55694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:04:14] local.INFO: GPS data processed {"connection_id":55694,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:04:14] local.INFO: Acknowledgment sent {"connection_id":55694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:04:27] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:04:27] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:04:27] local.INFO: IMEI packet received {"connection_id":55028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":55028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:04:32] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:04:32] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:04:32] local.INFO: IMEI packet received {"connection_id":55028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":55028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:04:33] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:33] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:33] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:04:38] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:38] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:38] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:04:40] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:40] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:40] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:04:43] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:43] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:04:43] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:04:44] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:04:44] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fbb2e8012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:04:44] local.INFO: Packet analysis {"connection_id":55028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:04:44] local.INFO: Extracted packet for processing {"connection_id":55028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fb"} 
[2026-04-26 19:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965736448001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04: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-04-26 19:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777210209000,"timestamp_ms":1777210209000,"timestamp_seconds":1777210209,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fbb2e8"} 
[2026-04-26 19:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:04:44] 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-04-26 19:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:04: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-04-26 19:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965736448001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965736448001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:04:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:04:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965736448001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":55028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:04:44] local.INFO: GPS data processed {"connection_id":55028,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:04:44] local.INFO: Acknowledgment sent {"connection_id":55028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:04:48] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ff21d0012d7d43c005d2a2b0000a00b81d..."} 
[2026-04-26 19:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ff21d0012d7d43c005d2a2b0000a00b81d..."} 
[2026-04-26 19:04:48] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ff21d0012d7d43c005d2a2b0000a00b81d..."} 
[2026-04-26 19:04:48] local.INFO: Packet analysis {"connection_id":55029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:04:48] local.INFO: Extracted packet for processing {"connection_id":55029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:04:48] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97690288,"longitude_deg":76.3184064,"latitude_deg":9.7690288,"altitude":10,"angle":184,"satellites":29,"speed":8,"hex_longitude":"2d7d43c0","hex_latitude":"05d2a2b0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965865728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76548407547658240,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103190857728,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777210434000,"timestamp_ms":1777210434000,"timestamp_seconds":1777210434,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ff21d0"} 
[2026-04-26 19:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-04-26 19:04:48] 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-04-26 19: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-04-26 19:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965865728001,"66":12135,"117":206,"85":15104,"24":8,"16":76548407547658240,"45":9026058103190857728},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 19:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965865728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:04:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 19:04:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76548407547658240,"km_value":76548407547658.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103190857728,"description":"Unknown IO ID 45"} 
[2026-04-26 19:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965865728001,"power":12135,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9026058103190857728}} 
[2026-04-26 19:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":55029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66379,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:04:48] local.INFO: GPS data processed {"connection_id":55029,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:04:48] local.INFO: Acknowledgment sent {"connection_id":55029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:04:49] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ff4110012d7d438005d29c40000800ab1d..."} 
[2026-04-26 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ff4110012d7d438005d29c40000800ab1d..."} 
[2026-04-26 19:04:49] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ff4110012d7d438005d29c40000800ab1d..."} 
[2026-04-26 19:04:49] local.INFO: Packet analysis {"connection_id":55029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:04:49] local.INFO: Extracted packet for processing {"connection_id":55029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97688640,"longitude_deg":76.3184,"latitude_deg":9.768864,"altitude":8,"angle":171,"satellites":29,"speed":7,"hex_longitude":"2d7d4380","hex_latitude":"05d29c40","is_valid_coordinates":true} 
[2026-04-26 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965871104001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76548489152036864,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209421852672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777210442000,"timestamp_ms":1777210442000,"timestamp_seconds":1777210442,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ff4110"} 
[2026-04-26 19:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:04:49] 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-04-26 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 19:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965871104001,"66":12135,"117":206,"85":15104,"24":7,"16":76548489152036864,"45":9026269209421852672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 19:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965871104001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:04:49] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 19:04:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76548489152036864,"km_value":76548489152036.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209421852672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965871104001,"power":12135,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9026269209421852672}} 
[2026-04-26 19:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":55029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:04:49] local.INFO: GPS data processed {"connection_id":55029,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:04:49] local.INFO: Acknowledgment sent {"connection_id":55029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:05:27] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:27] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:27] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:05:33] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:05:33] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:05:33] local.INFO: IMEI packet received {"connection_id":54793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":54793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:05:38] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:05:38] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:05:38] local.INFO: IMEI packet received {"connection_id":54793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":54793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:05:39] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ff50b0012d7d444005d298780008009b1d..."} 
[2026-04-26 19:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ff50b0012d7d444005d298780008009b1d..."} 
[2026-04-26 19:05:39] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ff50b0012d7d444005d298780008009b1d..."} 
[2026-04-26 19:05:39] local.INFO: Packet analysis {"connection_id":54793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:05:39] local.INFO: Extracted packet for processing {"connection_id":54793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:05:39] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97687672,"longitude_deg":76.3184192,"latitude_deg":9.7687672,"altitude":8,"angle":155,"satellites":29,"speed":8,"hex_longitude":"2d7d4440","hex_latitude":"05d29878","is_valid_coordinates":true} 
[2026-04-26 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965873152001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76548536396677120,"note":"Value kept but may cause issues"} 
[2026-04-26 19:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840677253120,"note":"Value kept but may cause issues"} 
[2026-04-26 19:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777210446000,"timestamp_ms":1777210446000,"timestamp_seconds":1777210446,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ff50b0"} 
[2026-04-26 19:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:05: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-04-26 19:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 19:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965873152001,"66":10591,"117":206,"85":15104,"24":8,"16":76548536396677120,"45":9026198840677253120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 19:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965873152001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:05:39] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 19:05:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76548536396677120,"km_value":76548536396677.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840677253120,"description":"Unknown IO ID 45"} 
[2026-04-26 19:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965873152001,"power":10591,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9026198840677253120}} 
[2026-04-26 19:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":54793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:05:39] local.INFO: GPS data processed {"connection_id":54793,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:05:39] local.INFO: Acknowledgment sent {"connection_id":54793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:05:40] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:40] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:40] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:05:40] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:40] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:40] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:05:42] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:42] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:05:42] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:06:10] local.INFO: TCP Data received {"connection_id":54793,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9ff5c68012d7d454005d295f80007008d1d..."} 
[2026-04-26 19:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9ff5c68012d7d454005d295f80007008d1d..."} 
[2026-04-26 19:06:10] local.INFO: Processing buffer {"connection_id":54793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9ff5c68012d7d454005d295f80007008d1d..."} 
[2026-04-26 19:06:10] local.INFO: Packet analysis {"connection_id":54793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:06:10] local.INFO: Extracted packet for processing {"connection_id":54793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9ff"} 
[2026-04-26 19:06:10] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":97687032,"longitude_deg":76.3184448,"latitude_deg":9.7687032,"altitude":7,"angle":141,"satellites":29,"speed":8,"hex_longitude":"2d7d4540","hex_latitude":"05d295f8","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965874176001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76548570756415488,"note":"Value kept but may cause issues"} 
[2026-04-26 19:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946909538304,"note":"Value kept but may cause issues"} 
[2026-04-26 19:06:10] 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-04-26 19:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777210449000,"timestamp_ms":1777210449000,"timestamp_seconds":1777210449,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9ff5c68"} 
[2026-04-26 19:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:06:10] 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-04-26 19: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":41,"n8_eight_byte":95,"data_length":795,"current_offset":136} 
[2026-04-26 19:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1258,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":54793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":54793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":54793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965874176001,"66":11830,"117":206,"85":15104,"24":8,"16":76548570756415488,"45":9026409946909538304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 19:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965874176001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:06:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 19:06:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76548570756415488,"km_value":76548570756415.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946909538304,"description":"Unknown IO ID 45"} 
[2026-04-26 19:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965874176001,"power":11830,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9026409946909538304}} 
[2026-04-26 19:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":54793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:06:10] local.INFO: GPS data processed {"connection_id":54793,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:06:10] local.INFO: Acknowledgment sent {"connection_id":54793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:06:50] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:50] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:50] local.INFO: IMEI packet received {"connection_id":54943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":54943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:06:51] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:51] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:51] local.INFO: IMEI packet received {"connection_id":54943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":54943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:06:53] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:53] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:53] local.INFO: IMEI packet received {"connection_id":54943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":54943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:06:58] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:58] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:06:58] local.INFO: IMEI packet received {"connection_id":54943,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":54943,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:07:02] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0163f0012d7e104005d291380002005220..."} 
[2026-04-26 19:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0163f0012d7e104005d291380002005220..."} 
[2026-04-26 19:07:02] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0163f0012d7e104005d291380002005220..."} 
[2026-04-26 19:07:02] local.INFO: Packet analysis {"connection_id":54943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:07:02] local.INFO: Extracted packet for processing {"connection_id":54943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763236416,"raw_latitude":97685816,"longitude_deg":76.3236416,"latitude_deg":9.7685816,"altitude":2,"angle":82,"satellites":32,"speed":19,"hex_longitude":"2d7e1040","hex_latitude":"05d29138","is_valid_coordinates":true} 
[2026-04-26 19:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965906944001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76551083312283648,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749454995781632,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777210582000,"timestamp_ms":1777210582000,"timestamp_seconds":1777210582,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0163f0"} 
[2026-04-26 19:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-26 19:07:02] 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-04-26 19:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":54943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":54943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":54943,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965906944001,"66":12232,"115":206,"85":15104,"24":19,"16":76551083312283648,"45":9079749454995781632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-26 19:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965906944001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:07:02] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-26 19:07:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76551083312283648,"km_value":76551083312283.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749454995781632,"description":"Unknown IO ID 45"} 
[2026-04-26 19:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965906944001,"power":12232,"unknown_115":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9079749454995781632}} 
[2026-04-26 19:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":54943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:07:02] local.INFO: GPS data processed {"connection_id":54943,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:07:02] local.INFO: Acknowledgment sent {"connection_id":54943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:07:04] local.INFO: TCP Data received {"connection_id":55698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:07:04] local.INFO: Processing buffer {"connection_id":55698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:07:04] local.INFO: IMEI packet received {"connection_id":55698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":55698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:07:18] local.INFO: TCP Data received {"connection_id":54795,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:07:18] local.INFO: Processing buffer {"connection_id":54795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:07:18] local.INFO: IMEI packet received {"connection_id":54795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":54795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:07:23] local.INFO: TCP Data received {"connection_id":54795,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:07:23] local.INFO: Processing buffer {"connection_id":54795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:07:23] local.INFO: IMEI packet received {"connection_id":54795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":54795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:07:24] local.INFO: TCP Data received {"connection_id":54795,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dc9fcb0d0012cb299c007822ce00048001229..."} 
[2026-04-26 19:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dc9fcb0d0012cb299c007822ce00048001229..."} 
[2026-04-26 19:07:24] local.INFO: Processing buffer {"connection_id":54795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dc9fcb0d0012cb299c007822ce00048001229..."} 
[2026-04-26 19:07:24] local.INFO: Packet analysis {"connection_id":54795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:07:24] local.INFO: Extracted packet for processing {"connection_id":54795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dc9fc"} 
[2026-04-26 19:07:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965753088001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777210274000,"timestamp_ms":1777210274000,"timestamp_seconds":1777210274,"priority":1,"record_length":96,"hex_timestamp":"0000019dc9fcb0d0"} 
[2026-04-26 19:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:07: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-04-26 19: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-04-26 19:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965753088001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965753088001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:07:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965753088001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":54795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:07:24] local.INFO: GPS data processed {"connection_id":54795,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:07:24] local.INFO: Acknowledgment sent {"connection_id":54795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:07:30] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:30] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:30] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:07:33] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:33] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:33] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:07:36] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:36] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:07:36] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:07:37] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca016bc0012d7e13c005d292580001003f1e..."} 
[2026-04-26 19:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca016bc0012d7e13c005d292580001003f1e..."} 
[2026-04-26 19:07:37] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca016bc0012d7e13c005d292580001003f1e..."} 
[2026-04-26 19:07:37] local.INFO: Packet analysis {"connection_id":55031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:07:37] local.INFO: Extracted packet for processing {"connection_id":55031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763237312,"raw_latitude":97686104,"longitude_deg":76.3237312,"latitude_deg":9.7686104,"altitude":1,"angle":63,"satellites":30,"speed":19,"hex_longitude":"2d7e13c0","hex_latitude":"05d29258","is_valid_coordinates":true} 
[2026-04-26 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965908992001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76551130556923904,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083830842158036992,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777210584000,"timestamp_ms":1777210584000,"timestamp_seconds":1777210584,"priority":1,"record_length":96,"hex_timestamp":"0000019dca016bc0"} 
[2026-04-26 19:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:07:37] 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-04-26 19:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 19:07:37] 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-04-26 19:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965908992001,"66":12330,"115":206,"85":15104,"24":19,"16":76551130556923904,"45":9083830842158036992},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-04-26 19:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965908992001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:07:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-04-26 19:07:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76551130556923904,"km_value":76551130556923.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083830842158036992,"description":"Unknown IO ID 45"} 
[2026-04-26 19:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965908992001,"power":12330,"unknown_115":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9083830842158036992}} 
[2026-04-26 19:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":55031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:07:37] local.INFO: GPS data processed {"connection_id":55031,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:07:37] local.INFO: Acknowledgment sent {"connection_id":55031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:07:39] local.INFO: TCP Data received {"connection_id":54796,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:07:39] local.INFO: Processing buffer {"connection_id":54796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:07:39] local.INFO: IMEI packet received {"connection_id":54796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:07:39] local.INFO: IMEI acknowledgment sent {"connection_id":54796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:07:55] local.INFO: TCP Data received {"connection_id":54795,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:07:55] local.INFO: Processing buffer {"connection_id":54795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:07:55] local.INFO: Packet analysis {"connection_id":54795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:07:55] local.INFO: Extracted packet for processing {"connection_id":54795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 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-04-26 19:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 19:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:07:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:07:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:07:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":54795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:07:55] local.INFO: GPS data processed {"connection_id":54795,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:07:55] local.INFO: Acknowledgment sent {"connection_id":54795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:08:08] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca02aff8012d7e650005d304a8000800021f..."} 
[2026-04-26 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca02aff8012d7e650005d304a8000800021f..."} 
[2026-04-26 19:08:08] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca02aff8012d7e650005d304a8000800021f..."} 
[2026-04-26 19:08:08] local.INFO: Packet analysis {"connection_id":55031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca02"} 
[2026-04-26 19:08:08] local.INFO: Extracted packet for processing {"connection_id":55031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca02"} 
[2026-04-26 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763258112,"raw_latitude":97715368,"longitude_deg":76.3258112,"latitude_deg":9.7715368,"altitude":8,"angle":2,"satellites":31,"speed":13,"hex_longitude":"2d7e6500","hex_latitude":"05d304a8","is_valid_coordinates":true} 
[2026-04-26 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965930496001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76552985982795776,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107615477697579008,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08: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-04-26 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777210667000,"timestamp_ms":1777210667000,"timestamp_seconds":1777210667,"priority":1,"record_length":96,"hex_timestamp":"0000019dca02aff8"} 
[2026-04-26 19:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:08:08] 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-04-26 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287293440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84862885486252791,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3389163752,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1150759864746639360,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504767730483200,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":43038721,"corrected_to":0} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4276092935,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516322669,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4539892311479615744,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3489738110,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182109450535168,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495757,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":15,"raw_value":4167368704,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3243726427589173729,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194866688,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.WARNING: Large IO value detected {"io_id":232,"raw_value":1970364011779584,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:08] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,248,168,45,64,2,8,32,10,66,164,128,152,1,240,141,227,202,210,4,113,205,19,140,91,160,31,239,47,15,5,69,232],"length":583,"final_offset":713,"validated_count":39,"validation_warnings":[{"io_id":202,"original":43038721,"validated":0},{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-04-26 19:08:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576482879975587840,"timestamp_seconds":576482879975587.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 19:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965930496001,"66":12504,"109":206,"85":15104,"24":13,"16":76552985982795776,"45":9107615477697579008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965930496001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:08:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 19:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76552985982795776,"km_value":76552985982795.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107615477697579008,"description":"Unknown IO ID 45"} 
[2026-04-26 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965930496001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9107615477697579008}} 
[2026-04-26 19:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":55031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:08:08] local.INFO: GPS data processed {"connection_id":55031,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:08:08] local.INFO: Acknowledgment sent {"connection_id":55031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:08:13] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:08:13] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:08:13] local.INFO: IMEI packet received {"connection_id":54797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":54797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:08:18] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:08:18] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:08:18] local.INFO: IMEI packet received {"connection_id":54797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":54797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:08:19] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:08:19] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:08:19] local.INFO: Packet analysis {"connection_id":54797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:08:19] local.INFO: Extracted packet for processing {"connection_id":54797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 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-04-26 19:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:08:19] 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-04-26 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-04-26 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-04-26 19:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:08:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":54797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:08:19] local.INFO: GPS data processed {"connection_id":54797,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:08:19] local.INFO: Acknowledgment sent {"connection_id":54797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:08:33] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:33] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:33] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:08:34] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:34] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:34] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:08:35] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:35] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:35] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:08:36] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:36] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:08:36] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:08:51] local.INFO: TCP Data received {"connection_id":54797,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:08:51] local.INFO: Processing buffer {"connection_id":54797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:08:51] local.INFO: Packet analysis {"connection_id":54797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:08:51] local.INFO: Extracted packet for processing {"connection_id":54797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 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-04-26 19:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:08: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-04-26 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-04-26 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-04-26 19:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:08:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:08:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:08:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":54797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:08:51] local.INFO: GPS data processed {"connection_id":54797,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:08:51] local.INFO: Acknowledgment sent {"connection_id":54797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:09:18] local.INFO: TCP Data received {"connection_id":55033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:09:18] local.INFO: Processing buffer {"connection_id":55033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:09:18] local.INFO: IMEI packet received {"connection_id":55033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":55033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:09:24] local.INFO: TCP Data received {"connection_id":55033,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:09:24] local.INFO: Processing buffer {"connection_id":55033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:09:24] local.INFO: IMEI packet received {"connection_id":55033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":55033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:09:25] local.INFO: TCP Data received {"connection_id":55033,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:09:25] local.INFO: Processing buffer {"connection_id":55033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:09:25] local.INFO: Packet analysis {"connection_id":55033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:09:25] local.INFO: Extracted packet for processing {"connection_id":55033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:09:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 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-04-26 19:09:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 19:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:09: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-04-26 19:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:09:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:09:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:09:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":55033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:09:25] local.INFO: GPS data processed {"connection_id":55033,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:09:25] local.INFO: Acknowledgment sent {"connection_id":55033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:09:57] local.INFO: TCP Data received {"connection_id":55033,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:09:57] local.INFO: Processing buffer {"connection_id":55033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:09:57] local.INFO: Packet analysis {"connection_id":55033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:09:57] local.INFO: Extracted packet for processing {"connection_id":55033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:09:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:09:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 19:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:09:57] 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-04-26 19: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-04-26 19:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:09:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:09:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":55033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:09:57] local.INFO: GPS data processed {"connection_id":55033,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:09:57] local.INFO: Acknowledgment sent {"connection_id":55033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:10:13] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:13] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:13] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:10:18] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:18] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:18] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:10:23] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:23] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:10:23] local.INFO: IMEI packet received {"connection_id":54801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":54801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:10:24] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:10:24] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:10:24] local.INFO: Packet analysis {"connection_id":54801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:10:24] local.INFO: Extracted packet for processing {"connection_id":54801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 19:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:10:24] 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-04-26 19:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:10:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:10:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:10:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":54801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:10:24] local.INFO: GPS data processed {"connection_id":54801,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:10:24] local.INFO: Acknowledgment sent {"connection_id":54801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:10:47] local.INFO: TCP Data received {"connection_id":55700,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:10:47] local.INFO: Processing buffer {"connection_id":55700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:10:47] local.INFO: IMEI packet received {"connection_id":55700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":55700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:10:48] local.INFO: TCP Data received {"connection_id":55700,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca004ab0012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca004ab0012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:10:48] local.INFO: Processing buffer {"connection_id":55700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca004ab0012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:10:48] local.INFO: Packet analysis {"connection_id":55700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca00"} 
[2026-04-26 19:10:48] local.INFO: Extracted packet for processing {"connection_id":55700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca00"} 
[2026-04-26 19:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965813504001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10: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-04-26 19:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777210510000,"timestamp_ms":1777210510000,"timestamp_seconds":1777210510,"priority":1,"record_length":96,"hex_timestamp":"0000019dca004ab0"} 
[2026-04-26 19:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:10: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-04-26 19:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:10: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-04-26 19:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965813504001,"66":2177,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965813504001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:10:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965813504001,"power":2177,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":55700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:10:48] local.INFO: GPS data processed {"connection_id":55700,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:10:48] local.INFO: Acknowledgment sent {"connection_id":55700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:10:55] local.INFO: TCP Data received {"connection_id":54801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:10:56] local.INFO: Processing buffer {"connection_id":54801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:10:56] local.INFO: Packet analysis {"connection_id":54801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:10:56] local.INFO: Extracted packet for processing {"connection_id":54801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 19:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:10:56] 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-04-26 19: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-04-26 19:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:10:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:10:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":54801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:10:56] local.INFO: GPS data processed {"connection_id":54801,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:10:56] local.INFO: Acknowledgment sent {"connection_id":54801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:11:13] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:11:13] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:11:13] local.INFO: IMEI packet received {"connection_id":55034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":55034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:11:18] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:11:18] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:11:18] local.INFO: IMEI packet received {"connection_id":55034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":55034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:11:22] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:11:22] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:11:22] local.INFO: Packet analysis {"connection_id":55034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:11:22] local.INFO: Extracted packet for processing {"connection_id":55034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 19:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:11:22] 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-04-26 19: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-04-26 19:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:11: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-04-26 19:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:11:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:11:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":55034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:11:22] local.INFO: GPS data processed {"connection_id":55034,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:11:22] local.INFO: Acknowledgment sent {"connection_id":55034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:11:27] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:11:27] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:11:27] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:11:32] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:11:32] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:11:32] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:11:33] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:11:33] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:11:33] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:11:33] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:11: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-04-26 19:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:11:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:11:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:11:34] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:11:34] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:11:53] local.INFO: TCP Data received {"connection_id":55034,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:11:53] local.INFO: Processing buffer {"connection_id":55034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca014898012cb299c007822ce0004800122a..."} 
[2026-04-26 19:11:53] local.INFO: Packet analysis {"connection_id":55034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:11:53] local.INFO: Extracted packet for processing {"connection_id":55034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca01"} 
[2026-04-26 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965830144001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777210575000,"timestamp_ms":1777210575000,"timestamp_seconds":1777210575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca014898"} 
[2026-04-26 19:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:11: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-04-26 19: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-04-26 19:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:11: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-04-26 19:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965830144001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965830144001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:11:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:11:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:11:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965830144001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":55034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:11:53] local.INFO: GPS data processed {"connection_id":55034,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:11:53] local.INFO: Acknowledgment sent {"connection_id":55034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:12:07] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:12:07] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:12:07] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:12:07] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:12:07] 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-04-26 19:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:12:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:12:07] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:12:07] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:12:18] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:12:18] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:12:18] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:12:27] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:12:27] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:12:27] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:12:32] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:12:32] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:12:32] local.INFO: IMEI packet received {"connection_id":54802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":54802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:12:33] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.22","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 19:12:33] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 19:12:33] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:12:37] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:12:37] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:12:37] local.INFO: IMEI packet received {"connection_id":54802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":54802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:12:40] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:12:40] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:12:40] local.INFO: Packet analysis {"connection_id":54802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:12:40] local.INFO: Extracted packet for processing {"connection_id":54802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:12:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":54802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:12:40] local.INFO: GPS data processed {"connection_id":54802,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:12:40] local.INFO: Acknowledgment sent {"connection_id":54802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:12:44] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:12:44] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dca..."} 
[2026-04-26 19:12:44] local.INFO: IMEI packet received {"connection_id":54948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":54948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:12:50] local.INFO: TCP Data received {"connection_id":54948,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:12:50] local.INFO: Processing buffer {"connection_id":54948,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:12:50] local.INFO: Packet analysis {"connection_id":54948,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dca05"} 
[2026-04-26 19:12:50] local.INFO: Extracted packet for processing {"connection_id":54948,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca05"} 
[2026-04-26 19:12:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965907200001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777210876000,"timestamp_ms":1777210876000,"timestamp_seconds":1777210876,"priority":1,"record_length":96,"hex_timestamp":"0000019dca05e060"} 
[2026-04-26 19:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:12:50] 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-04-26 19: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-04-26 19:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:12:50] 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-04-26 19:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965907200001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965907200001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965907200001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":54948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:12:50] local.INFO: GPS data processed {"connection_id":54948,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:12:50] local.INFO: Acknowledgment sent {"connection_id":54948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:12:50] local.INFO: Packet analysis {"connection_id":54948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca05"} 
[2026-04-26 19:12:50] local.INFO: Extracted packet for processing {"connection_id":54948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca05"} 
[2026-04-26 19:12:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965907200001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777210876000,"timestamp_ms":1777210876000,"timestamp_seconds":1777210876,"priority":1,"record_length":96,"hex_timestamp":"0000019dca05e060"} 
[2026-04-26 19:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:12:50] 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-04-26 19: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-04-26 19:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:12:50] 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-04-26 19:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965907200001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965907200001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965907200001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":54948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:12:50] local.INFO: GPS data processed {"connection_id":54948,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:12:50] local.INFO: Acknowledgment sent {"connection_id":54948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:12:54] local.INFO: TCP Data received {"connection_id":54949,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:12:54] local.INFO: Processing buffer {"connection_id":54949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:12:54] local.INFO: IMEI packet received {"connection_id":54949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":54949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:13:11] local.INFO: TCP Data received {"connection_id":54802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:11] local.INFO: Processing buffer {"connection_id":54802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:11] local.INFO: Packet analysis {"connection_id":54802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:13:11] local.INFO: Extracted packet for processing {"connection_id":54802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:13:11] 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-04-26 19:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":54802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":54802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":54802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":54802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:13:11] local.INFO: GPS data processed {"connection_id":54802,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:13:11] local.INFO: Acknowledgment sent {"connection_id":54802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:13:13] local.INFO: TCP Data received {"connection_id":55035,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:13:13] local.INFO: Processing buffer {"connection_id":55035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:13:13] local.INFO: IMEI packet received {"connection_id":55035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":55035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:13:18] local.INFO: TCP Data received {"connection_id":55035,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:13:18] local.INFO: Processing buffer {"connection_id":55035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:13:18] local.INFO: IMEI packet received {"connection_id":55035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":55035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:13:23] local.INFO: TCP Data received {"connection_id":55035,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:13:23] local.INFO: Processing buffer {"connection_id":55035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca05e060012cb299c007822ce0004700122b..."} 
[2026-04-26 19:13:23] local.INFO: Packet analysis {"connection_id":55035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca05"} 
[2026-04-26 19:13:23] local.INFO: Extracted packet for processing {"connection_id":55035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca05"} 
[2026-04-26 19:13:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965907200001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777210876000,"timestamp_ms":1777210876000,"timestamp_seconds":1777210876,"priority":1,"record_length":96,"hex_timestamp":"0000019dca05e060"} 
[2026-04-26 19:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965907200001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965907200001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:13:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:13:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965907200001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":55035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:13:23] local.INFO: GPS data processed {"connection_id":55035,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:13:23] local.INFO: Acknowledgment sent {"connection_id":55035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:13:32] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:13:32] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:13:32] local.INFO: IMEI packet received {"connection_id":54950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":54950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:13:37] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:13:37] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:13:37] local.INFO: IMEI packet received {"connection_id":54950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":54950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:13:38] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:38] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:38] local.INFO: Packet analysis {"connection_id":54950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:13:38] local.INFO: Extracted packet for processing {"connection_id":54950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:13:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:13: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-04-26 19:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:13:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:13:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":54950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:13:38] local.INFO: GPS data processed {"connection_id":54950,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:13:38] local.INFO: Acknowledgment sent {"connection_id":54950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:13:39] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:13:39] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:13:39] local.INFO: IMEI packet received {"connection_id":54803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":54803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:13:42] local.INFO: TCP Data received {"connection_id":54950,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:42] local.INFO: Processing buffer {"connection_id":54950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:13:42] local.INFO: Packet analysis {"connection_id":54950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:13:42] local.INFO: Extracted packet for processing {"connection_id":54950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:13:42] 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-04-26 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:13: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-04-26 19:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":54950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:13:43] local.INFO: GPS data processed {"connection_id":54950,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:13:43] local.INFO: Acknowledgment sent {"connection_id":54950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:14:09] local.INFO: TCP Data received {"connection_id":54803,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:14:09] local.INFO: Processing buffer {"connection_id":54803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:14:09] local.INFO: IMEI packet received {"connection_id":54803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":54803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:14:18] local.INFO: TCP Data received {"connection_id":55703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:18] local.INFO: Processing buffer {"connection_id":55703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:18] local.INFO: IMEI packet received {"connection_id":55703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":55703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:14:25] local.INFO: TCP Data received {"connection_id":55703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:25] local.INFO: Processing buffer {"connection_id":55703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:25] local.INFO: IMEI packet received {"connection_id":55703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":55703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:14:27] local.INFO: TCP Data received {"connection_id":55704,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:14:27] local.INFO: Processing buffer {"connection_id":55704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:14:27] local.INFO: IMEI packet received {"connection_id":55704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":55704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:14:32] local.INFO: TCP Data received {"connection_id":55704,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:14:32] local.INFO: Processing buffer {"connection_id":55704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:14:32] local.INFO: IMEI packet received {"connection_id":55704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":55704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:14:33] local.INFO: TCP Data received {"connection_id":55704,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:14:33] local.INFO: Processing buffer {"connection_id":55704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:14:33] local.INFO: Packet analysis {"connection_id":55704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:14:33] local.INFO: Extracted packet for processing {"connection_id":55704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:14: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-04-26 19:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:14:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:14:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":55704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:14:33] local.INFO: GPS data processed {"connection_id":55704,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:14:33] local.INFO: Acknowledgment sent {"connection_id":55704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:14:53] local.INFO: TCP Data received {"connection_id":55703,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:53] local.INFO: Processing buffer {"connection_id":55703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:14:53] local.INFO: IMEI packet received {"connection_id":55703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":55703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:15:10] local.INFO: TCP Data received {"connection_id":55704,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:15:10] local.INFO: Processing buffer {"connection_id":55704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:15:10] local.INFO: Packet analysis {"connection_id":55704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:15:10] local.INFO: Extracted packet for processing {"connection_id":55704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:15:10] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:15: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-04-26 19:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:15:10] 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-04-26 19: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":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:15: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-04-26 19:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"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-04-26 19:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:15:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:15:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":55704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:15:10] local.INFO: GPS data processed {"connection_id":55704,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:15:10] local.INFO: Acknowledgment sent {"connection_id":55704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:15:13] local.INFO: TCP Data received {"connection_id":55036,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:15:13] local.INFO: Processing buffer {"connection_id":55036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:15:13] local.INFO: IMEI packet received {"connection_id":55036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":55036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:15:27] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:15:27] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:15:27] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:15:32] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:15:32] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:15:32] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:15:33] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:15:33] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca04e278012d196ac0071fec50003c00e621..."} 
[2026-04-26 19:15:33] local.INFO: Packet analysis {"connection_id":54952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:15:33] local.INFO: Extracted packet for processing {"connection_id":54952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca04"} 
[2026-04-26 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":33,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965890560001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777210811000,"timestamp_ms":1777210811000,"timestamp_seconds":1777210811,"priority":1,"record_length":96,"hex_timestamp":"0000019dca04e278"} 
[2026-04-26 19:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":129,"data_length":795,"current_offset":136} 
[2026-04-26 19:15: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-04-26 19: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-04-26 19:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:15: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-04-26 19:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965890560001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965890560001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:15:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:15:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965890560001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":54952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:15:33] local.INFO: GPS data processed {"connection_id":54952,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:15:33] local.INFO: Acknowledgment sent {"connection_id":54952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:16:06] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:06] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:06] local.INFO: Packet analysis {"connection_id":54952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:16:06] local.INFO: Extracted packet for processing {"connection_id":54952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:16: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-04-26 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:16:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":54952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:16:06] local.INFO: GPS data processed {"connection_id":54952,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:16:06] local.INFO: Acknowledgment sent {"connection_id":54952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:16:28] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:16:28] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:16:28] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:16:32] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:16:32] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:16:32] local.INFO: IMEI packet received {"connection_id":54804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":54804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:16:33] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:33] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:33] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:16:33] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:16: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-04-26 19:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:16: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-04-26 19:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:16:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:16:33] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:16:33] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:16:37] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:37] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:16:37] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:16:37] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:16:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:16:38] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:16:38] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:17:08] local.INFO: TCP Data received {"connection_id":54804,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:17:08] local.INFO: Processing buffer {"connection_id":54804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:17:08] local.INFO: Packet analysis {"connection_id":54804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:17:08] local.INFO: Extracted packet for processing {"connection_id":54804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:17: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-04-26 19: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-04-26 19:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:17: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-04-26 19:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:17:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:17:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":54804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:17:08] local.INFO: GPS data processed {"connection_id":54804,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:17:08] local.INFO: Acknowledgment sent {"connection_id":54804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:17:27] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:17:27] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:17:27] local.INFO: IMEI packet received {"connection_id":54953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":54953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:17:32] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:17:32] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:17:32] local.INFO: IMEI packet received {"connection_id":54953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":54953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:17:33] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:17:33] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:17:33] local.INFO: Packet analysis {"connection_id":54953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:17:33] local.INFO: Extracted packet for processing {"connection_id":54953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:17: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-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:17: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-04-26 19: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-04-26 19:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:17: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-04-26 19:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:17:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:17:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":54953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:17:33] local.INFO: GPS data processed {"connection_id":54953,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:17:33] local.INFO: Acknowledgment sent {"connection_id":54953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:18:04] local.INFO: TCP Data received {"connection_id":54953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:18:04] local.INFO: Processing buffer {"connection_id":54953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:18:04] local.INFO: Packet analysis {"connection_id":54953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:18:04] local.INFO: Extracted packet for processing {"connection_id":54953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:18:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:18: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-04-26 19:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:18: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-04-26 19:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:18: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-04-26 19:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:18:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":54953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:18:04] local.INFO: GPS data processed {"connection_id":54953,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:18:04] local.INFO: Acknowledgment sent {"connection_id":54953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:18:32] local.INFO: TCP Data received {"connection_id":55706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:18:32] local.INFO: Processing buffer {"connection_id":55706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:18:32] local.INFO: IMEI packet received {"connection_id":55706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":55706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:18:37] local.INFO: TCP Data received {"connection_id":55706,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:18:37] local.INFO: Processing buffer {"connection_id":55706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:18:37] local.INFO: IMEI packet received {"connection_id":55706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":55706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:18:38] local.INFO: TCP Data received {"connection_id":55706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:18:38] local.INFO: Processing buffer {"connection_id":55706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:18:38] local.INFO: Packet analysis {"connection_id":55706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:18:38] local.INFO: Extracted packet for processing {"connection_id":55706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:18: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-04-26 19:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:18:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":55706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:18:38] local.INFO: GPS data processed {"connection_id":55706,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:18:38] local.INFO: Acknowledgment sent {"connection_id":55706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:19:09] local.INFO: TCP Data received {"connection_id":55706,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:19:09] local.INFO: Processing buffer {"connection_id":55706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:19:09] local.INFO: Packet analysis {"connection_id":55706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:19:09] local.INFO: Extracted packet for processing {"connection_id":55706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:19: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-04-26 19:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:19:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":55706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:19:09] local.INFO: GPS data processed {"connection_id":55706,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:19:09] local.INFO: Acknowledgment sent {"connection_id":55706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:19:14] local.INFO: TCP Data received {"connection_id":54806,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:14] local.INFO: Processing buffer {"connection_id":54806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:14] local.INFO: IMEI packet received {"connection_id":54806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":54806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:19:27] local.INFO: TCP Data received {"connection_id":55040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:19:27] local.INFO: Processing buffer {"connection_id":55040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:19:27] local.INFO: IMEI packet received {"connection_id":55040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":55040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:19:32] local.INFO: TCP Data received {"connection_id":55040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:19:32] local.INFO: Processing buffer {"connection_id":55040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:19:32] local.INFO: IMEI packet received {"connection_id":55040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":55040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:19:33] local.INFO: TCP Data received {"connection_id":55040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:19:33] local.INFO: Processing buffer {"connection_id":55040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:19:33] local.INFO: Packet analysis {"connection_id":55040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:19:33] local.INFO: Extracted packet for processing {"connection_id":55040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:19:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:19: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-04-26 19:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:19: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-04-26 19:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:19:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:19:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":55040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:19:33] local.INFO: GPS data processed {"connection_id":55040,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:19:33] local.INFO: Acknowledgment sent {"connection_id":55040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:19:39] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:39] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:39] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:19:47] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:47] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:47] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:19:47] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:19:53] local.INFO: TCP Data received {"connection_id":54808,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:53] local.INFO: Processing buffer {"connection_id":54808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:19:53] local.INFO: IMEI packet received {"connection_id":54808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":54808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:20:05] local.INFO: TCP Data received {"connection_id":55040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:05] local.INFO: Processing buffer {"connection_id":55040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:05] local.INFO: Packet analysis {"connection_id":55040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:20:05] local.INFO: Extracted packet for processing {"connection_id":55040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:20:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":55040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:20:05] local.INFO: GPS data processed {"connection_id":55040,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:20:05] local.INFO: Acknowledgment sent {"connection_id":55040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:20:18] local.INFO: TCP Data received {"connection_id":55707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:18] local.INFO: Processing buffer {"connection_id":55707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:18] local.INFO: IMEI packet received {"connection_id":55707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":55707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:20:27] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:20:27] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:20:27] local.INFO: IMEI packet received {"connection_id":54955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":54955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:20:31] local.INFO: TCP Data received {"connection_id":55707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:31] local.INFO: Processing buffer {"connection_id":55707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:31] local.INFO: IMEI packet received {"connection_id":55707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":55707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:20:31] local.INFO: TCP Data received {"connection_id":55707,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:31] local.INFO: Processing buffer {"connection_id":55707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:20:31] local.INFO: IMEI packet received {"connection_id":55707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":55707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:20:32] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:20:32] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:20:32] local.INFO: IMEI packet received {"connection_id":54955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":54955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:20:34] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:20:34] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:20:34] local.INFO: IMEI packet received {"connection_id":54809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":54809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:20:38] local.INFO: TCP Data received {"connection_id":55707,"ip":"42.106.6.22","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dca..."} 
[2026-04-26 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55707,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dca..."} 
[2026-04-26 19:20:38] local.INFO: Processing buffer {"connection_id":55707,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019dca..."} 
[2026-04-26 19:20:38] local.INFO: IMEI packet received {"connection_id":55707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":55707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:20:39] local.INFO: TCP Data received {"connection_id":55707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:20:39] local.INFO: Processing buffer {"connection_id":55707,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:20:39] local.INFO: Packet analysis {"connection_id":55707,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:20:39] local.INFO: Extracted packet for processing {"connection_id":55707,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965984256001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777211177000,"timestamp_ms":1777211177000,"timestamp_seconds":1777211177,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0a7828"} 
[2026-04-26 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965984256001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965984256001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965984256001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":55707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:20:39] local.INFO: GPS data processed {"connection_id":55707,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:20:39] local.INFO: Acknowledgment sent {"connection_id":55707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:20:39] local.INFO: Packet analysis {"connection_id":55707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:20:39] local.INFO: Extracted packet for processing {"connection_id":55707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965984256001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777211177000,"timestamp_ms":1777211177000,"timestamp_seconds":1777211177,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0a7828"} 
[2026-04-26 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965984256001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965984256001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965984256001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":55707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:20:39] local.INFO: GPS data processed {"connection_id":55707,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:20:39] local.INFO: Acknowledgment sent {"connection_id":55707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:20:39] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:39] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:39] local.INFO: Packet analysis {"connection_id":54955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:20:39] local.INFO: Extracted packet for processing {"connection_id":54955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":54955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:20:40] local.INFO: GPS data processed {"connection_id":54955,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:20:40] local.INFO: Acknowledgment sent {"connection_id":54955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:20:40] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:40] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca097a40012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:20:40] local.INFO: Packet analysis {"connection_id":54955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:20:40] local.INFO: Extracted packet for processing {"connection_id":54955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca09"} 
[2026-04-26 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965967616001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777211112000,"timestamp_ms":1777211112000,"timestamp_seconds":1777211112,"priority":1,"record_length":96,"hex_timestamp":"0000019dca097a40"} 
[2026-04-26 19:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:20: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-04-26 19: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-04-26 19:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:20: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-04-26 19:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965967616001,"66":2155,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965967616001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:20:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:20:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965967616001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":54955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:20:40] local.INFO: GPS data processed {"connection_id":54955,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:20:40] local.INFO: Acknowledgment sent {"connection_id":54955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:20:44] local.INFO: TCP Data received {"connection_id":55707,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:20:44] local.INFO: Processing buffer {"connection_id":55707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:20:44] local.INFO: Packet analysis {"connection_id":55707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:20:44] local.INFO: Extracted packet for processing {"connection_id":55707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:20:44] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965984256001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777211177000,"timestamp_ms":1777211177000,"timestamp_seconds":1777211177,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0a7828"} 
[2026-04-26 19:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:20:44] 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-04-26 19:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965984256001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965984256001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:20:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965984256001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":55707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:20:44] local.INFO: GPS data processed {"connection_id":55707,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:20:44] local.INFO: Acknowledgment sent {"connection_id":55707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:21:00] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:21:00] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:21:00] local.INFO: IMEI packet received {"connection_id":54809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":54809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:21:01] local.INFO: TCP Data received {"connection_id":54809,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-26 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54809,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-26 19:21:01] local.INFO: Processing buffer {"connection_id":54809,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-26 19:21:01] local.INFO: IMEI packet received {"connection_id":54809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":54809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:21:13] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:21:13] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:21:13] local.INFO: IMEI packet received {"connection_id":55041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":55041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:21:18] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:21:18] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:21:18] local.INFO: IMEI packet received {"connection_id":55041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":55041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:21:26] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:21:26] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0a7828012cb299c007822ce0004d00122c..."} 
[2026-04-26 19:21:26] local.INFO: Packet analysis {"connection_id":55041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:21:26] local.INFO: Extracted packet for processing {"connection_id":55041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0a"} 
[2026-04-26 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:21:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454965984256001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:21:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777211177000,"timestamp_ms":1777211177000,"timestamp_seconds":1777211177,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0a7828"} 
[2026-04-26 19:21:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:21:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:21:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:21:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:21:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:21:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:21:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:21:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:21:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:21:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:21:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:21:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454965984256001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:21:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:21:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:21:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454965984256001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:21:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:21:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:21:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:21:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:21:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454965984256001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":55041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:21:26] local.INFO: GPS data processed {"connection_id":55041,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:21:26] local.INFO: Acknowledgment sent {"connection_id":55041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:21:27] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:21:27] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:21:27] local.INFO: IMEI packet received {"connection_id":55042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":55042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:21:32] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:21:32] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:21:32] local.INFO: IMEI packet received {"connection_id":55042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":55042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:21:40] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:21:40] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:21:40] local.INFO: Packet analysis {"connection_id":55042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:21:40] local.INFO: Extracted packet for processing {"connection_id":55042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:21:40] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":55042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":55042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":55042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:21: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-04-26 19:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:21:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:21:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":55042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:21:40] local.INFO: GPS data processed {"connection_id":55042,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:21:40] local.INFO: Acknowledgment sent {"connection_id":55042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:21:57] local.INFO: TCP Data received {"connection_id":55041,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:21:57] local.INFO: Processing buffer {"connection_id":55041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:21:57] local.INFO: Packet analysis {"connection_id":55041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:21:57] local.INFO: Extracted packet for processing {"connection_id":55041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:21:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:21:57] 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-04-26 19: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-04-26 19:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:21:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:21:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":55041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:21:57] local.INFO: GPS data processed {"connection_id":55041,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:21:57] local.INFO: Acknowledgment sent {"connection_id":55041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:22:11] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:22:11] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:22:11] local.INFO: Packet analysis {"connection_id":55042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:22:11] local.INFO: Extracted packet for processing {"connection_id":55042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":55042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":55042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":55042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:22: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-04-26 19:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":55042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:22:11] local.INFO: GPS data processed {"connection_id":55042,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:22:11] local.INFO: Acknowledgment sent {"connection_id":55042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:22:18] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:22:18] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:22:18] local.INFO: IMEI packet received {"connection_id":54956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":54956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:22:23] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:22:23] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:22:23] local.INFO: IMEI packet received {"connection_id":54956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":54956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:22:26] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:22:26] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:22:26] local.INFO: Packet analysis {"connection_id":54956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:22:26] local.INFO: Extracted packet for processing {"connection_id":54956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:22: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-04-26 19:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:22:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:22:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":54956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:22:26] local.INFO: GPS data processed {"connection_id":54956,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:22:26] local.INFO: Acknowledgment sent {"connection_id":54956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:22:27] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:22:27] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:22:27] local.INFO: IMEI packet received {"connection_id":54811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":54811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:22:32] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:22:32] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:22:32] local.INFO: IMEI packet received {"connection_id":54811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":54811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:22:33] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:22:33] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:22:33] local.INFO: Packet analysis {"connection_id":54811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:22:33] local.INFO: Extracted packet for processing {"connection_id":54811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:22:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":54811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:22:33] local.INFO: GPS data processed {"connection_id":54811,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:22:33] local.INFO: Acknowledgment sent {"connection_id":54811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:22:58] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:22:58] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:22:58] local.INFO: Packet analysis {"connection_id":54956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:22:58] local.INFO: Extracted packet for processing {"connection_id":54956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:22:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:22:58] 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-04-26 19:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:22:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:22:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":54956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:22:58] local.INFO: GPS data processed {"connection_id":54956,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:22:58] local.INFO: Acknowledgment sent {"connection_id":54956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:23:05] local.INFO: TCP Data received {"connection_id":54811,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:23:05] local.INFO: Processing buffer {"connection_id":54811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:23:05] local.INFO: Packet analysis {"connection_id":54811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:23:05] local.INFO: Extracted packet for processing {"connection_id":54811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:23: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-04-26 19:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:23:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:23:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":54811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:23:05] local.INFO: GPS data processed {"connection_id":54811,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:23:05] local.INFO: Acknowledgment sent {"connection_id":54811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:23:13] local.INFO: TCP Data received {"connection_id":55709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:13] local.INFO: Processing buffer {"connection_id":55709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:13] local.INFO: IMEI packet received {"connection_id":55709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":55709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:23:19] local.INFO: TCP Data received {"connection_id":55709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:19] local.INFO: Processing buffer {"connection_id":55709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:19] local.INFO: IMEI packet received {"connection_id":55709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:23:19] local.INFO: IMEI acknowledgment sent {"connection_id":55709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:23:23] local.INFO: TCP Data received {"connection_id":55709,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:23] local.INFO: Processing buffer {"connection_id":55709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:23:23] local.INFO: IMEI packet received {"connection_id":55709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":55709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:23:24] local.INFO: TCP Data received {"connection_id":55709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:23:24] local.INFO: Processing buffer {"connection_id":55709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:23:24] local.INFO: Packet analysis {"connection_id":55709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:23:24] local.INFO: Extracted packet for processing {"connection_id":55709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:23:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:23:24] 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-04-26 19:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:23:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":55709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:23:24] local.INFO: GPS data processed {"connection_id":55709,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:23:24] local.INFO: Acknowledgment sent {"connection_id":55709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:23:27] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:23:27] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:23:27] local.INFO: IMEI packet received {"connection_id":55043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":55043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:23:32] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:23:32] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:23:32] local.INFO: IMEI packet received {"connection_id":55043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":55043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:23:36] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:23:36] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:23:36] local.INFO: Packet analysis {"connection_id":55043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:23:36] local.INFO: Extracted packet for processing {"connection_id":55043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":55043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":55043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":55043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:23:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":55043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:23:36] local.INFO: GPS data processed {"connection_id":55043,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:23:36] local.INFO: Acknowledgment sent {"connection_id":55043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:23:56] local.INFO: TCP Data received {"connection_id":55709,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:23:56] local.INFO: Processing buffer {"connection_id":55709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:23:56] local.INFO: Packet analysis {"connection_id":55709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:23:56] local.INFO: Extracted packet for processing {"connection_id":55709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:23: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-04-26 19:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:23:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:23:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":55709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:23:56] local.INFO: GPS data processed {"connection_id":55709,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:23:56] local.INFO: Acknowledgment sent {"connection_id":55709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:24:07] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:24:07] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:24:07] local.INFO: Packet analysis {"connection_id":55043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:24:07] local.INFO: Extracted packet for processing {"connection_id":55043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:24:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":55043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:24:07] local.INFO: GPS data processed {"connection_id":55043,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:24:07] local.INFO: Acknowledgment sent {"connection_id":55043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:24:13] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:13] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:13] local.INFO: IMEI packet received {"connection_id":54957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":54957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:24:18] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:18] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:18] local.INFO: IMEI packet received {"connection_id":54957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":54957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:24:29] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:29] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:24:29] local.INFO: IMEI packet received {"connection_id":54957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":54957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:24:30] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:24:30] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:24:30] local.INFO: Packet analysis {"connection_id":54957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:24:30] local.INFO: Extracted packet for processing {"connection_id":54957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:24:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:24: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-04-26 19:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:24:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":54957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:24:30] local.INFO: GPS data processed {"connection_id":54957,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:24:30] local.INFO: Acknowledgment sent {"connection_id":54957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:24:31] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:24:31] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:24:31] local.INFO: Packet analysis {"connection_id":54957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:24:31] local.INFO: Extracted packet for processing {"connection_id":54957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:24:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:24:31] 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-04-26 19: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-04-26 19:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:24: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-04-26 19:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:24:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:24:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":54957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:24:31] local.INFO: GPS data processed {"connection_id":54957,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:24:31] local.INFO: Acknowledgment sent {"connection_id":54957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:24:32] local.INFO: TCP Data received {"connection_id":55711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:24:32] local.INFO: Processing buffer {"connection_id":55711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:24:32] local.INFO: IMEI packet received {"connection_id":55711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":55711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:24:37] local.INFO: TCP Data received {"connection_id":55711,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:24:37] local.INFO: Processing buffer {"connection_id":55711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:24:37] local.INFO: IMEI packet received {"connection_id":55711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":55711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:24:39] local.INFO: TCP Data received {"connection_id":55711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:24:39] local.INFO: Processing buffer {"connection_id":55711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:24:39] local.INFO: Packet analysis {"connection_id":55711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:24:39] local.INFO: Extracted packet for processing {"connection_id":55711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:24:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:24:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:24:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":55711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:24:39] local.INFO: GPS data processed {"connection_id":55711,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:24:39] local.INFO: Acknowledgment sent {"connection_id":55711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:25:11] local.INFO: TCP Data received {"connection_id":55711,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:25:11] local.INFO: Processing buffer {"connection_id":55711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:25:11] local.INFO: Packet analysis {"connection_id":55711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:25:11] local.INFO: Extracted packet for processing {"connection_id":55711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":55711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":55711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":55711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:25:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":55711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:25:12] local.INFO: GPS data processed {"connection_id":55711,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:25:12] local.INFO: Acknowledgment sent {"connection_id":55711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:25:18] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:18] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:18] local.INFO: IMEI packet received {"connection_id":55044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":55044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:25:23] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:23] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:23] local.INFO: IMEI packet received {"connection_id":55044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":55044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:25:27] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:25:27] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:25:27] local.INFO: IMEI packet received {"connection_id":55045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":55045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:25:28] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:28] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:25:28] local.INFO: IMEI packet received {"connection_id":55044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":55044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:25:30] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:25:30] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:25:30] local.INFO: Packet analysis {"connection_id":55044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:25:30] local.INFO: Extracted packet for processing {"connection_id":55044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:25: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-04-26 19:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:25:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":55044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:25:30] local.INFO: GPS data processed {"connection_id":55044,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:25:30] local.INFO: Acknowledgment sent {"connection_id":55044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:25:32] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:25:32] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:25:32] local.INFO: IMEI packet received {"connection_id":55045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":55045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:25:33] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:25:33] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0e1208012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:25:33] local.INFO: Packet analysis {"connection_id":55045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:25:33] local.INFO: Extracted packet for processing {"connection_id":55045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0e"} 
[2026-04-26 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966044672001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211413000,"timestamp_ms":1777211413000,"timestamp_seconds":1777211413,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0e1208"} 
[2026-04-26 19:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 19:25: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-04-26 19:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:25: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-04-26 19:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966044672001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966044672001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:25:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:25:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966044672001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":55045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:25:33] local.INFO: GPS data processed {"connection_id":55045,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:25:33] local.INFO: Acknowledgment sent {"connection_id":55045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:25:34] local.INFO: TCP Data received {"connection_id":55044,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:25:34] local.INFO: Processing buffer {"connection_id":55044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:25:34] local.INFO: Packet analysis {"connection_id":55044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:25:34] local.INFO: Extracted packet for processing {"connection_id":55044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:25:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:25:34] 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-04-26 19:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:25:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:25:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":55044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:25:34] local.INFO: GPS data processed {"connection_id":55044,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:25:34] local.INFO: Acknowledgment sent {"connection_id":55044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:26:04] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:26:04] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:26:04] local.INFO: Packet analysis {"connection_id":55045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:26:04] local.INFO: Extracted packet for processing {"connection_id":55045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:26:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:26:04] 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-04-26 19:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:26: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-04-26 19:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:26: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-04-26 19:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:26:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:26:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":55045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:26:04] local.INFO: GPS data processed {"connection_id":55045,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:26:04] local.INFO: Acknowledgment sent {"connection_id":55045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:26:04] local.INFO: TCP Data received {"connection_id":54813,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:26:04] local.INFO: Processing buffer {"connection_id":54813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:26:04] local.INFO: IMEI packet received {"connection_id":54813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":54813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:26:14] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:26:14] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:26:14] local.INFO: IMEI packet received {"connection_id":54814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:26:14] local.INFO: IMEI acknowledgment sent {"connection_id":54814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:26:18] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:26:18] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:26:18] local.INFO: IMEI packet received {"connection_id":54814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":54814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:26:21] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:26:21] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:26:21] local.INFO: Packet analysis {"connection_id":54814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:26:21] local.INFO: Extracted packet for processing {"connection_id":54814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:26:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:26:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:26:21] 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-04-26 19: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-04-26 19:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:26: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-04-26 19:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:26:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:26:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:26:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":54814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:26:21] local.INFO: GPS data processed {"connection_id":54814,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:26:21] local.INFO: Acknowledgment sent {"connection_id":54814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:26:27] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:26:27] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:26:27] local.INFO: IMEI packet received {"connection_id":54958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":54958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:26:32] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:26:32] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:26:32] local.INFO: IMEI packet received {"connection_id":54958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":54958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:26:33] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:26:33] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:26:33] local.INFO: Packet analysis {"connection_id":54958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:26:33] local.INFO: Extracted packet for processing {"connection_id":54958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:26:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:26:33] 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-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:26: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-04-26 19: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-04-26 19:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:26: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-04-26 19:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:26:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:26:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":54958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:26:33] local.INFO: GPS data processed {"connection_id":54958,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:26:33] local.INFO: Acknowledgment sent {"connection_id":54958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:26:39] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:26:39] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:26:39] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:26:53] local.INFO: TCP Data received {"connection_id":54814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:26:53] local.INFO: Processing buffer {"connection_id":54814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca0f0ff0012cb299c007822ce0004e00122a..."} 
[2026-04-26 19:26:53] local.INFO: Packet analysis {"connection_id":54814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:26:53] local.INFO: Extracted packet for processing {"connection_id":54814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca0f"} 
[2026-04-26 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966061312001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777211478000,"timestamp_ms":1777211478000,"timestamp_seconds":1777211478,"priority":1,"record_length":96,"hex_timestamp":"0000019dca0f0ff0"} 
[2026-04-26 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:26:53] 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-04-26 19:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:26: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-04-26 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966061312001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966061312001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:26:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:26:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:26:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966061312001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":54814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:26:53] local.INFO: GPS data processed {"connection_id":54814,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:26:53] local.INFO: Acknowledgment sent {"connection_id":54814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:27:04] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:27:04] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:27:04] local.INFO: Packet analysis {"connection_id":54958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:27:04] local.INFO: Extracted packet for processing {"connection_id":54958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:27:04] 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-04-26 19:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:27: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-04-26 19:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:27: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-04-26 19:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:27:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":54958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:27:04] local.INFO: GPS data processed {"connection_id":54958,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:27:04] local.INFO: Acknowledgment sent {"connection_id":54958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:27:20] local.INFO: TCP Data received {"connection_id":55712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:27:20] local.INFO: Processing buffer {"connection_id":55712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:27:20] local.INFO: IMEI packet received {"connection_id":55712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":55712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:27:23] local.INFO: TCP Data received {"connection_id":55712,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:27:23] local.INFO: Processing buffer {"connection_id":55712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:27:23] local.INFO: IMEI packet received {"connection_id":55712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":55712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:27:24] local.INFO: TCP Data received {"connection_id":55712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:27:24] local.INFO: Processing buffer {"connection_id":55712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:27:24] local.INFO: Packet analysis {"connection_id":55712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:27:24] local.INFO: Extracted packet for processing {"connection_id":55712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966138368001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777211779000,"timestamp_ms":1777211779000,"timestamp_seconds":1777211779,"priority":1,"record_length":96,"hex_timestamp":"0000019dca13a7b8"} 
[2026-04-26 19:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:27: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-04-26 19:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966138368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966138368001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:27:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966138368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":55712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:27:24] local.INFO: GPS data processed {"connection_id":55712,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:27:24] local.INFO: Acknowledgment sent {"connection_id":55712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:27:28] local.INFO: TCP Data received {"connection_id":55712,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:27:28] local.INFO: Processing buffer {"connection_id":55712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:27:28] local.INFO: Packet analysis {"connection_id":55712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:27:28] local.INFO: Extracted packet for processing {"connection_id":55712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:27:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966138368001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777211779000,"timestamp_ms":1777211779000,"timestamp_seconds":1777211779,"priority":1,"record_length":96,"hex_timestamp":"0000019dca13a7b8"} 
[2026-04-26 19:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966138368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966138368001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:27:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:27:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966138368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":55712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:27:28] local.INFO: GPS data processed {"connection_id":55712,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:27:28] local.INFO: Acknowledgment sent {"connection_id":55712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:27:32] local.INFO: TCP Data received {"connection_id":54815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:27:32] local.INFO: Processing buffer {"connection_id":54815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:27:32] local.INFO: IMEI packet received {"connection_id":54815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":54815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:28:02] local.INFO: TCP Data received {"connection_id":54815,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:02] local.INFO: Processing buffer {"connection_id":54815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:02] local.INFO: IMEI packet received {"connection_id":54815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":54815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:28:18] local.INFO: TCP Data received {"connection_id":55046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:28:18] local.INFO: Processing buffer {"connection_id":55046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:28:18] local.INFO: IMEI packet received {"connection_id":55046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":55046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:28:23] local.INFO: TCP Data received {"connection_id":55046,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:28:23] local.INFO: Processing buffer {"connection_id":55046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:28:23] local.INFO: IMEI packet received {"connection_id":55046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":55046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:28:26] local.INFO: TCP Data received {"connection_id":55046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:28:26] local.INFO: Processing buffer {"connection_id":55046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:28:26] local.INFO: Packet analysis {"connection_id":55046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:28:26] local.INFO: Extracted packet for processing {"connection_id":55046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:28:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966138368001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777211779000,"timestamp_ms":1777211779000,"timestamp_seconds":1777211779,"priority":1,"record_length":96,"hex_timestamp":"0000019dca13a7b8"} 
[2026-04-26 19:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:28: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-04-26 19:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966138368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966138368001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:28:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:28:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:28:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966138368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":55046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:28:27] local.INFO: GPS data processed {"connection_id":55046,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:28:27] local.INFO: Acknowledgment sent {"connection_id":55046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:28:27] local.INFO: TCP Data received {"connection_id":55714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:27] local.INFO: Processing buffer {"connection_id":55714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:27] local.INFO: IMEI packet received {"connection_id":55714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":55714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:28:29] local.INFO: TCP Data received {"connection_id":55046,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:28:29] local.INFO: Processing buffer {"connection_id":55046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca13a7b8012cb299c007822ce0005100122b..."} 
[2026-04-26 19:28:29] local.INFO: Packet analysis {"connection_id":55046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:28:29] local.INFO: Extracted packet for processing {"connection_id":55046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca13"} 
[2026-04-26 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966138368001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777211779000,"timestamp_ms":1777211779000,"timestamp_seconds":1777211779,"priority":1,"record_length":96,"hex_timestamp":"0000019dca13a7b8"} 
[2026-04-26 19:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:28: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-04-26 19:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966138368001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966138368001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:28:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966138368001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":55046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:28:29] local.INFO: GPS data processed {"connection_id":55046,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:28:29] local.INFO: Acknowledgment sent {"connection_id":55046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:28:32] local.INFO: TCP Data received {"connection_id":55714,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:32] local.INFO: Processing buffer {"connection_id":55714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:28:32] local.INFO: IMEI packet received {"connection_id":55714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":55714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:28:34] local.INFO: TCP Data received {"connection_id":55714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:28:34] local.INFO: Processing buffer {"connection_id":55714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:28:34] local.INFO: Packet analysis {"connection_id":55714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:28:34] local.INFO: Extracted packet for processing {"connection_id":55714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:28:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:28:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":55714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:28:35] local.INFO: GPS data processed {"connection_id":55714,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:28:35] local.INFO: Acknowledgment sent {"connection_id":55714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:29:05] local.INFO: TCP Data received {"connection_id":55714,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:29:05] local.INFO: Processing buffer {"connection_id":55714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:29:05] local.INFO: Packet analysis {"connection_id":55714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:29:05] local.INFO: Extracted packet for processing {"connection_id":55714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":55714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":55714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":55714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:29:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:29:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":55714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:29:06] local.INFO: GPS data processed {"connection_id":55714,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:29:06] local.INFO: Acknowledgment sent {"connection_id":55714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:29:18] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:18] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:18] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:29:27] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:29:27] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:29:27] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:29:32] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:29:32] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:29:32] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:29:32] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:32] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:32] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:29:33] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:33] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:33] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:29:33] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:29:33] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:29:33] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:29:33] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:29:33] 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-04-26 19:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:29: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-04-26 19:29:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:29: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-04-26 19:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:29:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:29:33] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:29:33] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:29:33] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:33] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:29:33] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:30:05] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:30:05] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:30:05] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:30:05] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:30: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-04-26 19:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:30: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-04-26 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:30:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:30:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:30:06] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:30:06] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:30:27] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:30:27] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:30:27] local.INFO: IMEI packet received {"connection_id":55048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":55048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:30:32] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:30:32] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:30:32] local.INFO: IMEI packet received {"connection_id":55048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":55048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:30:33] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:30:33] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca12a9d0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:30:33] local.INFO: Packet analysis {"connection_id":55048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:30:33] local.INFO: Extracted packet for processing {"connection_id":55048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca12"} 
[2026-04-26 19:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966121728001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777211714000,"timestamp_ms":1777211714000,"timestamp_seconds":1777211714,"priority":1,"record_length":96,"hex_timestamp":"0000019dca12a9d0"} 
[2026-04-26 19:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:30:33] 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-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:30: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-04-26 19:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966121728001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966121728001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:30:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966121728001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":55048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:30:33] local.INFO: GPS data processed {"connection_id":55048,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:30:33] local.INFO: Acknowledgment sent {"connection_id":55048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:31:03] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:03] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:03] local.INFO: Packet analysis {"connection_id":55048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:31:03] local.INFO: Extracted packet for processing {"connection_id":55048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:31:03] 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-04-26 19:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":55048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":55048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":55048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:31:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:31:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":55048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:31:04] local.INFO: GPS data processed {"connection_id":55048,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:31:04] local.INFO: Acknowledgment sent {"connection_id":55048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:31:27] local.INFO: TCP Data received {"connection_id":55716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:27] local.INFO: Processing buffer {"connection_id":55716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:27] local.INFO: IMEI packet received {"connection_id":55716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":55716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:31:32] local.INFO: TCP Data received {"connection_id":55716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:32] local.INFO: Processing buffer {"connection_id":55716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:32] local.INFO: IMEI packet received {"connection_id":55716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":55716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:31:38] local.INFO: TCP Data received {"connection_id":55716,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:38] local.INFO: Processing buffer {"connection_id":55716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:31:38] local.INFO: IMEI packet received {"connection_id":55716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":55716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:31:39] local.INFO: TCP Data received {"connection_id":55716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:39] local.INFO: Processing buffer {"connection_id":55716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:39] local.INFO: Packet analysis {"connection_id":55716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:31:39] local.INFO: Extracted packet for processing {"connection_id":55716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:31:39] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:31: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-04-26 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:31:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:31:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":55716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:31:40] local.INFO: GPS data processed {"connection_id":55716,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:31:40] local.INFO: Acknowledgment sent {"connection_id":55716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:31:42] local.INFO: TCP Data received {"connection_id":55716,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:42] local.INFO: Processing buffer {"connection_id":55716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:31:42] local.INFO: Packet analysis {"connection_id":55716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:31:42] local.INFO: Extracted packet for processing {"connection_id":55716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:31:42] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:31: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-04-26 19:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":55716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":55716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":55716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:31: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-04-26 19:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:31:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:31:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":55716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:31:42] local.INFO: GPS data processed {"connection_id":55716,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:31:42] local.INFO: Acknowledgment sent {"connection_id":55716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:32:09] local.INFO: TCP Data received {"connection_id":54963,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:32:09] local.INFO: Processing buffer {"connection_id":54963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:32:09] local.INFO: IMEI packet received {"connection_id":54963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":54963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:32:27] local.INFO: TCP Data received {"connection_id":55718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:32:27] local.INFO: Processing buffer {"connection_id":55718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:32:27] local.INFO: IMEI packet received {"connection_id":55718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":55718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:32:32] local.INFO: TCP Data received {"connection_id":55718,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:32:32] local.INFO: Processing buffer {"connection_id":55718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:32:32] local.INFO: IMEI packet received {"connection_id":55718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":55718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:32:38] local.INFO: TCP Data received {"connection_id":55718,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:32:38] local.INFO: Processing buffer {"connection_id":55718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:32:38] local.INFO: Packet analysis {"connection_id":55718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:32:38] local.INFO: Extracted packet for processing {"connection_id":55718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:32:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":55718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:32:38] local.INFO: GPS data processed {"connection_id":55718,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:32:38] local.INFO: Acknowledgment sent {"connection_id":55718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:32:39] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:32:39] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:32:39] local.INFO: IMEI packet received {"connection_id":54964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:32:39] local.INFO: IMEI acknowledgment sent {"connection_id":54964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:33:09] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:33:09] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:33:09] local.INFO: IMEI packet received {"connection_id":54964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":54964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:33:27] local.INFO: TCP Data received {"connection_id":55719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:33:27] local.INFO: Processing buffer {"connection_id":55719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:33:27] local.INFO: IMEI packet received {"connection_id":55719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":55719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:33:32] local.INFO: TCP Data received {"connection_id":55719,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:33:32] local.INFO: Processing buffer {"connection_id":55719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:33:32] local.INFO: IMEI packet received {"connection_id":55719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":55719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:33:35] local.INFO: TCP Data received {"connection_id":55719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:33:35] local.INFO: Processing buffer {"connection_id":55719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:33:35] local.INFO: Packet analysis {"connection_id":55719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:33:35] local.INFO: Extracted packet for processing {"connection_id":55719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:33: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-04-26 19:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:33:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:33:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":55719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:33:35] local.INFO: GPS data processed {"connection_id":55719,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:33:35] local.INFO: Acknowledgment sent {"connection_id":55719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:34:06] local.INFO: TCP Data received {"connection_id":55719,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:34:06] local.INFO: Processing buffer {"connection_id":55719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:34:06] local.INFO: Packet analysis {"connection_id":55719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:34:06] local.INFO: Extracted packet for processing {"connection_id":55719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:34: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-04-26 19:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":55719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":55719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":55719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:34: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-04-26 19:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:34:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:34:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":55719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:34:06] local.INFO: GPS data processed {"connection_id":55719,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:34:06] local.INFO: Acknowledgment sent {"connection_id":55719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:34:34] local.INFO: TCP Data received {"connection_id":55721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:34:34] local.INFO: Processing buffer {"connection_id":55721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:34:34] local.INFO: IMEI packet received {"connection_id":55721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":55721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:34:37] local.INFO: TCP Data received {"connection_id":55721,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:34:37] local.INFO: Processing buffer {"connection_id":55721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:34:37] local.INFO: IMEI packet received {"connection_id":55721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":55721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:34:38] local.INFO: TCP Data received {"connection_id":55721,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:34:38] local.INFO: Processing buffer {"connection_id":55721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:34:38] local.INFO: Packet analysis {"connection_id":55721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:34:38] local.INFO: Extracted packet for processing {"connection_id":55721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:34: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-04-26 19:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:34: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-04-26 19:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:34:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":55721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:34:38] local.INFO: GPS data processed {"connection_id":55721,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:34:38] local.INFO: Acknowledgment sent {"connection_id":55721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:34:38] local.INFO: TCP Data received {"connection_id":55720,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:34:38] local.INFO: Processing buffer {"connection_id":55720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:34:38] local.INFO: IMEI packet received {"connection_id":55720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":55720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:34:39] local.INFO: TCP Data received {"connection_id":55720,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dca183f80012cb299c007822ce0004c001228..."} 
[2026-04-26 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca183f80012cb299c007822ce0004c001228..."} 
[2026-04-26 19:34:39] local.INFO: Processing buffer {"connection_id":55720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca183f80012cb299c007822ce0004c001228..."} 
[2026-04-26 19:34:39] local.INFO: Packet analysis {"connection_id":55720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca18"} 
[2026-04-26 19:34:39] local.INFO: Extracted packet for processing {"connection_id":55720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca18"} 
[2026-04-26 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966215424001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777212080000,"timestamp_ms":1777212080000,"timestamp_seconds":1777212080,"priority":1,"record_length":96,"hex_timestamp":"0000019dca183f80"} 
[2026-04-26 19:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 19:34:39] 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-04-26 19:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:34:39] 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-04-26 19:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966215424001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966215424001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:34:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:34:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966215424001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":55720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:34:39] local.INFO: GPS data processed {"connection_id":55720,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:34:39] local.INFO: Acknowledgment sent {"connection_id":55720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:35:15] local.INFO: TCP Data received {"connection_id":55051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:15] local.INFO: Processing buffer {"connection_id":55051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:15] local.INFO: IMEI packet received {"connection_id":55051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":55051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:35:27] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:35:27] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:35:27] local.INFO: IMEI packet received {"connection_id":55052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":55052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:35:32] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:35:32] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:35:32] local.INFO: IMEI packet received {"connection_id":55052,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":55052,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:35:33] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:35:33] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:35:33] local.INFO: Packet analysis {"connection_id":55052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:35:33] local.INFO: Extracted packet for processing {"connection_id":55052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:35: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-04-26 19: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-04-26 19:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:35:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:35:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":55052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:35:33] local.INFO: GPS data processed {"connection_id":55052,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:35:33] local.INFO: Acknowledgment sent {"connection_id":55052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:35:37] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:35:37] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca174198012d196ac0071fec50003c00e623..."} 
[2026-04-26 19:35:37] local.INFO: Packet analysis {"connection_id":55052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:35:37] local.INFO: Extracted packet for processing {"connection_id":55052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca17"} 
[2026-04-26 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":35,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966198784001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777212015000,"timestamp_ms":1777212015000,"timestamp_seconds":1777212015,"priority":1,"record_length":96,"hex_timestamp":"0000019dca174198"} 
[2026-04-26 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966198784001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966198784001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:35:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966198784001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":55052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:35:37] local.INFO: GPS data processed {"connection_id":55052,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:35:37] local.INFO: Acknowledgment sent {"connection_id":55052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:35:43] local.INFO: TCP Data received {"connection_id":55051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:43] local.INFO: Processing buffer {"connection_id":55051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:43] local.INFO: IMEI packet received {"connection_id":55051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":55051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:35:45] local.INFO: TCP Data received {"connection_id":55051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:45] local.INFO: Processing buffer {"connection_id":55051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:45] local.INFO: IMEI packet received {"connection_id":55051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":55051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:35:45] local.INFO: TCP Data received {"connection_id":55051,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:45] local.INFO: Processing buffer {"connection_id":55051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:35:45] local.INFO: IMEI packet received {"connection_id":55051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":55051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:36:08] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:36:08] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:36:08] local.INFO: Packet analysis {"connection_id":55052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:36:08] local.INFO: Extracted packet for processing {"connection_id":55052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:36: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-04-26 19:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55052,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:36: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-04-26 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:36:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:36:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":55052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:36:08] local.INFO: GPS data processed {"connection_id":55052,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:36:08] local.INFO: Acknowledgment sent {"connection_id":55052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:36:27] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:36:27] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:36:27] local.INFO: IMEI packet received {"connection_id":54820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":54820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:36:32] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:36:32] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:36:32] local.INFO: IMEI packet received {"connection_id":54820,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":54820,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:36:33] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:36:33] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:36:33] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:36:33] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:36:33] 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-04-26 19:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:36:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:36:33] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:36:33] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:37:05] local.INFO: TCP Data received {"connection_id":54820,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:37:05] local.INFO: Processing buffer {"connection_id":54820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:37:05] local.INFO: Packet analysis {"connection_id":54820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:37:05] local.INFO: Extracted packet for processing {"connection_id":54820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:37: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-04-26 19:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":54820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":54820,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:37: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-04-26 19:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:37:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:37:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":54820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:37:05] local.INFO: GPS data processed {"connection_id":54820,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:37:05] local.INFO: Acknowledgment sent {"connection_id":54820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:37:27] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:37:27] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:37:27] local.INFO: IMEI packet received {"connection_id":54967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":54967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:37:32] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:37:32] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:37:32] local.INFO: IMEI packet received {"connection_id":54967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":54967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:37:35] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:37:35] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:37:35] local.INFO: Packet analysis {"connection_id":54967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:37:35] local.INFO: Extracted packet for processing {"connection_id":54967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:37: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-04-26 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:37:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":54967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:37:35] local.INFO: GPS data processed {"connection_id":54967,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:37:35] local.INFO: Acknowledgment sent {"connection_id":54967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:38:06] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:38:06] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:38:06] local.INFO: Packet analysis {"connection_id":54967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:38:06] local.INFO: Extracted packet for processing {"connection_id":54967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:38: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-04-26 19:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:38:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":54967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:38:06] local.INFO: GPS data processed {"connection_id":54967,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:38:06] local.INFO: Acknowledgment sent {"connection_id":54967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:38:27] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:38:27] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:38:27] local.INFO: IMEI packet received {"connection_id":55054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":55054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:38:32] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:38:32] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:38:32] local.INFO: IMEI packet received {"connection_id":55054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":55054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:38:33] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:38:33] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:38:33] local.INFO: Packet analysis {"connection_id":55054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:38:33] local.INFO: Extracted packet for processing {"connection_id":55054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:38:33] 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-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:38: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-04-26 19: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-04-26 19:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:38:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":55054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:38:33] local.INFO: GPS data processed {"connection_id":55054,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:38:33] local.INFO: Acknowledgment sent {"connection_id":55054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:38:39] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:39] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:39] local.INFO: IMEI packet received {"connection_id":54968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":54968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:38:44] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:44] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:44] local.INFO: IMEI packet received {"connection_id":54968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":54968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:38:49] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:49] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:38:49] local.INFO: IMEI packet received {"connection_id":54968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 19:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":54968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:39:04] local.INFO: TCP Data received {"connection_id":55054,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:39:04] local.INFO: Processing buffer {"connection_id":55054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:39:04] local.INFO: Packet analysis {"connection_id":55054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:39:04] local.INFO: Extracted packet for processing {"connection_id":55054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:39:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:39:04] 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-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:39: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-04-26 19: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-04-26 19:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:39:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":55054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:39:04] local.INFO: GPS data processed {"connection_id":55054,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:39:04] local.INFO: Acknowledgment sent {"connection_id":55054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:39:27] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:39:27] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:39:27] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:39:32] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:39:32] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:39:32] local.INFO: IMEI packet received {"connection_id":54822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":54822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:39:34] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:39:34] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:39:34] local.INFO: Packet analysis {"connection_id":54822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:39:34] local.INFO: Extracted packet for processing {"connection_id":54822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:39: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-04-26 19:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:39:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:39:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":54822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:39:34] local.INFO: GPS data processed {"connection_id":54822,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:39:34] local.INFO: Acknowledgment sent {"connection_id":54822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:40:09] local.INFO: TCP Data received {"connection_id":54822,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:40:09] local.INFO: Processing buffer {"connection_id":54822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:40:09] local.INFO: Packet analysis {"connection_id":54822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:40:09] local.INFO: Extracted packet for processing {"connection_id":54822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:40: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-04-26 19: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-04-26 19:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":54822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:40:09] local.INFO: GPS data processed {"connection_id":54822,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:40:09] local.INFO: Acknowledgment sent {"connection_id":54822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:40:27] local.INFO: TCP Data received {"connection_id":55725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:40:27] local.INFO: Processing buffer {"connection_id":55725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:40:27] local.INFO: IMEI packet received {"connection_id":55725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":55725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:40:32] local.INFO: TCP Data received {"connection_id":55725,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:40:32] local.INFO: Processing buffer {"connection_id":55725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:40:32] local.INFO: IMEI packet received {"connection_id":55725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":55725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:40:33] local.INFO: TCP Data received {"connection_id":55725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:40:33] local.INFO: Processing buffer {"connection_id":55725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1bd960012d196ac0071fec50003c00e624..."} 
[2026-04-26 19:40:33] local.INFO: Packet analysis {"connection_id":55725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:40:33] local.INFO: Extracted packet for processing {"connection_id":55725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1b"} 
[2026-04-26 19:40:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":36,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966275840001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212316000,"timestamp_ms":1777212316000,"timestamp_seconds":1777212316,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1bd960"} 
[2026-04-26 19:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:40:33] 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-04-26 19:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:40: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-04-26 19:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966275840001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966275840001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:40:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:40:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966275840001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":55725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:40:33] local.INFO: GPS data processed {"connection_id":55725,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:40:33] local.INFO: Acknowledgment sent {"connection_id":55725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:40:48] local.INFO: TCP Data received {"connection_id":55724,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:40:48] local.INFO: Processing buffer {"connection_id":55724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:40:48] local.INFO: IMEI packet received {"connection_id":55724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":55724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:40:49] local.INFO: TCP Data received {"connection_id":55724,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:40:49] local.INFO: Processing buffer {"connection_id":55724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:40:49] local.INFO: Packet analysis {"connection_id":55724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1c"} 
[2026-04-26 19:40:49] local.INFO: Extracted packet for processing {"connection_id":55724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1c"} 
[2026-04-26 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966292480001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777212381000,"timestamp_ms":1777212381000,"timestamp_seconds":1777212381,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1cd748"} 
[2026-04-26 19:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:40:49] 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-04-26 19: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-04-26 19:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:40:49] 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-04-26 19:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966292480001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966292480001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:40:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:40:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:40:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966292480001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":55724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:40:49] local.INFO: GPS data processed {"connection_id":55724,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:40:49] local.INFO: Acknowledgment sent {"connection_id":55724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:41:07] local.INFO: TCP Data received {"connection_id":55725,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:41:07] local.INFO: Processing buffer {"connection_id":55725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:41:07] local.INFO: Packet analysis {"connection_id":55725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:41:07] local.INFO: Extracted packet for processing {"connection_id":55725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:41: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-04-26 19:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:41:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":55725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:41:07] local.INFO: GPS data processed {"connection_id":55725,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:41:07] local.INFO: Acknowledgment sent {"connection_id":55725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:41:11] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:11] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:11] local.INFO: IMEI packet received {"connection_id":55055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":55055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:41:12] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:12] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:12] local.INFO: IMEI packet received {"connection_id":55055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":55055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:41:13] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:13] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:13] local.INFO: IMEI packet received {"connection_id":55056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":55056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:41:15] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:15] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:41:15] local.INFO: IMEI packet received {"connection_id":55055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":55055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:41:19] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:19] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:19] local.INFO: IMEI packet received {"connection_id":55056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":55056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:41:23] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:23] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:41:23] local.INFO: IMEI packet received {"connection_id":55056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":55056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:41:24] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:41:24] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:41:24] local.INFO: Packet analysis {"connection_id":55056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1c"} 
[2026-04-26 19:41:24] local.INFO: Extracted packet for processing {"connection_id":55056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1c"} 
[2026-04-26 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966292480001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777212381000,"timestamp_ms":1777212381000,"timestamp_seconds":1777212381,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1cd748"} 
[2026-04-26 19:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:41:24] 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-04-26 19:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966292480001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966292480001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:41:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966292480001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":55056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:41:24] local.INFO: GPS data processed {"connection_id":55056,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:41:24] local.INFO: Acknowledgment sent {"connection_id":55056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:41:24] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 19:41:24] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-04-26 19:41:24] local.INFO: Packet analysis {"connection_id":55055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 19:41:24] local.INFO: Extracted packet for processing {"connection_id":55055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 19:41:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 19:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76554635250237440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 19:41:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 19:41:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 19:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55055,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 19:41:24] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 19:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":55055,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 19:41:24] local.ERROR: GPS data processing failed {"connection_id":55055,"error":"No valid data to process"} 
[2026-04-26 19:41:24] local.INFO: Acknowledgment sent {"connection_id":55055,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 19:41:27] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:41:27] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:41:27] local.INFO: IMEI packet received {"connection_id":54824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":54824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:41:32] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:41:32] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:41:32] local.INFO: IMEI packet received {"connection_id":54824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":54824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:41:33] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:41:33] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:41:33] local.INFO: Packet analysis {"connection_id":54824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:41:33] local.INFO: Extracted packet for processing {"connection_id":54824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:41: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-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:41: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-04-26 19: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-04-26 19:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:41:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":54824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:41:33] local.INFO: GPS data processed {"connection_id":54824,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:41:33] local.INFO: Acknowledgment sent {"connection_id":54824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:41:56] local.INFO: TCP Data received {"connection_id":55056,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:41:56] local.INFO: Processing buffer {"connection_id":55056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca1cd748012cb299c007822ce00049001228..."} 
[2026-04-26 19:41:56] local.INFO: Packet analysis {"connection_id":55056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca1c"} 
[2026-04-26 19:41:56] local.INFO: Extracted packet for processing {"connection_id":55056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca1c"} 
[2026-04-26 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":40,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966292480001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777212381000,"timestamp_ms":1777212381000,"timestamp_seconds":1777212381,"priority":1,"record_length":96,"hex_timestamp":"0000019dca1cd748"} 
[2026-04-26 19:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966292480001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966292480001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:41:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:41:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966292480001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":55056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:41:56] local.INFO: GPS data processed {"connection_id":55056,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:41:56] local.INFO: Acknowledgment sent {"connection_id":55056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:42:04] local.INFO: TCP Data received {"connection_id":54824,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:42:04] local.INFO: Processing buffer {"connection_id":54824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:42:04] local.INFO: Packet analysis {"connection_id":54824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:42:04] local.INFO: Extracted packet for processing {"connection_id":54824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:42:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":54824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:42:04] local.INFO: GPS data processed {"connection_id":54824,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:42:04] local.INFO: Acknowledgment sent {"connection_id":54824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:42:08] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 19:42:08] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-04-26 19:42:08] local.INFO: Packet analysis {"connection_id":55055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 19:42:08] local.INFO: Extracted packet for processing {"connection_id":55055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 19:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76554635250237440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 19:42:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 19:42:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55055,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 19:42:08] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":55055,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 19:42:08] local.ERROR: GPS data processing failed {"connection_id":55055,"error":"No valid data to process"} 
[2026-04-26 19:42:08] local.INFO: Acknowledgment sent {"connection_id":55055,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 19:42:13] local.INFO: TCP Data received {"connection_id":55057,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:42:13] local.INFO: Processing buffer {"connection_id":55057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:42:13] local.INFO: IMEI packet received {"connection_id":55057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":55057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:42:18] local.INFO: TCP Data received {"connection_id":55057,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:42:18] local.INFO: Processing buffer {"connection_id":55057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:42:18] local.INFO: IMEI packet received {"connection_id":55057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":55057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:42:19] local.INFO: TCP Data received {"connection_id":55057,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:42:19] local.INFO: Processing buffer {"connection_id":55057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:42:19] local.INFO: Packet analysis {"connection_id":55057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:42:19] local.INFO: Extracted packet for processing {"connection_id":55057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:42: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-04-26 19:42:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:42:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:42:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:42:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:42: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:42:19] 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-04-26 19:42: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-04-26 19:42:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:42:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:42:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:42:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:42:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:42:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:42:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:42:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:42:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:42:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:42:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:42:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:42:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:42:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:42:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:42:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:42:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":55057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:42:19] local.INFO: GPS data processed {"connection_id":55057,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:42:19] local.INFO: Acknowledgment sent {"connection_id":55057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:42:27] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:42:27] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:42:27] local.INFO: IMEI packet received {"connection_id":54825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":54825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:42:32] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:42:32] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:42:32] local.INFO: IMEI packet received {"connection_id":54825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":54825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:42:34] local.INFO: TCP Data received {"connection_id":54825,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:42:34] local.INFO: Processing buffer {"connection_id":54825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:42:34] local.INFO: Packet analysis {"connection_id":54825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:42:34] local.INFO: Extracted packet for processing {"connection_id":54825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:42:34] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:42: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-04-26 19:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:42:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:42:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":54825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:42:35] local.INFO: GPS data processed {"connection_id":54825,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:42:35] local.INFO: Acknowledgment sent {"connection_id":54825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:42:37] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-04-26 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-04-26 19:42:37] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-04-26 19:42:37] local.INFO: Packet analysis {"connection_id":55055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 19:42:37] local.INFO: Extracted packet for processing {"connection_id":55055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 19:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76554635250237440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 19:42:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 19:42:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55055,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 19:42:37] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":55055,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 19:42:37] local.ERROR: GPS data processing failed {"connection_id":55055,"error":"No valid data to process"} 
[2026-04-26 19:42:37] local.INFO: Acknowledgment sent {"connection_id":55055,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 19:42:50] local.INFO: TCP Data received {"connection_id":55057,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:42:50] local.INFO: Processing buffer {"connection_id":55057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:42:50] local.INFO: Packet analysis {"connection_id":55057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:42:50] local.INFO: Extracted packet for processing {"connection_id":55057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:42:50] 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-04-26 19: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-04-26 19:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:42:50] 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-04-26 19:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:42:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:42:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":55057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:42:50] local.INFO: GPS data processed {"connection_id":55057,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:42:50] local.INFO: Acknowledgment sent {"connection_id":55057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:43:07] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-04-26 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-04-26 19:43:07] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-04-26 19:43:07] local.INFO: Packet analysis {"connection_id":55055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 19:43:07] local.INFO: Extracted packet for processing {"connection_id":55055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 19:43:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76554635250237440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,116,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 19:43:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 19:43:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 19:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55055,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":0} 
[2026-04-26 19:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 19:43:07] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 19:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":55055,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 19:43:07] local.ERROR: GPS data processing failed {"connection_id":55055,"error":"No valid data to process"} 
[2026-04-26 19:43:07] local.INFO: Acknowledgment sent {"connection_id":55055,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 19:43:13] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:43:13] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:43:13] local.INFO: IMEI packet received {"connection_id":54826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":54826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:43:18] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:43:18] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:43:18] local.INFO: IMEI packet received {"connection_id":54826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":54826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:43:19] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:43:19] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:43:19] local.INFO: Packet analysis {"connection_id":54826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:43:19] local.INFO: Extracted packet for processing {"connection_id":54826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:43:19] 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-04-26 19: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-04-26 19:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":54826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:43:19] local.INFO: GPS data processed {"connection_id":54826,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:43:19] local.INFO: Acknowledgment sent {"connection_id":54826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:43:27] local.INFO: TCP Data received {"connection_id":54970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:43:27] local.INFO: Processing buffer {"connection_id":54970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:43:27] local.INFO: IMEI packet received {"connection_id":54970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":54970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:43:36] local.INFO: TCP Data received {"connection_id":54970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:43:36] local.INFO: Processing buffer {"connection_id":54970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:43:36] local.INFO: IMEI packet received {"connection_id":54970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":54970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:43:37] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2288500100000000000000000000000000..."} 
[2026-04-26 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2288500100000000000000000000000000..."} 
[2026-04-26 19:43:37] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2288500100000000000000000000000000..."} 
[2026-04-26 19:43:37] local.INFO: Packet analysis {"connection_id":55055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca22"} 
[2026-04-26 19:43:37] local.INFO: Extracted packet for processing {"connection_id":55055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca22"} 
[2026-04-26 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76554635250237440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,116,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777212754000,"timestamp_ms":1777212754000,"timestamp_seconds":1777212754,"priority":1,"record_length":96,"hex_timestamp":"0000019dca228850"} 
[2026-04-26 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-26 19:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":55055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":55055,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 19:43:37] local.INFO: GPS data processed {"connection_id":55055,"processed":0,"errors":0,"total":1} 
[2026-04-26 19:43:37] local.INFO: Acknowledgment sent {"connection_id":55055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:43:37] local.INFO: TCP Data received {"connection_id":54970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:43:37] local.INFO: Processing buffer {"connection_id":54970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:43:37] local.INFO: Packet analysis {"connection_id":54970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:43:37] local.INFO: Extracted packet for processing {"connection_id":54970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:43:37] 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-04-26 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:43:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:43:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":54970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:43:37] local.INFO: GPS data processed {"connection_id":54970,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:43:37] local.INFO: Acknowledgment sent {"connection_id":54970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:43:38] local.INFO: TCP Data received {"connection_id":54970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:43:38] local.INFO: Processing buffer {"connection_id":54970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:43:38] local.INFO: Packet analysis {"connection_id":54970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:43:38] local.INFO: Extracted packet for processing {"connection_id":54970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:43: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-04-26 19:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:43:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":54970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:43:38] local.INFO: GPS data processed {"connection_id":54970,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:43:38] local.INFO: Acknowledgment sent {"connection_id":54970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:43:50] local.INFO: TCP Data received {"connection_id":54826,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:43:50] local.INFO: Processing buffer {"connection_id":54826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:43:50] local.INFO: Packet analysis {"connection_id":54826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:43:50] local.INFO: Extracted packet for processing {"connection_id":54826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:43:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:43:50] 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-04-26 19:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:43:50] 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-04-26 19:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:43:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":54826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:43:50] local.INFO: GPS data processed {"connection_id":54826,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:43:50] local.INFO: Acknowledgment sent {"connection_id":54826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:44:07] local.INFO: TCP Data received {"connection_id":55055,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dca22da580100000000000000000000000000..."} 
[2026-04-26 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca22da580100000000000000000000000000..."} 
[2026-04-26 19:44:07] local.INFO: Processing buffer {"connection_id":55055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca22da580100000000000000000000000000..."} 
[2026-04-26 19:44:07] local.INFO: Packet analysis {"connection_id":55055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca22"} 
[2026-04-26 19:44:07] local.INFO: Extracted packet for processing {"connection_id":55055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca22"} 
[2026-04-26 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76554635250237440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,116,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 19:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777212775000,"timestamp_ms":1777212775000,"timestamp_seconds":1777212775,"priority":1,"record_length":96,"hex_timestamp":"0000019dca22da58"} 
[2026-04-26 19:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 19:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":55055,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 19:44:07] local.INFO: GPS data processed {"connection_id":55055,"processed":0,"errors":0,"total":1} 
[2026-04-26 19:44:07] local.INFO: Acknowledgment sent {"connection_id":55055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:44:09] local.INFO: TCP Data received {"connection_id":54970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:44:09] local.INFO: Processing buffer {"connection_id":54970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:44:09] local.INFO: Packet analysis {"connection_id":54970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:44:09] local.INFO: Extracted packet for processing {"connection_id":54970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:44: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-04-26 19:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:44:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:44:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":54970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:44:09] local.INFO: GPS data processed {"connection_id":54970,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:44:09] local.INFO: Acknowledgment sent {"connection_id":54970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:44:18] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:44:18] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:44:18] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:44:19] local.INFO: TCP Data received {"connection_id":54827,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:44:19] local.INFO: Processing buffer {"connection_id":54827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:44:19] local.INFO: IMEI packet received {"connection_id":54827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":54827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:44:23] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:44:23] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:44:23] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:44:24] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:44:24] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:44:24] local.INFO: Packet analysis {"connection_id":55059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:44:24] local.INFO: Extracted packet for processing {"connection_id":55059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:44: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-04-26 19: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-04-26 19:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:44:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":55059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:44:24] local.INFO: GPS data processed {"connection_id":55059,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:44:24] local.INFO: Acknowledgment sent {"connection_id":55059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:44:27] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:44:27] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:44:27] local.INFO: IMEI packet received {"connection_id":54971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":54971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:44:32] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:44:32] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:44:32] local.INFO: IMEI packet received {"connection_id":54971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":54971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:44:38] local.INFO: TCP Data received {"connection_id":54971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:44:38] local.INFO: Processing buffer {"connection_id":54971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:44:38] local.INFO: Packet analysis {"connection_id":54971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:44:38] local.INFO: Extracted packet for processing {"connection_id":54971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:44: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-04-26 19:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54971,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:44: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-04-26 19:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:44:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":54971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:44:38] local.INFO: GPS data processed {"connection_id":54971,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:44:38] local.INFO: Acknowledgment sent {"connection_id":54971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:44:39] local.INFO: TCP Data received {"connection_id":55727,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:44:39] local.INFO: Processing buffer {"connection_id":55727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:44:39] local.INFO: IMEI packet received {"connection_id":55727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":55727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:45:13] local.INFO: TCP Data received {"connection_id":55728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:45:13] local.INFO: Processing buffer {"connection_id":55728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:45:13] local.INFO: IMEI packet received {"connection_id":55728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":55728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:45:18] local.INFO: TCP Data received {"connection_id":55728,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:45:18] local.INFO: Processing buffer {"connection_id":55728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:45:18] local.INFO: IMEI packet received {"connection_id":55728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":55728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:45:19] local.INFO: TCP Data received {"connection_id":55728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:45:19] local.INFO: Processing buffer {"connection_id":55728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:45:19] local.INFO: Packet analysis {"connection_id":55728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:45:19] local.INFO: Extracted packet for processing {"connection_id":55728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:45:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:45:19] 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-04-26 19: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-04-26 19:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:45:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:45:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":55728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:45:19] local.INFO: GPS data processed {"connection_id":55728,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:45:19] local.INFO: Acknowledgment sent {"connection_id":55728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:45:27] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:45:27] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:45:27] local.INFO: IMEI packet received {"connection_id":54828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":54828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:45:32] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:45:32] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:45:32] local.INFO: IMEI packet received {"connection_id":54828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":54828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:45:33] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:45:33] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca207128012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:45:33] local.INFO: Packet analysis {"connection_id":54828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:45:33] local.INFO: Extracted packet for processing {"connection_id":54828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca20"} 
[2026-04-26 19:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966352896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212617000,"timestamp_ms":1777212617000,"timestamp_seconds":1777212617,"priority":1,"record_length":96,"hex_timestamp":"0000019dca207128"} 
[2026-04-26 19:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966352896001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966352896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:45:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966352896001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":54828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:45:33] local.INFO: GPS data processed {"connection_id":54828,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:45:33] local.INFO: Acknowledgment sent {"connection_id":54828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:45:50] local.INFO: TCP Data received {"connection_id":55728,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:45:50] local.INFO: Processing buffer {"connection_id":55728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:45:50] local.INFO: Packet analysis {"connection_id":55728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:45:50] local.INFO: Extracted packet for processing {"connection_id":55728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 19:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:45:50] 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-04-26 19:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:45:50] 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-04-26 19:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:45:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":55728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:45:50] local.INFO: GPS data processed {"connection_id":55728,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:45:50] local.INFO: Acknowledgment sent {"connection_id":55728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:46:04] local.INFO: TCP Data received {"connection_id":54828,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:46:04] local.INFO: Processing buffer {"connection_id":54828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:46:04] local.INFO: Packet analysis {"connection_id":54828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:46:04] local.INFO: Extracted packet for processing {"connection_id":54828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:46: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-04-26 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19: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-04-26 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:46:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":54828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:46:04] local.INFO: GPS data processed {"connection_id":54828,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:46:04] local.INFO: Acknowledgment sent {"connection_id":54828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:46:13] local.INFO: TCP Data received {"connection_id":55729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:46:13] local.INFO: Processing buffer {"connection_id":55729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:46:13] local.INFO: IMEI packet received {"connection_id":55729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":55729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:46:18] local.INFO: TCP Data received {"connection_id":55729,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:46:18] local.INFO: Processing buffer {"connection_id":55729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:46:18] local.INFO: IMEI packet received {"connection_id":55729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":55729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:46:21] local.INFO: TCP Data received {"connection_id":55729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:46:21] local.INFO: Processing buffer {"connection_id":55729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:46:21] local.INFO: Packet analysis {"connection_id":55729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:46:21] local.INFO: Extracted packet for processing {"connection_id":55729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 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-04-26 19:46:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:46:21] 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-04-26 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-04-26 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-04-26 19:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:46:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:46:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":55729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:46:21] local.INFO: GPS data processed {"connection_id":55729,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:46:21] local.INFO: Acknowledgment sent {"connection_id":55729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:46:27] local.INFO: TCP Data received {"connection_id":55730,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:46:27] local.INFO: Processing buffer {"connection_id":55730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:46:27] local.INFO: IMEI packet received {"connection_id":55730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":55730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:46:32] local.INFO: TCP Data received {"connection_id":55730,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:46:32] local.INFO: Processing buffer {"connection_id":55730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:46:32] local.INFO: IMEI packet received {"connection_id":55730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":55730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:46:33] local.INFO: TCP Data received {"connection_id":55730,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:46:33] local.INFO: Processing buffer {"connection_id":55730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:46:33] local.INFO: Packet analysis {"connection_id":55730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:46:33] local.INFO: Extracted packet for processing {"connection_id":55730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:46:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:46: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-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:46:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:46:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":55730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:46:33] local.INFO: GPS data processed {"connection_id":55730,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:46:33] local.INFO: Acknowledgment sent {"connection_id":55730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:46:52] local.INFO: TCP Data received {"connection_id":55729,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:46:52] local.INFO: Processing buffer {"connection_id":55729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca216f10012cb299c007822ce0004c00122a..."} 
[2026-04-26 19:46:52] local.INFO: Packet analysis {"connection_id":55729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:46:52] local.INFO: Extracted packet for processing {"connection_id":55729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca21"} 
[2026-04-26 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966369536001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777212682000,"timestamp_ms":1777212682000,"timestamp_seconds":1777212682,"priority":1,"record_length":96,"hex_timestamp":"0000019dca216f10"} 
[2026-04-26 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-04-26 19:46:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 19:46: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-04-26 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-04-26 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-04-26 19:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:46: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-04-26 19:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966369536001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966369536001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:46:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:46:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:46:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966369536001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":55729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:46:52] local.INFO: GPS data processed {"connection_id":55729,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:46:52] local.INFO: Acknowledgment sent {"connection_id":55729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:47:04] local.INFO: TCP Data received {"connection_id":55730,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:47:04] local.INFO: Processing buffer {"connection_id":55730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:47:04] local.INFO: Packet analysis {"connection_id":55730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:47:04] local.INFO: Extracted packet for processing {"connection_id":55730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:47:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:47: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-04-26 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:47: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-04-26 19: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-04-26 19:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":55730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":55730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":55730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:47: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-04-26 19:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:47:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":55730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:47:04] local.INFO: GPS data processed {"connection_id":55730,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:47:04] local.INFO: Acknowledgment sent {"connection_id":55730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:47:18] local.INFO: TCP Data received {"connection_id":54829,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:47:18] local.INFO: Processing buffer {"connection_id":54829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:47:18] local.INFO: IMEI packet received {"connection_id":54829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":54829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:47:23] local.INFO: TCP Data received {"connection_id":54829,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:47:23] local.INFO: Processing buffer {"connection_id":54829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:47:23] local.INFO: IMEI packet received {"connection_id":54829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":54829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:47:24] local.INFO: TCP Data received {"connection_id":54829,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:47:24] local.INFO: Processing buffer {"connection_id":54829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:47:24] local.INFO: Packet analysis {"connection_id":54829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:47:24] local.INFO: Extracted packet for processing {"connection_id":54829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:47:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:47:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":54829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:47:24] local.INFO: GPS data processed {"connection_id":54829,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:47:24] local.INFO: Acknowledgment sent {"connection_id":54829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:47:32] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:47:32] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:47:32] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:47:37] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:47:37] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:47:37] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:47:38] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:47:38] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:47:38] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:47:38] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:47: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-04-26 19: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:47: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-04-26 19: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-04-26 19:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:47: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-04-26 19:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:47:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:47:38] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:47:38] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:47:55] local.INFO: TCP Data received {"connection_id":54829,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:47:55] local.INFO: Processing buffer {"connection_id":54829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:47:55] local.INFO: Packet analysis {"connection_id":54829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:47:55] local.INFO: Extracted packet for processing {"connection_id":54829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:47:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:47:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:47:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":54829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:47:55] local.INFO: GPS data processed {"connection_id":54829,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:47:55] local.INFO: Acknowledgment sent {"connection_id":54829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:48:07] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:07] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:07] local.INFO: IMEI packet received {"connection_id":54973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":54973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:48:14] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:48:14] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:48:14] local.INFO: IMEI packet received {"connection_id":55062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":55062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:48:19] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:48:19] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:48:19] local.INFO: IMEI packet received {"connection_id":55062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":55062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:48:19] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:19] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:19] local.INFO: Packet analysis {"connection_id":55062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:48:19] local.INFO: Extracted packet for processing {"connection_id":55062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:48:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:48:19] 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-04-26 19:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:48:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:48:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":55062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:48:19] local.INFO: GPS data processed {"connection_id":55062,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:48:19] local.INFO: Acknowledgment sent {"connection_id":55062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:48:23] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:24] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:24] local.INFO: Packet analysis {"connection_id":55062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:48:24] local.INFO: Extracted packet for processing {"connection_id":55062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:48:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:48:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":55062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:48:24] local.INFO: GPS data processed {"connection_id":55062,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:48:24] local.INFO: Acknowledgment sent {"connection_id":55062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:48:37] local.INFO: TCP Data received {"connection_id":55732,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:37] local.INFO: Processing buffer {"connection_id":55732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:37] local.INFO: IMEI packet received {"connection_id":55732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:48:37] local.INFO: IMEI acknowledgment sent {"connection_id":55732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:48:42] local.INFO: TCP Data received {"connection_id":55732,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:42] local.INFO: Processing buffer {"connection_id":55732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:48:42] local.INFO: IMEI packet received {"connection_id":55732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":55732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:48:44] local.INFO: TCP Data received {"connection_id":55732,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:48:44] local.INFO: Processing buffer {"connection_id":55732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:48:44] local.INFO: Packet analysis {"connection_id":55732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:48:44] local.INFO: Extracted packet for processing {"connection_id":55732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48: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-04-26 19:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:48:44] 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-04-26 19:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:48: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-04-26 19:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:48:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:48:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":55732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:48:44] local.INFO: GPS data processed {"connection_id":55732,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:48:44] local.INFO: Acknowledgment sent {"connection_id":55732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:48:55] local.INFO: TCP Data received {"connection_id":55062,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:55] local.INFO: Processing buffer {"connection_id":55062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:48:55] local.INFO: Packet analysis {"connection_id":55062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:48:55] local.INFO: Extracted packet for processing {"connection_id":55062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:48:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:48: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-04-26 19:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:48:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:48:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":55062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:48:55] local.INFO: GPS data processed {"connection_id":55062,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:48:55] local.INFO: Acknowledgment sent {"connection_id":55062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:49:13] local.INFO: TCP Data received {"connection_id":54831,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:49:13] local.INFO: Processing buffer {"connection_id":54831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:49:13] local.INFO: IMEI packet received {"connection_id":54831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":54831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:49:18] local.INFO: TCP Data received {"connection_id":54831,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:49:18] local.INFO: Processing buffer {"connection_id":54831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:49:18] local.INFO: IMEI packet received {"connection_id":54831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":54831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:49:19] local.INFO: TCP Data received {"connection_id":54831,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:49:19] local.INFO: Processing buffer {"connection_id":54831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:49:19] local.INFO: Packet analysis {"connection_id":54831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:49:19] local.INFO: Extracted packet for processing {"connection_id":54831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:49:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:49:19] 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-04-26 19:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:49:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":54831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:49:19] local.INFO: GPS data processed {"connection_id":54831,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:49:19] local.INFO: Acknowledgment sent {"connection_id":54831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:49:32] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:49:32] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:49:32] local.INFO: IMEI packet received {"connection_id":54832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":54832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:49:37] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:49:37] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:49:37] local.INFO: IMEI packet received {"connection_id":54832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":54832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:49:40] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:49:40] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:49:40] local.INFO: Packet analysis {"connection_id":54832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:49:40] local.INFO: Extracted packet for processing {"connection_id":54832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:49: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-04-26 19:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:49:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:49:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":54832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:49:40] local.INFO: GPS data processed {"connection_id":54832,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:49:40] local.INFO: Acknowledgment sent {"connection_id":54832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:49:42] local.INFO: TCP Data received {"connection_id":54832,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:49:42] local.INFO: Processing buffer {"connection_id":54832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:49:42] local.INFO: Packet analysis {"connection_id":54832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:49:42] local.INFO: Extracted packet for processing {"connection_id":54832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:49:42] 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-04-26 19:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":54832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:49:42] local.INFO: GPS data processed {"connection_id":54832,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:49:42] local.INFO: Acknowledgment sent {"connection_id":54832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:49:47] local.INFO: TCP Data received {"connection_id":55733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:49:47] local.INFO: Processing buffer {"connection_id":55733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:49:47] local.INFO: IMEI packet received {"connection_id":55733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:49:47] local.INFO: IMEI acknowledgment sent {"connection_id":55733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:49:55] local.INFO: TCP Data received {"connection_id":54831,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:49:55] local.INFO: Processing buffer {"connection_id":54831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:49:55] local.INFO: Packet analysis {"connection_id":54831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:49:55] local.INFO: Extracted packet for processing {"connection_id":54831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:49: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-04-26 19:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:49:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:49:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:49:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":54831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:49:55] local.INFO: GPS data processed {"connection_id":54831,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:49:55] local.INFO: Acknowledgment sent {"connection_id":54831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:50:06] local.INFO: TCP Data received {"connection_id":55733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55733,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:50:06] local.INFO: Processing buffer {"connection_id":55733,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:50:06] local.INFO: IMEI packet received {"connection_id":55733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":55733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:50:07] local.INFO: TCP Data received {"connection_id":55733,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 19:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55733,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 19:50:07] local.INFO: Processing buffer {"connection_id":55733,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 19:50:07] local.INFO: IMEI packet received {"connection_id":55733,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":55733,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:50:13] local.INFO: TCP Data received {"connection_id":55734,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:50:13] local.INFO: Processing buffer {"connection_id":55734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:50:13] local.INFO: IMEI packet received {"connection_id":55734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":55734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:50:18] local.INFO: TCP Data received {"connection_id":55734,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:50:18] local.INFO: Processing buffer {"connection_id":55734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:50:18] local.INFO: IMEI packet received {"connection_id":55734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":55734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:50:19] local.INFO: TCP Data received {"connection_id":55734,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:50:19] local.INFO: Processing buffer {"connection_id":55734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:50:19] local.INFO: Packet analysis {"connection_id":55734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:50:19] local.INFO: Extracted packet for processing {"connection_id":55734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:50:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:50:19] 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-04-26 19:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:50:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:50:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":55734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:50:19] local.INFO: GPS data processed {"connection_id":55734,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:50:19] local.INFO: Acknowledgment sent {"connection_id":55734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:50:27] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:50:27] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:50:27] local.INFO: IMEI packet received {"connection_id":54833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":54833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:50:32] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:50:32] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:50:32] local.INFO: IMEI packet received {"connection_id":54833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":54833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:50:33] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:50:33] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2508f0012d196ac0071fec50003c00e627..."} 
[2026-04-26 19:50:33] local.INFO: Packet analysis {"connection_id":54833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:50:33] local.INFO: Extracted packet for processing {"connection_id":54833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca25"} 
[2026-04-26 19:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":39,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966429952001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777212918000,"timestamp_ms":1777212918000,"timestamp_seconds":1777212918,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2508f0"} 
[2026-04-26 19:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:50: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-04-26 19:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:50: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-04-26 19:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966429952001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966429952001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:50:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966429952001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":54833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:50:33] local.INFO: GPS data processed {"connection_id":54833,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:50:33] local.INFO: Acknowledgment sent {"connection_id":54833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:50:39] local.INFO: TCP Data received {"connection_id":54975,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:50:39] local.INFO: Processing buffer {"connection_id":54975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:50:39] local.INFO: IMEI packet received {"connection_id":54975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":54975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:50:50] local.INFO: TCP Data received {"connection_id":55734,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:50:50] local.INFO: Processing buffer {"connection_id":55734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:50:50] local.INFO: Packet analysis {"connection_id":55734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:50:50] local.INFO: Extracted packet for processing {"connection_id":55734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:50:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:50:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":55734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:50:50] local.INFO: GPS data processed {"connection_id":55734,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:50:50] local.INFO: Acknowledgment sent {"connection_id":55734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:51:04] local.INFO: TCP Data received {"connection_id":54833,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:04] local.INFO: Processing buffer {"connection_id":54833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:04] local.INFO: Packet analysis {"connection_id":54833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:51:04] local.INFO: Extracted packet for processing {"connection_id":54833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:51:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:51: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-04-26 19:51:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:51:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":54833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:51:04] local.INFO: GPS data processed {"connection_id":54833,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:51:04] local.INFO: Acknowledgment sent {"connection_id":54833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:51:18] local.INFO: TCP Data received {"connection_id":55735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:51:18] local.INFO: Processing buffer {"connection_id":55735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:51:18] local.INFO: IMEI packet received {"connection_id":55735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":55735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:51:23] local.INFO: TCP Data received {"connection_id":55735,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:51:23] local.INFO: Processing buffer {"connection_id":55735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:51:23] local.INFO: IMEI packet received {"connection_id":55735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":55735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:51:27] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:51:27] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:51:27] local.INFO: IMEI packet received {"connection_id":54976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":54976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:51:31] local.INFO: TCP Data received {"connection_id":55735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:51:31] local.INFO: Processing buffer {"connection_id":55735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:51:31] local.INFO: Packet analysis {"connection_id":55735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:51:31] local.INFO: Extracted packet for processing {"connection_id":55735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:51:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19: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-04-26 19:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:51:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":55735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:51:31] local.INFO: GPS data processed {"connection_id":55735,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:51:31] local.INFO: Acknowledgment sent {"connection_id":55735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:51:32] local.INFO: TCP Data received {"connection_id":55735,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:51:32] local.INFO: Processing buffer {"connection_id":55735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2606d8012cb299c007822ce0004d00122a..."} 
[2026-04-26 19:51:32] local.INFO: Packet analysis {"connection_id":55735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:51:32] local.INFO: Extracted packet for processing {"connection_id":55735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca26"} 
[2026-04-26 19:51:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966446592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777212983000,"timestamp_ms":1777212983000,"timestamp_seconds":1777212983,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2606d8"} 
[2026-04-26 19:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 19:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:51: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-04-26 19:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966446592001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966446592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:51:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:51:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966446592001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":55735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:51:32] local.INFO: GPS data processed {"connection_id":55735,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:51:32] local.INFO: Acknowledgment sent {"connection_id":55735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:51:32] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:51:32] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:51:32] local.INFO: IMEI packet received {"connection_id":54976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":54976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:51:33] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:33] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:33] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:51:33] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19: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-04-26 19: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-04-26 19:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:51:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:51:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:51:33] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:51:33] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:51:37] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:37] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:51:37] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:51:37] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:51:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:51:38] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:51:38] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:52:09] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:52:09] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:52:09] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:52:09] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:52: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-04-26 19:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:52: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-04-26 19:52: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-04-26 19:52: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-04-26 19:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:52:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:52:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:52:09] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:52:09] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:52:13] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:52:13] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:52:13] local.INFO: IMEI packet received {"connection_id":54834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":54834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:52:18] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:52:18] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:52:18] local.INFO: IMEI packet received {"connection_id":54834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:52:19] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:52:19] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:52:19] local.INFO: Packet analysis {"connection_id":54834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:52:19] local.INFO: Extracted packet for processing {"connection_id":54834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:52: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-04-26 19:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 19:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:52: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-04-26 19:52: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-04-26 19:52: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-04-26 19:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:52:19] 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-04-26 19:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:52:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":54834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:52:19] local.INFO: GPS data processed {"connection_id":54834,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:52:19] local.INFO: Acknowledgment sent {"connection_id":54834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:52:27] local.INFO: TCP Data received {"connection_id":55064,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:52:27] local.INFO: Processing buffer {"connection_id":55064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:52:27] local.INFO: IMEI packet received {"connection_id":55064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":55064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:52:32] local.INFO: TCP Data received {"connection_id":55064,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:52:32] local.INFO: Processing buffer {"connection_id":55064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:52:32] local.INFO: IMEI packet received {"connection_id":55064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":55064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:52:33] local.INFO: TCP Data received {"connection_id":55064,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:52:33] local.INFO: Processing buffer {"connection_id":55064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:52:33] local.INFO: Packet analysis {"connection_id":55064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:52:33] local.INFO: Extracted packet for processing {"connection_id":55064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:52: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-04-26 19: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-04-26 19:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:52:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":55064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:52:33] local.INFO: GPS data processed {"connection_id":55064,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:52:33] local.INFO: Acknowledgment sent {"connection_id":55064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:52:50] local.INFO: TCP Data received {"connection_id":54834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:52:50] local.INFO: Processing buffer {"connection_id":54834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:52:50] local.INFO: Packet analysis {"connection_id":54834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:52:50] local.INFO: Extracted packet for processing {"connection_id":54834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 19:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:52:50] 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-04-26 19:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:52:50] 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-04-26 19:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:52:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":54834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:52:50] local.INFO: GPS data processed {"connection_id":54834,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:52:50] local.INFO: Acknowledgment sent {"connection_id":54834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:53:13] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:13] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:13] local.INFO: IMEI packet received {"connection_id":54978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":54978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:53:20] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:20] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:20] local.INFO: IMEI packet received {"connection_id":54978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":54978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:53:23] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:23] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:53:23] local.INFO: IMEI packet received {"connection_id":54978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":54978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:53:25] local.INFO: TCP Data received {"connection_id":54978,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:53:25] local.INFO: Processing buffer {"connection_id":54978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:53:25] local.INFO: Packet analysis {"connection_id":54978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:53:25] local.INFO: Extracted packet for processing {"connection_id":54978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:53:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:53:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 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-04-26 19:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:53:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 19:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:53:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:53:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:53:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:53:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":54978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:53:25] local.INFO: GPS data processed {"connection_id":54978,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:53:25] local.INFO: Acknowledgment sent {"connection_id":54978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:53:27] local.INFO: TCP Data received {"connection_id":55736,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:27] local.INFO: Processing buffer {"connection_id":55736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:27] local.INFO: IMEI packet received {"connection_id":55736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":55736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:53:32] local.INFO: TCP Data received {"connection_id":55736,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:32] local.INFO: Processing buffer {"connection_id":55736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:32] local.INFO: IMEI packet received {"connection_id":55736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":55736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:53:37] local.INFO: TCP Data received {"connection_id":55736,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:37] local.INFO: Processing buffer {"connection_id":55736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:53:37] local.INFO: IMEI packet received {"connection_id":55736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":55736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:53:38] local.INFO: TCP Data received {"connection_id":55736,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:53:38] local.INFO: Processing buffer {"connection_id":55736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:53:38] local.INFO: Packet analysis {"connection_id":55736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:53:38] local.INFO: Extracted packet for processing {"connection_id":55736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:53:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":55736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:53:38] local.INFO: GPS data processed {"connection_id":55736,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:53:38] local.INFO: Acknowledgment sent {"connection_id":55736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:54:09] local.INFO: TCP Data received {"connection_id":55736,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:54:09] local.INFO: Processing buffer {"connection_id":55736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:54:09] local.INFO: Packet analysis {"connection_id":55736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:54:09] local.INFO: Extracted packet for processing {"connection_id":55736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:54:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:54:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":55736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:54:09] local.INFO: GPS data processed {"connection_id":55736,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:54:09] local.INFO: Acknowledgment sent {"connection_id":55736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:54:13] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:54:13] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:54:13] local.INFO: IMEI packet received {"connection_id":54979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":54979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:54:18] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:54:18] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:54:18] local.INFO: IMEI packet received {"connection_id":54979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":54979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:54:19] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:54:19] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:54:19] local.INFO: Packet analysis {"connection_id":54979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:54:19] local.INFO: Extracted packet for processing {"connection_id":54979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 19:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:54: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-04-26 19: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-04-26 19:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:54:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":54979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:54:19] local.INFO: GPS data processed {"connection_id":54979,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:54:19] local.INFO: Acknowledgment sent {"connection_id":54979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:54:27] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:54:27] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:54:27] local.INFO: IMEI packet received {"connection_id":54835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":54835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:54:32] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:54:32] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:54:32] local.INFO: IMEI packet received {"connection_id":54835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":54835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:54:33] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:54:33] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:54:33] local.INFO: Packet analysis {"connection_id":54835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:54:33] local.INFO: Extracted packet for processing {"connection_id":54835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:54: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-04-26 19: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-04-26 19:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:54:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":54835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:54:33] local.INFO: GPS data processed {"connection_id":54835,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:54:33] local.INFO: Acknowledgment sent {"connection_id":54835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:54:50] local.INFO: TCP Data received {"connection_id":54979,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:54:51] local.INFO: Processing buffer {"connection_id":54979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:54:51] local.INFO: Packet analysis {"connection_id":54979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:54:51] local.INFO: Extracted packet for processing {"connection_id":54979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 19:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:54: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-04-26 19:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:54: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-04-26 19:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":54979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:54:51] local.INFO: GPS data processed {"connection_id":54979,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:54:51] local.INFO: Acknowledgment sent {"connection_id":54979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:55:04] local.INFO: TCP Data received {"connection_id":54835,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:55:04] local.INFO: Processing buffer {"connection_id":54835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:55:04] local.INFO: Packet analysis {"connection_id":54835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:55:04] local.INFO: Extracted packet for processing {"connection_id":54835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19: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":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:55: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-04-26 19: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-04-26 19:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:55:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":54835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:55:04] local.INFO: GPS data processed {"connection_id":54835,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:55:04] local.INFO: Acknowledgment sent {"connection_id":54835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:55:11] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:55:11] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:55:11] local.INFO: IMEI packet received {"connection_id":55737,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":55737,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:55:13] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2d9858012d7bc54005d2ab100009014916..."} 
[2026-04-26 19:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2d9858012d7bc54005d2ab100009014916..."} 
[2026-04-26 19:55:13] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2d9858012d7bc54005d2ab100009014916..."} 
[2026-04-26 19:55:13] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2d"} 
[2026-04-26 19:55:13] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2d"} 
[2026-04-26 19:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763086144,"raw_latitude":97692432,"longitude_deg":76.3086144,"latitude_deg":9.7692432,"altitude":9,"angle":329,"satellites":22,"speed":18,"hex_longitude":"2d7bc540","hex_latitude":"05d2ab10","is_valid_coordinates":true} 
[2026-04-26 19:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966650368001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76555940920295424,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918886505807181824,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:13] 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-04-26 19:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777213479000,"timestamp_ms":1777213479000,"timestamp_seconds":1777213479,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2d9858"} 
[2026-04-26 19:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 19:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966650368001,"66":12461,"209":206,"85":15104,"24":18,"16":76555940920295424,"45":8918886505807181824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 19:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966650368001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:55:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 19:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76555940920295424,"km_value":76555940920295.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918886505807181824,"description":"Unknown IO ID 45"} 
[2026-04-26 19:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966650368001,"power":12461,"unknown_209":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8918886505807181824}} 
[2026-04-26 19:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:55:13] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:55:13] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:55:19] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:55:19] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:55:19] local.INFO: IMEI packet received {"connection_id":55066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":55066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:55:23] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:55:23] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:55:23] local.INFO: IMEI packet received {"connection_id":55066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":55066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:55:24] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:55:24] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:55:24] local.INFO: Packet analysis {"connection_id":55066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:55:24] local.INFO: Extracted packet for processing {"connection_id":55066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:55:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 19:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:55: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-04-26 19:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:55:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":55066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:55:24] local.INFO: GPS data processed {"connection_id":55066,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:55:24] local.INFO: Acknowledgment sent {"connection_id":55066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:55:32] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:32] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:32] local.INFO: IMEI packet received {"connection_id":54981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":54981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:55:37] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:37] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:37] local.INFO: IMEI packet received {"connection_id":54981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":54981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:55:42] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:42] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:55:42] local.INFO: IMEI packet received {"connection_id":54981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":54981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:55:43] local.INFO: TCP Data received {"connection_id":54981,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:55:43] local.INFO: Processing buffer {"connection_id":54981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca29a0b8012d196ac0071fec50003c00e625..."} 
[2026-04-26 19:55:43] local.INFO: Packet analysis {"connection_id":54981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:55:43] local.INFO: Extracted packet for processing {"connection_id":54981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca29"} 
[2026-04-26 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966507008001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55: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-04-26 19:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777213219000,"timestamp_ms":1777213219000,"timestamp_seconds":1777213219,"priority":1,"record_length":96,"hex_timestamp":"0000019dca29a0b8"} 
[2026-04-26 19:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:55: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-04-26 19:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":54981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":54981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":54981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966507008001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966507008001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:55:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966507008001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":54981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:55:43] local.INFO: GPS data processed {"connection_id":54981,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:55:43] local.INFO: Acknowledgment sent {"connection_id":54981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:55:44] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2d9c40012d7bc4c005d2ad080009015516..."} 
[2026-04-26 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2d9c40012d7bc4c005d2ad080009015516..."} 
[2026-04-26 19:55:44] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2d9c40012d7bc4c005d2ad080009015516..."} 
[2026-04-26 19:55:44] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2d"} 
[2026-04-26 19:55:44] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2d"} 
[2026-04-26 19:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763086016,"raw_latitude":97692936,"longitude_deg":76.3086016,"latitude_deg":9.7692936,"altitude":9,"angle":341,"satellites":22,"speed":20,"hex_longitude":"2d7bc4c0","hex_latitude":"05d2ad08","is_valid_coordinates":true} 
[2026-04-26 19:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966650624001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76555966690099200,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918605030830575616,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777213480000,"timestamp_ms":1777213480000,"timestamp_seconds":1777213480,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2d9c40"} 
[2026-04-26 19:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:55:44] 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-04-26 19:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 19:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966650624001,"66":12341,"209":206,"85":15104,"24":20,"16":76555966690099200,"45":8918605030830575616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 19:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966650624001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:55:44] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 19:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76555966690099200,"km_value":76555966690099.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918605030830575616,"description":"Unknown IO ID 45"} 
[2026-04-26 19:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966650624001,"power":12341,"unknown_209":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8918605030830575616}} 
[2026-04-26 19:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:55:44] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:55:44] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:55:55] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:55:55] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2a9ea0012cb299c007822ce0004b00122a..."} 
[2026-04-26 19:55:55] local.INFO: Packet analysis {"connection_id":55066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:55:55] local.INFO: Extracted packet for processing {"connection_id":55066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2a"} 
[2026-04-26 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 19:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966523648001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 19:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777213284000,"timestamp_ms":1777213284000,"timestamp_seconds":1777213284,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2a9ea0"} 
[2026-04-26 19:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 19:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 19:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 19:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966523648001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 19:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 19:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 19:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966523648001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:55:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 19:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 19:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:55:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 19:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966523648001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 19:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":55066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:55:55] local.INFO: GPS data processed {"connection_id":55066,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:55:55] local.INFO: Acknowledgment sent {"connection_id":55066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:56:04] local.INFO: TCP Data received {"connection_id":54836,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:56:04] local.INFO: Processing buffer {"connection_id":54836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:56:04] local.INFO: IMEI packet received {"connection_id":54836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":54836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:56:14] local.INFO: TCP Data received {"connection_id":55738,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:56:14] local.INFO: Processing buffer {"connection_id":55738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:56:14] local.INFO: IMEI packet received {"connection_id":55738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 19:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":55738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:56:15] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2ec908012d7b5e0005d372300008013516..."} 
[2026-04-26 19:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2ec908012d7b5e0005d372300008013516..."} 
[2026-04-26 19:56:15] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2ec908012d7b5e0005d372300008013516..."} 
[2026-04-26 19:56:15] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:56:15] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763059712,"raw_latitude":97743408,"longitude_deg":76.3059712,"latitude_deg":9.7743408,"altitude":8,"angle":309,"satellites":22,"speed":35,"hex_longitude":"2d7b5e00","hex_latitude":"05d37230","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966669568001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76558930217533440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892216751776352256,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777213557000,"timestamp_ms":1777213557000,"timestamp_seconds":1777213557,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2ec908"} 
[2026-04-26 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-04-26 19:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 19:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 19:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966669568001,"66":11950,"210":206,"85":15104,"24":35,"16":76558930217533440,"45":8892216751776352256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 19:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966669568001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:56:15] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 19:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76558930217533440,"km_value":76558930217533.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892216751776352256,"description":"Unknown IO ID 45"} 
[2026-04-26 19:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966669568001,"power":11950,"unknown_210":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8892216751776352256}} 
[2026-04-26 19:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:56:15] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:56:15] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:56:27] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:56:27] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:56:27] local.INFO: IMEI packet received {"connection_id":54837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":54837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:56:32] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:56:32] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:56:32] local.INFO: IMEI packet received {"connection_id":54837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":54837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:56:35] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:56:35] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:56:35] local.INFO: Packet analysis {"connection_id":54837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:56:35] local.INFO: Extracted packet for processing {"connection_id":54837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":54837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":54837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":54837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:56:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:56:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":54837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:56:35] local.INFO: GPS data processed {"connection_id":54837,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:56:35] local.INFO: Acknowledgment sent {"connection_id":54837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:56:37] local.INFO: TCP Data received {"connection_id":55738,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:56:37] local.INFO: Processing buffer {"connection_id":55738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 19:56:37] local.INFO: IMEI packet received {"connection_id":55738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":55738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:56:37] local.INFO: TCP Data received {"connection_id":55738,"ip":"42.106.6.40","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 19:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55738,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 19:56:37] local.INFO: Processing buffer {"connection_id":55738,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 19:56:37] local.INFO: IMEI packet received {"connection_id":55738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 19:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":55738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:56:39] local.INFO: TCP Data received {"connection_id":55067,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:56:39] local.INFO: Processing buffer {"connection_id":55067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 19:56:39] local.INFO: IMEI packet received {"connection_id":55067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 19:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":55067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:56:46] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2ee460012d7b4f8005d37d480008014b16..."} 
[2026-04-26 19:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2ee460012d7b4f8005d37d480008014b16..."} 
[2026-04-26 19:56:46] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2ee460012d7b4f8005d37d480008014b16..."} 
[2026-04-26 19:56:46] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:56:46] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763056000,"raw_latitude":97746248,"longitude_deg":76.3056,"latitude_deg":9.7746248,"altitude":8,"angle":331,"satellites":22,"speed":24,"hex_longitude":"2d7b4f80","hex_latitude":"05d37d48","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966670592001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76559157850800128,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889542739498250240,"note":"Value kept but may cause issues"} 
[2026-04-26 19:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777213564000,"timestamp_ms":1777213564000,"timestamp_seconds":1777213564,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2ee460"} 
[2026-04-26 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-04-26 19:56:46] 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-04-26 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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-26 19:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 19:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966670592001,"66":12200,"210":206,"85":15104,"24":24,"16":76559157850800128,"45":8889542739498250240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 19:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966670592001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:56:46] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 19:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76559157850800128,"km_value":76559157850800.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889542739498250240,"description":"Unknown IO ID 45"} 
[2026-04-26 19:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966670592001,"power":12200,"unknown_210":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8889542739498250240}} 
[2026-04-26 19:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:56:46] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:56:46] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:57:06] local.INFO: TCP Data received {"connection_id":54837,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:57:06] local.INFO: Processing buffer {"connection_id":54837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:57:06] local.INFO: Packet analysis {"connection_id":54837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:57:06] local.INFO: Extracted packet for processing {"connection_id":54837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":54837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":54837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":54837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:57:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":54837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:57:06] local.INFO: GPS data processed {"connection_id":54837,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:57:06] local.INFO: Acknowledgment sent {"connection_id":54837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:57:17] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2ee848012d7b4ec005d37fc80008015816..."} 
[2026-04-26 19:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2ee848012d7b4ec005d37fc80008015816..."} 
[2026-04-26 19:57:17] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2ee848012d7b4ec005d37fc80008015816..."} 
[2026-04-26 19:57:17] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:57:17] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:57:17] local.INFO: GPS Element Parsed {"raw_longitude":763055808,"raw_latitude":97746888,"longitude_deg":76.3055808,"latitude_deg":9.7746888,"altitude":8,"angle":344,"satellites":22,"speed":27,"hex_longitude":"2d7b4ec0","hex_latitude":"05d37fc8","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966672384001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76559192210538496,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885461352336672768,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777213565000,"timestamp_ms":1777213565000,"timestamp_seconds":1777213565,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2ee848"} 
[2026-04-26 19:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:57:17] 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-04-26 19: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":168,"data_length":795,"current_offset":136} 
[2026-04-26 19:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966672384001,"66":12200,"210":206,"85":15104,"24":27,"16":76559192210538496,"45":8885461352336672768},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 19:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966672384001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:57:17] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 19:57:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76559192210538496,"km_value":76559192210538.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885461352336672768,"description":"Unknown IO ID 45"} 
[2026-04-26 19:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966672384001,"power":12200,"unknown_210":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8885461352336672768}} 
[2026-04-26 19:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:57:17] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:57:17] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:57:27] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:57:27] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:57:27] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:57:32] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:57:32] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:57:32] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:57:33] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:57:33] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:57:33] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:57:33] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:57: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-04-26 19:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:57:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:57:33] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:57:33] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:57:49] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2f0f58012d7b484005d3a3a8000a015c16..."} 
[2026-04-26 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2f0f58012d7b484005d3a3a8000a015c16..."} 
[2026-04-26 19:57:49] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2f0f58012d7b484005d3a3a8000a015c16..."} 
[2026-04-26 19:57:49] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2f"} 
[2026-04-26 19:57:49] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2f"} 
[2026-04-26 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":97756072,"longitude_deg":76.3054144,"latitude_deg":9.7756072,"altitude":10,"angle":348,"satellites":22,"speed":43,"hex_longitude":"2d7b4840","hex_latitude":"05d3a3a8","is_valid_coordinates":true} 
[2026-04-26 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966672640001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76559643182104576,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246104303616,"note":"Value kept but may cause issues"} 
[2026-04-26 19:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777213575000,"timestamp_ms":1777213575000,"timestamp_seconds":1777213575,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2f0f58"} 
[2026-04-26 19:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:57:49] 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-04-26 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-26 19:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966672640001,"66":12189,"210":206,"85":15104,"24":43,"16":76559643182104576,"45":8885250246104303616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,85,24,16,45]} 
[2026-04-26 19:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966672640001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:57:49] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-26 19:57:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76559643182104576,"km_value":76559643182104.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246104303616,"description":"Unknown IO ID 45"} 
[2026-04-26 19:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966672640001,"power":12189,"unknown_210":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8885250246104303616}} 
[2026-04-26 19:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:57:49] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:57:49] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:58:04] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:58:04] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:58:04] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:58:04] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:58: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-04-26 19:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:58:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:58:04] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:58:04] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:58:20] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca30d478012d7b088005d52d600009016417..."} 
[2026-04-26 19:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca30d478012d7b088005d52d600009016417..."} 
[2026-04-26 19:58:20] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca30d478012d7b088005d52d600009016417..."} 
[2026-04-26 19:58:20] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:58:20] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":763037824,"raw_latitude":97856864,"longitude_deg":76.3037824,"latitude_deg":9.7856864,"altitude":9,"angle":356,"satellites":23,"speed":36,"hex_longitude":"2d7b0880","hex_latitude":"05d52d60","is_valid_coordinates":true} 
[2026-04-26 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-04-26 19:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966702848001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76564646819004416,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322597871616,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777213691000,"timestamp_ms":1777213691000,"timestamp_seconds":1777213691,"priority":1,"record_length":96,"hex_timestamp":"0000019dca30d478"} 
[2026-04-26 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-04-26 19:58:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 19:58:20] 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-04-26 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-04-26 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-04-26 19:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966702848001,"66":11917,"5":206,"85":15104,"24":36,"16":76564646819004416,"45":8867517322597871616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 19:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966702848001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:58:20] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 19:58:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76564646819004416,"km_value":76564646819004.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322597871616,"description":"Unknown IO ID 45"} 
[2026-04-26 19:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966702848001,"power":11917,"unknown_5":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8867517322597871616}} 
[2026-04-26 19:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:58:20] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:58:20] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:58:32] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:32] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:32] local.INFO: IMEI packet received {"connection_id":54840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":54840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:58:40] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:40] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:40] local.INFO: IMEI packet received {"connection_id":54840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:58:40] local.INFO: IMEI acknowledgment sent {"connection_id":54840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:58:42] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:42] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:58:42] local.INFO: IMEI packet received {"connection_id":54840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":54840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:58:50] local.INFO: TCP Data received {"connection_id":55737,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca30dc48012d7b08c005d534b00008000717..."} 
[2026-04-26 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca30dc48012d7b08c005d534b00008000717..."} 
[2026-04-26 19:58:50] local.INFO: Processing buffer {"connection_id":55737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca30dc48012d7b08c005d534b00008000717..."} 
[2026-04-26 19:58:50] local.INFO: Packet analysis {"connection_id":55737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:58:50] local.INFO: Extracted packet for processing {"connection_id":55737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:58:50] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":97858736,"longitude_deg":76.3037888,"latitude_deg":9.7858736,"altitude":8,"angle":7,"satellites":23,"speed":38,"hex_longitude":"2d7b08c0","hex_latitude":"05d534b0","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966704896001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76564737013317632,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865476629018533888,"note":"Value kept but may cause issues"} 
[2026-04-26 19:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777213693000,"timestamp_ms":1777213693000,"timestamp_seconds":1777213693,"priority":1,"record_length":96,"hex_timestamp":"0000019dca30dc48"} 
[2026-04-26 19:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:58:50] 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-04-26 19: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-26 19:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55737,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966704896001,"66":12069,"5":206,"85":15104,"24":38,"16":76564737013317632,"45":8865476629018533888},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 19:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966704896001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:58:50] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 19:58:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76564737013317632,"km_value":76564737013317.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865476629018533888,"description":"Unknown IO ID 45"} 
[2026-04-26 19:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966704896001,"power":12069,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8865476629018533888}} 
[2026-04-26 19:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":55737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:58:50] local.INFO: GPS data processed {"connection_id":55737,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:58:50] local.INFO: Acknowledgment sent {"connection_id":55737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:01] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:01] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:01] local.INFO: Packet analysis {"connection_id":54840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:01] local.INFO: Extracted packet for processing {"connection_id":54840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:01] 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-04-26 19:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":54840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":54840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":54840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:59:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":54840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:01] local.INFO: GPS data processed {"connection_id":54840,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:01] local.INFO: Acknowledgment sent {"connection_id":54840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:02] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:02] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:02] local.INFO: Packet analysis {"connection_id":54840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:02] local.INFO: Extracted packet for processing {"connection_id":54840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:02] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":54840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":54840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":54840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:59:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":54840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:02] local.INFO: GPS data processed {"connection_id":54840,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:02] local.INFO: Acknowledgment sent {"connection_id":54840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:09] local.INFO: TCP Data received {"connection_id":54840,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:09] local.INFO: Processing buffer {"connection_id":54840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:09] local.INFO: Packet analysis {"connection_id":54840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:09] local.INFO: Extracted packet for processing {"connection_id":54840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:59: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-04-26 19:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":54840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":54840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":54840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:59:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":54840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:09] local.INFO: GPS data processed {"connection_id":54840,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:09] local.INFO: Acknowledgment sent {"connection_id":54840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:12] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:12] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:12] local.INFO: IMEI packet received {"connection_id":54984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 19:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":54984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:59:17] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:17] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:17] local.INFO: IMEI packet received {"connection_id":54984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":54984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:59:17] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:17] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:17] local.INFO: IMEI packet received {"connection_id":54984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":54984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:59:21] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:21] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 19:59:21] local.INFO: IMEI packet received {"connection_id":54984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 19:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":54984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:59:22] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca30e418012d7b0a8005d53c480007001217..."} 
[2026-04-26 19:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca30e418012d7b0a8005d53c480007001217..."} 
[2026-04-26 19:59:22] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca30e418012d7b0a8005d53c480007001217..."} 
[2026-04-26 19:59:22] local.INFO: Packet analysis {"connection_id":54984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:59:22] local.INFO: Extracted packet for processing {"connection_id":54984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:59:22] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":97860680,"longitude_deg":76.3038336,"latitude_deg":9.786068,"altitude":7,"angle":18,"satellites":23,"speed":41,"hex_longitude":"2d7b0a80","hex_latitude":"05d53c48","is_valid_coordinates":true} 
[2026-04-26 19:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966705408001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76564835797565440,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997763190784,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777213695000,"timestamp_ms":1777213695000,"timestamp_seconds":1777213695,"priority":1,"record_length":96,"hex_timestamp":"0000019dca30e418"} 
[2026-04-26 19:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 19:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 19:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966705408001,"66":12232,"5":206,"85":15104,"24":41,"16":76564835797565440,"45":8865546997763190784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 19:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966705408001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:22] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 19:59:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76564835797565440,"km_value":76564835797565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997763190784,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966705408001,"power":12232,"unknown_5":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8865546997763190784}} 
[2026-04-26 19:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":54984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:22] local.INFO: GPS data processed {"connection_id":54984,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:22] local.INFO: Acknowledgment sent {"connection_id":54984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:26] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca30f7a0012d7b0f8005d54ec80007000417..."} 
[2026-04-26 19:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca30f7a0012d7b0f8005d54ec80007000417..."} 
[2026-04-26 19:59:26] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca30f7a0012d7b0f8005d54ec80007000417..."} 
[2026-04-26 19:59:26] local.INFO: Packet analysis {"connection_id":54984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:59:26] local.INFO: Extracted packet for processing {"connection_id":54984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca30"} 
[2026-04-26 19:59:26] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":97865416,"longitude_deg":76.3039616,"latitude_deg":9.7865416,"altitude":7,"angle":4,"satellites":23,"speed":31,"hex_longitude":"2d7b0f80","hex_latitude":"05d54ec8","is_valid_coordinates":true} 
[2026-04-26 19: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-04-26 19:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966705920001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76565072020766720,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039578972932096,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777213700000,"timestamp_ms":1777213700000,"timestamp_seconds":1777213700,"priority":1,"record_length":96,"hex_timestamp":"0000019dca30f7a0"} 
[2026-04-26 19:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:26] 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-04-26 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 19:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19: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-04-26 19:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966705920001,"66":11895,"5":206,"85":15104,"24":31,"16":76565072020766720,"45":8866039578972932096},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 19:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966705920001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:26] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 19:59:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76565072020766720,"km_value":76565072020766.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039578972932096,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966705920001,"power":11895,"unknown_5":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8866039578972932096}} 
[2026-04-26 19:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":54984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:26] local.INFO: GPS data processed {"connection_id":54984,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:26] local.INFO: Acknowledgment sent {"connection_id":54984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:27] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:59:27] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:59:27] local.INFO: IMEI packet received {"connection_id":54985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 19:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":54985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 19:59:32] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:59:32] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 19:59:32] local.INFO: IMEI packet received {"connection_id":54985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 19:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":54985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 19:59:33] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:33] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2e3880012d196ac0071fec50003c00e626..."} 
[2026-04-26 19:59:33] local.INFO: Packet analysis {"connection_id":54985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:33] local.INFO: Extracted packet for processing {"connection_id":54985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2e"} 
[2026-04-26 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":756640448,"raw_latitude":119532624,"longitude_deg":75.6640448,"latitude_deg":11.9532624,"altitude":60,"angle":230,"satellites":38,"speed":0,"hex_longitude":"2d196ac0","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-04-26 19:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966584064001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891221276557312,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831487335312412672,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777213520000,"timestamp_ms":1777213520000,"timestamp_seconds":1777213520,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2e3880"} 
[2026-04-26 19:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 19:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 19:59: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-04-26 19:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 19:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 19:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 19:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966584064001,"66":2166,"106":206,"83":41984,"24":0,"16":114891221276557312,"45":1831487335312412672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 19:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 19:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 19:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966584064001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 19:59:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 19:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891221276557312,"km_value":114891221276557.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831487335312412672,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966584064001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831487335312412672}} 
[2026-04-26 19:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":54985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:33] local.INFO: GPS data processed {"connection_id":54985,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:33] local.INFO: Acknowledgment sent {"connection_id":54985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 19:59:59] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca310f10012d7b0f4005d562b00007015f17..."} 
[2026-04-26 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca310f10012d7b0f4005d562b00007015f17..."} 
[2026-04-26 19:59:59] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca310f10012d7b0f4005d562b00007015f17..."} 
[2026-04-26 19:59:59] local.INFO: Packet analysis {"connection_id":54984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca31"} 
[2026-04-26 19:59:59] local.INFO: Extracted packet for processing {"connection_id":54984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca31"} 
[2026-04-26 19:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":97870512,"longitude_deg":76.3039552,"latitude_deg":9.7870512,"altitude":7,"angle":351,"satellites":23,"speed":38,"hex_longitude":"2d7b0f40","hex_latitude":"05d562b0","is_valid_coordinates":true} 
[2026-04-26 19:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 19:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966707200001,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76565321128869888,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446953857697792,"note":"Value kept but may cause issues"} 
[2026-04-26 19:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 19:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777213706000,"timestamp_ms":1777213706000,"timestamp_seconds":1777213706,"priority":1,"record_length":96,"hex_timestamp":"0000019dca310f10"} 
[2026-04-26 19:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 19:59:59] 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-04-26 19:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-26 19:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 19:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 19:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 19:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 19:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":54984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 19:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 19:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 19:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 19:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 19:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966707200001,"66":12058,"5":206,"85":15104,"24":38,"16":76565321128869888,"45":8867446953857697792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-04-26 19:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 19:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 19:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966707200001,"description":"Unknown IO ID 0"} 
[2026-04-26 19:59:59] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-26 19:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 19:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76565321128869888,"km_value":76565321128869.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 19:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446953857697792,"description":"Unknown IO ID 45"} 
[2026-04-26 19:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966707200001,"power":12058,"unknown_5":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8867446953857697792}} 
[2026-04-26 19:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":54984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 19:59:59] local.INFO: GPS data processed {"connection_id":54984,"processed":1,"errors":0,"total":1} 
[2026-04-26 19:59:59] local.INFO: Acknowledgment sent {"connection_id":54984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:00:30] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca328de0012d7ad3c005d695d80008016017..."} 
[2026-04-26 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca328de0012d7ad3c005d695d80008016017..."} 
[2026-04-26 20:00:30] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca328de0012d7ad3c005d695d80008016017..."} 
[2026-04-26 20:00:30] local.INFO: Packet analysis {"connection_id":54984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca32"} 
[2026-04-26 20:00:30] local.INFO: Extracted packet for processing {"connection_id":54984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca32"} 
[2026-04-26 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763024320,"raw_latitude":97949144,"longitude_deg":76.302432,"latitude_deg":9.7949144,"altitude":8,"angle":352,"satellites":23,"speed":33,"hex_longitude":"2d7ad3c0","hex_latitude":"05d695d8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966731008001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76569233844076544,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851262142715961344,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777213804000,"timestamp_ms":1777213804000,"timestamp_seconds":1777213804,"priority":1,"record_length":96,"hex_timestamp":"0000019dca328de0"} 
[2026-04-26 20:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:00:30] 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-04-26 20: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3392257752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388435467860705280,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184142831821,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":838174721,"corrected_to":0} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620844445936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2918383822,"corrected_to":0} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931246594,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526094,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":48,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":245,"raw_value":1642449583736833,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":87,"raw_value":1657362046267689472,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":124,"raw_value":57788153621009723,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":49,"raw_value":7277818292679376901,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":213,"raw_value":-6239737253634173184,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-26 20:00:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,243,85,24,241,157,16,6,63,45,90,12,23,10,66,52,128,81,1,240,168,227,202,214,4,113,205,41,206,234,239,47,5,2,48,245,87,124,49,213,34],"length":632,"final_offset":762,"validated_count":41,"validation_warnings":[{"io_id":202,"original":838174721,"validated":0},{"io_id":205,"original":2918383822,"validated":0}]} 
[2026-04-26 20:00:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648518445127696384,"timestamp_seconds":648518445127696.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966731008001,"66":12004,"243":206,"85":15104,"24":33,"16":76569233844076544,"45":8851262142715961344},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-04-26 20:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966731008001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:00:30] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-26 20:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76569233844076544,"km_value":76569233844076.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851262142715961344,"description":"Unknown IO ID 45"} 
[2026-04-26 20:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966731008001,"power":12004,"unknown_243":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8851262142715961344}} 
[2026-04-26 20:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":54984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:00:30] local.INFO: GPS data processed {"connection_id":54984,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:00:30] local.INFO: Acknowledgment sent {"connection_id":54984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:01:03] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca32b8d8012d7acdc005d6b9f00009015717..."} 
[2026-04-26 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca32b8d8012d7acdc005d6b9f00009015717..."} 
[2026-04-26 20:01:03] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca32b8d8012d7acdc005d6b9f00009015717..."} 
[2026-04-26 20:01:03] local.INFO: Packet analysis {"connection_id":54984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca32"} 
[2026-04-26 20:01:03] local.INFO: Extracted packet for processing {"connection_id":54984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca32"} 
[2026-04-26 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763022784,"raw_latitude":97958384,"longitude_deg":76.3022784,"latitude_deg":9.7958384,"altitude":9,"angle":343,"satellites":23,"speed":36,"hex_longitude":"2d7acdc0","hex_latitude":"05d6b9f0","is_valid_coordinates":true} 
[2026-04-26 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966733824001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76569689110609920,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850628824020670464,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1777213815000,"timestamp_ms":1777213815000,"timestamp_seconds":1777213815,"priority":1,"record_length":96,"hex_timestamp":"0000019dca32b8d8"} 
[2026-04-26 20:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:01:03] 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-04-26 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 20:01:03] 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-04-26 20:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":54984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966733824001,"66":12113,"243":206,"85":15104,"24":36,"16":76569689110609920,"45":8850628824020670464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,85,24,16,45]} 
[2026-04-26 20:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966733824001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:01:03] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-04-26 20:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76569689110609920,"km_value":76569689110609.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850628824020670464,"description":"Unknown IO ID 45"} 
[2026-04-26 20:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966733824001,"power":12113,"unknown_243":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8850628824020670464}} 
[2026-04-26 20:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":54984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:01:03] local.INFO: GPS data processed {"connection_id":54984,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:01:03] local.INFO: Acknowledgment sent {"connection_id":54984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:01:34] local.INFO: TCP Data received {"connection_id":54984,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ca48012d7a948005d7bfb80008000919..."} 
[2026-04-26 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ca48012d7a948005d7bfb80008000919..."} 
[2026-04-26 20:01:34] local.INFO: Processing buffer {"connection_id":54984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ca48012d7a948005d7bfb80008000919..."} 
[2026-04-26 20:01:34] local.INFO: Packet analysis {"connection_id":54984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:01:34] local.INFO: Extracted packet for processing {"connection_id":54984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763008128,"raw_latitude":98025400,"longitude_deg":76.3008128,"latitude_deg":9.80254,"altitude":8,"angle":9,"satellites":25,"speed":36,"hex_longitude":"2d7a9480","hex_latitude":"05d7bfb8","is_valid_coordinates":true} 
[2026-04-26 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76573060659937280,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832614425530269696,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777213885000,"timestamp_ms":1777213885000,"timestamp_seconds":1777213885,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ca48"} 
[2026-04-26 20:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":54984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":54984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754048001,"66":12058,"245":206,"85":15104,"24":36,"16":76573060659937280,"45":8832614425530269696},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 20:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76573060659937280,"km_value":76573060659937.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832614425530269696,"description":"Unknown IO ID 45"} 
[2026-04-26 20:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754048001,"power":12058,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8832614425530269696}} 
[2026-04-26 20:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":54984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:01:34] local.INFO: GPS data processed {"connection_id":54984,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:01:34] local.INFO: Acknowledgment sent {"connection_id":54984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:01:38] local.INFO: TCP Data received {"connection_id":55742,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:01:38] local.INFO: Processing buffer {"connection_id":55742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:01:38] local.INFO: IMEI packet received {"connection_id":55742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":55742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:01:39] local.INFO: TCP Data received {"connection_id":55742,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca2f3668012cb299c007822ce0004900122a..."} 
[2026-04-26 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca2f3668012cb299c007822ce0004900122a..."} 
[2026-04-26 20:01:39] local.INFO: Processing buffer {"connection_id":55742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca2f3668012cb299c007822ce0004900122a..."} 
[2026-04-26 20:01:39] local.INFO: Packet analysis {"connection_id":55742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca2f"} 
[2026-04-26 20:01:39] local.INFO: Extracted packet for processing {"connection_id":55742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca2f"} 
[2026-04-26 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966600704001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777213585000,"timestamp_ms":1777213585000,"timestamp_seconds":1777213585,"priority":1,"record_length":96,"hex_timestamp":"0000019dca2f3668"} 
[2026-04-26 20:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:01:39] 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-04-26 20:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:01: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-04-26 20:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966600704001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966600704001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:01:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:01:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:01:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966600704001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":55742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:01:39] local.INFO: GPS data processed {"connection_id":55742,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:01:39] local.INFO: Acknowledgment sent {"connection_id":55742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:02:04] local.INFO: TCP Data received {"connection_id":54987,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:02:04] local.INFO: Processing buffer {"connection_id":54987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:02:04] local.INFO: IMEI packet received {"connection_id":54987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":54987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:02:12] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:12] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:12] local.INFO: IMEI packet received {"connection_id":54988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":54988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:02:13] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:13] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:13] local.INFO: IMEI packet received {"connection_id":55068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":55068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:02:20] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:20] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:20] local.INFO: IMEI packet received {"connection_id":55068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":55068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:02:23] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:23] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:02:23] local.INFO: IMEI packet received {"connection_id":55068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":55068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:02:29] local.INFO: TCP Data received {"connection_id":55068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:02:29] local.INFO: Processing buffer {"connection_id":55068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:02:29] local.INFO: Packet analysis {"connection_id":55068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:02:29] local.INFO: Extracted packet for processing {"connection_id":55068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:02:29] 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-04-26 20:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:02: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-04-26 20:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:02:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":55068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:02:29] local.INFO: GPS data processed {"connection_id":55068,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:02:29] local.INFO: Acknowledgment sent {"connection_id":55068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:02:39] local.INFO: TCP Data received {"connection_id":55743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:02:39] local.INFO: Processing buffer {"connection_id":55743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:02:39] local.INFO: IMEI packet received {"connection_id":55743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":55743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:02:41] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:41] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:41] local.INFO: IMEI packet received {"connection_id":54988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":54988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:02:44] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:44] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:44] local.INFO: IMEI packet received {"connection_id":54988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":54988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:02:45] local.INFO: TCP Data received {"connection_id":54988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:45] local.INFO: Processing buffer {"connection_id":54988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:02:45] local.INFO: IMEI packet received {"connection_id":54988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":54988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:03:14] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:03:14] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:03:14] local.INFO: IMEI packet received {"connection_id":55070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":55070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:03:18] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:03:18] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:03:18] local.INFO: IMEI packet received {"connection_id":55070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":55070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:03:19] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:03:19] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:03:19] local.INFO: Packet analysis {"connection_id":55070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:03:19] local.INFO: Extracted packet for processing {"connection_id":55070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:03:19] 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-04-26 20:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:03: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-04-26 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:03:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":55070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:03:19] local.INFO: GPS data processed {"connection_id":55070,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:03:19] local.INFO: Acknowledgment sent {"connection_id":55070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:03:52] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:03:52] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:03:52] local.INFO: Packet analysis {"connection_id":55070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:03:52] local.INFO: Extracted packet for processing {"connection_id":55070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:03:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:03:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:03:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:03:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:03:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:03:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:03:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:03:52] 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-04-26 20: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-04-26 20:03:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:03:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:03:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:03:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:03:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20: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-04-26 20:03:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:03:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:03:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:03:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:03:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:03:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:03:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:03:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:03:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:03:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:03:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:03:52] local.INFO: DEBUG: GPS processor result {"connection_id":55070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:03:52] local.INFO: GPS data processed {"connection_id":55070,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:03:52] local.INFO: Acknowledgment sent {"connection_id":55070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:04:13] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:04:13] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:04:13] local.INFO: IMEI packet received {"connection_id":54989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":54989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:04:18] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:04:18] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:04:18] local.INFO: IMEI packet received {"connection_id":54989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":54989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:04:25] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:04:25] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:04:25] local.INFO: Packet analysis {"connection_id":54989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:04:25] local.INFO: Extracted packet for processing {"connection_id":54989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:04:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:04:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:04:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:04:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:04:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:04:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20: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-04-26 20:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:04:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:04:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:04:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":54989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:04:25] local.INFO: GPS data processed {"connection_id":54989,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:04:25] local.INFO: Acknowledgment sent {"connection_id":54989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:04:56] local.INFO: TCP Data received {"connection_id":54989,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:04:56] local.INFO: Processing buffer {"connection_id":54989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:04:56] local.INFO: Packet analysis {"connection_id":54989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:04:56] local.INFO: Extracted packet for processing {"connection_id":54989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:04:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:04:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":54989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":54989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20: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-04-26 20:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:04:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:04:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":54989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:04:56] local.INFO: GPS data processed {"connection_id":54989,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:04:56] local.INFO: Acknowledgment sent {"connection_id":54989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:05:13] local.INFO: TCP Data received {"connection_id":55071,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:05:13] local.INFO: Processing buffer {"connection_id":55071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:05:13] local.INFO: IMEI packet received {"connection_id":55071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":55071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:05:20] local.INFO: TCP Data received {"connection_id":55071,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:05:20] local.INFO: Processing buffer {"connection_id":55071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:05:20] local.INFO: IMEI packet received {"connection_id":55071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":55071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:05:21] local.INFO: TCP Data received {"connection_id":55071,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:05:21] local.INFO: Processing buffer {"connection_id":55071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:05:21] local.INFO: Packet analysis {"connection_id":55071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:05:21] local.INFO: Extracted packet for processing {"connection_id":55071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:05:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:05:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:05:21] 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-04-26 20: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-04-26 20:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:05:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:05:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:05:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":55071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:05:21] local.INFO: GPS data processed {"connection_id":55071,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:05:21] local.INFO: Acknowledgment sent {"connection_id":55071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:05:52] local.INFO: TCP Data received {"connection_id":55071,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:05:52] local.INFO: Processing buffer {"connection_id":55071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:05:52] local.INFO: Packet analysis {"connection_id":55071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:05:52] local.INFO: Extracted packet for processing {"connection_id":55071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:05:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:05:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:05:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:05:52] 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-04-26 20: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-04-26 20:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:05:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:05:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:05:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":55071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:05:52] local.INFO: GPS data processed {"connection_id":55071,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:05:52] local.INFO: Acknowledgment sent {"connection_id":55071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:06:18] local.INFO: TCP Data received {"connection_id":54845,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:18] local.INFO: Processing buffer {"connection_id":54845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:18] local.INFO: IMEI packet received {"connection_id":54845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":54845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:06:23] local.INFO: TCP Data received {"connection_id":54845,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:23] local.INFO: Processing buffer {"connection_id":54845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:23] local.INFO: IMEI packet received {"connection_id":54845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":54845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:06:48] local.INFO: TCP Data received {"connection_id":54845,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:48] local.INFO: Processing buffer {"connection_id":54845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:06:48] local.INFO: IMEI packet received {"connection_id":54845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":54845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:06:55] local.INFO: TCP Data received {"connection_id":54845,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:06:55] local.INFO: Processing buffer {"connection_id":54845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca33ce30012cb299c007822ce0004900122a..."} 
[2026-04-26 20:06:55] local.INFO: Packet analysis {"connection_id":54845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:06:55] local.INFO: Extracted packet for processing {"connection_id":54845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca33"} 
[2026-04-26 20:06:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966677760001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:06:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777213886000,"timestamp_ms":1777213886000,"timestamp_seconds":1777213886,"priority":1,"record_length":96,"hex_timestamp":"0000019dca33ce30"} 
[2026-04-26 20:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966677760001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966677760001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:06:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:06:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966677760001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":54845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:06:55] local.INFO: GPS data processed {"connection_id":54845,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:06:55] local.INFO: Acknowledgment sent {"connection_id":54845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:07:13] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:13] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:13] local.INFO: IMEI packet received {"connection_id":54991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":54991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:07:19] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:19] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:19] local.INFO: IMEI packet received {"connection_id":54991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":54991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:07:23] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:23] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:07:23] local.INFO: IMEI packet received {"connection_id":54991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":54991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:07:31] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:32] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:32] local.INFO: Packet analysis {"connection_id":54991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:07:32] local.INFO: Extracted packet for processing {"connection_id":54991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:07:32] 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-04-26 20:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:07:32] 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-04-26 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":54991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:07:32] local.INFO: GPS data processed {"connection_id":54991,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:07:32] local.INFO: Acknowledgment sent {"connection_id":54991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:07:32] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:32] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:32] local.INFO: Packet analysis {"connection_id":54991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:07:32] local.INFO: Extracted packet for processing {"connection_id":54991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:07:32] 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-04-26 20:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:07:32] 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-04-26 20:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":54991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:07:32] local.INFO: GPS data processed {"connection_id":54991,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:07:32] local.INFO: Acknowledgment sent {"connection_id":54991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:07:33] local.INFO: TCP Data received {"connection_id":54991,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:33] local.INFO: Processing buffer {"connection_id":54991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:07:33] local.INFO: Packet analysis {"connection_id":54991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:07:33] local.INFO: Extracted packet for processing {"connection_id":54991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:07:33] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:07:33] 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-04-26 20: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-04-26 20:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:07:33] 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-04-26 20:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:07:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:07:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":54991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:07:33] local.INFO: GPS data processed {"connection_id":54991,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:07:33] local.INFO: Acknowledgment sent {"connection_id":54991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:07:45] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:07:45] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:07:45] local.INFO: IMEI packet received {"connection_id":54990,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":54990,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:07:46] local.INFO: TCP Data received {"connection_id":54990,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca395440012d791b4005daa458000801041c..."} 
[2026-04-26 20:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca395440012d791b4005daa458000801041c..."} 
[2026-04-26 20:07:46] local.INFO: Processing buffer {"connection_id":54990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca395440012d791b4005daa458000801041c..."} 
[2026-04-26 20:07:46] local.INFO: Packet analysis {"connection_id":54990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:07:46] local.INFO: Extracted packet for processing {"connection_id":54990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":762911552,"raw_latitude":98215000,"longitude_deg":76.2911552,"latitude_deg":9.8215,"altitude":8,"angle":260,"satellites":28,"speed":49,"hex_longitude":"2d791b40","hex_latitude":"05daa458","is_valid_coordinates":true} 
[2026-04-26 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-04-26 20:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966845184001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76586349288751104,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8737264777218912256,"note":"Value kept but may cause issues"} 
[2026-04-26 20:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1777214248000,"timestamp_ms":1777214248000,"timestamp_seconds":1777214248,"priority":1,"record_length":96,"hex_timestamp":"0000019dca395440"} 
[2026-04-26 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-04-26 20:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 20:07: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-04-26 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-04-26 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-04-26 20:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":54990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":54990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":54990,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966845184001,"66":12232,"229":206,"85":15104,"24":49,"16":76586349288751104,"45":8737264777218912256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966845184001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:07:46] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:07:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76586349288751104,"km_value":76586349288751.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8737264777218912256,"description":"Unknown IO ID 45"} 
[2026-04-26 20:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966845184001,"power":12232,"unknown_229":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8737264777218912256}} 
[2026-04-26 20:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":54990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:07:46] local.INFO: GPS data processed {"connection_id":54990,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:07:46] local.INFO: Acknowledgment sent {"connection_id":54990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:08:04] local.INFO: TCP Data received {"connection_id":54846,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:08:04] local.INFO: Processing buffer {"connection_id":54846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:08:04] local.INFO: IMEI packet received {"connection_id":54846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":54846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:08:11] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:08:11] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:08:11] local.INFO: IMEI packet received {"connection_id":54992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":54992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:08:13] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:08:13] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:08:13] local.INFO: IMEI packet received {"connection_id":55072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":55072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:08:17] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:08:17] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:08:17] local.INFO: IMEI packet received {"connection_id":54992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":54992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:08:18] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca397380012d78f68005da9d38000801021d..."} 
[2026-04-26 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca397380012d78f68005da9d38000801021d..."} 
[2026-04-26 20:08:18] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca397380012d78f68005da9d38000801021d..."} 
[2026-04-26 20:08:18] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:08:18] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":762902144,"raw_latitude":98213176,"longitude_deg":76.2902144,"latitude_deg":9.8213176,"altitude":8,"angle":258,"satellites":29,"speed":40,"hex_longitude":"2d78f680","hex_latitude":"05da9d38","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966847488001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76586804555284480,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8726639096847685632,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777214256000,"timestamp_ms":1777214256000,"timestamp_seconds":1777214256,"priority":1,"record_length":96,"hex_timestamp":"0000019dca397380"} 
[2026-04-26 20:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 20:08: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-04-26 20: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-04-26 20:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966847488001,"66":12189,"229":206,"85":15104,"24":40,"16":76586804555284480,"45":8726639096847685632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966847488001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:08:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:08:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76586804555284480,"km_value":76586804555284.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8726639096847685632,"description":"Unknown IO ID 45"} 
[2026-04-26 20:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966847488001,"power":12189,"unknown_229":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8726639096847685632}} 
[2026-04-26 20:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:08:18] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:08:18] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:08:18] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:08:18] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:08:18] local.INFO: IMEI packet received {"connection_id":55072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":55072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:08:19] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:08:19] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:08:19] local.INFO: Packet analysis {"connection_id":55072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:08:19] local.INFO: Extracted packet for processing {"connection_id":55072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:08:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:08:19] 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-04-26 20: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-04-26 20:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:08: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-04-26 20:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:08:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":55072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:08:19] local.INFO: GPS data processed {"connection_id":55072,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:08:19] local.INFO: Acknowledgment sent {"connection_id":55072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:08:21] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca398ed8012d78e3c005da99a8000801121c..."} 
[2026-04-26 20:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca398ed8012d78e3c005da99a8000801121c..."} 
[2026-04-26 20:08:21] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca398ed8012d78e3c005da99a8000801121c..."} 
[2026-04-26 20:08:21] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:08:21] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:08:21] local.INFO: GPS Element Parsed {"raw_longitude":762897344,"raw_latitude":98212264,"longitude_deg":76.2897344,"latitude_deg":9.8212264,"altitude":8,"angle":274,"satellites":28,"speed":14,"hex_longitude":"2d78e3c0","hex_latitude":"05da99a8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966849536001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76587040778485760,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8716294891453102080,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777214263000,"timestamp_ms":1777214263000,"timestamp_seconds":1777214263,"priority":1,"record_length":96,"hex_timestamp":"0000019dca398ed8"} 
[2026-04-26 20:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:08:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-04-26 20:08:21] 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-04-26 20: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-04-26 20:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966849536001,"66":12135,"229":206,"85":15104,"24":14,"16":76587040778485760,"45":8716294891453102080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966849536001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:08:21] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:08:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76587040778485760,"km_value":76587040778485.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8716294891453102080,"description":"Unknown IO ID 45"} 
[2026-04-26 20:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966849536001,"power":12135,"unknown_229":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8716294891453102080}} 
[2026-04-26 20:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:08:21] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:08:21] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:08:44] local.INFO: TCP Data received {"connection_id":55748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:08:44] local.INFO: Processing buffer {"connection_id":55748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:08:44] local.INFO: IMEI packet received {"connection_id":55748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":55748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:08:50] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:08:50] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:08:50] local.INFO: Packet analysis {"connection_id":55072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:08:50] local.INFO: Extracted packet for processing {"connection_id":55072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:08:50] 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-04-26 20:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:08: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-04-26 20:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:08:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":55072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:08:50] local.INFO: GPS data processed {"connection_id":55072,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:08:50] local.INFO: Acknowledgment sent {"connection_id":55072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:08:55] local.INFO: TCP Data received {"connection_id":54992,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3992c0012d78e28005da99e8000801241d..."} 
[2026-04-26 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3992c0012d78e28005da99e8000801241d..."} 
[2026-04-26 20:08:55] local.INFO: Processing buffer {"connection_id":54992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3992c0012d78e28005da99e8000801241d..."} 
[2026-04-26 20:08:55] local.INFO: Packet analysis {"connection_id":54992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:08:55] local.INFO: Extracted packet for processing {"connection_id":54992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":762897024,"raw_latitude":98212328,"longitude_deg":76.2897024,"latitude_deg":9.8212328,"altitude":8,"angle":292,"satellites":29,"speed":12,"hex_longitude":"2d78e280","hex_latitude":"05da99e8","is_valid_coordinates":true} 
[2026-04-26 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966851328001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76587053663387648,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8711017235639543808,"note":"Value kept but may cause issues"} 
[2026-04-26 20:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777214264000,"timestamp_ms":1777214264000,"timestamp_seconds":1777214264,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3992c0"} 
[2026-04-26 20:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 20:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966851328001,"66":12135,"229":206,"85":15104,"24":12,"16":76587053663387648,"45":8711017235639543808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966851328001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:08:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:08:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76587053663387648,"km_value":76587053663387.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8711017235639543808,"description":"Unknown IO ID 45"} 
[2026-04-26 20:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966851328001,"power":12135,"unknown_229":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8711017235639543808}} 
[2026-04-26 20:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":54992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:08:55] local.INFO: GPS data processed {"connection_id":54992,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:08:55] local.INFO: Acknowledgment sent {"connection_id":54992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:09:11] local.INFO: TCP Data received {"connection_id":55749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:09:11] local.INFO: Processing buffer {"connection_id":55749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:09:11] local.INFO: IMEI packet received {"connection_id":55749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":55749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:09:13] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:09:13] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:09:13] local.INFO: IMEI packet received {"connection_id":54847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":54847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:09:14] local.INFO: TCP Data received {"connection_id":55748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:09:14] local.INFO: Processing buffer {"connection_id":55748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:09:14] local.INFO: IMEI packet received {"connection_id":55748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 20:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":55748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:09:15] local.INFO: TCP Data received {"connection_id":55748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:09:15] local.INFO: Processing buffer {"connection_id":55748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:09:15] local.INFO: IMEI packet received {"connection_id":55748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 20:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":55748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:09:16] local.INFO: TCP Data received {"connection_id":55749,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:09:16] local.INFO: Processing buffer {"connection_id":55749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:09:16] local.INFO: IMEI packet received {"connection_id":55749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":55749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:09:17] local.INFO: TCP Data received {"connection_id":55749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3996a8012d78e1c005da9a880008013b1d..."} 
[2026-04-26 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3996a8012d78e1c005da9a880008013b1d..."} 
[2026-04-26 20:09:17] local.INFO: Processing buffer {"connection_id":55749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3996a8012d78e1c005da9a880008013b1d..."} 
[2026-04-26 20:09:17] local.INFO: Packet analysis {"connection_id":55749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:09:17] local.INFO: Extracted packet for processing {"connection_id":55749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:09:17] local.INFO: GPS Element Parsed {"raw_longitude":762896832,"raw_latitude":98212488,"longitude_deg":76.2896832,"latitude_deg":9.8212488,"altitude":8,"angle":315,"satellites":29,"speed":11,"hex_longitude":"2d78e1c0","hex_latitude":"05da9a88","is_valid_coordinates":true} 
[2026-04-26 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966851584001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76587066548289536,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710665391918671872,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214265000,"timestamp_ms":1777214265000,"timestamp_seconds":1777214265,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3996a8"} 
[2026-04-26 20:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:09:17] 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-04-26 20:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 20:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966851584001,"66":12135,"229":206,"85":15104,"24":11,"16":76587066548289536,"45":8710665391918671872},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966851584001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:09:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:09:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76587066548289536,"km_value":76587066548289.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710665391918671872,"description":"Unknown IO ID 45"} 
[2026-04-26 20:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966851584001,"power":12135,"unknown_229":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8710665391918671872}} 
[2026-04-26 20:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":55749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:09:17] local.INFO: GPS data processed {"connection_id":55749,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:09:17] local.INFO: Acknowledgment sent {"connection_id":55749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:09:18] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:09:18] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:09:18] local.INFO: IMEI packet received {"connection_id":54847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":54847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:09:19] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:09:19] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:09:19] local.INFO: Packet analysis {"connection_id":54847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:09:19] local.INFO: Extracted packet for processing {"connection_id":54847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:09:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:09:19] 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-04-26 20: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-04-26 20:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:09:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":54847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:09:19] local.INFO: GPS data processed {"connection_id":54847,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:09:19] local.INFO: Acknowledgment sent {"connection_id":54847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:09:48] local.INFO: TCP Data received {"connection_id":55749,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca399a90012d78e0c005da9b880007014a1d..."} 
[2026-04-26 20:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca399a90012d78e0c005da9b880007014a1d..."} 
[2026-04-26 20:09:48] local.INFO: Processing buffer {"connection_id":55749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca399a90012d78e0c005da9b880007014a1d..."} 
[2026-04-26 20:09:48] local.INFO: Packet analysis {"connection_id":55749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:09:48] local.INFO: Extracted packet for processing {"connection_id":55749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:09:48] local.INFO: GPS Element Parsed {"raw_longitude":762896576,"raw_latitude":98212744,"longitude_deg":76.2896576,"latitude_deg":9.8212744,"altitude":7,"angle":330,"satellites":29,"speed":14,"hex_longitude":"2d78e0c0","hex_latitude":"05da9b88","is_valid_coordinates":true} 
[2026-04-26 20:09: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-04-26 20:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966851840001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76587083728158720,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710454285686179840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777214266000,"timestamp_ms":1777214266000,"timestamp_seconds":1777214266,"priority":1,"record_length":96,"hex_timestamp":"0000019dca399a90"} 
[2026-04-26 20:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:09:48] 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-04-26 20:09: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":103,"data_length":795,"current_offset":136} 
[2026-04-26 20:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:09: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-04-26 20:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966851840001,"66":12254,"229":206,"85":15104,"24":14,"16":76587083728158720,"45":8710454285686179840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966851840001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76587083728158720,"km_value":76587083728158.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710454285686179840,"description":"Unknown IO ID 45"} 
[2026-04-26 20:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966851840001,"power":12254,"unknown_229":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8710454285686179840}} 
[2026-04-26 20:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":55749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:09:48] local.INFO: GPS data processed {"connection_id":55749,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:09:48] local.INFO: Acknowledgment sent {"connection_id":55749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:09:50] local.INFO: TCP Data received {"connection_id":54847,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:09:50] local.INFO: Processing buffer {"connection_id":54847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:09:50] local.INFO: Packet analysis {"connection_id":54847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:09:50] local.INFO: Extracted packet for processing {"connection_id":54847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:09:50] 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-04-26 20: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-04-26 20:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:09:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":54847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:09:50] local.INFO: GPS data processed {"connection_id":54847,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:09:50] local.INFO: Acknowledgment sent {"connection_id":54847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:10:13] local.INFO: TCP Data received {"connection_id":55073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:10:13] local.INFO: Processing buffer {"connection_id":55073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:10:13] local.INFO: IMEI packet received {"connection_id":55073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":55073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:10:18] local.INFO: TCP Data received {"connection_id":55073,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:10:18] local.INFO: Processing buffer {"connection_id":55073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:10:18] local.INFO: IMEI packet received {"connection_id":55073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":55073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:10:18] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:10:18] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:10:18] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:10:19] local.INFO: TCP Data received {"connection_id":55073,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:10:19] local.INFO: Processing buffer {"connection_id":55073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:10:19] local.INFO: Packet analysis {"connection_id":55073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:10:19] local.INFO: Extracted packet for processing {"connection_id":55073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:10: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-04-26 20:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:10: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:10:19] 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-04-26 20:10: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-04-26 20:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":55073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:10:19] local.INFO: GPS data processed {"connection_id":55073,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:10:19] local.INFO: Acknowledgment sent {"connection_id":55073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:10:26] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:10:26] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:10:26] local.INFO: IMEI packet received {"connection_id":54849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":54849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:10:28] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca399e78012d78e04005da9cf8000701581d..."} 
[2026-04-26 20:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca399e78012d78e04005da9cf8000701581d..."} 
[2026-04-26 20:10:28] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca399e78012d78e04005da9cf8000701581d..."} 
[2026-04-26 20:10:28] local.INFO: Packet analysis {"connection_id":54849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:10:28] local.INFO: Extracted packet for processing {"connection_id":54849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca39"} 
[2026-04-26 20:10:28] local.INFO: GPS Element Parsed {"raw_longitude":762896448,"raw_latitude":98213112,"longitude_deg":76.2896448,"latitude_deg":9.8213112,"altitude":7,"angle":344,"satellites":29,"speed":17,"hex_longitude":"2d78e040","hex_latitude":"05da9cf8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966852096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76587105202995200,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8710172810709534720,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777214267000,"timestamp_ms":1777214267000,"timestamp_seconds":1777214267,"priority":1,"record_length":96,"hex_timestamp":"0000019dca399e78"} 
[2026-04-26 20:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-26 20:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966852096001,"66":12254,"229":206,"85":15104,"24":17,"16":76587105202995200,"45":8710172810709534720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966852096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:10:28] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76587105202995200,"km_value":76587105202995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8710172810709534720,"description":"Unknown IO ID 45"} 
[2026-04-26 20:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966852096001,"power":12254,"unknown_229":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8710172810709534720}} 
[2026-04-26 20:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":54849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:10:28] local.INFO: GPS data processed {"connection_id":54849,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:10:28] local.INFO: Acknowledgment sent {"connection_id":54849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:10:29] local.INFO: TCP Data received {"connection_id":54849,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3bffd8012d78a28005dbc168000800261e..."} 
[2026-04-26 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3bffd8012d78a28005dbc168000800261e..."} 
[2026-04-26 20:10:29] local.INFO: Processing buffer {"connection_id":54849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3bffd8012d78a28005dbc168000800261e..."} 
[2026-04-26 20:10:29] local.INFO: Packet analysis {"connection_id":54849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3b"} 
[2026-04-26 20:10:29] local.INFO: Extracted packet for processing {"connection_id":54849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3b"} 
[2026-04-26 20:10:29] local.INFO: GPS Element Parsed {"raw_longitude":762880640,"raw_latitude":98287976,"longitude_deg":76.288064,"latitude_deg":9.8287976,"altitude":8,"angle":38,"satellites":30,"speed":8,"hex_longitude":"2d78a280","hex_latitude":"05dbc168","is_valid_coordinates":true} 
[2026-04-26 20:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966892032001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76590828939640832,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692439887195971584,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777214423000,"timestamp_ms":1777214423000,"timestamp_seconds":1777214423,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3bffd8"} 
[2026-04-26 20:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-04-26 20:10:29] 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-04-26 20:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966892032001,"66":12156,"34":206,"85":15104,"24":8,"16":76590828939640832,"45":8692439887195971584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-04-26 20:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966892032001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:10:29] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-26 20:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76590828939640832,"km_value":76590828939640.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692439887195971584,"description":"Unknown IO ID 45"} 
[2026-04-26 20:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966892032001,"power":12156,"unknown_34":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8692439887195971584}} 
[2026-04-26 20:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":54849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:10:29] local.INFO: GPS data processed {"connection_id":54849,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:10:29] local.INFO: Acknowledgment sent {"connection_id":54849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:10:50] local.INFO: TCP Data received {"connection_id":55073,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:10:50] local.INFO: Processing buffer {"connection_id":55073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:10:50] local.INFO: Packet analysis {"connection_id":55073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:10:50] local.INFO: Extracted packet for processing {"connection_id":55073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:10:50] 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-04-26 20: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-04-26 20:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:10:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":55073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:10:50] local.INFO: GPS data processed {"connection_id":55073,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:10:50] local.INFO: Acknowledgment sent {"connection_id":55073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:11:12] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:12] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:12] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:11:16] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:16] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:16] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:11:18] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:11:18] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:11:18] local.INFO: IMEI packet received {"connection_id":54994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":54994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:11:21] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:21] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:11:21] local.INFO: IMEI packet received {"connection_id":54993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":54993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:11:23] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:11:23] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:11:23] local.INFO: IMEI packet received {"connection_id":54994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":54994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:11:24] local.INFO: TCP Data received {"connection_id":54993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3c03c0012d78a30005dbc1e8000800411e..."} 
[2026-04-26 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3c03c0012d78a30005dbc1e8000800411e..."} 
[2026-04-26 20:11:24] local.INFO: Processing buffer {"connection_id":54993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3c03c0012d78a30005dbc1e8000800411e..."} 
[2026-04-26 20:11:24] local.INFO: Packet analysis {"connection_id":54993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:11:24] local.INFO: Extracted packet for processing {"connection_id":54993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":762880768,"raw_latitude":98288104,"longitude_deg":76.2880768,"latitude_deg":9.8288104,"altitude":8,"angle":65,"satellites":30,"speed":7,"hex_longitude":"2d78a300","hex_latitude":"05dbc1e8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966892288001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76590837529575424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692650993428555776,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777214424000,"timestamp_ms":1777214424000,"timestamp_seconds":1777214424,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3c03c0"} 
[2026-04-26 20:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-26 20:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966892288001,"66":12156,"34":206,"85":15104,"24":7,"16":76590837529575424,"45":8692650993428555776},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,45]} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966892288001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76590837529575424,"km_value":76590837529575.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692650993428555776,"description":"Unknown IO ID 45"} 
[2026-04-26 20:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966892288001,"power":12156,"unknown_34":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8692650993428555776}} 
[2026-04-26 20:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":54993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66582,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:11:24] local.INFO: GPS data processed {"connection_id":54993,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:11:24] local.INFO: Acknowledgment sent {"connection_id":54993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:11:24] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:11:24] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:11:24] local.INFO: Packet analysis {"connection_id":54994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:11:24] local.INFO: Extracted packet for processing {"connection_id":54994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:11:24] 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-04-26 20: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-04-26 20:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":54994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:11:24] local.INFO: GPS data processed {"connection_id":54994,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:11:24] local.INFO: Acknowledgment sent {"connection_id":54994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:11:29] local.INFO: TCP Data received {"connection_id":54994,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:11:29] local.INFO: Processing buffer {"connection_id":54994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3865f8012cb299c007822ce0004a00122a..."} 
[2026-04-26 20:11:29] local.INFO: Packet analysis {"connection_id":54994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:11:29] local.INFO: Extracted packet for processing {"connection_id":54994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca38"} 
[2026-04-26 20:11:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966754816001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777214187000,"timestamp_ms":1777214187000,"timestamp_seconds":1777214187,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3865f8"} 
[2026-04-26 20:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:11:29] 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-04-26 20: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-04-26 20:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966754816001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966754816001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:11:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966754816001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":54994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:11:29] local.INFO: GPS data processed {"connection_id":54994,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:11:29] local.INFO: Acknowledgment sent {"connection_id":54994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:12:11] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:12:11] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:12:11] local.INFO: IMEI packet received {"connection_id":54850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":54850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:12:13] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:12:13] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:12:13] local.INFO: IMEI packet received {"connection_id":54851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":54851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:12:16] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:12:16] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:12:16] local.INFO: IMEI packet received {"connection_id":54850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":54850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:12:17] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3ce650012d78aa8005dbe2300008004a21..."} 
[2026-04-26 20:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3ce650012d78aa8005dbe2300008004a21..."} 
[2026-04-26 20:12:17] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3ce650012d78aa8005dbe2300008004a21..."} 
[2026-04-26 20:12:17] local.INFO: Packet analysis {"connection_id":54850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:12:17] local.INFO: Extracted packet for processing {"connection_id":54850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":762882688,"raw_latitude":98296368,"longitude_deg":76.2882688,"latitude_deg":9.8296368,"altitude":8,"angle":74,"satellites":33,"speed":1,"hex_longitude":"2d78aa80","hex_latitude":"05dbe230","is_valid_coordinates":true} 
[2026-04-26 20:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966902016001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76591443119964160,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8695676849430409216,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214482000,"timestamp_ms":1777214482000,"timestamp_seconds":1777214482,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3ce650"} 
[2026-04-26 20:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-26 20:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966902016001,"66":11950,"229":206,"85":15104,"24":1,"16":76591443119964160,"45":8695676849430409216},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966902016001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:12:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76591443119964160,"km_value":76591443119964.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8695676849430409216,"description":"Unknown IO ID 45"} 
[2026-04-26 20:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966902016001,"power":11950,"unknown_229":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8695676849430409216}} 
[2026-04-26 20:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":54850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:12:17] local.INFO: GPS data processed {"connection_id":54850,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:12:17] local.INFO: Acknowledgment sent {"connection_id":54850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:12:18] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:12:18] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:12:18] local.INFO: IMEI packet received {"connection_id":54851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":54851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:12:19] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:12:19] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:12:19] local.INFO: Packet analysis {"connection_id":54851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:12:19] local.INFO: Extracted packet for processing {"connection_id":54851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:12:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:12: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-04-26 20:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:12: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:12:19] 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-04-26 20:12: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-04-26 20:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:12:19] 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-04-26 20:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:12:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":54851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:12:19] local.INFO: GPS data processed {"connection_id":54851,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:12:19] local.INFO: Acknowledgment sent {"connection_id":54851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:12:48] local.INFO: TCP Data received {"connection_id":54850,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3d3858012d78aa8005dbe2280008004a23..."} 
[2026-04-26 20:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3d3858012d78aa8005dbe2280008004a23..."} 
[2026-04-26 20:12:48] local.INFO: Processing buffer {"connection_id":54850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3d3858012d78aa8005dbe2280008004a23..."} 
[2026-04-26 20:12:48] local.INFO: Packet analysis {"connection_id":54850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3d"} 
[2026-04-26 20:12:48] local.INFO: Extracted packet for processing {"connection_id":54850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3d"} 
[2026-04-26 20:12:48] local.INFO: GPS Element Parsed {"raw_longitude":762882688,"raw_latitude":98296360,"longitude_deg":76.2882688,"latitude_deg":9.829636,"altitude":8,"angle":74,"satellites":35,"speed":0,"hex_longitude":"2d78aa80","hex_latitude":"05dbe228","is_valid_coordinates":true} 
[2026-04-26 20:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966907392001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76591447414931456,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8694902793244389376,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777214503000,"timestamp_ms":1777214503000,"timestamp_seconds":1777214503,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3d3858"} 
[2026-04-26 20:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:12:48] 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-04-26 20:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-26 20:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966907392001,"66":11678,"229":206,"85":15104,"24":0,"16":76591447414931456,"45":8694902793244389376},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966907392001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:12:48] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76591447414931456,"km_value":76591447414931.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8694902793244389376,"description":"Unknown IO ID 45"} 
[2026-04-26 20:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966907392001,"power":11678,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8694902793244389376}} 
[2026-04-26 20:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":54850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:12:48] local.INFO: GPS data processed {"connection_id":54850,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:12:48] local.INFO: Acknowledgment sent {"connection_id":54850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:12:50] local.INFO: TCP Data received {"connection_id":54851,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:12:50] local.INFO: Processing buffer {"connection_id":54851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:12:50] local.INFO: Packet analysis {"connection_id":54851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:12:50] local.INFO: Extracted packet for processing {"connection_id":54851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:12:50] 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-04-26 20: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-04-26 20:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:12:50] 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-04-26 20:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:12:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":54851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:12:50] local.INFO: GPS data processed {"connection_id":54851,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:12:50] local.INFO: Acknowledgment sent {"connection_id":54851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:13:10] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:10] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:10] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:13:11] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:11] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:11] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:13:13] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:13] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:13] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:13:16] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:16] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:13:16] local.INFO: IMEI packet received {"connection_id":54852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":54852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:13:17] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3e3640012d78a1c005dbc088000800c726..."} 
[2026-04-26 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3e3640012d78a1c005dbc088000800c726..."} 
[2026-04-26 20:13:17] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3e3640012d78a1c005dbc088000800c726..."} 
[2026-04-26 20:13:17] local.INFO: Packet analysis {"connection_id":54852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:13:17] local.INFO: Extracted packet for processing {"connection_id":54852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:13:17] local.INFO: GPS Element Parsed {"raw_longitude":762880448,"raw_latitude":98287752,"longitude_deg":76.2880448,"latitude_deg":9.8287752,"altitude":8,"angle":199,"satellites":38,"speed":12,"hex_longitude":"2d78a1c0","hex_latitude":"05dbc088","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966929152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76591992875778048,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692650993428563968,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214568000,"timestamp_ms":1777214568000,"timestamp_seconds":1777214568,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3e3640"} 
[2026-04-26 20:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:13: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-04-26 20: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 20:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966929152001,"66":11602,"229":206,"85":15104,"24":12,"16":76591992875778048,"45":8692650993428563968},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966929152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:13:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:13:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76591992875778048,"km_value":76591992875778.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692650993428563968,"description":"Unknown IO ID 45"} 
[2026-04-26 20:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966929152001,"power":11602,"unknown_229":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8692650993428563968}} 
[2026-04-26 20:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":54852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:13:17] local.INFO: GPS data processed {"connection_id":54852,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:13:17] local.INFO: Acknowledgment sent {"connection_id":54852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:13:18] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:18] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:18] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:13:23] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:23] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:13:23] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:13:24] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:13:24] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:13:24] local.INFO: Packet analysis {"connection_id":55074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:13:24] local.INFO: Extracted packet for processing {"connection_id":55074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:13:24] 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-04-26 20:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:13:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:13:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:13:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":55074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:13:24] local.INFO: GPS data processed {"connection_id":55074,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:13:24] local.INFO: Acknowledgment sent {"connection_id":55074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:13:47] local.INFO: TCP Data received {"connection_id":54852,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3e3a28012d78a1c005dbbf48000800b226..."} 
[2026-04-26 20:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3e3a28012d78a1c005dbbf48000800b226..."} 
[2026-04-26 20:13:47] local.INFO: Processing buffer {"connection_id":54852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3e3a28012d78a1c005dbbf48000800b226..."} 
[2026-04-26 20:13:47] local.INFO: Packet analysis {"connection_id":54852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:13:47] local.INFO: Extracted packet for processing {"connection_id":54852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:13:47] local.INFO: GPS Element Parsed {"raw_longitude":762880448,"raw_latitude":98287432,"longitude_deg":76.2880448,"latitude_deg":9.8287432,"altitude":8,"angle":178,"satellites":38,"speed":13,"hex_longitude":"2d78a1c0","hex_latitude":"05dbbf48","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966929408001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76592010055647232,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692439887195965440,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777214569000,"timestamp_ms":1777214569000,"timestamp_seconds":1777214569,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3e3a28"} 
[2026-04-26 20:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 20:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966929408001,"66":11602,"229":206,"85":15104,"24":13,"16":76592010055647232,"45":8692439887195965440},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966929408001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:13:47] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:13:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76592010055647232,"km_value":76592010055647.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692439887195965440,"description":"Unknown IO ID 45"} 
[2026-04-26 20:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966929408001,"power":11602,"unknown_229":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8692439887195965440}} 
[2026-04-26 20:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":54852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66591,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:13:47] local.INFO: GPS data processed {"connection_id":54852,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:13:47] local.INFO: Acknowledgment sent {"connection_id":54852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:13:55] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:13:55] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:13:55] local.INFO: Packet analysis {"connection_id":55074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:13:55] local.INFO: Extracted packet for processing {"connection_id":55074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:13:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:13:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":55074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:13:55] local.INFO: GPS data processed {"connection_id":55074,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:13:55] local.INFO: Acknowledgment sent {"connection_id":55074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:14:11] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:11] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:11] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:14:12] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:12] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:12] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:14:13] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:13] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:13] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:14:16] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:16] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:14:16] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:14:18] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3e8848012d78a48005dbabd0000500ac25..."} 
[2026-04-26 20:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3e8848012d78a48005dbabd0000500ac25..."} 
[2026-04-26 20:14:18] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3e8848012d78a48005dbabd0000500ac25..."} 
[2026-04-26 20:14:18] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:14:18] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:14:18] local.INFO: GPS Element Parsed {"raw_longitude":762881152,"raw_latitude":98282448,"longitude_deg":76.2881152,"latitude_deg":9.8282448,"altitude":5,"angle":172,"satellites":37,"speed":0,"hex_longitude":"2d78a480","hex_latitude":"05dbabd0","is_valid_coordinates":true} 
[2026-04-26 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966929664001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76592254868783104,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8692439887195883520,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777214589000,"timestamp_ms":1777214589000,"timestamp_seconds":1777214589,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3e8848"} 
[2026-04-26 20:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:14: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-04-26 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-26 20:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966929664001,"66":11678,"229":206,"85":15104,"24":0,"16":76592254868783104,"45":8692439887195883520},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966929664001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:14:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:14:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76592254868783104,"km_value":76592254868783.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8692439887195883520,"description":"Unknown IO ID 45"} 
[2026-04-26 20:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966929664001,"power":11678,"unknown_229":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8692439887195883520}} 
[2026-04-26 20:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:14:18] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:14:18] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:14:19] local.INFO: TCP Data received {"connection_id":54995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:14:19] local.INFO: Processing buffer {"connection_id":54995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:14:19] local.INFO: IMEI packet received {"connection_id":54995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":54995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:14:22] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:22] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:22] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:14:23] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:23] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:14:23] local.INFO: IMEI packet received {"connection_id":54853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":54853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:14:24] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:14:24] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:14:24] local.INFO: Packet analysis {"connection_id":54853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:14:24] local.INFO: Extracted packet for processing {"connection_id":54853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:14:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:14:24] 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-04-26 20: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-04-26 20:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:14: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-04-26 20:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:14:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":54853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:14:24] local.INFO: GPS data processed {"connection_id":54853,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:14:24] local.INFO: Acknowledgment sent {"connection_id":54853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:14:28] local.INFO: TCP Data received {"connection_id":54853,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:14:28] local.INFO: Processing buffer {"connection_id":54853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:14:28] local.INFO: Packet analysis {"connection_id":54853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:14:28] local.INFO: Extracted packet for processing {"connection_id":54853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:14:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:14:28] 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-04-26 20:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:14:28] 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-04-26 20:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:14:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":54853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:14:28] local.INFO: GPS data processed {"connection_id":54853,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:14:28] local.INFO: Acknowledgment sent {"connection_id":54853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:14:44] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:14:44] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:14:44] local.INFO: IMEI packet received {"connection_id":55076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":55076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:14:50] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3eda50012d78a64005dba050000500aa26..."} 
[2026-04-26 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3eda50012d78a64005dba050000500aa26..."} 
[2026-04-26 20:14:50] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3eda50012d78a64005dba050000500aa26..."} 
[2026-04-26 20:14:50] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:14:50] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3e"} 
[2026-04-26 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":762881600,"raw_latitude":98279504,"longitude_deg":76.28816,"latitude_deg":9.8279504,"altitude":5,"angle":170,"satellites":38,"speed":22,"hex_longitude":"2d78a640","hex_latitude":"05dba050","is_valid_coordinates":true} 
[2026-04-26 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966934784001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76592400897671168,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693213943380561920,"note":"Value kept but may cause issues"} 
[2026-04-26 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777214610000,"timestamp_ms":1777214610000,"timestamp_seconds":1777214610,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3eda50"} 
[2026-04-26 20:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:14: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-04-26 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-26 20:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966934784001,"66":11624,"229":206,"85":15104,"24":22,"16":76592400897671168,"45":8693213943380561920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966934784001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:14:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:14:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76592400897671168,"km_value":76592400897671.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693213943380561920,"description":"Unknown IO ID 45"} 
[2026-04-26 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966934784001,"power":11624,"unknown_229":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8693213943380561920}} 
[2026-04-26 20:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:14:50] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:14:50] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:15:11] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:11] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:11] local.INFO: IMEI packet received {"connection_id":54996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":54996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:15:12] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:12] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:12] local.INFO: IMEI packet received {"connection_id":54996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":54996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:15:14] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:14] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:14] local.INFO: IMEI packet received {"connection_id":54996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":54996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:15:16] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:16] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:15:16] local.INFO: IMEI packet received {"connection_id":54996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":54996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:15:17] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3f0930012d78ad4005db7be8000400ac27..."} 
[2026-04-26 20:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3f0930012d78ad4005db7be8000400ac27..."} 
[2026-04-26 20:15:17] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3f0930012d78ad4005db7be8000400ac27..."} 
[2026-04-26 20:15:17] local.INFO: Packet analysis {"connection_id":54996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:15:17] local.INFO: Extracted packet for processing {"connection_id":54996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:15:17] local.INFO: GPS Element Parsed {"raw_longitude":762883392,"raw_latitude":98270184,"longitude_deg":76.2883392,"latitude_deg":9.8270184,"altitude":4,"angle":172,"satellites":39,"speed":32,"hex_longitude":"2d78ad40","hex_latitude":"05db7be8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966940160001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76592860459171840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8693706524589051904,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214622000,"timestamp_ms":1777214622000,"timestamp_seconds":1777214622,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3f0930"} 
[2026-04-26 20:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:15: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-04-26 20: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 20:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966940160001,"66":11450,"229":206,"85":15104,"24":32,"16":76592860459171840,"45":8693706524589051904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966940160001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:15:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:15:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76592860459171840,"km_value":76592860459171.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8693706524589051904,"description":"Unknown IO ID 45"} 
[2026-04-26 20:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966940160001,"power":11450,"unknown_229":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8693706524589051904}} 
[2026-04-26 20:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":54996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:15:18] local.INFO: GPS data processed {"connection_id":54996,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:15:18] local.INFO: Acknowledgment sent {"connection_id":54996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:15:18] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:15:18] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:15:18] local.INFO: IMEI packet received {"connection_id":54997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":54997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:15:23] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:15:23] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:15:23] local.INFO: IMEI packet received {"connection_id":54997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":54997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:15:27] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:15:27] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:15:27] local.INFO: Packet analysis {"connection_id":54997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:15:27] local.INFO: Extracted packet for processing {"connection_id":54997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:15:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:15:27] 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-04-26 20: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-04-26 20:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:15: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-04-26 20:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:15:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:15:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":54997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:15:27] local.INFO: GPS data processed {"connection_id":54997,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:15:27] local.INFO: Acknowledgment sent {"connection_id":54997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:15:55] local.INFO: TCP Data received {"connection_id":54996,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3f3428012d78b34005db5848000300aa27..."} 
[2026-04-26 20:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3f3428012d78b34005db5848000300aa27..."} 
[2026-04-26 20:15:55] local.INFO: Processing buffer {"connection_id":54996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3f3428012d78b34005db5848000300aa27..."} 
[2026-04-26 20:15:55] local.INFO: Packet analysis {"connection_id":54996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:15:55] local.INFO: Extracted packet for processing {"connection_id":54996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:15:55] local.INFO: GPS Element Parsed {"raw_longitude":762884928,"raw_latitude":98261064,"longitude_deg":76.2884928,"latitude_deg":9.8261064,"altitude":3,"angle":170,"satellites":39,"speed":31,"hex_longitude":"2d78b340","hex_latitude":"05db5848","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966943232001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76593307135770624,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8695676849423640576,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777214633000,"timestamp_ms":1777214633000,"timestamp_seconds":1777214633,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3f3428"} 
[2026-04-26 20:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:15: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-04-26 20: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":44,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-26 20:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2092,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966943232001,"66":11917,"229":206,"85":15104,"24":31,"16":76593307135770624,"45":8695676849423640576},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966943232001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:15:55] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76593307135770624,"km_value":76593307135770.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8695676849423640576,"description":"Unknown IO ID 45"} 
[2026-04-26 20:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966943232001,"power":11917,"unknown_229":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8695676849423640576}} 
[2026-04-26 20:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":54996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:15:55] local.INFO: GPS data processed {"connection_id":54996,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:15:55] local.INFO: Acknowledgment sent {"connection_id":54996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:15:58] local.INFO: TCP Data received {"connection_id":54997,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:15:58] local.INFO: Processing buffer {"connection_id":54997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:15:58] local.INFO: Packet analysis {"connection_id":54997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:15:58] local.INFO: Extracted packet for processing {"connection_id":54997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:15:58] 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-04-26 20:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":54997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":54997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":54997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:15: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-04-26 20:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:15:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:15:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":54997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:15:58] local.INFO: GPS data processed {"connection_id":54997,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:15:58] local.INFO: Acknowledgment sent {"connection_id":54997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:16:13] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:13] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:13] local.INFO: IMEI packet received {"connection_id":55077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":55077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:16:13] local.INFO: TCP Data received {"connection_id":55754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:16:13] local.INFO: Processing buffer {"connection_id":55754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:16:13] local.INFO: IMEI packet received {"connection_id":55754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":55754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:16:18] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:18] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:18] local.INFO: IMEI packet received {"connection_id":55077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":55077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:16:18] local.INFO: TCP Data received {"connection_id":55754,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:16:18] local.INFO: Processing buffer {"connection_id":55754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:16:18] local.INFO: IMEI packet received {"connection_id":55754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":55754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:16:19] local.INFO: TCP Data received {"connection_id":55754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:19] local.INFO: Processing buffer {"connection_id":55754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:19] local.INFO: Packet analysis {"connection_id":55754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:16:19] local.INFO: Extracted packet for processing {"connection_id":55754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:16:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:16:19] 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-04-26 20:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:16:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":55754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:16:19] local.INFO: GPS data processed {"connection_id":55754,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:16:19] local.INFO: Acknowledgment sent {"connection_id":55754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:16:21] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:21] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:21] local.INFO: IMEI packet received {"connection_id":55077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":55077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:16:23] local.INFO: TCP Data received {"connection_id":55754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:23] local.INFO: Processing buffer {"connection_id":55754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:23] local.INFO: Packet analysis {"connection_id":55754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:16:23] local.INFO: Extracted packet for processing {"connection_id":55754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:16:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:16:23] 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-04-26 20:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:16: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-04-26 20:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:16:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:16:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:16:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":55754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:16:23] local.INFO: GPS data processed {"connection_id":55754,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:16:23] local.INFO: Acknowledgment sent {"connection_id":55754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:16:26] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:26] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:16:26] local.INFO: IMEI packet received {"connection_id":55077,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":55077,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:16:27] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3f7690012d78ba8005db3418000000a624..."} 
[2026-04-26 20:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3f7690012d78ba8005db3418000000a624..."} 
[2026-04-26 20:16:27] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3f7690012d78ba8005db3418000000a624..."} 
[2026-04-26 20:16:27] local.INFO: Packet analysis {"connection_id":55077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:16:27] local.INFO: Extracted packet for processing {"connection_id":55077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:16:27] local.INFO: GPS Element Parsed {"raw_longitude":762886784,"raw_latitude":98251800,"longitude_deg":76.2886784,"latitude_deg":9.82518,"altitude":0,"angle":166,"satellites":36,"speed":30,"hex_longitude":"2d78ba80","hex_latitude":"05db3418","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966946048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76593766697271296,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8697365699281569792,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777214650000,"timestamp_ms":1777214650000,"timestamp_seconds":1777214650,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3f7690"} 
[2026-04-26 20:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-26 20:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966946048001,"66":12200,"229":206,"85":15104,"24":30,"16":76593766697271296,"45":8697365699281569792},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966946048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:16:27] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76593766697271296,"km_value":76593766697271.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8697365699281569792,"description":"Unknown IO ID 45"} 
[2026-04-26 20:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966946048001,"power":12200,"unknown_229":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8697365699281569792}} 
[2026-04-26 20:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":55077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:16:27] local.INFO: GPS data processed {"connection_id":55077,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:16:27] local.INFO: Acknowledgment sent {"connection_id":55077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:16:32] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3fa188012d78c34005db1238000100a827..."} 
[2026-04-26 20:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3fa188012d78c34005db1238000100a827..."} 
[2026-04-26 20:16:32] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3fa188012d78c34005db1238000100a827..."} 
[2026-04-26 20:16:32] local.INFO: Packet analysis {"connection_id":55077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:16:32] local.INFO: Extracted packet for processing {"connection_id":55077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3f"} 
[2026-04-26 20:16:32] local.INFO: GPS Element Parsed {"raw_longitude":762889024,"raw_latitude":98243128,"longitude_deg":76.2889024,"latitude_deg":9.8243128,"altitude":1,"angle":168,"satellites":39,"speed":34,"hex_longitude":"2d78c340","hex_latitude":"05db1238","is_valid_coordinates":true} 
[2026-04-26 20:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966950400001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76594200488968192,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699406392860350464,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777214661000,"timestamp_ms":1777214661000,"timestamp_seconds":1777214661,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3fa188"} 
[2026-04-26 20:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-26 20:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55077,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966950400001,"66":12232,"229":206,"85":15104,"24":34,"16":76594200488968192,"45":8699406392860350464},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-04-26 20:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966950400001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:16:32] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-26 20:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76594200488968192,"km_value":76594200488968.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699406392860350464,"description":"Unknown IO ID 45"} 
[2026-04-26 20:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966950400001,"power":12232,"unknown_229":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8699406392860350464}} 
[2026-04-26 20:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":55077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:16:32] local.INFO: GPS data processed {"connection_id":55077,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:16:32] local.INFO: Acknowledgment sent {"connection_id":55077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:16:57] local.INFO: TCP Data received {"connection_id":55754,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:57] local.INFO: Processing buffer {"connection_id":55754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca3cfdc0012cb299c007822ce0004700122c..."} 
[2026-04-26 20:16:57] local.INFO: Packet analysis {"connection_id":55754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:16:57] local.INFO: Extracted packet for processing {"connection_id":55754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca3c"} 
[2026-04-26 20:16:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":71,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966831872001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777214488000,"timestamp_ms":1777214488000,"timestamp_seconds":1777214488,"priority":1,"record_length":96,"hex_timestamp":"0000019dca3cfdc0"} 
[2026-04-26 20:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:16:57] 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-04-26 20: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-04-26 20:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:16: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-04-26 20:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966831872001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966831872001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:16:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:16:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966831872001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":55754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:16:57] local.INFO: GPS data processed {"connection_id":55754,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:16:57] local.INFO: Acknowledgment sent {"connection_id":55754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:17:11] local.INFO: TCP Data received {"connection_id":54854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:17:11] local.INFO: Processing buffer {"connection_id":54854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:17:11] local.INFO: IMEI packet received {"connection_id":54854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":54854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:17:13] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:17:13] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:17:13] local.INFO: IMEI packet received {"connection_id":54999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":54999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:17:16] local.INFO: TCP Data received {"connection_id":54854,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:17:16] local.INFO: Processing buffer {"connection_id":54854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:17:16] local.INFO: IMEI packet received {"connection_id":54854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":54854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:17:17] local.INFO: TCP Data received {"connection_id":54854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca41a140012d78eb0005da9ba00003004c28..."} 
[2026-04-26 20:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca41a140012d78eb0005da9ba00003004c28..."} 
[2026-04-26 20:17:17] local.INFO: Processing buffer {"connection_id":54854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca41a140012d78eb0005da9ba00003004c28..."} 
[2026-04-26 20:17:17] local.INFO: Packet analysis {"connection_id":54854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:17] local.INFO: Extracted packet for processing {"connection_id":54854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:17] local.INFO: GPS Element Parsed {"raw_longitude":762899200,"raw_latitude":98212768,"longitude_deg":76.28992,"latitude_deg":9.8212768,"altitude":3,"angle":76,"satellites":40,"speed":0,"hex_longitude":"2d78eb00","hex_latitude":"05da9ba0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966981376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76595866936279040,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713057929220825088,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214792000,"timestamp_ms":1777214792000,"timestamp_seconds":1777214792,"priority":1,"record_length":96,"hex_timestamp":"0000019dca41a140"} 
[2026-04-26 20:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:17: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-04-26 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966981376001,"66":12037,"175":206,"85":15104,"24":0,"16":76595866936279040,"45":8713057929220825088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966981376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:17:17] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:17:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76595866936279040,"km_value":76595866936279.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713057929220825088,"description":"Unknown IO ID 45"} 
[2026-04-26 20:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966981376001,"power":12037,"unknown_175":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8713057929220825088}} 
[2026-04-26 20:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":54854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:17:17] local.INFO: GPS data processed {"connection_id":54854,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:17:17] local.INFO: Acknowledgment sent {"connection_id":54854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:17:19] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:17:19] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:17:19] local.INFO: IMEI packet received {"connection_id":54999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":54999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:17:20] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:17:20] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:17:20] local.INFO: Packet analysis {"connection_id":54999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:20] local.INFO: Extracted packet for processing {"connection_id":54999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:17: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-04-26 20: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-04-26 20:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:17: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-04-26 20:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:17:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":54999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:17:20] local.INFO: GPS data processed {"connection_id":54999,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:17:20] local.INFO: Acknowledgment sent {"connection_id":54999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:17:48] local.INFO: TCP Data received {"connection_id":54854,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca41c468012d78ed4005da9c980003005828..."} 
[2026-04-26 20:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca41c468012d78ed4005da9c980003005828..."} 
[2026-04-26 20:17:48] local.INFO: Processing buffer {"connection_id":54854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca41c468012d78ed4005da9c980003005828..."} 
[2026-04-26 20:17:48] local.INFO: Packet analysis {"connection_id":54854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:48] local.INFO: Extracted packet for processing {"connection_id":54854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:48] local.INFO: GPS Element Parsed {"raw_longitude":762899776,"raw_latitude":98213016,"longitude_deg":76.2899776,"latitude_deg":9.8213016,"altitude":3,"angle":88,"satellites":40,"speed":4,"hex_longitude":"2d78ed40","hex_latitude":"05da9c98","is_valid_coordinates":true} 
[2026-04-26 20:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966986752001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76595897001050112,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713057929220825088,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777214801000,"timestamp_ms":1777214801000,"timestamp_seconds":1777214801,"priority":1,"record_length":96,"hex_timestamp":"0000019dca41c468"} 
[2026-04-26 20:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:17:48] 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-04-26 20:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3393231752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1084702721,"corrected_to":0} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2584215555,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6348667213515653096,"corrected_to":0} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182135220338944,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2694990960558839513,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194880768,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,175,85,24,241,157,16,31,79,45,155,3,39,10,66,34,253,36,64,1,240,81,227,202,218,4,113,205,159,104,239,47,229,2,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":202,"original":1084702721,"validated":0},{"io_id":205,"original":-6348667213515653096,"validated":0}]} 
[2026-04-26 20:17:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216256516796186624,"timestamp_seconds":216256516796186.62,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966986752001,"66":12058,"175":206,"85":15104,"24":4,"16":76595897001050112,"45":8713057929220825088},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966986752001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:17:48] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:17:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76595897001050112,"km_value":76595897001050.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713057929220825088,"description":"Unknown IO ID 45"} 
[2026-04-26 20:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966986752001,"power":12058,"unknown_175":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8713057929220825088}} 
[2026-04-26 20:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":54854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:17:48] local.INFO: GPS data processed {"connection_id":54854,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:17:48] local.INFO: Acknowledgment sent {"connection_id":54854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:17:53] local.INFO: TCP Data received {"connection_id":54999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:17:53] local.INFO: Processing buffer {"connection_id":54999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:17:53] local.INFO: Packet analysis {"connection_id":54999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:53] local.INFO: Extracted packet for processing {"connection_id":54999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:17: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-04-26 20:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:17: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-04-26 20:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:17:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:17:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:17:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":54999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:17:53] local.INFO: GPS data processed {"connection_id":54999,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:17:53] local.INFO: Acknowledgment sent {"connection_id":54999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:18:11] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:11] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:11] local.INFO: IMEI packet received {"connection_id":54855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":54855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:18:13] local.INFO: TCP Data received {"connection_id":55000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:18:13] local.INFO: Processing buffer {"connection_id":55000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:18:13] local.INFO: IMEI packet received {"connection_id":55000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":55000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:18:13] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:13] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:13] local.INFO: IMEI packet received {"connection_id":54855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":54855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:18:16] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:16] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:18:16] local.INFO: IMEI packet received {"connection_id":54855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":54855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:18:17] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca421288012d78ee4005da9cb00003005427..."} 
[2026-04-26 20:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca421288012d78ee4005da9cb00003005427..."} 
[2026-04-26 20:18:17] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca421288012d78ee4005da9cb00003005427..."} 
[2026-04-26 20:18:17] local.INFO: Packet analysis {"connection_id":54855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:18:17] local.INFO: Extracted packet for processing {"connection_id":54855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:18:17] local.INFO: GPS Element Parsed {"raw_longitude":762900032,"raw_latitude":98213040,"longitude_deg":76.2900032,"latitude_deg":9.821304,"altitude":3,"angle":84,"satellites":39,"speed":0,"hex_longitude":"2d78ee40","hex_latitude":"05da9cb0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966989056001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76595909885952000,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713691247918487552,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214821000,"timestamp_ms":1777214821000,"timestamp_seconds":1777214821,"priority":1,"record_length":96,"hex_timestamp":"0000019dca421288"} 
[2026-04-26 20:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:18: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-04-26 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966989056001,"66":12058,"175":206,"85":15104,"24":0,"16":76595909885952000,"45":8713691247918487552},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966989056001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:18:17] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76595909885952000,"km_value":76595909885952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713691247918487552,"description":"Unknown IO ID 45"} 
[2026-04-26 20:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966989056001,"power":12058,"unknown_175":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8713691247918487552}} 
[2026-04-26 20:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":54855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:18:17] local.INFO: GPS data processed {"connection_id":54855,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:18:17] local.INFO: Acknowledgment sent {"connection_id":54855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:18:18] local.INFO: TCP Data received {"connection_id":55000,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:18:18] local.INFO: Processing buffer {"connection_id":55000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:18:18] local.INFO: IMEI packet received {"connection_id":55000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":55000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:18:19] local.INFO: TCP Data received {"connection_id":55000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:18:19] local.INFO: Processing buffer {"connection_id":55000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:18:19] local.INFO: Packet analysis {"connection_id":55000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:18:19] local.INFO: Extracted packet for processing {"connection_id":55000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:18:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:18:19] 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-04-26 20: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-04-26 20:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:18:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":55000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:18:19] local.INFO: GPS data processed {"connection_id":55000,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:18:19] local.INFO: Acknowledgment sent {"connection_id":55000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:18:21] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca426490012d78ee4005da9cb00003005428..."} 
[2026-04-26 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca426490012d78ee4005da9cb00003005428..."} 
[2026-04-26 20:18:21] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca426490012d78ee4005da9cb00003005428..."} 
[2026-04-26 20:18:21] local.INFO: Packet analysis {"connection_id":54855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:18:21] local.INFO: Extracted packet for processing {"connection_id":54855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:18:21] local.INFO: GPS Element Parsed {"raw_longitude":762900032,"raw_latitude":98213040,"longitude_deg":76.2900032,"latitude_deg":9.821304,"altitude":3,"angle":84,"satellites":40,"speed":0,"hex_longitude":"2d78ee40","hex_latitude":"05da9cb0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966994176001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76595909885952000,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713972722895204352,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777214842000,"timestamp_ms":1777214842000,"timestamp_seconds":1777214842,"priority":1,"record_length":96,"hex_timestamp":"0000019dca426490"} 
[2026-04-26 20:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:18: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-04-26 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966994176001,"66":12037,"175":206,"85":15104,"24":0,"16":76595909885952000,"45":8713972722895204352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966994176001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:18:21] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:18:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76595909885952000,"km_value":76595909885952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713972722895204352,"description":"Unknown IO ID 45"} 
[2026-04-26 20:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966994176001,"power":12037,"unknown_175":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8713972722895204352}} 
[2026-04-26 20:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":54855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:18:21] local.INFO: GPS data processed {"connection_id":54855,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:18:21] local.INFO: Acknowledgment sent {"connection_id":54855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:18:52] local.INFO: TCP Data received {"connection_id":55000,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:18:52] local.INFO: Processing buffer {"connection_id":55000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:18:52] local.INFO: Packet analysis {"connection_id":55000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:18:52] local.INFO: Extracted packet for processing {"connection_id":55000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:18:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:18:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:18:52] 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-04-26 20: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-04-26 20:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:18: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-04-26 20:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:18:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":55000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:18:52] local.INFO: GPS data processed {"connection_id":55000,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:18:52] local.INFO: Acknowledgment sent {"connection_id":55000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:18:54] local.INFO: TCP Data received {"connection_id":54855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca42b698012d78ee4005da9cb00003005429..."} 
[2026-04-26 20:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca42b698012d78ee4005da9cb00003005429..."} 
[2026-04-26 20:18:54] local.INFO: Processing buffer {"connection_id":54855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca42b698012d78ee4005da9cb00003005429..."} 
[2026-04-26 20:18:54] local.INFO: Packet analysis {"connection_id":54855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:18:54] local.INFO: Extracted packet for processing {"connection_id":54855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:18:54] local.INFO: GPS Element Parsed {"raw_longitude":762900032,"raw_latitude":98213040,"longitude_deg":76.2900032,"latitude_deg":9.821304,"altitude":3,"angle":84,"satellites":41,"speed":0,"hex_longitude":"2d78ee40","hex_latitude":"05da9cb0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966999552001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76595909885952000,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713972722895204352,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777214863000,"timestamp_ms":1777214863000,"timestamp_seconds":1777214863,"priority":1,"record_length":96,"hex_timestamp":"0000019dca42b698"} 
[2026-04-26 20:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":864691128622908416,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3393236752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2694595136372847833,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1095710721,"corrected_to":0} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2610954243,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7071215251118293016,"corrected_to":0} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182135220338944,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257826,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194836224,"note":"Value kept but may cause issues"} 
[2026-04-26 20:18:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,175,85,24,241,157,16,31,18,45,64,156,3,39,10,66,196,40,161,1,240,5,227,202,218,4,113,205,253,235,160,36,239,46,34,2,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":202,"original":1095710721,"validated":0},{"io_id":205,"original":7071215251118293016,"validated":0}]} 
[2026-04-26 20:18:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216265312889208832,"timestamp_seconds":216265312889208.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966999552001,"66":12200,"175":206,"85":15104,"24":0,"16":76595909885952000,"45":8713972722895204352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966999552001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:18:54] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:18:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76595909885952000,"km_value":76595909885952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713972722895204352,"description":"Unknown IO ID 45"} 
[2026-04-26 20:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966999552001,"power":12200,"unknown_175":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8713972722895204352}} 
[2026-04-26 20:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":54855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:18:54] local.INFO: GPS data processed {"connection_id":54855,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:18:54] local.INFO: Acknowledgment sent {"connection_id":54855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:19:11] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:19:11] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:19:11] local.INFO: IMEI packet received {"connection_id":54856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":54856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:19:16] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:19:16] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:19:16] local.INFO: IMEI packet received {"connection_id":54856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":54856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:19:17] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca42fce8012d79110005daa2c80006004e2a..."} 
[2026-04-26 20:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca42fce8012d79110005daa2c80006004e2a..."} 
[2026-04-26 20:19:17] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca42fce8012d79110005daa2c80006004e2a..."} 
[2026-04-26 20:19:17] local.INFO: Packet analysis {"connection_id":54856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:19:17] local.INFO: Extracted packet for processing {"connection_id":54856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca42"} 
[2026-04-26 20:19:17] local.INFO: GPS Element Parsed {"raw_longitude":762908928,"raw_latitude":98214600,"longitude_deg":76.2908928,"latitude_deg":9.82146,"altitude":6,"angle":78,"satellites":42,"speed":34,"hex_longitude":"2d791100","hex_latitude":"05daa2c8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967004928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76596343677648896,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8713972722895204352,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777214881000,"timestamp_ms":1777214881000,"timestamp_seconds":1777214881,"priority":1,"record_length":96,"hex_timestamp":"0000019dca42fce8"} 
[2026-04-26 20:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:19: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-04-26 20: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":168,"data_length":795,"current_offset":136} 
[2026-04-26 20:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967004928001,"66":12135,"175":206,"85":15104,"24":34,"16":76596343677648896,"45":8713972722895204352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967004928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:19:17] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:19:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76596343677648896,"km_value":76596343677648.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8713972722895204352,"description":"Unknown IO ID 45"} 
[2026-04-26 20:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967004928001,"power":12135,"unknown_175":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8713972722895204352}} 
[2026-04-26 20:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":54856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:19:17] local.INFO: GPS data processed {"connection_id":54856,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:19:17] local.INFO: Acknowledgment sent {"connection_id":54856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:19:18] local.INFO: TCP Data received {"connection_id":55756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:19:18] local.INFO: Processing buffer {"connection_id":55756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:19:18] local.INFO: IMEI packet received {"connection_id":55756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":55756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:19:23] local.INFO: TCP Data received {"connection_id":55756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:19:23] local.INFO: Processing buffer {"connection_id":55756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:19:23] local.INFO: IMEI packet received {"connection_id":55756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":55756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:19:24] local.INFO: TCP Data received {"connection_id":55756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:19:24] local.INFO: Processing buffer {"connection_id":55756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:19:24] local.INFO: Packet analysis {"connection_id":55756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:19:24] local.INFO: Extracted packet for processing {"connection_id":55756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:19:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:19:24] 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-04-26 20:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:19:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":55756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:19:24] local.INFO: GPS data processed {"connection_id":55756,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:19:24] local.INFO: Acknowledgment sent {"connection_id":55756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:19:28] local.INFO: TCP Data received {"connection_id":55756,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:19:28] local.INFO: Processing buffer {"connection_id":55756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:19:28] local.INFO: Packet analysis {"connection_id":55756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:19:28] local.INFO: Extracted packet for processing {"connection_id":55756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:19:28] 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-04-26 20:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:19: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-04-26 20:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:19:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:19:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":55756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:19:28] local.INFO: GPS data processed {"connection_id":55756,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:19:28] local.INFO: Acknowledgment sent {"connection_id":55756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:19:48] local.INFO: TCP Data received {"connection_id":54856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4323f8012d79340005daa9000006004f29..."} 
[2026-04-26 20:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4323f8012d79340005daa9000006004f29..."} 
[2026-04-26 20:19:48] local.INFO: Processing buffer {"connection_id":54856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4323f8012d79340005daa9000006004f29..."} 
[2026-04-26 20:19:48] local.INFO: Packet analysis {"connection_id":54856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca43"} 
[2026-04-26 20:19:48] local.INFO: Extracted packet for processing {"connection_id":54856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca43"} 
[2026-04-26 20:19:48] local.INFO: GPS Element Parsed {"raw_longitude":762917888,"raw_latitude":98216192,"longitude_deg":76.2917888,"latitude_deg":9.8216192,"altitude":6,"angle":79,"satellites":41,"speed":36,"hex_longitude":"2d793400","hex_latitude":"05daa900","is_valid_coordinates":true} 
[2026-04-26 20:19: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-04-26 20:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967009536001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76596777469345792,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8723753978336299008,"note":"Value kept but may cause issues"} 
[2026-04-26 20:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777214891000,"timestamp_ms":1777214891000,"timestamp_seconds":1777214891,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4323f8"} 
[2026-04-26 20:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:19: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":103,"data_length":795,"current_offset":136} 
[2026-04-26 20:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:19: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-04-26 20:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967009536001,"66":12287,"175":206,"85":15104,"24":36,"16":76596777469345792,"45":8723753978336299008},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,85,24,16,45]} 
[2026-04-26 20:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967009536001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:19:48] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-26 20:19:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76596777469345792,"km_value":76596777469345.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8723753978336299008,"description":"Unknown IO ID 45"} 
[2026-04-26 20:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967009536001,"power":12287,"unknown_175":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8723753978336299008}} 
[2026-04-26 20:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":54856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:19:48] local.INFO: GPS data processed {"connection_id":54856,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:19:48] local.INFO: Acknowledgment sent {"connection_id":54856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:19:59] local.INFO: TCP Data received {"connection_id":55002,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55002,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:19:59] local.INFO: Processing buffer {"connection_id":55002,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:19:59] local.INFO: IMEI packet received {"connection_id":55002,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":55002,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:20:13] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:20:13] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:20:13] local.INFO: IMEI packet received {"connection_id":55003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":55003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:20:16] local.INFO: TCP Data received {"connection_id":55757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:20:16] local.INFO: Processing buffer {"connection_id":55757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:20:16] local.INFO: IMEI packet received {"connection_id":55757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":55757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:20:18] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:20:18] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:20:18] local.INFO: IMEI packet received {"connection_id":55003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":55003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:20:28] local.INFO: TCP Data received {"connection_id":55003,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:20:28] local.INFO: Processing buffer {"connection_id":55003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:20:28] local.INFO: Packet analysis {"connection_id":55003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:20:28] local.INFO: Extracted packet for processing {"connection_id":55003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:20:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:20:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:20:28] 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-04-26 20:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:20:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:20:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":55003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:20:28] local.INFO: GPS data processed {"connection_id":55003,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:20:28] local.INFO: Acknowledgment sent {"connection_id":55003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:20:29] local.INFO: TCP Data received {"connection_id":55757,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:20:29] local.INFO: Processing buffer {"connection_id":55757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:20:29] local.INFO: IMEI packet received {"connection_id":55757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":55757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:20:30] local.INFO: TCP Data received {"connection_id":55757,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55757,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 20:20:30] local.INFO: Processing buffer {"connection_id":55757,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 20:20:30] local.INFO: IMEI packet received {"connection_id":55757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":55757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:20:39] local.INFO: TCP Data received {"connection_id":55078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:39] local.INFO: Processing buffer {"connection_id":55078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:39] local.INFO: IMEI packet received {"connection_id":55078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":55078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:20:44] local.INFO: TCP Data received {"connection_id":55078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:44] local.INFO: Processing buffer {"connection_id":55078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:44] local.INFO: IMEI packet received {"connection_id":55078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 20:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":55078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:20:49] local.INFO: TCP Data received {"connection_id":55078,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:49] local.INFO: Processing buffer {"connection_id":55078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:20:49] local.INFO: IMEI packet received {"connection_id":55078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 20:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":55078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:21:13] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:21:13] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:21:13] local.INFO: IMEI packet received {"connection_id":55005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":55005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:21:18] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:21:18] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:21:18] local.INFO: IMEI packet received {"connection_id":55005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":55005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:21:19] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:21:19] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:21:19] local.INFO: Packet analysis {"connection_id":55005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:21:19] local.INFO: Extracted packet for processing {"connection_id":55005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:21:19] 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-04-26 20:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:21:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":55005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:21:19] local.INFO: GPS data processed {"connection_id":55005,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:21:19] local.INFO: Acknowledgment sent {"connection_id":55005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:21:50] local.INFO: TCP Data received {"connection_id":55005,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:21:50] local.INFO: Processing buffer {"connection_id":55005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca419588012cb299c007822ce0004800122a..."} 
[2026-04-26 20:21:50] local.INFO: Packet analysis {"connection_id":55005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:21:50] local.INFO: Extracted packet for processing {"connection_id":55005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca41"} 
[2026-04-26 20:21:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966908928001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777214789000,"timestamp_ms":1777214789000,"timestamp_seconds":1777214789,"priority":1,"record_length":96,"hex_timestamp":"0000019dca419588"} 
[2026-04-26 20:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:21:50] 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-04-26 20: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-04-26 20:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966908928001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966908928001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:21:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:21:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966908928001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":55005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:21:50] local.INFO: GPS data processed {"connection_id":55005,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:21:50] local.INFO: Acknowledgment sent {"connection_id":55005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:21:54] local.INFO: TCP Data received {"connection_id":55007,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:21:54] local.INFO: Processing buffer {"connection_id":55007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:21:54] local.INFO: IMEI packet received {"connection_id":55007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":55007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:22:18] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:22:18] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:22:18] local.INFO: IMEI packet received {"connection_id":54857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":54857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:22:23] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:22:23] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:22:23] local.INFO: IMEI packet received {"connection_id":54857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":54857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:22:24] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:22:24] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:22:24] local.INFO: Packet analysis {"connection_id":54857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:22:24] local.INFO: Extracted packet for processing {"connection_id":54857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:22:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:22:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:22: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-04-26 20:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:22:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:22:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:22:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":54857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:22:24] local.INFO: GPS data processed {"connection_id":54857,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:22:24] local.INFO: Acknowledgment sent {"connection_id":54857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:22:28] local.INFO: TCP Data received {"connection_id":54857,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:22:28] local.INFO: Processing buffer {"connection_id":54857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:22:28] local.INFO: Packet analysis {"connection_id":54857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:22:28] local.INFO: Extracted packet for processing {"connection_id":54857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:22:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:22:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:22:28] 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-04-26 20:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:22:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:22:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":54857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:22:28] local.INFO: GPS data processed {"connection_id":54857,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:22:28] local.INFO: Acknowledgment sent {"connection_id":54857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:23:13] local.INFO: TCP Data received {"connection_id":55080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:23:13] local.INFO: Processing buffer {"connection_id":55080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:23:13] local.INFO: IMEI packet received {"connection_id":55080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":55080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:23:18] local.INFO: TCP Data received {"connection_id":55080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:23:18] local.INFO: Processing buffer {"connection_id":55080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:23:18] local.INFO: IMEI packet received {"connection_id":55080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":55080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:23:21] local.INFO: TCP Data received {"connection_id":55080,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:23:21] local.INFO: Processing buffer {"connection_id":55080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:23:21] local.INFO: Packet analysis {"connection_id":55080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:23:21] local.INFO: Extracted packet for processing {"connection_id":55080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:23:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:23:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:23:21] 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-04-26 20: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-04-26 20:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:23: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-04-26 20:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:23:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:23:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:23:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":55080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:23:21] local.INFO: GPS data processed {"connection_id":55080,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:23:21] local.INFO: Acknowledgment sent {"connection_id":55080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:23:52] local.INFO: TCP Data received {"connection_id":55080,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:23:52] local.INFO: Processing buffer {"connection_id":55080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:23:52] local.INFO: Packet analysis {"connection_id":55080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:23:52] local.INFO: Extracted packet for processing {"connection_id":55080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:23:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 20:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:23:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 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-04-26 20:23:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:23: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-04-26 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-04-26 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-04-26 20:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:23: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-04-26 20:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:23:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:23:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:23:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":55080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:23:52] local.INFO: GPS data processed {"connection_id":55080,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:23:52] local.INFO: Acknowledgment sent {"connection_id":55080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:24:13] local.INFO: TCP Data received {"connection_id":55761,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:24:13] local.INFO: Processing buffer {"connection_id":55761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:24:13] local.INFO: IMEI packet received {"connection_id":55761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":55761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:24:18] local.INFO: TCP Data received {"connection_id":55761,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:24:18] local.INFO: Processing buffer {"connection_id":55761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:24:18] local.INFO: IMEI packet received {"connection_id":55761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":55761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:24:19] local.INFO: TCP Data received {"connection_id":55761,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:19] local.INFO: Processing buffer {"connection_id":55761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:19] local.INFO: Packet analysis {"connection_id":55761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:24:19] local.INFO: Extracted packet for processing {"connection_id":55761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:24:19] 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-04-26 20:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:24:19] 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-04-26 20:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:24:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":55761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:24:19] local.INFO: GPS data processed {"connection_id":55761,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:24:19] local.INFO: Acknowledgment sent {"connection_id":55761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:24:23] local.INFO: TCP Data received {"connection_id":55761,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:23] local.INFO: Processing buffer {"connection_id":55761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:23] local.INFO: Packet analysis {"connection_id":55761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:24:23] local.INFO: Extracted packet for processing {"connection_id":55761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:24:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:24: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-04-26 20:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:24:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:24:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:24:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":55761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:24:23] local.INFO: GPS data processed {"connection_id":55761,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:24:23] local.INFO: Acknowledgment sent {"connection_id":55761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:24:55] local.INFO: TCP Data received {"connection_id":55761,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:55] local.INFO: Processing buffer {"connection_id":55761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:24:55] local.INFO: Packet analysis {"connection_id":55761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:24:55] local.INFO: Extracted packet for processing {"connection_id":55761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:24:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:24:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:24:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:24:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":55761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:24:55] local.INFO: GPS data processed {"connection_id":55761,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:24:55] local.INFO: Acknowledgment sent {"connection_id":55761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:25:13] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:25:13] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:25:13] local.INFO: IMEI packet received {"connection_id":55083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":55083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:25:18] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:25:18] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:25:18] local.INFO: IMEI packet received {"connection_id":55083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":55083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:25:22] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:25:22] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:25:22] local.INFO: Packet analysis {"connection_id":55083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:25:22] local.INFO: Extracted packet for processing {"connection_id":55083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:25:22] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:25:22] 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-04-26 20: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-04-26 20:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:25: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-04-26 20:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:25:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:25:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:25:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":55083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:25:22] local.INFO: GPS data processed {"connection_id":55083,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:25:22] local.INFO: Acknowledgment sent {"connection_id":55083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:25:31] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:25:31] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:25:31] local.INFO: IMEI packet received {"connection_id":55082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":55082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:25:32] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca496588012d7abbc005d6fba0000300a92a..."} 
[2026-04-26 20:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca496588012d7abbc005d6fba0000300a92a..."} 
[2026-04-26 20:25:32] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca496588012d7abbc005d6fba0000300a92a..."} 
[2026-04-26 20:25:32] local.INFO: Packet analysis {"connection_id":55082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca49"} 
[2026-04-26 20:25:32] local.INFO: Extracted packet for processing {"connection_id":55082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca49"} 
[2026-04-26 20:25:32] local.INFO: GPS Element Parsed {"raw_longitude":763018176,"raw_latitude":97975200,"longitude_deg":76.3018176,"latitude_deg":9.79752,"altitude":3,"angle":169,"satellites":42,"speed":27,"hex_longitude":"2d7abbc0","hex_latitude":"05d6fba0","is_valid_coordinates":true} 
[2026-04-26 20:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967115776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76612295186186240,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843732687098615808,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777215301000,"timestamp_ms":1777215301000,"timestamp_seconds":1777215301,"priority":1,"record_length":96,"hex_timestamp":"0000019dca496588"} 
[2026-04-26 20:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:25:32] 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-04-26 20:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 20:25:32] 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-04-26 20:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967115776001,"66":12156,"245":206,"85":15104,"24":27,"16":76612295186186240,"45":8843732687098615808},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 20:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967115776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76612295186186240,"km_value":76612295186186.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843732687098615808,"description":"Unknown IO ID 45"} 
[2026-04-26 20:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967115776001,"power":12156,"geofence_id":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8843732687098615808}} 
[2026-04-26 20:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":55082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:25:32] local.INFO: GPS data processed {"connection_id":55082,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:25:32] local.INFO: Acknowledgment sent {"connection_id":55082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:25:57] local.INFO: TCP Data received {"connection_id":55083,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:25:57] local.INFO: Processing buffer {"connection_id":55083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:25:57] local.INFO: Packet analysis {"connection_id":55083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:25:57] local.INFO: Extracted packet for processing {"connection_id":55083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:25:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 20:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 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-04-26 20:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:25:57] 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-04-26 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-04-26 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-04-26 20:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:25: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-04-26 20:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:25:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:25:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":55083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:25:57] local.INFO: GPS data processed {"connection_id":55083,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:25:57] local.INFO: Acknowledgment sent {"connection_id":55083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:26:11] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:26:11] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:26:11] local.INFO: IMEI packet received {"connection_id":55084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":55084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:26:13] local.INFO: TCP Data received {"connection_id":55763,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:26:13] local.INFO: Processing buffer {"connection_id":55763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:26:13] local.INFO: IMEI packet received {"connection_id":55763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":55763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:26:16] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:26:16] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:26:16] local.INFO: IMEI packet received {"connection_id":55084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":55084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:26:17] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca498c98012d7ac68005d6d950000500a626..."} 
[2026-04-26 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca498c98012d7ac68005d6d950000500a626..."} 
[2026-04-26 20:26:17] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca498c98012d7ac68005d6d950000500a626..."} 
[2026-04-26 20:26:17] local.INFO: Packet analysis {"connection_id":55084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca49"} 
[2026-04-26 20:26:17] local.INFO: Extracted packet for processing {"connection_id":55084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca49"} 
[2026-04-26 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":763020928,"raw_latitude":97966416,"longitude_deg":76.3020928,"latitude_deg":9.7966416,"altitude":5,"angle":166,"satellites":38,"speed":42,"hex_longitude":"2d7ac680","hex_latitude":"05d6d950","is_valid_coordinates":true} 
[2026-04-26 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967117056001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76612741862785024,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8843873424586285056,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777215311000,"timestamp_ms":1777215311000,"timestamp_seconds":1777215311,"priority":1,"record_length":96,"hex_timestamp":"0000019dca498c98"} 
[2026-04-26 20:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:26: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-04-26 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-26 20:26: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-04-26 20:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967117056001,"66":12341,"245":206,"85":15104,"24":42,"16":76612741862785024,"45":8843873424586285056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 20:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967117056001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:26:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76612741862785024,"km_value":76612741862785.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8843873424586285056,"description":"Unknown IO ID 45"} 
[2026-04-26 20:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967117056001,"power":12341,"geofence_id":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8843873424586285056}} 
[2026-04-26 20:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":55084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:26:17] local.INFO: GPS data processed {"connection_id":55084,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:26:17] local.INFO: Acknowledgment sent {"connection_id":55084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:26:18] local.INFO: TCP Data received {"connection_id":55763,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:26:18] local.INFO: Processing buffer {"connection_id":55763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:26:18] local.INFO: IMEI packet received {"connection_id":55763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":55763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:26:19] local.INFO: TCP Data received {"connection_id":55763,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:26:19] local.INFO: Processing buffer {"connection_id":55763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:26:19] local.INFO: Packet analysis {"connection_id":55763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:26:19] local.INFO: Extracted packet for processing {"connection_id":55763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:26:19] 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-04-26 20:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:26:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":55763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:26:19] local.INFO: GPS data processed {"connection_id":55763,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:26:19] local.INFO: Acknowledgment sent {"connection_id":55763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:26:49] local.INFO: TCP Data received {"connection_id":55084,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca49abd8012d7acf8005d6b5b0000600a424..."} 
[2026-04-26 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca49abd8012d7acf8005d6b5b0000600a424..."} 
[2026-04-26 20:26:49] local.INFO: Processing buffer {"connection_id":55084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca49abd8012d7acf8005d6b5b0000600a424..."} 
[2026-04-26 20:26:49] local.INFO: Packet analysis {"connection_id":55084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca49"} 
[2026-04-26 20:26:49] local.INFO: Extracted packet for processing {"connection_id":55084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca49"} 
[2026-04-26 20:26:49] local.INFO: GPS Element Parsed {"raw_longitude":763023232,"raw_latitude":97957296,"longitude_deg":76.3023232,"latitude_deg":9.7957296,"altitude":6,"angle":164,"satellites":36,"speed":48,"hex_longitude":"2d7acf80","hex_latitude":"05d6b5b0","is_valid_coordinates":true} 
[2026-04-26 20:26: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-04-26 20:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967119616001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76613197129318400,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846899280583675904,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777215319000,"timestamp_ms":1777215319000,"timestamp_seconds":1777215319,"priority":1,"record_length":96,"hex_timestamp":"0000019dca49abd8"} 
[2026-04-26 20:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:26: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-04-26 20:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 20:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:26: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-04-26 20:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967119616001,"66":12004,"245":206,"85":15104,"24":48,"16":76613197129318400,"45":8846899280583675904},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-26 20:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967119616001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:26:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76613197129318400,"km_value":76613197129318.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846899280583675904,"description":"Unknown IO ID 45"} 
[2026-04-26 20:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967119616001,"power":12004,"geofence_id":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8846899280583675904}} 
[2026-04-26 20:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":55084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:26:50] local.INFO: GPS data processed {"connection_id":55084,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:26:50] local.INFO: Acknowledgment sent {"connection_id":55084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:26:50] local.INFO: TCP Data received {"connection_id":55763,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:26:50] local.INFO: Processing buffer {"connection_id":55763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca462d50012cb299c007822ce0004400122b..."} 
[2026-04-26 20:26:50] local.INFO: Packet analysis {"connection_id":55763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:26:50] local.INFO: Extracted packet for processing {"connection_id":55763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca46"} 
[2026-04-26 20:26:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":68,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454966985984001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777215090000,"timestamp_ms":1777215090000,"timestamp_seconds":1777215090,"priority":1,"record_length":96,"hex_timestamp":"0000019dca462d50"} 
[2026-04-26 20:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:26:50] 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-04-26 20:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454966985984001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454966985984001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:26:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454966985984001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":55763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:26:50] local.INFO: GPS data processed {"connection_id":55763,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:26:50] local.INFO: Acknowledgment sent {"connection_id":55763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:27:13] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:13] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:13] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:27:13] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:27:13] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:27:13] local.INFO: IMEI packet received {"connection_id":55009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":55009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:27:19] local.INFO: TCP Data received {"connection_id":55008,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:27:19] local.INFO: Processing buffer {"connection_id":55008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:27:19] local.INFO: IMEI packet received {"connection_id":55008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":55008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:27:22] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:22] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:22] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:27:23] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:23] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:27:23] local.INFO: IMEI packet received {"connection_id":55010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":55010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:27:24] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:27:24] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:27:24] local.INFO: Packet analysis {"connection_id":55010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:27:24] local.INFO: Extracted packet for processing {"connection_id":55010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:27:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:27: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-04-26 20: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-04-26 20:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:27:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":55010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:27:24] local.INFO: GPS data processed {"connection_id":55010,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:27:24] local.INFO: Acknowledgment sent {"connection_id":55010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:27:26] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:27:26] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:27:26] local.INFO: IMEI packet received {"connection_id":55009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":55009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:27:39] local.INFO: TCP Data received {"connection_id":55009,"ip":"42.106.6.14","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55009,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 20:27:39] local.INFO: Processing buffer {"connection_id":55009,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-04-26 20:27:39] local.INFO: IMEI packet received {"connection_id":55009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":55009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:27:39] local.INFO: TCP Data received {"connection_id":54859,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:27:39] local.INFO: Processing buffer {"connection_id":54859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:27:39] local.INFO: IMEI packet received {"connection_id":54859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":54859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:27:55] local.INFO: TCP Data received {"connection_id":55010,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:27:55] local.INFO: Processing buffer {"connection_id":55010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:27:55] local.INFO: Packet analysis {"connection_id":55010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:27:55] local.INFO: Extracted packet for processing {"connection_id":55010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:27:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:27:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:27:55] 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-04-26 20:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:27:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:27:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:27:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":55010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:27:55] local.INFO: GPS data processed {"connection_id":55010,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:27:55] local.INFO: Acknowledgment sent {"connection_id":55010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:28:14] local.INFO: TCP Data received {"connection_id":55764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:14] local.INFO: Processing buffer {"connection_id":55764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:14] local.INFO: IMEI packet received {"connection_id":55764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":55764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:28:25] local.INFO: TCP Data received {"connection_id":55764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:25] local.INFO: Processing buffer {"connection_id":55764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:25] local.INFO: IMEI packet received {"connection_id":55764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":55764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:28:25] local.INFO: TCP Data received {"connection_id":55764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:25] local.INFO: Processing buffer {"connection_id":55764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:25] local.INFO: IMEI packet received {"connection_id":55764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":55764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:28:28] local.INFO: TCP Data received {"connection_id":55764,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:28] local.INFO: Processing buffer {"connection_id":55764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:28:28] local.INFO: IMEI packet received {"connection_id":55764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":55764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:28:32] local.INFO: TCP Data received {"connection_id":55764,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:28:32] local.INFO: Processing buffer {"connection_id":55764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:28:32] local.INFO: Packet analysis {"connection_id":55764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:28:32] local.INFO: Extracted packet for processing {"connection_id":55764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":55764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":55764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":55764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:28: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-04-26 20:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:28:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:28:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":55764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:28:32] local.INFO: GPS data processed {"connection_id":55764,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:28:32] local.INFO: Acknowledgment sent {"connection_id":55764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:29:13] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:29:13] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:29:13] local.INFO: IMEI packet received {"connection_id":55087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":55087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:29:18] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:29:18] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:29:18] local.INFO: IMEI packet received {"connection_id":55087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":55087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:29:19] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:29:19] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:29:19] local.INFO: Packet analysis {"connection_id":55087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:29:19] local.INFO: Extracted packet for processing {"connection_id":55087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:29:19] 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-04-26 20:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:29:19] 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-04-26 20:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:29:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":55087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:29:19] local.INFO: GPS data processed {"connection_id":55087,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:29:19] local.INFO: Acknowledgment sent {"connection_id":55087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:29:50] local.INFO: TCP Data received {"connection_id":55087,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:29:50] local.INFO: Processing buffer {"connection_id":55087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:29:50] local.INFO: Packet analysis {"connection_id":55087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:29:50] local.INFO: Extracted packet for processing {"connection_id":55087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:29:50] 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-04-26 20: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-04-26 20:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:29:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":55087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:29:50] local.INFO: GPS data processed {"connection_id":55087,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:29:50] local.INFO: Acknowledgment sent {"connection_id":55087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:30:18] local.INFO: TCP Data received {"connection_id":55765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:30:18] local.INFO: Processing buffer {"connection_id":55765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:30:18] local.INFO: IMEI packet received {"connection_id":55765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":55765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:30:24] local.INFO: TCP Data received {"connection_id":55765,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:30:24] local.INFO: Processing buffer {"connection_id":55765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:30:24] local.INFO: IMEI packet received {"connection_id":55765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":55765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:30:24] local.INFO: TCP Data received {"connection_id":55765,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:30:24] local.INFO: Processing buffer {"connection_id":55765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:30:24] local.INFO: Packet analysis {"connection_id":55765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:30:24] local.INFO: Extracted packet for processing {"connection_id":55765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:30:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:30: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-04-26 20:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:30:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:30:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:30:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":55765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:30:24] local.INFO: GPS data processed {"connection_id":55765,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:30:24] local.INFO: Acknowledgment sent {"connection_id":55765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:30:28] local.INFO: TCP Data received {"connection_id":55765,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:30:28] local.INFO: Processing buffer {"connection_id":55765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:30:28] local.INFO: Packet analysis {"connection_id":55765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:30:28] local.INFO: Extracted packet for processing {"connection_id":55765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:30:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:30:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:30:28] 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-04-26 20:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:30:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:30:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":55765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:30:28] local.INFO: GPS data processed {"connection_id":55765,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:30:28] local.INFO: Acknowledgment sent {"connection_id":55765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:31:13] local.INFO: TCP Data received {"connection_id":55767,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:31:13] local.INFO: Processing buffer {"connection_id":55767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:31:13] local.INFO: IMEI packet received {"connection_id":55767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":55767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:31:18] local.INFO: TCP Data received {"connection_id":55767,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:31:18] local.INFO: Processing buffer {"connection_id":55767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:31:18] local.INFO: IMEI packet received {"connection_id":55767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":55767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:31:19] local.INFO: TCP Data received {"connection_id":55767,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:19] local.INFO: Processing buffer {"connection_id":55767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:19] local.INFO: Packet analysis {"connection_id":55767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:31:19] local.INFO: Extracted packet for processing {"connection_id":55767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:31:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:31:19] 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-04-26 20: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-04-26 20:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:31:19] 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-04-26 20:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:31:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:31:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":55767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:31:19] local.INFO: GPS data processed {"connection_id":55767,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:31:19] local.INFO: Acknowledgment sent {"connection_id":55767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:31:23] local.INFO: TCP Data received {"connection_id":55767,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:23] local.INFO: Processing buffer {"connection_id":55767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:23] local.INFO: Packet analysis {"connection_id":55767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:31:23] local.INFO: Extracted packet for processing {"connection_id":55767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:31:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:31:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:31:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":55767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:31:23] local.INFO: GPS data processed {"connection_id":55767,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:31:23] local.INFO: Acknowledgment sent {"connection_id":55767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:31:55] local.INFO: TCP Data received {"connection_id":55767,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:55] local.INFO: Processing buffer {"connection_id":55767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4ac518012cb299c007822ce0004a00122b..."} 
[2026-04-26 20:31:55] local.INFO: Packet analysis {"connection_id":55767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:31:55] local.INFO: Extracted packet for processing {"connection_id":55767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4a"} 
[2026-04-26 20:31:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967063040001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777215391000,"timestamp_ms":1777215391000,"timestamp_seconds":1777215391,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4ac518"} 
[2026-04-26 20:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 20:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:31:55] 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-04-26 20:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967063040001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967063040001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:31:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:31:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967063040001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":55767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:31:55] local.INFO: GPS data processed {"connection_id":55767,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:31:55] local.INFO: Acknowledgment sent {"connection_id":55767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:32:13] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:32:13] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:32:13] local.INFO: IMEI packet received {"connection_id":54863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":54863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:32:18] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:32:18] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:32:18] local.INFO: IMEI packet received {"connection_id":54863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":54863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:32:19] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:32:19] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:32:19] local.INFO: Packet analysis {"connection_id":54863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:32:19] local.INFO: Extracted packet for processing {"connection_id":54863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:32:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:32:19] 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-04-26 20:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:32:19] 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-04-26 20:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:32:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:32:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:32:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":54863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:32:19] local.INFO: GPS data processed {"connection_id":54863,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:32:19] local.INFO: Acknowledgment sent {"connection_id":54863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:32:26] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:32:26] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:32:26] local.INFO: IMEI packet received {"connection_id":55089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":55089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:32:42] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:32:42] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:32:42] local.INFO: IMEI packet received {"connection_id":55089,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":55089,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:32:49] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4fbaa0012d7c990005d28c900004006327..."} 
[2026-04-26 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4fbaa0012d7c990005d28c900004006327..."} 
[2026-04-26 20:32:49] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4fbaa0012d7c990005d28c900004006327..."} 
[2026-04-26 20:32:49] local.INFO: Packet analysis {"connection_id":55089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:32:49] local.INFO: Extracted packet for processing {"connection_id":55089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":763140352,"raw_latitude":97684624,"longitude_deg":76.3140352,"latitude_deg":9.7684624,"altitude":4,"angle":99,"satellites":39,"speed":35,"hex_longitude":"2d7c9900","hex_latitude":"05d28c90","is_valid_coordinates":true} 
[2026-04-26 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967222784001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76629513710075904,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976377769798563840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] 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-04-26 20:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777215716000,"timestamp_ms":1777215716000,"timestamp_seconds":1777215716,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4fbaa0"} 
[2026-04-26 20:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:32: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-04-26 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":419583429685018715,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437104017920,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185872,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3868977596155986960,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":25372330909761536,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832589,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3437091823897608398,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1324318721,"corrected_to":0} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2794979330,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2815492302,"corrected_to":0} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3221607078,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3534168064,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":60,"raw_value":-7205759403792793599,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.WARNING: Large IO value detected {"io_id":38,"raw_value":9851624185528324,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,209,85,24,241,157,16,62,139,45,192,159,2,41,10,66,61,124,64,162,3,1,240,239,227,202,210,4,113,205,7,235,44,184,36,47,5,60,38],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":202,"original":1324318721,"validated":0},{"io_id":205,"original":2815492302,"validated":0}]} 
[2026-04-26 20:32:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216299393456734208,"timestamp_seconds":216299393456734.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967222784001,"66":12058,"209":206,"85":15104,"24":35,"16":76629513710075904,"45":8976377769798563840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 20:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967222784001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:32:49] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 20:32:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76629513710075904,"km_value":76629513710075.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976377769798563840,"description":"Unknown IO ID 45"} 
[2026-04-26 20:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967222784001,"power":12058,"unknown_209":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8976377769798563840}} 
[2026-04-26 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":55089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:32:49] local.INFO: GPS data processed {"connection_id":55089,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:32:49] local.INFO: Acknowledgment sent {"connection_id":55089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:32:50] local.INFO: TCP Data received {"connection_id":54863,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:32:50] local.INFO: Processing buffer {"connection_id":54863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:32:50] local.INFO: Packet analysis {"connection_id":54863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:32:50] local.INFO: Extracted packet for processing {"connection_id":54863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:32:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:32:50] 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-04-26 20: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-04-26 20:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:32:50] 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-04-26 20:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:32:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:32:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:32:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":54863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:32:50] local.INFO: GPS data processed {"connection_id":54863,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:32:50] local.INFO: Acknowledgment sent {"connection_id":54863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:33:01] local.INFO: TCP Data received {"connection_id":55089,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4fc270012d7c9fc005d28ca80004005228..."} 
[2026-04-26 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4fc270012d7c9fc005d28ca80004005228..."} 
[2026-04-26 20:33:01] local.INFO: Processing buffer {"connection_id":55089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4fc270012d7c9fc005d28ca80004005228..."} 
[2026-04-26 20:33:01] local.INFO: Packet analysis {"connection_id":55089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:01] local.INFO: Extracted packet for processing {"connection_id":55089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763142080,"raw_latitude":97684648,"longitude_deg":76.314208,"latitude_deg":9.7684648,"altitude":4,"angle":82,"satellites":40,"speed":34,"hex_longitude":"2d7c9fc0","hex_latitude":"05d28ca8","is_valid_coordinates":true} 
[2026-04-26 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967223296001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76629595314454528,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978207357147058176,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1777215718000,"timestamp_ms":1777215718000,"timestamp_seconds":1777215718,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4fc270"} 
[2026-04-26 20:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":55089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":55089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":55089,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967223296001,"66":12200,"209":206,"85":15104,"24":34,"16":76629595314454528,"45":8978207357147058176},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967223296001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:33:01] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 20:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76629595314454528,"km_value":76629595314454.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978207357147058176,"description":"Unknown IO ID 45"} 
[2026-04-26 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967223296001,"power":12200,"unknown_209":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8978207357147058176}} 
[2026-04-26 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":55089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:33:01] local.INFO: GPS data processed {"connection_id":55089,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:33:01] local.INFO: Acknowledgment sent {"connection_id":55089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:33:04] local.INFO: TCP Data received {"connection_id":55012,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:33:04] local.INFO: Processing buffer {"connection_id":55012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:33:04] local.INFO: IMEI packet received {"connection_id":55012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":55012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:33:11] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:11] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:11] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:33:12] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:12] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:12] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:33:13] local.INFO: TCP Data received {"connection_id":55768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:13] local.INFO: Processing buffer {"connection_id":55768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:13] local.INFO: IMEI packet received {"connection_id":55768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":55768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:33:14] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:14] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:14] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:33:15] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:15] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:33:15] local.INFO: IMEI packet received {"connection_id":54864,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:33:15] local.INFO: IMEI acknowledgment sent {"connection_id":54864,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:33:16] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4fe598012d7cbc0005d28e980004005e25..."} 
[2026-04-26 20:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4fe598012d7cbc0005d28e980004005e25..."} 
[2026-04-26 20:33:16] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4fe598012d7cbc0005d28e980004005e25..."} 
[2026-04-26 20:33:16] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:16] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763149312,"raw_latitude":97685144,"longitude_deg":76.3149312,"latitude_deg":9.7685144,"altitude":4,"angle":94,"satellites":37,"speed":35,"hex_longitude":"2d7cbc00","hex_latitude":"05d28e98","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967223808001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76629943206805504,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980107313239861248,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:16] 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-04-26 20:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777215727000,"timestamp_ms":1777215727000,"timestamp_seconds":1777215727,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4fe598"} 
[2026-04-26 20:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:33: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-04-26 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-26 20:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967223808001,"66":12058,"209":206,"85":15104,"24":35,"16":76629943206805504,"45":8980107313239861248},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 20:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967223808001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:33:16] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 20:33:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76629943206805504,"km_value":76629943206805.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980107313239861248,"description":"Unknown IO ID 45"} 
[2026-04-26 20:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967223808001,"power":12058,"unknown_209":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8980107313239861248}} 
[2026-04-26 20:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:33:16] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:33:16] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:33:18] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca501478012d7ce20005d28fd80003005225..."} 
[2026-04-26 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca501478012d7ce20005d28fd80003005225..."} 
[2026-04-26 20:33:18] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca501478012d7ce20005d28fd80003005225..."} 
[2026-04-26 20:33:18] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca50"} 
[2026-04-26 20:33:18] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca50"} 
[2026-04-26 20:33:18] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":97685464,"longitude_deg":76.315904,"latitude_deg":9.7685464,"altitude":3,"angle":82,"satellites":37,"speed":29,"hex_longitude":"2d7ce200","hex_latitude":"05d28fd8","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967226112001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76630407063273472,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8988058981332064256,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:18] 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-04-26 20:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777215739000,"timestamp_ms":1777215739000,"timestamp_seconds":1777215739,"priority":1,"record_length":96,"hex_timestamp":"0000019dca501478"} 
[2026-04-26 20:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:33: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-04-26 20: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967226112001,"66":12232,"209":206,"85":15104,"24":29,"16":76630407063273472,"45":8988058981332064256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 20:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967226112001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:33:18] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 20:33:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76630407063273472,"km_value":76630407063273.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8988058981332064256,"description":"Unknown IO ID 45"} 
[2026-04-26 20:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967226112001,"power":12232,"unknown_209":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8988058981332064256}} 
[2026-04-26 20:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66651,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:33:18] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:33:18] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:33:18] local.INFO: TCP Data received {"connection_id":55768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:18] local.INFO: Processing buffer {"connection_id":55768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:18] local.INFO: IMEI packet received {"connection_id":55768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":55768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:33:23] local.INFO: TCP Data received {"connection_id":55768,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:23] local.INFO: Processing buffer {"connection_id":55768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:33:23] local.INFO: IMEI packet received {"connection_id":55768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":55768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:33:24] local.INFO: TCP Data received {"connection_id":55768,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:33:24] local.INFO: Processing buffer {"connection_id":55768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:33:24] local.INFO: Packet analysis {"connection_id":55768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:24] local.INFO: Extracted packet for processing {"connection_id":55768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:33:24] 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-04-26 20:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:33: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-04-26 20:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:33:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:33:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:33:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":55768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:33:24] local.INFO: GPS data processed {"connection_id":55768,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:33:24] local.INFO: Acknowledgment sent {"connection_id":55768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:33:39] local.INFO: TCP Data received {"connection_id":54865,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:33:39] local.INFO: Processing buffer {"connection_id":54865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:33:39] local.INFO: IMEI packet received {"connection_id":54865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:33:39] local.INFO: IMEI acknowledgment sent {"connection_id":54865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:33:48] local.INFO: TCP Data received {"connection_id":54864,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca501478012d7ce20005d28fd80003005225..."} 
[2026-04-26 20:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca501478012d7ce20005d28fd80003005225..."} 
[2026-04-26 20:33:48] local.INFO: Processing buffer {"connection_id":54864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca501478012d7ce20005d28fd80003005225..."} 
[2026-04-26 20:33:48] local.INFO: Packet analysis {"connection_id":54864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca50"} 
[2026-04-26 20:33:48] local.INFO: Extracted packet for processing {"connection_id":54864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca50"} 
[2026-04-26 20:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763159040,"raw_latitude":97685464,"longitude_deg":76.315904,"latitude_deg":9.7685464,"altitude":3,"angle":82,"satellites":37,"speed":29,"hex_longitude":"2d7ce200","hex_latitude":"05d28fd8","is_valid_coordinates":true} 
[2026-04-26 20:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967229184001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76630407063273472,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998755030447151104,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:48] 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-04-26 20:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777215739000,"timestamp_ms":1777215739000,"timestamp_seconds":1777215739,"priority":1,"record_length":96,"hex_timestamp":"0000019dca501478"} 
[2026-04-26 20:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 20:33:48] 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-04-26 20:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":54864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":54864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":54864,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967229184001,"66":12232,"209":206,"85":15104,"24":29,"16":76630407063273472,"45":8998755030447151104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-04-26 20:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967229184001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:33:48] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-26 20:33:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76630407063273472,"km_value":76630407063273.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998755030447151104,"description":"Unknown IO ID 45"} 
[2026-04-26 20:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967229184001,"power":12232,"unknown_209":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8998755030447151104}} 
[2026-04-26 20:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":54864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:33:49] local.INFO: GPS data processed {"connection_id":54864,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:33:49] local.INFO: Acknowledgment sent {"connection_id":54864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:33:55] local.INFO: TCP Data received {"connection_id":55768,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:33:55] local.INFO: Processing buffer {"connection_id":55768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:33:55] local.INFO: Packet analysis {"connection_id":55768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:55] local.INFO: Extracted packet for processing {"connection_id":55768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:33:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:33:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:33:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":55768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:33:55] local.INFO: GPS data processed {"connection_id":55768,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:33:55] local.INFO: Acknowledgment sent {"connection_id":55768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:34:11] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:34:11] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:34:11] local.INFO: IMEI packet received {"connection_id":55013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":55013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:34:13] local.INFO: TCP Data received {"connection_id":55769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:13] local.INFO: Processing buffer {"connection_id":55769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:13] local.INFO: IMEI packet received {"connection_id":55769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":55769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:34:16] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:34:16] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:34:16] local.INFO: IMEI packet received {"connection_id":55013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":55013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:34:17] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca504740012d7d074005d291700004005d29..."} 
[2026-04-26 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca504740012d7d074005d291700004005d29..."} 
[2026-04-26 20:34:17] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca504740012d7d074005d291700004005d29..."} 
[2026-04-26 20:34:17] local.INFO: Packet analysis {"connection_id":55013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca50"} 
[2026-04-26 20:34:17] local.INFO: Extracted packet for processing {"connection_id":55013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca50"} 
[2026-04-26 20:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763168576,"raw_latitude":97685872,"longitude_deg":76.3168576,"latitude_deg":9.7685872,"altitude":4,"angle":93,"satellites":41,"speed":27,"hex_longitude":"2d7d0740","hex_latitude":"05d29170","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967229184001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76630866624774144,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998755030447151104,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777215752000,"timestamp_ms":1777215752000,"timestamp_seconds":1777215752,"priority":1,"record_length":96,"hex_timestamp":"0000019dca504740"} 
[2026-04-26 20:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:34: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-04-26 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-26 20:34: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-04-26 20: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-04-26 20:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967229184001,"66":12363,"117":206,"85":15104,"24":27,"16":76630866624774144,"45":8998755030447151104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967229184001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:34:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76630866624774144,"km_value":76630866624774.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998755030447151104,"description":"Unknown IO ID 45"} 
[2026-04-26 20:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967229184001,"power":12363,"unknown_117":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8998755030447151104}} 
[2026-04-26 20:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":55013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:34:17] local.INFO: GPS data processed {"connection_id":55013,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:34:17] local.INFO: Acknowledgment sent {"connection_id":55013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:34:19] local.INFO: TCP Data received {"connection_id":55769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:19] local.INFO: Processing buffer {"connection_id":55769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:19] local.INFO: IMEI packet received {"connection_id":55769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":55769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:34:23] local.INFO: TCP Data received {"connection_id":55769,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:23] local.INFO: Processing buffer {"connection_id":55769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:34:23] local.INFO: IMEI packet received {"connection_id":55769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":55769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:34:24] local.INFO: TCP Data received {"connection_id":55769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:34:24] local.INFO: Processing buffer {"connection_id":55769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:34:24] local.INFO: Packet analysis {"connection_id":55769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:34:24] local.INFO: Extracted packet for processing {"connection_id":55769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:34:24] 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-04-26 20: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-04-26 20:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:34:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:34:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:34:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":55769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:34:24] local.INFO: GPS data processed {"connection_id":55769,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:34:24] local.INFO: Acknowledgment sent {"connection_id":55769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:34:48] local.INFO: TCP Data received {"connection_id":55013,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca51aab8012d7d3fc005d281f0000600bc27..."} 
[2026-04-26 20:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca51aab8012d7d3fc005d281f0000600bc27..."} 
[2026-04-26 20:34:48] local.INFO: Processing buffer {"connection_id":55013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca51aab8012d7d3fc005d281f0000600bc27..."} 
[2026-04-26 20:34:48] local.INFO: Packet analysis {"connection_id":55013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca51"} 
[2026-04-26 20:34:48] local.INFO: Extracted packet for processing {"connection_id":55013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca51"} 
[2026-04-26 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97681904,"longitude_deg":76.318304,"latitude_deg":9.7681904,"altitude":6,"angle":188,"satellites":39,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05d281f0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967250432001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76631712733331456,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309512863744,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777215843000,"timestamp_ms":1777215843000,"timestamp_seconds":1777215843,"priority":1,"record_length":96,"hex_timestamp":"0000019dca51aab8"} 
[2026-04-26 20:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-26 20:34:48] 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-04-26 20: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-04-26 20:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967250432001,"66":12102,"117":206,"85":15104,"24":0,"16":76631712733331456,"45":9025143309512863744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967250432001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:34:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:34:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76631712733331456,"km_value":76631712733331.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309512863744,"description":"Unknown IO ID 45"} 
[2026-04-26 20:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967250432001,"power":12102,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9025143309512863744}} 
[2026-04-26 20:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":55013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:34:48] local.INFO: GPS data processed {"connection_id":55013,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:34:48] local.INFO: Acknowledgment sent {"connection_id":55013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:34:55] local.INFO: TCP Data received {"connection_id":55769,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:34:55] local.INFO: Processing buffer {"connection_id":55769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:34:55] local.INFO: Packet analysis {"connection_id":55769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:34:55] local.INFO: Extracted packet for processing {"connection_id":55769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:34:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:34:55] 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-04-26 20:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:34:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:34:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:34:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":55769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:34:55] local.INFO: GPS data processed {"connection_id":55769,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:34:55] local.INFO: Acknowledgment sent {"connection_id":55769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:35:11] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:35:11] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:35:11] local.INFO: IMEI packet received {"connection_id":55090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":55090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:35:13] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:35:13] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:35:13] local.INFO: IMEI packet received {"connection_id":55014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":55014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:35:16] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:35:16] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:35:16] local.INFO: IMEI packet received {"connection_id":55090,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":55090,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:35:17] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca51fcc0012d7d3fc005d281f0000600bc2a..."} 
[2026-04-26 20:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca51fcc0012d7d3fc005d281f0000600bc2a..."} 
[2026-04-26 20:35:17] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca51fcc0012d7d3fc005d281f0000600bc2a..."} 
[2026-04-26 20:35:17] local.INFO: Packet analysis {"connection_id":55090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca51"} 
[2026-04-26 20:35:17] local.INFO: Extracted packet for processing {"connection_id":55090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca51"} 
[2026-04-26 20:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":97681904,"longitude_deg":76.318304,"latitude_deg":9.7681904,"altitude":6,"angle":188,"satellites":42,"speed":0,"hex_longitude":"2d7d3fc0","hex_latitude":"05d281f0","is_valid_coordinates":true} 
[2026-04-26 20:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967255808001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76631712733331456,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025143309512863744,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777215864000,"timestamp_ms":1777215864000,"timestamp_seconds":1777215864,"priority":1,"record_length":96,"hex_timestamp":"0000019dca51fcc0"} 
[2026-04-26 20:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:35: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-04-26 20:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:35:17] 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-04-26 20:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967255808001,"66":11917,"117":206,"85":15104,"24":0,"16":76631712733331456,"45":9025143309512863744},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967255808001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:35:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:35:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76631712733331456,"km_value":76631712733331.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025143309512863744,"description":"Unknown IO ID 45"} 
[2026-04-26 20:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967255808001,"power":11917,"unknown_117":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9025143309512863744}} 
[2026-04-26 20:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":55090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66659,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:35:17] local.INFO: GPS data processed {"connection_id":55090,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:35:17] local.INFO: Acknowledgment sent {"connection_id":55090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:35:18] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:35:18] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:35:18] local.INFO: IMEI packet received {"connection_id":55014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":55014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:35:19] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:35:19] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:35:19] local.INFO: Packet analysis {"connection_id":55014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:35:19] local.INFO: Extracted packet for processing {"connection_id":55014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:35:19] 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-04-26 20:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:35:19] 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-04-26 20:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:35:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:35:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":55014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:35:19] local.INFO: GPS data processed {"connection_id":55014,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:35:19] local.INFO: Acknowledgment sent {"connection_id":55014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:35:48] local.INFO: TCP Data received {"connection_id":55090,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca531600012d7d3c0005d281f0000800082c..."} 
[2026-04-26 20:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca531600012d7d3c0005d281f0000800082c..."} 
[2026-04-26 20:35:48] local.INFO: Processing buffer {"connection_id":55090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca531600012d7d3c0005d281f0000800082c..."} 
[2026-04-26 20:35:48] local.INFO: Packet analysis {"connection_id":55090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:35:48] local.INFO: Extracted packet for processing {"connection_id":55090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:35:48] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97681904,"longitude_deg":76.318208,"latitude_deg":9.7681904,"altitude":8,"angle":8,"satellites":44,"speed":12,"hex_longitude":"2d7d3c00","hex_latitude":"05d281f0","is_valid_coordinates":true} 
[2026-04-26 20:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967279360001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76631811517579264,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778350125056,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777215936000,"timestamp_ms":1777215936000,"timestamp_seconds":1777215936,"priority":1,"record_length":96,"hex_timestamp":"0000019dca531600"} 
[2026-04-26 20:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:35:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-26 20:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55090,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967279360001,"66":12200,"117":206,"85":15104,"24":12,"16":76631811517579264,"45":9024087778350125056},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967279360001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:35:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:35:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76631811517579264,"km_value":76631811517579.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778350125056,"description":"Unknown IO ID 45"} 
[2026-04-26 20:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967279360001,"power":12200,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9024087778350125056}} 
[2026-04-26 20:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":55090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:35:48] local.INFO: GPS data processed {"connection_id":55090,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:35:48] local.INFO: Acknowledgment sent {"connection_id":55090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:35:50] local.INFO: TCP Data received {"connection_id":55014,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:35:50] local.INFO: Processing buffer {"connection_id":55014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:35:50] local.INFO: Packet analysis {"connection_id":55014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:35:50] local.INFO: Extracted packet for processing {"connection_id":55014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:35:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:35:50] 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-04-26 20: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-04-26 20:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:35:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:35:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:35:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":55014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:35:50] local.INFO: GPS data processed {"connection_id":55014,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:35:50] local.INFO: Acknowledgment sent {"connection_id":55014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:36:16] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:36:16] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:36:16] local.INFO: IMEI packet received {"connection_id":54868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":54868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:36:18] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:36:18] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:36:18] local.INFO: IMEI packet received {"connection_id":54867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":54867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:36:21] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:36:21] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:36:21] local.INFO: IMEI packet received {"connection_id":54868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":54868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:36:22] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca533540012d7d3d8005d28a70000700172c..."} 
[2026-04-26 20:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca533540012d7d3d8005d28a70000700172c..."} 
[2026-04-26 20:36:22] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca533540012d7d3d8005d28a70000700172c..."} 
[2026-04-26 20:36:22] local.INFO: Packet analysis {"connection_id":54868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:36:22] local.INFO: Extracted packet for processing {"connection_id":54868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:36:22] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97684080,"longitude_deg":76.3182464,"latitude_deg":9.768408,"altitude":7,"angle":23,"satellites":44,"speed":11,"hex_longitude":"2d7d3d80","hex_latitude":"05d28a70","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967279616001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76631923186728960,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778350198784,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777215944000,"timestamp_ms":1777215944000,"timestamp_seconds":1777215944,"priority":1,"record_length":96,"hex_timestamp":"0000019dca533540"} 
[2026-04-26 20:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:36: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-04-26 20: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-26 20:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":54868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":54868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":54868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967279616001,"66":11917,"117":206,"85":15104,"24":11,"16":76631923186728960,"45":9024087778350198784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967279616001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:36:22] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:36:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76631923186728960,"km_value":76631923186728.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778350198784,"description":"Unknown IO ID 45"} 
[2026-04-26 20:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967279616001,"power":11917,"unknown_117":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9024087778350198784}} 
[2026-04-26 20:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":54868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:36:22] local.INFO: GPS data processed {"connection_id":54868,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:36:22] local.INFO: Acknowledgment sent {"connection_id":54868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:36:23] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:36:23] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:36:23] local.INFO: IMEI packet received {"connection_id":54867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":54867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:36:24] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:36:24] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:36:24] local.INFO: Packet analysis {"connection_id":54867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:36:24] local.INFO: Extracted packet for processing {"connection_id":54867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 20:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 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-04-26 20:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:36:24] 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-04-26 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-04-26 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-04-26 20:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:36:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:36:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:36:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":54867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:36:24] local.INFO: GPS data processed {"connection_id":54867,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:36:24] local.INFO: Acknowledgment sent {"connection_id":54867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:36:28] local.INFO: TCP Data received {"connection_id":54867,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:36:28] local.INFO: Processing buffer {"connection_id":54867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca4f5ce0012cb299c007822ce0004900122a..."} 
[2026-04-26 20:36:28] local.INFO: Packet analysis {"connection_id":54867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:36:28] local.INFO: Extracted packet for processing {"connection_id":54867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca4f"} 
[2026-04-26 20:36:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":42,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967140096001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777215692000,"timestamp_ms":1777215692000,"timestamp_seconds":1777215692,"priority":1,"record_length":96,"hex_timestamp":"0000019dca4f5ce0"} 
[2026-04-26 20:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:36:28] 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-04-26 20:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:36:28] 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-04-26 20:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967140096001,"66":24223,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967140096001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:36:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:36:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967140096001,"power":24223,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":54867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:36:28] local.INFO: GPS data processed {"connection_id":54867,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:36:28] local.INFO: Acknowledgment sent {"connection_id":54867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:36:53] local.INFO: TCP Data received {"connection_id":54868,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca533d10012d7d3ec005d28c60000600262c..."} 
[2026-04-26 20:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca533d10012d7d3ec005d28c60000600262c..."} 
[2026-04-26 20:36:53] local.INFO: Processing buffer {"connection_id":54868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca533d10012d7d3ec005d28c60000600262c..."} 
[2026-04-26 20:36:53] local.INFO: Packet analysis {"connection_id":54868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:36:53] local.INFO: Extracted packet for processing {"connection_id":54868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:36:53] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":97684576,"longitude_deg":76.3182784,"latitude_deg":9.7684576,"altitude":6,"angle":38,"satellites":44,"speed":10,"hex_longitude":"2d7d3ec0","hex_latitude":"05d28c60","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967281664001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76631948956532736,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990815821824,"note":"Value kept but may cause issues"} 
[2026-04-26 20:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777215946000,"timestamp_ms":1777215946000,"timestamp_seconds":1777215946,"priority":1,"record_length":96,"hex_timestamp":"0000019dca533d10"} 
[2026-04-26 20:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-26 20:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967281664001,"66":12058,"117":206,"85":15104,"24":10,"16":76631948956532736,"45":9024509990815821824},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967281664001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:36:53] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:36:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76631948956532736,"km_value":76631948956532.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990815821824,"description":"Unknown IO ID 45"} 
[2026-04-26 20:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967281664001,"power":12058,"unknown_117":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9024509990815821824}} 
[2026-04-26 20:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":54868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:36:53] local.INFO: GPS data processed {"connection_id":54868,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:36:53] local.INFO: Acknowledgment sent {"connection_id":54868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:37:11] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:11] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:11] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:37:11] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:11] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:11] local.INFO: IMEI packet received {"connection_id":55092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":55092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:37:13] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:13] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:13] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:37:14] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:14] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:14] local.INFO: IMEI packet received {"connection_id":55092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":55092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:37:15] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:15] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:37:15] local.INFO: IMEI packet received {"connection_id":55092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":55092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:37:16] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5348c8012d7d408005d28e88000600312c..."} 
[2026-04-26 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5348c8012d7d408005d28e88000600312c..."} 
[2026-04-26 20:37:16] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5348c8012d7d408005d28e88000600312c..."} 
[2026-04-26 20:37:16] local.INFO: Packet analysis {"connection_id":55092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:16] local.INFO: Extracted packet for processing {"connection_id":55092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:16] local.INFO: GPS Element Parsed {"raw_longitude":763183232,"raw_latitude":97685128,"longitude_deg":76.3183232,"latitude_deg":9.7685128,"altitude":6,"angle":49,"satellites":44,"speed":8,"hex_longitude":"2d7d4080","hex_latitude":"05d28e88","is_valid_coordinates":true} 
[2026-04-26 20:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967282176001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76631983316271104,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834536837120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:16] 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-04-26 20:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777215949000,"timestamp_ms":1777215949000,"timestamp_seconds":1777215949,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5348c8"} 
[2026-04-26 20:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:37: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-04-26 20:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 20:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":55092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":55092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":55092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967282176001,"66":11384,"117":206,"85":15104,"24":8,"16":76631983316271104,"45":9024861834536837120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967282176001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:37:16] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:37:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76631983316271104,"km_value":76631983316271.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834536837120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967282176001,"power":11384,"unknown_117":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9024861834536837120}} 
[2026-04-26 20:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":55092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:37:16] local.INFO: GPS data processed {"connection_id":55092,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:37:16] local.INFO: Acknowledgment sent {"connection_id":55092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:37:17] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca535098012d7d424005d28fb00005003f2c..."} 
[2026-04-26 20:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca535098012d7d424005d28fb00005003f2c..."} 
[2026-04-26 20:37:17] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca535098012d7d424005d28fb00005003f2c..."} 
[2026-04-26 20:37:17] local.INFO: Packet analysis {"connection_id":55092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:17] local.INFO: Extracted packet for processing {"connection_id":55092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:17] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":97685424,"longitude_deg":76.318368,"latitude_deg":9.7685424,"altitude":5,"angle":63,"satellites":44,"speed":11,"hex_longitude":"2d7d4240","hex_latitude":"05d28fb0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967282944001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76632009086074880,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025354415746222080,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777215951000,"timestamp_ms":1777215951000,"timestamp_seconds":1777215951,"priority":1,"record_length":96,"hex_timestamp":"0000019dca535098"} 
[2026-04-26 20:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:37: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-04-26 20: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":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-26 20:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967282944001,"66":11765,"117":206,"85":15104,"24":11,"16":76632009086074880,"45":9025354415746222080},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967282944001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:37:17] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:37:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76632009086074880,"km_value":76632009086074.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025354415746222080,"description":"Unknown IO ID 45"} 
[2026-04-26 20:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967282944001,"power":11765,"unknown_117":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9025354415746222080}} 
[2026-04-26 20:37:17] local.INFO: DEBUG: GPS processor result {"connection_id":55092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:37:17] local.INFO: GPS data processed {"connection_id":55092,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:37:17] local.INFO: Acknowledgment sent {"connection_id":55092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:37:18] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:18] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:37:18] local.INFO: IMEI packet received {"connection_id":54869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":54869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:37:24] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:37:24] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:37:24] local.INFO: Packet analysis {"connection_id":54869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:24] local.INFO: Extracted packet for processing {"connection_id":54869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967217152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215993000,"timestamp_ms":1777215993000,"timestamp_seconds":1777215993,"priority":1,"record_length":96,"hex_timestamp":"0000019dca53f4a8"} 
[2026-04-26 20:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 20:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967217152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967217152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:37:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:37:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967217152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":54869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:37:24] local.INFO: GPS data processed {"connection_id":54869,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:37:24] local.INFO: Acknowledgment sent {"connection_id":54869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:37:48] local.INFO: TCP Data received {"connection_id":55092,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca535868012d7d444005d29068000500532c..."} 
[2026-04-26 20:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca535868012d7d444005d29068000500532c..."} 
[2026-04-26 20:37:48] local.INFO: Processing buffer {"connection_id":55092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca535868012d7d444005d29068000500532c..."} 
[2026-04-26 20:37:48] local.INFO: Packet analysis {"connection_id":55092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:48] local.INFO: Extracted packet for processing {"connection_id":55092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:48] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97685608,"longitude_deg":76.3184192,"latitude_deg":9.7685608,"altitude":5,"angle":83,"satellites":44,"speed":12,"hex_longitude":"2d7d4440","hex_latitude":"05d29068","is_valid_coordinates":true} 
[2026-04-26 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-04-26 20:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967283456001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76632039150845952,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996955541504,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777215953000,"timestamp_ms":1777215953000,"timestamp_seconds":1777215953,"priority":1,"record_length":96,"hex_timestamp":"0000019dca535868"} 
[2026-04-26 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-04-26 20:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-04-26 20:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2628,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 20:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967283456001,"66":11776,"117":206,"85":15104,"24":12,"16":76632039150845952,"45":9025846996955541504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-04-26 20:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967283456001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:37:48] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-26 20:37:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76632039150845952,"km_value":76632039150845.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996955541504,"description":"Unknown IO ID 45"} 
[2026-04-26 20:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967283456001,"power":11776,"unknown_117":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9025846996955541504}} 
[2026-04-26 20:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":55092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:37:48] local.INFO: GPS data processed {"connection_id":55092,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:37:48] local.INFO: Acknowledgment sent {"connection_id":55092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:37:55] local.INFO: TCP Data received {"connection_id":54869,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:37:55] local.INFO: Processing buffer {"connection_id":54869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:37:55] local.INFO: Packet analysis {"connection_id":54869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:55] local.INFO: Extracted packet for processing {"connection_id":54869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:37:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967217152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777215993000,"timestamp_ms":1777215993000,"timestamp_seconds":1777215993,"priority":1,"record_length":96,"hex_timestamp":"0000019dca53f4a8"} 
[2026-04-26 20:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 20:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967217152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967217152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:37:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:37:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:37:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967217152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":54869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:37:55] local.INFO: GPS data processed {"connection_id":54869,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:37:55] local.INFO: Acknowledgment sent {"connection_id":54869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:38:10] local.INFO: TCP Data received {"connection_id":55771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:10] local.INFO: Processing buffer {"connection_id":55771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:10] local.INFO: IMEI packet received {"connection_id":55771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":55771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:38:11] local.INFO: TCP Data received {"connection_id":55771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:11] local.INFO: Processing buffer {"connection_id":55771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:11] local.INFO: IMEI packet received {"connection_id":55771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":55771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:38:11] local.INFO: TCP Data received {"connection_id":55771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:11] local.INFO: Processing buffer {"connection_id":55771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:11] local.INFO: IMEI packet received {"connection_id":55771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":55771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:38:16] local.INFO: TCP Data received {"connection_id":55771,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:16] local.INFO: Processing buffer {"connection_id":55771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:38:16] local.INFO: IMEI packet received {"connection_id":55771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":55771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:38:17] local.INFO: TCP Data received {"connection_id":55771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca550a00012d7e4d4005d2c5f0000300262a..."} 
[2026-04-26 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca550a00012d7e4d4005d2c5f0000300262a..."} 
[2026-04-26 20:38:17] local.INFO: Processing buffer {"connection_id":55771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca550a00012d7e4d4005d2c5f0000300262a..."} 
[2026-04-26 20:38:17] local.INFO: Packet analysis {"connection_id":55771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca55"} 
[2026-04-26 20:38:17] local.INFO: Extracted packet for processing {"connection_id":55771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca55"} 
[2026-04-26 20:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763252032,"raw_latitude":97699312,"longitude_deg":76.3252032,"latitude_deg":9.7699312,"altitude":3,"angle":38,"satellites":42,"speed":24,"hex_longitude":"2d7e4d40","hex_latitude":"05d2c5f0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967308800001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76635539549192192,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093612097600550912,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777216064000,"timestamp_ms":1777216064000,"timestamp_seconds":1777216064,"priority":1,"record_length":96,"hex_timestamp":"0000019dca550a00"} 
[2026-04-26 20:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:38: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-04-26 20: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-26 20:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967308800001,"66":12037,"116":206,"85":15104,"24":24,"16":76635539549192192,"45":9093612097600550912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 20:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967308800001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:38:17] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 20:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76635539549192192,"km_value":76635539549192.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093612097600550912,"description":"Unknown IO ID 45"} 
[2026-04-26 20:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967308800001,"power":12037,"unknown_116":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9093612097600550912}} 
[2026-04-26 20:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":55771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:38:17] local.INFO: GPS data processed {"connection_id":55771,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:38:17] local.INFO: Acknowledgment sent {"connection_id":55771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:38:18] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:38:18] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:38:18] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:38:23] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:38:23] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:38:23] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:38:24] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:38:24] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:38:24] local.INFO: Packet analysis {"connection_id":55093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:38:24] local.INFO: Extracted packet for processing {"connection_id":55093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967217152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777215993000,"timestamp_ms":1777215993000,"timestamp_seconds":1777215993,"priority":1,"record_length":96,"hex_timestamp":"0000019dca53f4a8"} 
[2026-04-26 20:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 20:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967217152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967217152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:38:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:38:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967217152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":55093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:38:24] local.INFO: GPS data processed {"connection_id":55093,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:38:24] local.INFO: Acknowledgment sent {"connection_id":55093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:38:28] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:38:28] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:38:28] local.INFO: Packet analysis {"connection_id":55093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:38:28] local.INFO: Extracted packet for processing {"connection_id":55093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967217152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777215993000,"timestamp_ms":1777215993000,"timestamp_seconds":1777215993,"priority":1,"record_length":96,"hex_timestamp":"0000019dca53f4a8"} 
[2026-04-26 20:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 20:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:38:28] 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-04-26 20:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967217152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967217152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:38:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:38:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967217152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":55093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:38:28] local.INFO: GPS data processed {"connection_id":55093,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:38:28] local.INFO: Acknowledgment sent {"connection_id":55093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:38:48] local.INFO: TCP Data received {"connection_id":55771,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca55f460012d7e5f0005d34d800005015a29..."} 
[2026-04-26 20:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca55f460012d7e5f0005d34d800005015a29..."} 
[2026-04-26 20:38:48] local.INFO: Processing buffer {"connection_id":55771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca55f460012d7e5f0005d34d800005015a29..."} 
[2026-04-26 20:38:48] local.INFO: Packet analysis {"connection_id":55771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca55"} 
[2026-04-26 20:38:48] local.INFO: Extracted packet for processing {"connection_id":55771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca55"} 
[2026-04-26 20:38:48] local.INFO: GPS Element Parsed {"raw_longitude":763256576,"raw_latitude":97734016,"longitude_deg":76.3256576,"latitude_deg":9.7734016,"altitude":5,"angle":346,"satellites":41,"speed":20,"hex_longitude":"2d7e5f00","hex_latitude":"05d34d80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967327744001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76637347730423808,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105996996586340352,"note":"Value kept but may cause issues"} 
[2026-04-26 20:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777216124000,"timestamp_ms":1777216124000,"timestamp_seconds":1777216124,"priority":1,"record_length":96,"hex_timestamp":"0000019dca55f460"} 
[2026-04-26 20:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 20:38:48] 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-04-26 20: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-04-26 20:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967327744001,"66":12211,"116":206,"85":15104,"24":20,"16":76637347730423808,"45":9105996996586340352},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-04-26 20:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967327744001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:38:48] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-26 20:38:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76637347730423808,"km_value":76637347730423.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105996996586340352,"description":"Unknown IO ID 45"} 
[2026-04-26 20:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967327744001,"power":12211,"unknown_116":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9105996996586340352}} 
[2026-04-26 20:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":55771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66675,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:38:48] local.INFO: GPS data processed {"connection_id":55771,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:38:48] local.INFO: Acknowledgment sent {"connection_id":55771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:39:04] local.INFO: TCP Data received {"connection_id":55016,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:39:04] local.INFO: Processing buffer {"connection_id":55016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:39:04] local.INFO: IMEI packet received {"connection_id":55016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":55016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:39:10] local.INFO: TCP Data received {"connection_id":54870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:10] local.INFO: Processing buffer {"connection_id":54870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:10] local.INFO: IMEI packet received {"connection_id":54870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":54870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:39:11] local.INFO: TCP Data received {"connection_id":54870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:11] local.INFO: Processing buffer {"connection_id":54870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:11] local.INFO: IMEI packet received {"connection_id":54870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":54870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:39:13] local.INFO: TCP Data received {"connection_id":54870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:13] local.INFO: Processing buffer {"connection_id":54870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:13] local.INFO: IMEI packet received {"connection_id":54870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":54870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:39:13] local.INFO: TCP Data received {"connection_id":55772,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:39:13] local.INFO: Processing buffer {"connection_id":55772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:39:13] local.INFO: IMEI packet received {"connection_id":55772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":55772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:39:16] local.INFO: TCP Data received {"connection_id":54870,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54870,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:16] local.INFO: Processing buffer {"connection_id":54870,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:39:16] local.INFO: IMEI packet received {"connection_id":54870,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:39:16] local.INFO: IMEI acknowledgment sent {"connection_id":54870,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:39:18] local.INFO: TCP Data received {"connection_id":55772,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:39:18] local.INFO: Processing buffer {"connection_id":55772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:39:18] local.INFO: IMEI packet received {"connection_id":55772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":55772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:39:19] local.INFO: TCP Data received {"connection_id":55772,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:39:19] local.INFO: Processing buffer {"connection_id":55772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:39:19] local.INFO: Packet analysis {"connection_id":55772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:39:19] local.INFO: Extracted packet for processing {"connection_id":55772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967217152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777215993000,"timestamp_ms":1777215993000,"timestamp_seconds":1777215993,"priority":1,"record_length":96,"hex_timestamp":"0000019dca53f4a8"} 
[2026-04-26 20:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 20:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967217152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967217152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967217152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":55772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:39:19] local.INFO: GPS data processed {"connection_id":55772,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:39:19] local.INFO: Acknowledgment sent {"connection_id":55772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:39:19] local.INFO: TCP Data received {"connection_id":54870,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca564e38012d7e3a4005d35740000500c32a..."} 
[2026-04-26 20:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca564e38012d7e3a4005d35740000500c32a..."} 
[2026-04-26 20:39:19] local.INFO: Processing buffer {"connection_id":54870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca564e38012d7e3a4005d35740000500c32a..."} 
[2026-04-26 20:39:19] local.INFO: Packet analysis {"connection_id":54870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:39:19] local.INFO: Extracted packet for processing {"connection_id":54870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736512,"longitude_deg":76.3247168,"latitude_deg":9.7736512,"altitude":5,"angle":195,"satellites":42,"speed":6,"hex_longitude":"2d7e3a40","hex_latitude":"05d35740","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967333376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76637863126499328,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159937075200,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777216147000,"timestamp_ms":1777216147000,"timestamp_seconds":1777216147,"priority":1,"record_length":96,"hex_timestamp":"0000019dca564e38"} 
[2026-04-26 20:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-26 20:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967333376001,"66":11721,"109":206,"85":15104,"24":6,"16":76637863126499328,"45":9095723159937075200},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967333376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76637863126499328,"km_value":76637863126499.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159937075200,"description":"Unknown IO ID 45"} 
[2026-04-26 20:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967333376001,"power":11721,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9095723159937075200}} 
[2026-04-26 20:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":54870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:39:19] local.INFO: GPS data processed {"connection_id":54870,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:39:19] local.INFO: Acknowledgment sent {"connection_id":54870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:39:44] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:39:44] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:39:44] local.INFO: IMEI packet received {"connection_id":55094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":55094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:39:49] local.INFO: TCP Data received {"connection_id":54870,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca565220012d7e3a4005d35688000500b22a..."} 
[2026-04-26 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca565220012d7e3a4005d35688000500b22a..."} 
[2026-04-26 20:39:49] local.INFO: Processing buffer {"connection_id":54870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca565220012d7e3a4005d35688000500b22a..."} 
[2026-04-26 20:39:49] local.INFO: Packet analysis {"connection_id":54870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:39:49] local.INFO: Extracted packet for processing {"connection_id":54870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736328,"longitude_deg":76.3247168,"latitude_deg":9.7736328,"altitude":5,"angle":178,"satellites":42,"speed":7,"hex_longitude":"2d7e3a40","hex_latitude":"05d35688","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967333632001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76637871716433920,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192862720,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777216148000,"timestamp_ms":1777216148000,"timestamp_seconds":1777216148,"priority":1,"record_length":96,"hex_timestamp":"0000019dca565220"} 
[2026-04-26 20:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:39: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-04-26 20: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-26 20:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":54870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":54870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":54870,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967333632001,"66":12037,"109":206,"85":15104,"24":7,"16":76637871716433920,"45":9095652791192862720},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967333632001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:39:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:39:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76637871716433920,"km_value":76637871716433.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192862720,"description":"Unknown IO ID 45"} 
[2026-04-26 20:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967333632001,"power":12037,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9095652791192862720}} 
[2026-04-26 20:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":54870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66678,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:39:49] local.INFO: GPS data processed {"connection_id":54870,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:39:49] local.INFO: Acknowledgment sent {"connection_id":54870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:39:52] local.INFO: TCP Data received {"connection_id":55772,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:39:52] local.INFO: Processing buffer {"connection_id":55772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca53f4a8012cb299c007822ce0004800122d..."} 
[2026-04-26 20:39:52] local.INFO: Packet analysis {"connection_id":55772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:39:52] local.INFO: Extracted packet for processing {"connection_id":55772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca53"} 
[2026-04-26 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 20:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967217152001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777215993000,"timestamp_ms":1777215993000,"timestamp_seconds":1777215993,"priority":1,"record_length":96,"hex_timestamp":"0000019dca53f4a8"} 
[2026-04-26 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-04-26 20:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":94,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-26 20:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2099,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 20:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:39: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-04-26 20:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967217152001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967217152001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:39:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:39:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:39:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967217152001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":55772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:39:52] local.INFO: GPS data processed {"connection_id":55772,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:39:52] local.INFO: Acknowledgment sent {"connection_id":55772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:40:11] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:40:11] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:40:11] local.INFO: IMEI packet received {"connection_id":55018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":55018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:40:13] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:40:13] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:40:13] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:40:16] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:40:16] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:40:16] local.INFO: IMEI packet received {"connection_id":55018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":55018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:40:18] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca565608012d7e3a4005d355c00005009e2a..."} 
[2026-04-26 20:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca565608012d7e3a4005d355c00005009e2a..."} 
[2026-04-26 20:40:18] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca565608012d7e3a4005d355c00005009e2a..."} 
[2026-04-26 20:40:18] local.INFO: Packet analysis {"connection_id":55018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:40:18] local.INFO: Extracted packet for processing {"connection_id":55018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97736128,"longitude_deg":76.3247168,"latitude_deg":9.7736128,"altitude":5,"angle":158,"satellites":42,"speed":9,"hex_longitude":"2d7e3a40","hex_latitude":"05d355c0","is_valid_coordinates":true} 
[2026-04-26 20:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967333888001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76637880306368512,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192815616,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40: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-04-26 20:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777216149000,"timestamp_ms":1777216149000,"timestamp_seconds":1777216149,"priority":1,"record_length":96,"hex_timestamp":"0000019dca565608"} 
[2026-04-26 20:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1657324663040115712,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394642752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194683136,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3217962671160622038,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1447198721,"corrected_to":0} 
[2026-04-26 20:40:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-04-26 20:40:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,69,78,45,64,87,5,42,10,66,74,128,70,192,1,240,54,227,202,211,4,113,205,46,65,48,41,239,2],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":202,"original":1447198721,"validated":0},{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-04-26 20:40:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360483863648468992,"timestamp_seconds":360483863648469.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967333888001,"66":12037,"109":206,"85":15104,"24":9,"16":76637880306368512,"45":9095652791192815616},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967333888001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:40:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76637880306368512,"km_value":76637880306368.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192815616,"description":"Unknown IO ID 45"} 
[2026-04-26 20:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967333888001,"power":12037,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9095652791192815616}} 
[2026-04-26 20:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":55018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:40:19] local.INFO: GPS data processed {"connection_id":55018,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:40:19] local.INFO: Acknowledgment sent {"connection_id":55018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:40:19] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:40:19] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:40:19] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:40:54] local.INFO: TCP Data received {"connection_id":55018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5661c0012d7e3b4005d35230000500ac2a..."} 
[2026-04-26 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5661c0012d7e3b4005d35230000500ac2a..."} 
[2026-04-26 20:40:54] local.INFO: Processing buffer {"connection_id":55018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5661c0012d7e3b4005d35230000500ac2a..."} 
[2026-04-26 20:40:54] local.INFO: Packet analysis {"connection_id":55018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:40:54] local.INFO: Extracted packet for processing {"connection_id":55018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":763247424,"raw_latitude":97735216,"longitude_deg":76.3247424,"latitude_deg":9.7735216,"altitude":5,"angle":172,"satellites":42,"speed":16,"hex_longitude":"2d7e3b40","hex_latitude":"05d35230","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967334144001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76637927551008768,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192764416,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777216152000,"timestamp_ms":1777216152000,"timestamp_seconds":1777216152,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5661c0"} 
[2026-04-26 20:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:40: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-04-26 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1369094286888403968,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394645752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194763776,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218050632090838999,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2147560830,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1447454721,"corrected_to":0} 
[2026-04-26 20:40:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-04-26 20:40:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-04-26 20:40:54] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,109,85,24,241,157,16,69,82,45,64,86,5,42,10,66,78,87,74,128,1,240,201,227,202,211,4,113,205,6,59,120,239,46,2],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":202,"original":1447454721,"validated":0},{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-04-26 20:40:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360461873416044544,"timestamp_seconds":360461873416044.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967334144001,"66":12113,"109":206,"85":15104,"24":16,"16":76637927551008768,"45":9095652791192764416},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967334144001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:40:54] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:40:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76637927551008768,"km_value":76637927551008.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192764416,"description":"Unknown IO ID 45"} 
[2026-04-26 20:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967334144001,"power":12113,"unknown_109":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9095652791192764416}} 
[2026-04-26 20:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":55018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:40:54] local.INFO: GPS data processed {"connection_id":55018,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:40:54] local.INFO: Acknowledgment sent {"connection_id":55018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:40:58] local.INFO: TCP Data received {"connection_id":55017,"ip":"42.106.6.24","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55017,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 20:40:58] local.INFO: Processing buffer {"connection_id":55017,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 20:40:58] local.INFO: IMEI packet received {"connection_id":55017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":55017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:41:16] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:41:16] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:41:16] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:41:22] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:41:22] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:41:22] local.INFO: IMEI packet received {"connection_id":55019,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":55019,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:41:22] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca567160012d7e3bc005d34d20000500c02a..."} 
[2026-04-26 20:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca567160012d7e3bc005d34d20000500c02a..."} 
[2026-04-26 20:41:22] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca567160012d7e3bc005d34d20000500c02a..."} 
[2026-04-26 20:41:22] local.INFO: Packet analysis {"connection_id":55019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:41:22] local.INFO: Extracted packet for processing {"connection_id":55019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763247552,"raw_latitude":97733920,"longitude_deg":76.3247552,"latitude_deg":9.773392,"altitude":5,"angle":192,"satellites":42,"speed":12,"hex_longitude":"2d7e3bc0","hex_latitude":"05d34d20","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967334912001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76637991975518208,"note":"Value kept but may cause issues"} 
[2026-04-26 20:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095934266169241600,"note":"Value kept but may cause issues"} 
[2026-04-26 20:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777216156000,"timestamp_ms":1777216156000,"timestamp_seconds":1777216156,"priority":1,"record_length":96,"hex_timestamp":"0000019dca567160"} 
[2026-04-26 20:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:41: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-04-26 20: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-26 20:41:22] 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-04-26 20: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-04-26 20:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967334912001,"66":11395,"109":206,"85":15104,"24":12,"16":76637991975518208,"45":9095934266169241600},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967334912001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:41:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:41:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76637991975518208,"km_value":76637991975518.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095934266169241600,"description":"Unknown IO ID 45"} 
[2026-04-26 20:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967334912001,"power":11395,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9095934266169241600}} 
[2026-04-26 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":55019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:41:23] local.INFO: GPS data processed {"connection_id":55019,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:41:23] local.INFO: Acknowledgment sent {"connection_id":55019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:41:27] local.INFO: TCP Data received {"connection_id":55019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca567548012d7e3b0005d34c08000500d72a..."} 
[2026-04-26 20:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca567548012d7e3b0005d34c08000500d72a..."} 
[2026-04-26 20:41:27] local.INFO: Processing buffer {"connection_id":55019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca567548012d7e3b0005d34c08000500d72a..."} 
[2026-04-26 20:41:27] local.INFO: Packet analysis {"connection_id":55019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:41:27] local.INFO: Extracted packet for processing {"connection_id":55019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763247360,"raw_latitude":97733640,"longitude_deg":76.324736,"latitude_deg":9.773364,"altitude":5,"angle":215,"satellites":42,"speed":13,"hex_longitude":"2d7e3b00","hex_latitude":"05d34c08","is_valid_coordinates":true} 
[2026-04-26 20:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967335936001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638004860420096,"note":"Value kept but may cause issues"} 
[2026-04-26 20:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096075003657265152,"note":"Value kept but may cause issues"} 
[2026-04-26 20:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777216157000,"timestamp_ms":1777216157000,"timestamp_seconds":1777216157,"priority":1,"record_length":96,"hex_timestamp":"0000019dca567548"} 
[2026-04-26 20:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-26 20:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1597,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55019,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967335936001,"66":11395,"109":206,"85":15104,"24":13,"16":76638004860420096,"45":9096075003657265152},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967335936001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:41:27] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638004860420096,"km_value":76638004860420.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096075003657265152,"description":"Unknown IO ID 45"} 
[2026-04-26 20:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967335936001,"power":11395,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9096075003657265152}} 
[2026-04-26 20:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":55019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:41:27] local.INFO: GPS data processed {"connection_id":55019,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:41:27] local.INFO: Acknowledgment sent {"connection_id":55019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:42:11] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:42:11] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:42:11] local.INFO: IMEI packet received {"connection_id":55096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":55096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:42:17] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:42:17] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:42:17] local.INFO: IMEI packet received {"connection_id":55096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":55096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:42:18] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca567930012d7e3a4005d34b38000400ed2a..."} 
[2026-04-26 20:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca567930012d7e3a4005d34b38000400ed2a..."} 
[2026-04-26 20:42:18] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca567930012d7e3a4005d34b38000400ed2a..."} 
[2026-04-26 20:42:18] local.INFO: Packet analysis {"connection_id":55096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:42:18] local.INFO: Extracted packet for processing {"connection_id":55096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":763247168,"raw_latitude":97733432,"longitude_deg":76.3247168,"latitude_deg":9.7733432,"altitude":4,"angle":237,"satellites":42,"speed":12,"hex_longitude":"2d7e3a40","hex_latitude":"05d34b38","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967336192001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638022040289280,"note":"Value kept but may cause issues"} 
[2026-04-26 20:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095863897424660480,"note":"Value kept but may cause issues"} 
[2026-04-26 20:42: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-04-26 20:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777216158000,"timestamp_ms":1777216158000,"timestamp_seconds":1777216158,"priority":1,"record_length":96,"hex_timestamp":"0000019dca567930"} 
[2026-04-26 20:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20: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":44,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-26 20:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1597,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967336192001,"66":12069,"109":206,"85":15104,"24":12,"16":76638022040289280,"45":9095863897424660480},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967336192001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:42:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638022040289280,"km_value":76638022040289.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095863897424660480,"description":"Unknown IO ID 45"} 
[2026-04-26 20:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967336192001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9095863897424660480}} 
[2026-04-26 20:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":55096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:42:18] local.INFO: GPS data processed {"connection_id":55096,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:42:18] local.INFO: Acknowledgment sent {"connection_id":55096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:42:49] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca567d18012d7e390005d34b000004010c2a..."} 
[2026-04-26 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca567d18012d7e390005d34b000004010c2a..."} 
[2026-04-26 20:42:49] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca567d18012d7e390005d34b000004010c2a..."} 
[2026-04-26 20:42:49] local.INFO: Packet analysis {"connection_id":55096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:42:49] local.INFO: Extracted packet for processing {"connection_id":55096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":763246848,"raw_latitude":97733376,"longitude_deg":76.3246848,"latitude_deg":9.7733376,"altitude":4,"angle":268,"satellites":42,"speed":11,"hex_longitude":"2d7e3900","hex_latitude":"05d34b00","is_valid_coordinates":true} 
[2026-04-26 20:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967336448001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638034925191168,"note":"Value kept but may cause issues"} 
[2026-04-26 20:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095652791192074240,"note":"Value kept but may cause issues"} 
[2026-04-26 20:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777216159000,"timestamp_ms":1777216159000,"timestamp_seconds":1777216159,"priority":1,"record_length":96,"hex_timestamp":"0000019dca567d18"} 
[2026-04-26 20:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:42: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-04-26 20:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 20:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967336448001,"66":12069,"109":206,"85":15104,"24":11,"16":76638034925191168,"45":9095652791192074240},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967336448001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:42:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:42:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638034925191168,"km_value":76638034925191.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095652791192074240,"description":"Unknown IO ID 45"} 
[2026-04-26 20:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967336448001,"power":12069,"unknown_109":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":9095652791192074240}} 
[2026-04-26 20:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":55096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:42:50] local.INFO: GPS data processed {"connection_id":55096,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:42:50] local.INFO: Acknowledgment sent {"connection_id":55096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:43:11] local.INFO: TCP Data received {"connection_id":55777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:43:11] local.INFO: Processing buffer {"connection_id":55777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:43:11] local.INFO: IMEI packet received {"connection_id":55777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":55777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:43:16] local.INFO: TCP Data received {"connection_id":55777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:43:16] local.INFO: Processing buffer {"connection_id":55777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:43:16] local.INFO: IMEI packet received {"connection_id":55777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":55777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:43:17] local.INFO: TCP Data received {"connection_id":55777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca568100012d7e380005d34b60000401302b..."} 
[2026-04-26 20:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca568100012d7e380005d34b60000401302b..."} 
[2026-04-26 20:43:17] local.INFO: Processing buffer {"connection_id":55777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca568100012d7e380005d34b60000401302b..."} 
[2026-04-26 20:43:17] local.INFO: Packet analysis {"connection_id":55777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:43:17] local.INFO: Extracted packet for processing {"connection_id":55777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733472,"longitude_deg":76.3246592,"latitude_deg":9.7733472,"altitude":4,"angle":304,"satellites":43,"speed":8,"hex_longitude":"2d7e3800","hex_latitude":"05d34b60","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967336704001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638047810093056,"note":"Value kept but may cause issues"} 
[2026-04-26 20:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095300947471171584,"note":"Value kept but may cause issues"} 
[2026-04-26 20:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777216160000,"timestamp_ms":1777216160000,"timestamp_seconds":1777216160,"priority":1,"record_length":96,"hex_timestamp":"0000019dca568100"} 
[2026-04-26 20:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:43: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-04-26 20: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 20:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967336704001,"66":12004,"109":206,"85":15104,"24":8,"16":76638047810093056,"45":9095300947471171584},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967336704001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:43:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638047810093056,"km_value":76638047810093.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095300947471171584,"description":"Unknown IO ID 45"} 
[2026-04-26 20:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967336704001,"power":12004,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9095300947471171584}} 
[2026-04-26 20:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":55777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:43:17] local.INFO: GPS data processed {"connection_id":55777,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:43:17] local.INFO: Acknowledgment sent {"connection_id":55777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:43:48] local.INFO: TCP Data received {"connection_id":55777,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca56abf8012d7e388005d34b90000301302b..."} 
[2026-04-26 20:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca56abf8012d7e388005d34b90000301302b..."} 
[2026-04-26 20:43:48] local.INFO: Processing buffer {"connection_id":55777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca56abf8012d7e388005d34b90000301302b..."} 
[2026-04-26 20:43:48] local.INFO: Packet analysis {"connection_id":55777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:43:48] local.INFO: Extracted packet for processing {"connection_id":55777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733520,"longitude_deg":76.324672,"latitude_deg":9.773352,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34b90","is_valid_coordinates":true} 
[2026-04-26 20:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967336960001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494485504,"note":"Value kept but may cause issues"} 
[2026-04-26 20:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1777216171000,"timestamp_ms":1777216171000,"timestamp_seconds":1777216171,"priority":1,"record_length":96,"hex_timestamp":"0000019dca56abf8"} 
[2026-04-26 20:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 20:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-26 20:43:48] 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-04-26 20:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":55777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":55777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":55777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967336960001,"66":11787,"109":206,"85":15104,"24":0,"16":76638082169831424,"45":9095019472494485504},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967336960001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:43:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:43:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494485504,"description":"Unknown IO ID 45"} 
[2026-04-26 20:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967336960001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095019472494485504}} 
[2026-04-26 20:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":55777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66687,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:43:49] local.INFO: GPS data processed {"connection_id":55777,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:43:49] local.INFO: Acknowledgment sent {"connection_id":55777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:44:16] local.INFO: TCP Data received {"connection_id":55779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:16] local.INFO: Processing buffer {"connection_id":55779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:16] local.INFO: IMEI packet received {"connection_id":55779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":55779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:44:21] local.INFO: TCP Data received {"connection_id":55779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:21] local.INFO: Processing buffer {"connection_id":55779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:21] local.INFO: IMEI packet received {"connection_id":55779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":55779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:44:28] local.INFO: TCP Data received {"connection_id":55779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:28] local.INFO: Processing buffer {"connection_id":55779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:44:28] local.INFO: IMEI packet received {"connection_id":55779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":55779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:44:30] local.INFO: TCP Data received {"connection_id":55779,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca56abf8012d7e388005d34b90000301302b..."} 
[2026-04-26 20:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca56abf8012d7e388005d34b90000301302b..."} 
[2026-04-26 20:44:30] local.INFO: Processing buffer {"connection_id":55779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca56abf8012d7e388005d34b90000301302b..."} 
[2026-04-26 20:44:30] local.INFO: Packet analysis {"connection_id":55779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:44:30] local.INFO: Extracted packet for processing {"connection_id":55779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca56"} 
[2026-04-26 20:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733520,"longitude_deg":76.324672,"latitude_deg":9.773352,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34b90","is_valid_coordinates":true} 
[2026-04-26 20:44:30] 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-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777216171000,"timestamp_ms":1777216171000,"timestamp_seconds":1777216171,"priority":1,"record_length":96,"hex_timestamp":"0000019dca56abf8"} 
[2026-04-26 20:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:44:30] 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-04-26 20:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394658752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5028831933912580096,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748936957842050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450526721,"corrected_to":0} 
[2026-04-26 20:44:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":59,"raw_value":3221607245,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":80,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930066946,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":58,"raw_value":4613325758557848832,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3026428845197625856,"note":"Value kept but may cause issues"} 
[2026-04-26 20:44:30] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,85,24,241,157,16,69,129,45,75,4,43,10,66,125,42,121,64,1,240,37,227,202,211,113,205,13,59,32,239,44,2,80,206,58,158],"length":533,"final_offset":663,"validated_count":37,"validation_warnings":[{"io_id":202,"original":1450526721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:44:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221679,"timestamp_seconds":216507218332221.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":11787,"109":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-04-26 20:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:44:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-26 20:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":11787,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":55779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:44:30] local.INFO: GPS data processed {"connection_id":55779,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:44:30] local.INFO: Acknowledgment sent {"connection_id":55779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:44:59] local.INFO: TCP Data received {"connection_id":55780,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:44:59] local.INFO: Processing buffer {"connection_id":55780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:44:59] local.INFO: IMEI packet received {"connection_id":55780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":55780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:45:12] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:45:12] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:45:12] local.INFO: IMEI packet received {"connection_id":55097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":55097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:45:16] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:45:16] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:45:16] local.INFO: IMEI packet received {"connection_id":55097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":55097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:45:17] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:45:17] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:45:17] local.INFO: Packet analysis {"connection_id":55097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:45:17] local.INFO: Extracted packet for processing {"connection_id":55097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:45:17] 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-04-26 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:45:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:17] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:45:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:45:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":55097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:45:17] local.INFO: GPS data processed {"connection_id":55097,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:45:17] local.INFO: Acknowledgment sent {"connection_id":55097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:45:22] local.INFO: TCP Data received {"connection_id":55097,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:45:22] local.INFO: Processing buffer {"connection_id":55097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:45:22] local.INFO: Packet analysis {"connection_id":55097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:45:22] local.INFO: Extracted packet for processing {"connection_id":55097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:45:22] 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-04-26 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:45:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:45:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:45:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:45:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:45:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":55097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:45:22] local.INFO: GPS data processed {"connection_id":55097,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:45:22] local.INFO: Acknowledgment sent {"connection_id":55097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:46:11] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:46:11] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:46:11] local.INFO: IMEI packet received {"connection_id":54871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":54871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:46:13] local.INFO: TCP Data received {"connection_id":55781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:46:13] local.INFO: Processing buffer {"connection_id":55781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:46:13] local.INFO: IMEI packet received {"connection_id":55781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":55781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:46:16] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:46:16] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:46:16] local.INFO: IMEI packet received {"connection_id":54871,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":54871,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:46:18] local.INFO: TCP Data received {"connection_id":55781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:46:18] local.INFO: Processing buffer {"connection_id":55781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:46:18] local.INFO: IMEI packet received {"connection_id":55781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":55781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:46:19] local.INFO: TCP Data received {"connection_id":55781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca588c70012cb299c007822ce0004e00122e..."} 
[2026-04-26 20:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca588c70012cb299c007822ce0004e00122e..."} 
[2026-04-26 20:46:19] local.INFO: Processing buffer {"connection_id":55781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca588c70012cb299c007822ce0004e00122e..."} 
[2026-04-26 20:46:19] local.INFO: Packet analysis {"connection_id":55781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca58"} 
[2026-04-26 20:46:19] local.INFO: Extracted packet for processing {"connection_id":55781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca58"} 
[2026-04-26 20:46:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967294208001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777216294000,"timestamp_ms":1777216294000,"timestamp_seconds":1777216294,"priority":1,"record_length":96,"hex_timestamp":"0000019dca588c70"} 
[2026-04-26 20:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:46:19] 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-04-26 20:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967294208001,"66":24614,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967294208001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:46:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967294208001,"power":24614,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":55781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:46:19] local.INFO: GPS data processed {"connection_id":55781,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:46:19] local.INFO: Acknowledgment sent {"connection_id":55781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:46:21] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:46:21] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:46:21] local.INFO: Packet analysis {"connection_id":54871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:46:21] local.INFO: Extracted packet for processing {"connection_id":54871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:46:21] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:46:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:46:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:46:21] 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-04-26 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:46:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:21] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:46:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:46:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:46:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:46:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:46:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:46:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:46:21] 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-04-26 20:46:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:46:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:46:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:46:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:46:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:46:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:46:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:46:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:46:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:46:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:46:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:46:21] local.INFO: DEBUG: GPS processor result {"connection_id":54871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:46:21] local.INFO: GPS data processed {"connection_id":54871,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:46:21] local.INFO: Acknowledgment sent {"connection_id":54871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:46:26] local.INFO: TCP Data received {"connection_id":54871,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:46:26] local.INFO: Processing buffer {"connection_id":54871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:46:26] local.INFO: Packet analysis {"connection_id":54871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:46:26] local.INFO: Extracted packet for processing {"connection_id":54871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:46:26] 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-04-26 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:46:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:26] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:46:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":54871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":54871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":54871,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:46:26] 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-04-26 20:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:46:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":54871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:46:26] local.INFO: GPS data processed {"connection_id":54871,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:46:26] local.INFO: Acknowledgment sent {"connection_id":54871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:46:51] local.INFO: TCP Data received {"connection_id":55781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dca588c70012cb299c007822ce0004e00122e..."} 
[2026-04-26 20:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca588c70012cb299c007822ce0004e00122e..."} 
[2026-04-26 20:46:51] local.INFO: Processing buffer {"connection_id":55781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca588c70012cb299c007822ce0004e00122e..."} 
[2026-04-26 20:46:51] local.INFO: Packet analysis {"connection_id":55781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca58"} 
[2026-04-26 20:46:51] local.INFO: Extracted packet for processing {"connection_id":55781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca58"} 
[2026-04-26 20:46:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967294208001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777216294000,"timestamp_ms":1777216294000,"timestamp_seconds":1777216294,"priority":1,"record_length":96,"hex_timestamp":"0000019dca588c70"} 
[2026-04-26 20:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 20:46: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-04-26 20: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-04-26 20:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:46: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-04-26 20:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967294208001,"66":24614,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967294208001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:46:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:46:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:46:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967294208001,"power":24614,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":55781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:46:51] local.INFO: GPS data processed {"connection_id":55781,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:46:51] local.INFO: Acknowledgment sent {"connection_id":55781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:47:18] local.INFO: TCP Data received {"connection_id":55023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:47:18] local.INFO: Processing buffer {"connection_id":55023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:47:18] local.INFO: IMEI packet received {"connection_id":55023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":55023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:47:18] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:47:18] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:47:18] local.INFO: IMEI packet received {"connection_id":55024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":55024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:47:21] local.INFO: TCP Data received {"connection_id":55023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55023,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:47:21] local.INFO: Processing buffer {"connection_id":55023,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:47:21] local.INFO: IMEI packet received {"connection_id":55023,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":55023,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:47:22] local.INFO: TCP Data received {"connection_id":55023,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:47:22] local.INFO: Processing buffer {"connection_id":55023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:47:22] local.INFO: Packet analysis {"connection_id":55023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:47:22] local.INFO: Extracted packet for processing {"connection_id":55023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:47:22] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:47:22] 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-04-26 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:47:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:22] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:47:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55023,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:47:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:47:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":55023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:47:22] local.INFO: GPS data processed {"connection_id":55023,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:47:22] local.INFO: Acknowledgment sent {"connection_id":55023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:47:23] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:47:23] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:47:23] local.INFO: IMEI packet received {"connection_id":55024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":55024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:47:24] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:47:24] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:47:24] local.INFO: Packet analysis {"connection_id":55024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:47:24] local.INFO: Extracted packet for processing {"connection_id":55024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:47:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:47:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:47:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":55024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:47:24] local.INFO: GPS data processed {"connection_id":55024,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:47:24] local.INFO: Acknowledgment sent {"connection_id":55024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:47:55] local.INFO: TCP Data received {"connection_id":55024,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:47:55] local.INFO: Processing buffer {"connection_id":55024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:47:55] local.INFO: Packet analysis {"connection_id":55024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:47:55] local.INFO: Extracted packet for processing {"connection_id":55024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:47: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-04-26 20:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:47:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:47:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:47:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":55024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:47:55] local.INFO: GPS data processed {"connection_id":55024,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:47:55] local.INFO: Acknowledgment sent {"connection_id":55024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:48:16] local.INFO: TCP Data received {"connection_id":54872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:48:16] local.INFO: Processing buffer {"connection_id":54872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:48:16] local.INFO: IMEI packet received {"connection_id":54872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":54872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:48:19] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:48:20] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:48:20] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:48:22] local.INFO: TCP Data received {"connection_id":54872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:48:22] local.INFO: Processing buffer {"connection_id":54872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:48:22] local.INFO: IMEI packet received {"connection_id":54872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":54872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:48:23] local.INFO: TCP Data received {"connection_id":54872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:48:23] local.INFO: Processing buffer {"connection_id":54872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:48:23] local.INFO: Packet analysis {"connection_id":54872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:48:23] local.INFO: Extracted packet for processing {"connection_id":54872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:48:23] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:48:23] 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-04-26 20:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:48:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:48:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:48:23] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:48:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":54872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:48:23] local.INFO: GPS data processed {"connection_id":54872,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:48:23] local.INFO: Acknowledgment sent {"connection_id":54872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:48:23] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:48:23] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:48:23] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:48:24] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:48:24] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:48:24] local.INFO: Packet analysis {"connection_id":55101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:48:24] local.INFO: Extracted packet for processing {"connection_id":55101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:48:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:48:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":55101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:48:24] local.INFO: GPS data processed {"connection_id":55101,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:48:24] local.INFO: Acknowledgment sent {"connection_id":55101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:48:28] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:48:28] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:48:28] local.INFO: Packet analysis {"connection_id":55101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:48:28] local.INFO: Extracted packet for processing {"connection_id":55101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:48:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:48:28] 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-04-26 20:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:48:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:48:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":55101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:48:28] local.INFO: GPS data processed {"connection_id":55101,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:48:28] local.INFO: Acknowledgment sent {"connection_id":55101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:48:54] local.INFO: TCP Data received {"connection_id":54872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:48:54] local.INFO: Processing buffer {"connection_id":54872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:48:54] local.INFO: Packet analysis {"connection_id":54872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:48:54] local.INFO: Extracted packet for processing {"connection_id":54872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:48:54] 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-04-26 20: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:48:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:48:54] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:48:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:48:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:48:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":54872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:48:54] local.INFO: GPS data processed {"connection_id":54872,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:48:54] local.INFO: Acknowledgment sent {"connection_id":54872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:49:12] local.INFO: TCP Data received {"connection_id":55782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:49:12] local.INFO: Processing buffer {"connection_id":55782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:49:12] local.INFO: IMEI packet received {"connection_id":55782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":55782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:49:13] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:13] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:13] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:49:17] local.INFO: TCP Data received {"connection_id":55782,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:49:17] local.INFO: Processing buffer {"connection_id":55782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:49:17] local.INFO: IMEI packet received {"connection_id":55782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":55782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:49:19] local.INFO: TCP Data received {"connection_id":55782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:49:19] local.INFO: Processing buffer {"connection_id":55782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5b4f78012d7e394005d34b80000301302b..."} 
[2026-04-26 20:49:19] local.INFO: Packet analysis {"connection_id":55782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:49:19] local.INFO: Extracted packet for processing {"connection_id":55782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5b"} 
[2026-04-26 20:49:19] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967339776001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777216475000,"timestamp_ms":1777216475000,"timestamp_seconds":1777216475,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5b4f78"} 
[2026-04-26 20:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:49:19] 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-04-26 20:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3394662752,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":5033054058563239936,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7076748886626194050,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1450782721,"corrected_to":0} 
[2026-04-26 20:49:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4613325743257027840,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2197867853,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":81,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929804802,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3026436541779020288,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,69,171,45,128,75,3,43,10,66,129,4,125,1,240,37,227,202,211,113,205,12,117,59,8,42,239,44,2,81,206,172],"length":533,"final_offset":663,"validated_count":38,"validation_warnings":[{"io_id":202,"original":1450782721,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-04-26 20:49:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216507218332221680,"timestamp_seconds":216507218332221.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 20:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967339776001,"66":13091,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967339776001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:49:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967339776001,"power":13091,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":55782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:49:19] local.INFO: GPS data processed {"connection_id":55782,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:49:19] local.INFO: Acknowledgment sent {"connection_id":55782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:49:19] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:19] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:19] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:49:19] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:49:23] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:23] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:49:23] local.INFO: IMEI packet received {"connection_id":55025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":55025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:49:24] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:49:24] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:49:24] local.INFO: Packet analysis {"connection_id":55025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:49:24] local.INFO: Extracted packet for processing {"connection_id":55025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:49:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:49:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:49:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:49:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":55025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:49:24] local.INFO: GPS data processed {"connection_id":55025,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:49:24] local.INFO: Acknowledgment sent {"connection_id":55025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:49:50] local.INFO: TCP Data received {"connection_id":55782,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fc800012d7e394005d34b80000301302a..."} 
[2026-04-26 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fc800012d7e394005d34b80000301302a..."} 
[2026-04-26 20:49:50] local.INFO: Processing buffer {"connection_id":55782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fc800012d7e394005d34b80000301302a..."} 
[2026-04-26 20:49:50] local.INFO: Packet analysis {"connection_id":55782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:49:50] local.INFO: Extracted packet for processing {"connection_id":55782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:49:50] 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-04-26 20:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967417600001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777216768000,"timestamp_ms":1777216768000,"timestamp_seconds":1777216768,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fc800"} 
[2026-04-26 20:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:49:50] 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-04-26 20: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-26 20:49:50] 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-04-26 20: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-04-26 20:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967417600001,"66":12841,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967417600001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:49:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967417600001,"power":12841,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":55782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:49:50] local.INFO: GPS data processed {"connection_id":55782,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:49:50] local.INFO: Acknowledgment sent {"connection_id":55782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:49:56] local.INFO: TCP Data received {"connection_id":55025,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:49:56] local.INFO: Processing buffer {"connection_id":55025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:49:56] local.INFO: Packet analysis {"connection_id":55025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:49:56] local.INFO: Extracted packet for processing {"connection_id":55025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:49:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:49:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:49:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":55025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:49:56] local.INFO: GPS data processed {"connection_id":55025,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:49:56] local.INFO: Acknowledgment sent {"connection_id":55025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:50:11] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:50:11] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:50:11] local.INFO: IMEI packet received {"connection_id":54873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":54873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:50:13] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:13] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:13] local.INFO: IMEI packet received {"connection_id":54874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":54874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:50:16] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:50:16] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:50:16] local.INFO: IMEI packet received {"connection_id":54873,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":54873,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:50:17] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fc800012d7e394005d34b80000301302a..."} 
[2026-04-26 20:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fc800012d7e394005d34b80000301302a..."} 
[2026-04-26 20:50:17] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fc800012d7e394005d34b80000301302a..."} 
[2026-04-26 20:50:17] local.INFO: Packet analysis {"connection_id":54873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:50:17] local.INFO: Extracted packet for processing {"connection_id":54873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:50:17] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777216768000,"timestamp_ms":1777216768000,"timestamp_seconds":1777216768,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fc800"} 
[2026-04-26 20:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:50:17] 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-04-26 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:50: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-04-26 20: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-04-26 20:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":12841,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:50:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:50:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":12841,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":54873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:50:17] local.INFO: GPS data processed {"connection_id":54873,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:50:17] local.INFO: Acknowledgment sent {"connection_id":54873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:50:25] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:25] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:25] local.INFO: IMEI packet received {"connection_id":54874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":54874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:50:25] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:25] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:25] local.INFO: IMEI packet received {"connection_id":54874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":54874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:50:28] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:28] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:50:28] local.INFO: IMEI packet received {"connection_id":54874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":54874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:50:30] local.INFO: TCP Data received {"connection_id":54874,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:50:30] local.INFO: Processing buffer {"connection_id":54874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:50:30] local.INFO: Packet analysis {"connection_id":54874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:50:30] local.INFO: Extracted packet for processing {"connection_id":54874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:50: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-04-26 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:50:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":54874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:50:30] local.INFO: GPS data processed {"connection_id":54874,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:50:30] local.INFO: Acknowledgment sent {"connection_id":54874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:50:44] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:50:44] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:50:44] local.INFO: IMEI packet received {"connection_id":55104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":55104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:50:50] local.INFO: TCP Data received {"connection_id":54873,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:50:50] local.INFO: Processing buffer {"connection_id":54873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:50:50] local.INFO: Packet analysis {"connection_id":54873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:50:50] local.INFO: Extracted packet for processing {"connection_id":54873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:50:50] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777216776000,"timestamp_ms":1777216776000,"timestamp_seconds":1777216776,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fe740"} 
[2026-04-26 20:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:50:50] 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-04-26 20:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:50:50] 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-04-26 20:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54873,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":2438,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:50:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":2438,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":54873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:50:50] local.INFO: GPS data processed {"connection_id":54873,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:50:50] local.INFO: Acknowledgment sent {"connection_id":54873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:51:13] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:13] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:13] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:51:17] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:51:17] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:51:17] local.INFO: IMEI packet received {"connection_id":55026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":55026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:51:19] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:19] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:19] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:51:21] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:51:21] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:51:21] local.INFO: IMEI packet received {"connection_id":55026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":55026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:51:22] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:51:22] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:51:22] local.INFO: Packet analysis {"connection_id":55026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:51:22] local.INFO: Extracted packet for processing {"connection_id":55026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:51:22] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777216776000,"timestamp_ms":1777216776000,"timestamp_seconds":1777216776,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fe740"} 
[2026-04-26 20:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:51:22] 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-04-26 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:51:22] 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-04-26 20:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":2438,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:51:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:51:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":2438,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":55026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:51:22] local.INFO: GPS data processed {"connection_id":55026,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:51:22] local.INFO: Acknowledgment sent {"connection_id":55026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:51:23] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:23] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:51:23] local.INFO: IMEI packet received {"connection_id":54875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":54875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:51:27] local.INFO: TCP Data received {"connection_id":55026,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:51:27] local.INFO: Processing buffer {"connection_id":55026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:51:27] local.INFO: Packet analysis {"connection_id":55026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:51:27] local.INFO: Extracted packet for processing {"connection_id":55026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777216776000,"timestamp_ms":1777216776000,"timestamp_seconds":1777216776,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fe740"} 
[2026-04-26 20:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:51:27] 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-04-26 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":2438,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:51:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":2438,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":55026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:51:27] local.INFO: GPS data processed {"connection_id":55026,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:51:27] local.INFO: Acknowledgment sent {"connection_id":55026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:51:31] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:51:31] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:51:31] local.INFO: Packet analysis {"connection_id":54875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:51:31] local.INFO: Extracted packet for processing {"connection_id":54875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:51:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:51:31] 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-04-26 20:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:51:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":54875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:51:31] local.INFO: GPS data processed {"connection_id":54875,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:51:31] local.INFO: Acknowledgment sent {"connection_id":54875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:51:32] local.INFO: TCP Data received {"connection_id":54875,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:51:32] local.INFO: Processing buffer {"connection_id":54875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5d2438012cb299c007822ce0004b00122c..."} 
[2026-04-26 20:51:32] local.INFO: Packet analysis {"connection_id":54875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:51:32] local.INFO: Extracted packet for processing {"connection_id":54875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5d"} 
[2026-04-26 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967371264001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1777216595000,"timestamp_ms":1777216595000,"timestamp_seconds":1777216595,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5d2438"} 
[2026-04-26 20:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-26 20:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":54875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":54875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":54875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:51: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-04-26 20:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967371264001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967371264001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:51:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:51:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967371264001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":54875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:51:32] local.INFO: GPS data processed {"connection_id":54875,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:51:32] local.INFO: Acknowledgment sent {"connection_id":54875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:52:11] local.INFO: TCP Data received {"connection_id":54876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:52:11] local.INFO: Processing buffer {"connection_id":54876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:52:11] local.INFO: IMEI packet received {"connection_id":54876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":54876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:52:18] local.INFO: TCP Data received {"connection_id":54876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:52:18] local.INFO: Processing buffer {"connection_id":54876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:52:18] local.INFO: IMEI packet received {"connection_id":54876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:52:18] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:52:18] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:52:18] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:52:21] local.INFO: TCP Data received {"connection_id":54876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:52:21] local.INFO: Processing buffer {"connection_id":54876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:52:21] local.INFO: Packet analysis {"connection_id":54876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:52:21] local.INFO: Extracted packet for processing {"connection_id":54876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:52:21] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777216776000,"timestamp_ms":1777216776000,"timestamp_seconds":1777216776,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fe740"} 
[2026-04-26 20:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:52:21] 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-04-26 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:52: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-04-26 20: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-04-26 20:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":2438,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:52:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:52:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":2438,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":54876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:52:21] local.INFO: GPS data processed {"connection_id":54876,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:52:21] local.INFO: Acknowledgment sent {"connection_id":54876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:52:23] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:52:23] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:52:23] local.INFO: IMEI packet received {"connection_id":54877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":54877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:52:30] local.INFO: TCP Data received {"connection_id":54877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:52:30] local.INFO: Processing buffer {"connection_id":54877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:52:30] local.INFO: Packet analysis {"connection_id":54877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:52:30] local.INFO: Extracted packet for processing {"connection_id":54877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:52: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-04-26 20:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:52:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":54877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:52:30] local.INFO: GPS data processed {"connection_id":54877,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:52:30] local.INFO: Acknowledgment sent {"connection_id":54877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:52:52] local.INFO: TCP Data received {"connection_id":54876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:52:52] local.INFO: Processing buffer {"connection_id":54876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:52:52] local.INFO: Packet analysis {"connection_id":54876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:52:52] local.INFO: Extracted packet for processing {"connection_id":54876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:52:52] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777216776000,"timestamp_ms":1777216776000,"timestamp_seconds":1777216776,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fe740"} 
[2026-04-26 20:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:52:52] 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-04-26 20:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:52:52] 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-04-26 20:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":2438,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:52:52] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:52:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":2438,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":54876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:52:52] local.INFO: GPS data processed {"connection_id":54876,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:52:52] local.INFO: Acknowledgment sent {"connection_id":54876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:53:11] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:53:11] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:53:11] local.INFO: IMEI packet received {"connection_id":55105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":55105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:53:13] local.INFO: TCP Data received {"connection_id":55784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:53:13] local.INFO: Processing buffer {"connection_id":55784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:53:13] local.INFO: IMEI packet received {"connection_id":55784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":55784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:53:16] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:53:16] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:53:16] local.INFO: IMEI packet received {"connection_id":55105,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":55105,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:53:17] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:53:17] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca5fe740012d7e394005d34b80000301302a..."} 
[2026-04-26 20:53:17] local.INFO: Packet analysis {"connection_id":55105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:53:17] local.INFO: Extracted packet for processing {"connection_id":55105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca5f"} 
[2026-04-26 20:53:17] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967492608001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777216776000,"timestamp_ms":1777216776000,"timestamp_seconds":1777216776,"priority":1,"record_length":96,"hex_timestamp":"0000019dca5fe740"} 
[2026-04-26 20:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:53:17] 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-04-26 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-26 20:53: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-04-26 20: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-04-26 20:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967492608001,"66":2438,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967492608001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:53:17] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:53:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967492608001,"power":2438,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":55105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:53:17] local.INFO: GPS data processed {"connection_id":55105,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:53:17] local.INFO: Acknowledgment sent {"connection_id":55105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:53:18] local.INFO: TCP Data received {"connection_id":55784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:53:18] local.INFO: Processing buffer {"connection_id":55784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:53:18] local.INFO: IMEI packet received {"connection_id":55784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":55784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:53:19] local.INFO: TCP Data received {"connection_id":55784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:53:19] local.INFO: Processing buffer {"connection_id":55784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:53:19] local.INFO: Packet analysis {"connection_id":55784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:53:19] local.INFO: Extracted packet for processing {"connection_id":55784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:53:19] 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-04-26 20: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-04-26 20:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:53:19] 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-04-26 20:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:53:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":55784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:53:19] local.INFO: GPS data processed {"connection_id":55784,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:53:19] local.INFO: Acknowledgment sent {"connection_id":55784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:53:50] local.INFO: TCP Data received {"connection_id":55784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:53:50] local.INFO: Processing buffer {"connection_id":55784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:53:50] local.INFO: Packet analysis {"connection_id":55784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:53:50] local.INFO: Extracted packet for processing {"connection_id":55784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:53:50] 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-04-26 20: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-04-26 20:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:53:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":55784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:53:50] local.INFO: GPS data processed {"connection_id":55784,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:53:50] local.INFO: Acknowledgment sent {"connection_id":55784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:53:50] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca634a700100000000000000000000000000..."} 
[2026-04-26 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca634a700100000000000000000000000000..."} 
[2026-04-26 20:53:50] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca634a700100000000000000000000000000..."} 
[2026-04-26 20:53:50] local.INFO: Packet analysis {"connection_id":55105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca63"} 
[2026-04-26 20:53:50] local.INFO: Extracted packet for processing {"connection_id":55105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca63"} 
[2026-04-26 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967494656001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777216998000,"timestamp_ms":1777216998000,"timestamp_seconds":1777216998,"priority":1,"record_length":96,"hex_timestamp":"0000019dca634a70"} 
[2026-04-26 20:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:53:50] 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-04-26 20: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":9,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-26 20:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55105,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":55105,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 20:53:50] local.INFO: GPS data processed {"connection_id":55105,"processed":0,"errors":0,"total":1} 
[2026-04-26 20:53:50] local.INFO: Acknowledgment sent {"connection_id":55105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:54:13] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:13] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:13] local.INFO: IMEI packet received {"connection_id":55028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":55028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:54:16] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:54:16] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:54:16] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:54:19] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:19] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:19] local.INFO: IMEI packet received {"connection_id":55028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":55028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:54:21] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:54:21] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:54:21] local.INFO: IMEI packet received {"connection_id":55029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":55029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:54:26] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca637180012d7e388005d34b90000301302a..."} 
[2026-04-26 20:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca637180012d7e388005d34b90000301302a..."} 
[2026-04-26 20:54:26] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca637180012d7e388005d34b90000301302a..."} 
[2026-04-26 20:54:26] local.INFO: Packet analysis {"connection_id":55029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca63"} 
[2026-04-26 20:54:26] local.INFO: Extracted packet for processing {"connection_id":55029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca63"} 
[2026-04-26 20:54:26] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733520,"longitude_deg":76.324672,"latitude_deg":9.773352,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34b90","is_valid_coordinates":true} 
[2026-04-26 20:54:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 20:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777217008000,"timestamp_ms":1777217008000,"timestamp_seconds":1777217008,"priority":1,"record_length":96,"hex_timestamp":"0000019dca637180"} 
[2026-04-26 20:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:54:26] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:54:26] 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-04-26 20: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-04-26 20:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16]} 
[2026-04-26 20:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-26 20:54:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:54:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:54:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-04-26 20:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":55029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:54:26] local.INFO: GPS data processed {"connection_id":55029,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:54:26] local.INFO: Acknowledgment sent {"connection_id":55029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:54:28] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:28] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:54:28] local.INFO: IMEI packet received {"connection_id":55028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":55028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:54:30] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:54:30] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:54:30] local.INFO: Packet analysis {"connection_id":55028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:54:30] local.INFO: Extracted packet for processing {"connection_id":55028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:54:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:54: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-04-26 20:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:54:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":55028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:54:30] local.INFO: GPS data processed {"connection_id":55028,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:54:30] local.INFO: Acknowledgment sent {"connection_id":55028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:54:31] local.INFO: TCP Data received {"connection_id":55028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:54:31] local.INFO: Processing buffer {"connection_id":55028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:54:31] local.INFO: Packet analysis {"connection_id":55028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:54:31] local.INFO: Extracted packet for processing {"connection_id":55028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:54:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:54:31] 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-04-26 20:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:54:31] 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-04-26 20:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:54:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:54:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":55028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:54:31] local.INFO: GPS data processed {"connection_id":55028,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:54:31] local.INFO: Acknowledgment sent {"connection_id":55028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:54:35] local.INFO: TCP Data received {"connection_id":55029,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca637180012d7e388005d34b90000301302a..."} 
[2026-04-26 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca637180012d7e388005d34b90000301302a..."} 
[2026-04-26 20:54:35] local.INFO: Processing buffer {"connection_id":55029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca637180012d7e388005d34b90000301302a..."} 
[2026-04-26 20:54:35] local.INFO: Packet analysis {"connection_id":55029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca63"} 
[2026-04-26 20:54:35] local.INFO: Extracted packet for processing {"connection_id":55029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca63"} 
[2026-04-26 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":763246720,"raw_latitude":97733520,"longitude_deg":76.324672,"latitude_deg":9.773352,"altitude":3,"angle":304,"satellites":42,"speed":0,"hex_longitude":"2d7e3880","hex_latitude":"05d34b90","is_valid_coordinates":true} 
[2026-04-26 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:54:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777217008000,"timestamp_ms":1777217008000,"timestamp_seconds":1777217008,"priority":1,"record_length":96,"hex_timestamp":"0000019dca637180"} 
[2026-04-26 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:54:35] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:54:35] 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-04-26 20:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16]} 
[2026-04-26 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-26 20:54:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null}} 
[2026-04-26 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":55029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:54:35] local.INFO: GPS data processed {"connection_id":55029,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:54:35] local.INFO: Acknowledgment sent {"connection_id":55029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:55:17] local.INFO: TCP Data received {"connection_id":55786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:55:17] local.INFO: Processing buffer {"connection_id":55786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:55:17] local.INFO: IMEI packet received {"connection_id":55786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":55786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:55:18] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:55:18] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:55:18] local.INFO: IMEI packet received {"connection_id":54878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":54878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:55:21] local.INFO: TCP Data received {"connection_id":55786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:55:21] local.INFO: Processing buffer {"connection_id":55786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:55:21] local.INFO: IMEI packet received {"connection_id":55786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":55786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:55:22] local.INFO: TCP Data received {"connection_id":55786,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:55:22] local.INFO: Processing buffer {"connection_id":55786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:55:22] local.INFO: Packet analysis {"connection_id":55786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:55:22] local.INFO: Extracted packet for processing {"connection_id":55786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:55:22] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:55:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:55:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":55786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66723,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:55:22] local.INFO: GPS data processed {"connection_id":55786,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:55:22] local.INFO: Acknowledgment sent {"connection_id":55786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:55:23] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:55:23] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:55:23] local.INFO: IMEI packet received {"connection_id":54878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":54878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:55:24] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:55:24] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:55:24] local.INFO: Packet analysis {"connection_id":54878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:55:24] local.INFO: Extracted packet for processing {"connection_id":54878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:55:24] 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-04-26 20:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:55:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":54878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:55:24] local.INFO: GPS data processed {"connection_id":54878,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:55:24] local.INFO: Acknowledgment sent {"connection_id":54878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:55:59] local.INFO: TCP Data received {"connection_id":54878,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:55:59] local.INFO: Processing buffer {"connection_id":54878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:55:59] local.INFO: Packet analysis {"connection_id":54878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:55:59] local.INFO: Extracted packet for processing {"connection_id":54878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":54878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":54878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:55:59] 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-04-26 20:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:55:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:55:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":54878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:55:59] local.INFO: GPS data processed {"connection_id":54878,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:55:59] local.INFO: Acknowledgment sent {"connection_id":54878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:56:04] local.INFO: TCP Data received {"connection_id":55107,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:56:04] local.INFO: Processing buffer {"connection_id":55107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:56:04] local.INFO: IMEI packet received {"connection_id":55107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":55107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:56:11] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:11] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:11] local.INFO: IMEI packet received {"connection_id":55108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":55108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:56:14] local.INFO: TCP Data received {"connection_id":55030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:56:14] local.INFO: Processing buffer {"connection_id":55030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:56:14] local.INFO: IMEI packet received {"connection_id":55030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":55030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:56:16] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:16] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:16] local.INFO: IMEI packet received {"connection_id":55108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":55108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:56:18] local.INFO: TCP Data received {"connection_id":55030,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:56:18] local.INFO: Processing buffer {"connection_id":55030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:56:18] local.INFO: IMEI packet received {"connection_id":55030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":55030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:56:22] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:22] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:56:22] local.INFO: IMEI packet received {"connection_id":55108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":55108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:56:25] local.INFO: TCP Data received {"connection_id":55030,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:56:25] local.INFO: Processing buffer {"connection_id":55030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca61bc00012cb299c007822ce0004a00122c..."} 
[2026-04-26 20:56:25] local.INFO: Packet analysis {"connection_id":55030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:56:25] local.INFO: Extracted packet for processing {"connection_id":55030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca61"} 
[2026-04-26 20:56:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:56:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967448320001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:56:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:56:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:56:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:56:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777216896000,"timestamp_ms":1777216896000,"timestamp_seconds":1777216896,"priority":1,"record_length":96,"hex_timestamp":"0000019dca61bc00"} 
[2026-04-26 20:56:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:56:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:56:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 20:56:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:56:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:56:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:56:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:56:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:56:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:56: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-04-26 20:56:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:56:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:56:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967448320001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:56:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:56:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:56:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967448320001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:56:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:56:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:56:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:56:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:56:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967448320001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:56:25] local.INFO: DEBUG: GPS processor result {"connection_id":55030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:56:25] local.INFO: GPS data processed {"connection_id":55030,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:56:25] local.INFO: Acknowledgment sent {"connection_id":55030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:56:26] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:56:26] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:56:26] local.INFO: Packet analysis {"connection_id":55108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:56:26] local.INFO: Extracted packet for processing {"connection_id":55108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:56:26] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:56:26] 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-04-26 20:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:56:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:56:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:56:26] local.INFO: DEBUG: GPS processor result {"connection_id":55108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:56:26] local.INFO: GPS data processed {"connection_id":55108,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:56:26] local.INFO: Acknowledgment sent {"connection_id":55108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:56:44] local.INFO: TCP Data received {"connection_id":55787,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:56:44] local.INFO: Processing buffer {"connection_id":55787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 20:56:44] local.INFO: IMEI packet received {"connection_id":55787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 20:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":55787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:57:11] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:57:11] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:57:11] local.INFO: IMEI packet received {"connection_id":55109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":55109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:57:13] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:13] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:13] local.INFO: IMEI packet received {"connection_id":54879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":54879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:57:15] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:15] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:15] local.INFO: IMEI packet received {"connection_id":54879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":54879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:57:16] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:57:16] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:57:16] local.INFO: IMEI packet received {"connection_id":55109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":55109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:57:19] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:19] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:57:19] local.INFO: IMEI packet received {"connection_id":54879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:57:19] local.INFO: IMEI acknowledgment sent {"connection_id":54879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:57:19] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:57:19] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:57:19] local.INFO: Packet analysis {"connection_id":55109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:57:19] local.INFO: Extracted packet for processing {"connection_id":55109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:57:19] 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-04-26 20:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:57:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":55109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66728,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:57:19] local.INFO: GPS data processed {"connection_id":55109,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:57:19] local.INFO: Acknowledgment sent {"connection_id":55109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:57:27] local.INFO: TCP Data received {"connection_id":54879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:57:27] local.INFO: Processing buffer {"connection_id":54879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:57:27] local.INFO: Packet analysis {"connection_id":54879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:57:27] local.INFO: Extracted packet for processing {"connection_id":54879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:57:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 20:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":54879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":54879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:57: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-04-26 20:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:57:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:57:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":54879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:57:27] local.INFO: GPS data processed {"connection_id":54879,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:57:27] local.INFO: Acknowledgment sent {"connection_id":54879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:57:50] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:57:50] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:57:50] local.INFO: Packet analysis {"connection_id":55109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:57:50] local.INFO: Extracted packet for processing {"connection_id":55109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:57:50] 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-04-26 20: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-04-26 20:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:57:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":55109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:57:50] local.INFO: GPS data processed {"connection_id":55109,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:57:50] local.INFO: Acknowledgment sent {"connection_id":55109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:58:13] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:58:13] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:58:13] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:58:16] local.INFO: TCP Data received {"connection_id":55788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:16] local.INFO: Processing buffer {"connection_id":55788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:16] local.INFO: IMEI packet received {"connection_id":55788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":55788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:58:18] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:58:18] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:58:18] local.INFO: IMEI packet received {"connection_id":55031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":55031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:58:21] local.INFO: TCP Data received {"connection_id":55788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:21] local.INFO: Processing buffer {"connection_id":55788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:21] local.INFO: IMEI packet received {"connection_id":55788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":55788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:58:21] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:58:21] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:58:21] local.INFO: Packet analysis {"connection_id":55031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:58:21] local.INFO: Extracted packet for processing {"connection_id":55031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:58:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 20:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:58: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-04-26 20:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:58:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:58:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:58:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":55031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:58:21] local.INFO: GPS data processed {"connection_id":55031,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:58:21] local.INFO: Acknowledgment sent {"connection_id":55031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:58:26] local.INFO: TCP Data received {"connection_id":55788,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:26] local.INFO: Processing buffer {"connection_id":55788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:58:26] local.INFO: IMEI packet received {"connection_id":55788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":55788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:58:27] local.INFO: TCP Data received {"connection_id":55788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:58:27] local.INFO: Processing buffer {"connection_id":55788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:58:27] local.INFO: Packet analysis {"connection_id":55788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:58:27] local.INFO: Extracted packet for processing {"connection_id":55788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 20:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:58:27] 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-04-26 20:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 20:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:58:27] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":55788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:58:27] local.INFO: GPS data processed {"connection_id":55788,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:58:27] local.INFO: Acknowledgment sent {"connection_id":55788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:58:31] local.INFO: TCP Data received {"connection_id":55788,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:58:31] local.INFO: Processing buffer {"connection_id":55788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:58:31] local.INFO: Packet analysis {"connection_id":55788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:58:31] local.INFO: Extracted packet for processing {"connection_id":55788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:58:31] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:58:31] 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-04-26 20: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-04-26 20:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:58:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:58:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":55788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:58:31] local.INFO: GPS data processed {"connection_id":55788,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:58:31] local.INFO: Acknowledgment sent {"connection_id":55788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:58:52] local.INFO: TCP Data received {"connection_id":55031,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:58:52] local.INFO: Processing buffer {"connection_id":55031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:58:52] local.INFO: Packet analysis {"connection_id":55031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:58:52] local.INFO: Extracted packet for processing {"connection_id":55031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:58:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 20:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:58: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-04-26 20:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:58:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:58:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:58:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":55031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:58:52] local.INFO: GPS data processed {"connection_id":55031,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:58:52] local.INFO: Acknowledgment sent {"connection_id":55031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:59:11] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:59:11] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:59:11] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 20:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:59:15] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:59:15] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:59:15] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 20:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 20:59:16] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:59:16] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 20:59:16] local.INFO: IMEI packet received {"connection_id":54881,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 20:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":54881,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:59:18] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:59:18] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 20:59:18] local.INFO: IMEI packet received {"connection_id":55032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 20:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":55032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 20:59:19] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:59:19] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca647f08012d7e394005d34b80000301302b..."} 
[2026-04-26 20:59:19] local.INFO: Packet analysis {"connection_id":54881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:59:19] local.INFO: Extracted packet for processing {"connection_id":54881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca64"} 
[2026-04-26 20:59:19] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967554048001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095160209982853120,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777217077000,"timestamp_ms":1777217077000,"timestamp_seconds":1777217077,"priority":1,"record_length":96,"hex_timestamp":"0000019dca647f08"} 
[2026-04-26 20:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-26 20:59:19] 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-04-26 20: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-04-26 20:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967554048001,"66":2264,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095160209982853120},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967554048001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095160209982853120,"description":"Unknown IO ID 45"} 
[2026-04-26 20:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967554048001,"power":2264,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095160209982853120}} 
[2026-04-26 20:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":54881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:59:19] local.INFO: GPS data processed {"connection_id":54881,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:59:19] local.INFO: Acknowledgment sent {"connection_id":54881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:59:19] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:59:19] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:59:19] local.INFO: Packet analysis {"connection_id":55032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:59:19] local.INFO: Extracted packet for processing {"connection_id":55032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:59:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 20:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:59:19] 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-04-26 20:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:59:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":55032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:59:19] local.INFO: GPS data processed {"connection_id":55032,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:59:19] local.INFO: Acknowledgment sent {"connection_id":55032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:59:50] local.INFO: TCP Data received {"connection_id":54881,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 20:59:50] local.INFO: Processing buffer {"connection_id":54881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 20:59:50] local.INFO: Packet analysis {"connection_id":54881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 20:59:50] local.INFO: Extracted packet for processing {"connection_id":54881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967571712001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777217378000,"timestamp_ms":1777217378000,"timestamp_seconds":1777217378,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6916d0"} 
[2026-04-26 20:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:59:50] 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-04-26 20: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 20:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54881,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 20:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967571712001,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 20:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967571712001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 20:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 20:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967571712001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 20:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":54881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:59:50] local.INFO: GPS data processed {"connection_id":54881,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:59:50] local.INFO: Acknowledgment sent {"connection_id":54881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 20:59:50] local.INFO: TCP Data received {"connection_id":55032,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:59:50] local.INFO: Processing buffer {"connection_id":55032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 20:59:50] local.INFO: Packet analysis {"connection_id":55032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:59:50] local.INFO: Extracted packet for processing {"connection_id":55032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 20: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-04-26 20:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 20:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 20:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 20:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 20:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 20:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 20: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-04-26 20:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 20:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 20:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 20:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 20:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 20:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 20:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 20:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 20:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 20:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 20:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":55032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 20:59:50] local.INFO: GPS data processed {"connection_id":55032,"processed":1,"errors":0,"total":1} 
[2026-04-26 20:59:50] local.INFO: Acknowledgment sent {"connection_id":55032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:00:11] local.INFO: TCP Data received {"connection_id":55789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:00:11] local.INFO: Processing buffer {"connection_id":55789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:00:11] local.INFO: IMEI packet received {"connection_id":55789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 21:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":55789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:00:13] local.INFO: TCP Data received {"connection_id":55111,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:00:13] local.INFO: Processing buffer {"connection_id":55111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:00:13] local.INFO: IMEI packet received {"connection_id":55111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":55111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:00:16] local.INFO: TCP Data received {"connection_id":55789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:00:16] local.INFO: Processing buffer {"connection_id":55789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:00:16] local.INFO: IMEI packet received {"connection_id":55789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 21:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":55789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:00:18] local.INFO: TCP Data received {"connection_id":55789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:18] local.INFO: Processing buffer {"connection_id":55789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:18] local.INFO: Packet analysis {"connection_id":55789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:00:18] local.INFO: Extracted packet for processing {"connection_id":55789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:00:18] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 21:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967571712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777217378000,"timestamp_ms":1777217378000,"timestamp_seconds":1777217378,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6916d0"} 
[2026-04-26 21:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:00:18] 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-04-26 21:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 21:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 21:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 21:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967571712001,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 21:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 21:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 21:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967571712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:00:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 21:00:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 21:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 21:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967571712001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 21:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":55789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:00:18] local.INFO: GPS data processed {"connection_id":55789,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:00:18] local.INFO: Acknowledgment sent {"connection_id":55789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:00:18] local.INFO: TCP Data received {"connection_id":55111,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:00:18] local.INFO: Processing buffer {"connection_id":55111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:00:18] local.INFO: IMEI packet received {"connection_id":55111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":55111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:00:19] local.INFO: TCP Data received {"connection_id":55111,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:00:19] local.INFO: Processing buffer {"connection_id":55111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:00:19] local.INFO: Packet analysis {"connection_id":55111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:00:19] local.INFO: Extracted packet for processing {"connection_id":55111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:00:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 21:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 21:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:00:19] 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-04-26 21:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:00:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:00:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":55111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:00:19] local.INFO: GPS data processed {"connection_id":55111,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:00:19] local.INFO: Acknowledgment sent {"connection_id":55111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:00:21] local.INFO: TCP Data received {"connection_id":55789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:21] local.INFO: Processing buffer {"connection_id":55789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:21] local.INFO: Packet analysis {"connection_id":55789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:00:21] local.INFO: Extracted packet for processing {"connection_id":55789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:00:21] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967571712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777217378000,"timestamp_ms":1777217378000,"timestamp_seconds":1777217378,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6916d0"} 
[2026-04-26 21:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:00:21] 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-04-26 21: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 21:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 21:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 21:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967571712001,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 21:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 21:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 21:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967571712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:00:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 21:00:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 21:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 21:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967571712001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 21:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":55789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:00:21] local.INFO: GPS data processed {"connection_id":55789,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:00:21] local.INFO: Acknowledgment sent {"connection_id":55789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:00:50] local.INFO: TCP Data received {"connection_id":55111,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:00:50] local.INFO: Processing buffer {"connection_id":55111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:00:50] local.INFO: Packet analysis {"connection_id":55111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:00:50] local.INFO: Extracted packet for processing {"connection_id":55111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:00:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 21:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 21:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:00:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":55111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:00:50] local.INFO: GPS data processed {"connection_id":55111,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:00:50] local.INFO: Acknowledgment sent {"connection_id":55111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:00:54] local.INFO: TCP Data received {"connection_id":55789,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:54] local.INFO: Processing buffer {"connection_id":55789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:00:54] local.INFO: Packet analysis {"connection_id":55789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:00:54] local.INFO: Extracted packet for processing {"connection_id":55789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:00:54] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:00:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967571712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:00:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:00:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777217378000,"timestamp_ms":1777217378000,"timestamp_seconds":1777217378,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6916d0"} 
[2026-04-26 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-04-26 21:00:54] 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-04-26 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":216,"data_length":795,"current_offset":136} 
[2026-04-26 21:00:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 21:00:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:00:54] local.INFO: Teltonika packet parsed successfully {"connection_id":55789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:00:54] local.INFO: Passing IMEI to GPS processor {"connection_id":55789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:00:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":55789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:00:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:00:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 21:00:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 21:00:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967571712001,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 21:00:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 21:00:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 21:00:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967571712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:00:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 21:00:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 21:00:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:00:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 21:00:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967571712001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 21:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":55789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:00:54] local.INFO: GPS data processed {"connection_id":55789,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:00:54] local.INFO: Acknowledgment sent {"connection_id":55789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:01:11] local.INFO: TCP Data received {"connection_id":55790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:01:11] local.INFO: Processing buffer {"connection_id":55790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:01:11] local.INFO: IMEI packet received {"connection_id":55790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-04-26 21:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":55790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:01:16] local.INFO: TCP Data received {"connection_id":55790,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:01:16] local.INFO: Processing buffer {"connection_id":55790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-04-26 21:01:16] local.INFO: IMEI packet received {"connection_id":55790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-04-26 21:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":55790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:01:18] local.INFO: TCP Data received {"connection_id":55790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:01:18] local.INFO: Processing buffer {"connection_id":55790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:01:18] local.INFO: Packet analysis {"connection_id":55790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:01:18] local.INFO: Extracted packet for processing {"connection_id":55790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967571712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777217378000,"timestamp_ms":1777217378000,"timestamp_seconds":1777217378,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6916d0"} 
[2026-04-26 21:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:01:18] 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-04-26 21: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":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 21:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 21:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 21:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967571712001,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 21:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 21:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967571712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 21:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 21:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967571712001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 21:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":55790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:01:18] local.INFO: GPS data processed {"connection_id":55790,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:01:18] local.INFO: Acknowledgment sent {"connection_id":55790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:01:18] local.INFO: TCP Data received {"connection_id":55791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:18] local.INFO: Processing buffer {"connection_id":55791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:18] local.INFO: IMEI packet received {"connection_id":55791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":55791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:01:23] local.INFO: TCP Data received {"connection_id":55791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:23] local.INFO: Processing buffer {"connection_id":55791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:23] local.INFO: IMEI packet received {"connection_id":55791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":55791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:01:28] local.INFO: TCP Data received {"connection_id":55791,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:28] local.INFO: Processing buffer {"connection_id":55791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:01:28] local.INFO: IMEI packet received {"connection_id":55791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":55791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:01:29] local.INFO: TCP Data received {"connection_id":55791,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:01:29] local.INFO: Processing buffer {"connection_id":55791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:01:29] local.INFO: Packet analysis {"connection_id":55791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:01:29] local.INFO: Extracted packet for processing {"connection_id":55791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 21:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 21:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:01:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":55791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:01:29] local.INFO: GPS data processed {"connection_id":55791,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:01:29] local.INFO: Acknowledgment sent {"connection_id":55791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:01:33] local.INFO: TCP Data received {"connection_id":55791,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:01:33] local.INFO: Processing buffer {"connection_id":55791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6653c8012cb299c007822ce0004800122e..."} 
[2026-04-26 21:01:33] local.INFO: Packet analysis {"connection_id":55791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:01:33] local.INFO: Extracted packet for processing {"connection_id":55791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca66"} 
[2026-04-26 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967525376001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777217197000,"timestamp_ms":1777217197000,"timestamp_seconds":1777217197,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6653c8"} 
[2026-04-26 21:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 21:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":55791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":55791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":55791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:01: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-04-26 21:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967525376001,"66":25125,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967525376001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:01:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:01:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967525376001,"power":25125,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":55791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:01:33] local.INFO: GPS data processed {"connection_id":55791,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:01:33] local.INFO: Acknowledgment sent {"connection_id":55791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:01:49] local.INFO: TCP Data received {"connection_id":55790,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:01:49] local.INFO: Processing buffer {"connection_id":55790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6916d0012d7e394005d34b80000301302b..."} 
[2026-04-26 21:01:49] local.INFO: Packet analysis {"connection_id":55790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:01:49] local.INFO: Extracted packet for processing {"connection_id":55790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca69"} 
[2026-04-26 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":97733504,"longitude_deg":76.3246912,"latitude_deg":9.7733504,"altitude":3,"angle":304,"satellites":43,"speed":0,"hex_longitude":"2d7e3940","hex_latitude":"05d34b80","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967571712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":76638082169831424,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316215382016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777217378000,"timestamp_ms":1777217378000,"timestamp_seconds":1777217378,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6916d0"} 
[2026-04-26 21:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:01:49] 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-04-26 21:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 21:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-04-26 21:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-04-26 21:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-04-26 21:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967571712001,"66":2253,"110":206,"85":15104,"24":0,"16":76638082169831424,"45":9095371316215382016},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-04-26 21:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-04-26 21:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-04-26 21:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967571712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:01:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-26 21:01:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-26 21:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":76638082169831424,"km_value":76638082169831.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316215382016,"description":"Unknown IO ID 45"} 
[2026-04-26 21:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967571712001,"power":2253,"unknown_110":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095371316215382016}} 
[2026-04-26 21:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":55790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:01:49] local.INFO: GPS data processed {"connection_id":55790,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:01:49] local.INFO: Acknowledgment sent {"connection_id":55790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:02:04] local.INFO: TCP Data received {"connection_id":54883,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:02:04] local.INFO: Processing buffer {"connection_id":54883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:02:04] local.INFO: IMEI packet received {"connection_id":54883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":54883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:02:13] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:02:13] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:02:13] local.INFO: IMEI packet received {"connection_id":54884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":54884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:02:33] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:02:33] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:02:33] local.INFO: IMEI packet received {"connection_id":54884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":54884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:02:34] local.INFO: TCP Data received {"connection_id":54884,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54884,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 21:02:34] local.INFO: Processing buffer {"connection_id":54884,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 21:02:34] local.INFO: IMEI packet received {"connection_id":54884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":54884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:02:39] local.INFO: TCP Data received {"connection_id":54885,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:02:39] local.INFO: Processing buffer {"connection_id":54885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:02:39] local.INFO: IMEI packet received {"connection_id":54885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":54885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:07:38] local.INFO: TCP Data received {"connection_id":55116,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:07:38] local.INFO: Processing buffer {"connection_id":55116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:07:38] local.INFO: IMEI packet received {"connection_id":55116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":55116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:07:39] local.INFO: TCP Data received {"connection_id":55116,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6aeb90012cb299c007822ce0004b00122d..."} 
[2026-04-26 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6aeb90012cb299c007822ce0004b00122d..."} 
[2026-04-26 21:07:39] local.INFO: Processing buffer {"connection_id":55116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6aeb90012cb299c007822ce0004b00122d..."} 
[2026-04-26 21:07:39] local.INFO: Packet analysis {"connection_id":55116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6a"} 
[2026-04-26 21:07:39] local.INFO: Extracted packet for processing {"connection_id":55116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6a"} 
[2026-04-26 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967602432001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:07:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777217498000,"timestamp_ms":1777217498000,"timestamp_seconds":1777217498,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6aeb90"} 
[2026-04-26 21:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 21:07:39] 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-04-26 21:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967602432001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967602432001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:07:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:07:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:07:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967602432001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":55116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:07:39] local.INFO: GPS data processed {"connection_id":55116,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:07:39] local.INFO: Acknowledgment sent {"connection_id":55116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:08:09] local.INFO: TCP Data received {"connection_id":55794,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:08:09] local.INFO: Processing buffer {"connection_id":55794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:08:09] local.INFO: IMEI packet received {"connection_id":55794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":55794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:08:13] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:08:13] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:08:13] local.INFO: IMEI packet received {"connection_id":55117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":55117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:08:18] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:08:18] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:08:18] local.INFO: IMEI packet received {"connection_id":55117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":55117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:08:19] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:08:19] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:08:19] local.INFO: Packet analysis {"connection_id":55117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:08:19] local.INFO: Extracted packet for processing {"connection_id":55117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:08:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:08:19] 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-04-26 21: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-04-26 21:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:08:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":55117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:08:19] local.INFO: GPS data processed {"connection_id":55117,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:08:19] local.INFO: Acknowledgment sent {"connection_id":55117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:08:39] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:08:39] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:08:39] local.INFO: IMEI packet received {"connection_id":55118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":55118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:08:50] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:08:50] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:08:50] local.INFO: Packet analysis {"connection_id":55117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:08:50] local.INFO: Extracted packet for processing {"connection_id":55117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:08:50] 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-04-26 21:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:08:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":55117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:08:50] local.INFO: GPS data processed {"connection_id":55117,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:08:50] local.INFO: Acknowledgment sent {"connection_id":55117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:09:18] local.INFO: TCP Data received {"connection_id":54887,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:09:18] local.INFO: Processing buffer {"connection_id":54887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:09:18] local.INFO: IMEI packet received {"connection_id":54887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":54887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:09:23] local.INFO: TCP Data received {"connection_id":54887,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:09:23] local.INFO: Processing buffer {"connection_id":54887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:09:23] local.INFO: IMEI packet received {"connection_id":54887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":54887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:09:24] local.INFO: TCP Data received {"connection_id":54887,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:09:24] local.INFO: Processing buffer {"connection_id":54887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:09:24] local.INFO: Packet analysis {"connection_id":54887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:09:24] local.INFO: Extracted packet for processing {"connection_id":54887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:09:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:09:24] 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-04-26 21:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:09:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:09:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:09:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":54887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:09:24] local.INFO: GPS data processed {"connection_id":54887,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:09:24] local.INFO: Acknowledgment sent {"connection_id":54887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:09:53] local.INFO: TCP Data received {"connection_id":54887,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:09:53] local.INFO: Processing buffer {"connection_id":54887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:09:53] local.INFO: Packet analysis {"connection_id":54887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:09:53] local.INFO: Extracted packet for processing {"connection_id":54887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:09:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:09: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-04-26 21:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":54887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":54887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":54887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:09:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:09:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:09:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":54887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:09:53] local.INFO: GPS data processed {"connection_id":54887,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:09:53] local.INFO: Acknowledgment sent {"connection_id":54887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:10:13] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:10:13] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:10:13] local.INFO: IMEI packet received {"connection_id":55119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":55119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:10:18] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:10:18] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:10:18] local.INFO: IMEI packet received {"connection_id":55119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":55119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:10:45] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:10:45] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:10:45] local.INFO: Packet analysis {"connection_id":55119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:10:45] local.INFO: Extracted packet for processing {"connection_id":55119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":55119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:10:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:10:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":55119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:10:45] local.INFO: GPS data processed {"connection_id":55119,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:10:45] local.INFO: Acknowledgment sent {"connection_id":55119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:11:13] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:11:13] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:11:13] local.INFO: IMEI packet received {"connection_id":54888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":54888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:11:18] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:11:18] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:11:18] local.INFO: IMEI packet received {"connection_id":54888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":54888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:11:19] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:11:19] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:11:19] local.INFO: Packet analysis {"connection_id":54888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:11:19] local.INFO: Extracted packet for processing {"connection_id":54888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:11:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:11:19] 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-04-26 21: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-04-26 21:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":54888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:11:19] local.INFO: GPS data processed {"connection_id":54888,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:11:19] local.INFO: Acknowledgment sent {"connection_id":54888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:11:50] local.INFO: TCP Data received {"connection_id":54888,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:11:50] local.INFO: Processing buffer {"connection_id":54888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca6f8358012cb299c007822ce0004f00122d..."} 
[2026-04-26 21:11:50] local.INFO: Packet analysis {"connection_id":54888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:11:50] local.INFO: Extracted packet for processing {"connection_id":54888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca6f"} 
[2026-04-26 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967679488001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777217799000,"timestamp_ms":1777217799000,"timestamp_seconds":1777217799,"priority":1,"record_length":96,"hex_timestamp":"0000019dca6f8358"} 
[2026-04-26 21:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:11:50] 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-04-26 21: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-04-26 21:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967679488001,"66":24212,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967679488001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:11:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967679488001,"power":24212,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":54888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:11:50] local.INFO: GPS data processed {"connection_id":54888,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:11:50] local.INFO: Acknowledgment sent {"connection_id":54888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:12:13] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:12:13] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:12:13] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:12:18] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:12:18] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:12:18] local.INFO: IMEI packet received {"connection_id":54889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":54889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:12:19] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:12:19] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:12:19] local.INFO: Packet analysis {"connection_id":54889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:12:19] local.INFO: Extracted packet for processing {"connection_id":54889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:12:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:12: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-04-26 21:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:12:19] 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-04-26 21:12: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:12: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-04-26 21:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:12:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":54889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:12:19] local.INFO: GPS data processed {"connection_id":54889,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:12:19] local.INFO: Acknowledgment sent {"connection_id":54889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:12:50] local.INFO: TCP Data received {"connection_id":54889,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:12:50] local.INFO: Processing buffer {"connection_id":54889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:12:50] local.INFO: Packet analysis {"connection_id":54889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:12:50] local.INFO: Extracted packet for processing {"connection_id":54889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:12:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:12:50] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:12:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":54889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:12:50] local.INFO: GPS data processed {"connection_id":54889,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:12:50] local.INFO: Acknowledgment sent {"connection_id":54889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:13:14] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:13:14] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:13:14] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:13:18] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:13:18] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:13:18] local.INFO: IMEI packet received {"connection_id":54890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":54890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:13:21] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:21] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:21] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:13:21] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:13:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:13:21] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:13:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:13:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:13:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:13:21] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:13:21] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:13:23] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:23] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:23] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:13:23] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:13:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:13:23] 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-04-26 21:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:13:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:13:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:13:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:13:23] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:13:23] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:13:55] local.INFO: TCP Data received {"connection_id":54890,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:55] local.INFO: Processing buffer {"connection_id":54890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:13:55] local.INFO: Packet analysis {"connection_id":54890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:13:55] local.INFO: Extracted packet for processing {"connection_id":54890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:13:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:13:55] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:13:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:13:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:13:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":54890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:13:55] local.INFO: GPS data processed {"connection_id":54890,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:13:55] local.INFO: Acknowledgment sent {"connection_id":54890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:14:09] local.INFO: TCP Data received {"connection_id":54891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:14:09] local.INFO: Processing buffer {"connection_id":54891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:14:09] local.INFO: IMEI packet received {"connection_id":54891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":54891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:14:13] local.INFO: TCP Data received {"connection_id":55797,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:14:13] local.INFO: Processing buffer {"connection_id":55797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:14:13] local.INFO: IMEI packet received {"connection_id":55797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":55797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:14:18] local.INFO: TCP Data received {"connection_id":55797,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:14:18] local.INFO: Processing buffer {"connection_id":55797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:14:18] local.INFO: IMEI packet received {"connection_id":55797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":55797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:14:21] local.INFO: TCP Data received {"connection_id":55797,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:14:21] local.INFO: Processing buffer {"connection_id":55797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:14:21] local.INFO: Packet analysis {"connection_id":55797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:14:21] local.INFO: Extracted packet for processing {"connection_id":55797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:14:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:14:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:14:21] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:14:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:14:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:14:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":55797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:14:21] local.INFO: GPS data processed {"connection_id":55797,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:14:21] local.INFO: Acknowledgment sent {"connection_id":55797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:14:39] local.INFO: TCP Data received {"connection_id":55036,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:14:39] local.INFO: Processing buffer {"connection_id":55036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:14:39] local.INFO: IMEI packet received {"connection_id":55036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":55036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:14:55] local.INFO: TCP Data received {"connection_id":55797,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:14:55] local.INFO: Processing buffer {"connection_id":55797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:14:55] local.INFO: Packet analysis {"connection_id":55797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:14:55] local.INFO: Extracted packet for processing {"connection_id":55797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:14:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:14:55] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:14:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:14:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:14:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":55797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:14:55] local.INFO: GPS data processed {"connection_id":55797,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:14:55] local.INFO: Acknowledgment sent {"connection_id":55797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:15:13] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:15:13] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:15:13] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:15:18] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:15:18] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:15:18] local.INFO: IMEI packet received {"connection_id":54892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":54892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:15:24] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:15:24] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:15:24] local.INFO: Packet analysis {"connection_id":54892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:15:24] local.INFO: Extracted packet for processing {"connection_id":54892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:15:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:15:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:15:24] 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-04-26 21:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:15:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:15:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:15:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":54892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:15:24] local.INFO: GPS data processed {"connection_id":54892,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:15:24] local.INFO: Acknowledgment sent {"connection_id":54892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:15:55] local.INFO: TCP Data received {"connection_id":54892,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:15:55] local.INFO: Processing buffer {"connection_id":54892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:15:55] local.INFO: Packet analysis {"connection_id":54892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:15:55] local.INFO: Extracted packet for processing {"connection_id":54892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:15:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:15:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:15:55] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:15:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:15:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:15:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":54892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:15:55] local.INFO: GPS data processed {"connection_id":54892,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:15:55] local.INFO: Acknowledgment sent {"connection_id":54892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:16:13] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:16:13] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:16:13] local.INFO: IMEI packet received {"connection_id":55122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":55122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:16:18] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:16:18] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:16:18] local.INFO: IMEI packet received {"connection_id":55122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":55122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:16:19] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:16:19] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:16:19] local.INFO: Packet analysis {"connection_id":55122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:16:19] local.INFO: Extracted packet for processing {"connection_id":55122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:16:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:16:19] 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-04-26 21:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":55122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:16:19] local.INFO: GPS data processed {"connection_id":55122,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:16:19] local.INFO: Acknowledgment sent {"connection_id":55122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:16:50] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:16:50] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca741b20012cb299c007822ce0004c00122e..."} 
[2026-04-26 21:16:50] local.INFO: Packet analysis {"connection_id":55122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:16:50] local.INFO: Extracted packet for processing {"connection_id":55122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca74"} 
[2026-04-26 21:16:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967756544001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218100000,"timestamp_ms":1777218100000,"timestamp_seconds":1777218100,"priority":1,"record_length":96,"hex_timestamp":"0000019dca741b20"} 
[2026-04-26 21:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:16:50] 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-04-26 21: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-26 21:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967756544001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967756544001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:16:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967756544001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":55122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:16:50] local.INFO: GPS data processed {"connection_id":55122,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:16:50] local.INFO: Acknowledgment sent {"connection_id":55122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:17:18] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:17:18] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:17:18] local.INFO: IMEI packet received {"connection_id":55038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":55038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:17:19] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:17:19] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:17:19] local.INFO: IMEI packet received {"connection_id":55038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:17:19] local.INFO: IMEI acknowledgment sent {"connection_id":55038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:17:20] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:17:20] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:17:20] local.INFO: Packet analysis {"connection_id":55038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:17:20] local.INFO: Extracted packet for processing {"connection_id":55038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:17:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 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-04-26 21:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:17: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-04-26 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-04-26 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-04-26 21:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":55038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:17:20] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:17:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:17:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":55038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:17:20] local.INFO: GPS data processed {"connection_id":55038,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:17:20] local.INFO: Acknowledgment sent {"connection_id":55038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:17:31] local.INFO: TCP Data received {"connection_id":55038,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:17:31] local.INFO: Processing buffer {"connection_id":55038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:17:31] local.INFO: Packet analysis {"connection_id":55038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:17:31] local.INFO: Extracted packet for processing {"connection_id":55038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:17:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:17:31] 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-04-26 21: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-04-26 21:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:17:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:17:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":55038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:17:31] local.INFO: GPS data processed {"connection_id":55038,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:17:31] local.INFO: Acknowledgment sent {"connection_id":55038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:18:23] local.INFO: TCP Data received {"connection_id":55799,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:23] local.INFO: Processing buffer {"connection_id":55799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:23] local.INFO: IMEI packet received {"connection_id":55799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":55799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:18:29] local.INFO: TCP Data received {"connection_id":55799,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:29] local.INFO: Processing buffer {"connection_id":55799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:29] local.INFO: IMEI packet received {"connection_id":55799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":55799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:18:33] local.INFO: TCP Data received {"connection_id":55799,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:33] local.INFO: Processing buffer {"connection_id":55799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:18:33] local.INFO: IMEI packet received {"connection_id":55799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":55799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:18:34] local.INFO: TCP Data received {"connection_id":55799,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:18:34] local.INFO: Processing buffer {"connection_id":55799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:18:34] local.INFO: Packet analysis {"connection_id":55799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:18:34] local.INFO: Extracted packet for processing {"connection_id":55799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:18:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:18:34] 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-04-26 21:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:18:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":55799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:18:34] local.INFO: GPS data processed {"connection_id":55799,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:18:34] local.INFO: Acknowledgment sent {"connection_id":55799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:19:13] local.INFO: TCP Data received {"connection_id":55039,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:19:13] local.INFO: Processing buffer {"connection_id":55039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:19:13] local.INFO: IMEI packet received {"connection_id":55039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":55039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:19:18] local.INFO: TCP Data received {"connection_id":55039,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:19:18] local.INFO: Processing buffer {"connection_id":55039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:19:18] local.INFO: IMEI packet received {"connection_id":55039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":55039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:19:19] local.INFO: TCP Data received {"connection_id":55039,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:19:19] local.INFO: Processing buffer {"connection_id":55039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:19:19] local.INFO: Packet analysis {"connection_id":55039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:19:19] local.INFO: Extracted packet for processing {"connection_id":55039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:19:19] 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-04-26 21:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:19:19] 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-04-26 21:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:19:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":55039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:19:19] local.INFO: GPS data processed {"connection_id":55039,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:19:19] local.INFO: Acknowledgment sent {"connection_id":55039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:19:50] local.INFO: TCP Data received {"connection_id":55039,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:19:50] local.INFO: Processing buffer {"connection_id":55039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:19:50] local.INFO: Packet analysis {"connection_id":55039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:19:50] local.INFO: Extracted packet for processing {"connection_id":55039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:19:50] 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-04-26 21:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:19:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":55039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:19:50] local.INFO: GPS data processed {"connection_id":55039,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:19:50] local.INFO: Acknowledgment sent {"connection_id":55039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:19:54] local.INFO: TCP Data received {"connection_id":55800,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:19:54] local.INFO: Processing buffer {"connection_id":55800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:19:54] local.INFO: IMEI packet received {"connection_id":55800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":55800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:20:13] local.INFO: TCP Data received {"connection_id":55801,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:20:13] local.INFO: Processing buffer {"connection_id":55801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:20:13] local.INFO: IMEI packet received {"connection_id":55801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":55801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:20:18] local.INFO: TCP Data received {"connection_id":55801,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:20:18] local.INFO: Processing buffer {"connection_id":55801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:20:18] local.INFO: IMEI packet received {"connection_id":55801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":55801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:20:19] local.INFO: TCP Data received {"connection_id":55801,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:20:19] local.INFO: Processing buffer {"connection_id":55801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:20:19] local.INFO: Packet analysis {"connection_id":55801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:20:19] local.INFO: Extracted packet for processing {"connection_id":55801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:20:19] 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-04-26 21:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:20:19] 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-04-26 21:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:20:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":55801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:20:19] local.INFO: GPS data processed {"connection_id":55801,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:20:19] local.INFO: Acknowledgment sent {"connection_id":55801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:20:39] local.INFO: TCP Data received {"connection_id":55040,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:20:39] local.INFO: Processing buffer {"connection_id":55040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:20:39] local.INFO: IMEI packet received {"connection_id":55040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":55040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:20:50] local.INFO: TCP Data received {"connection_id":55801,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:20:50] local.INFO: Processing buffer {"connection_id":55801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:20:50] local.INFO: Packet analysis {"connection_id":55801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:20:50] local.INFO: Extracted packet for processing {"connection_id":55801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:20:50] 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-04-26 21:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:20:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":55801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:20:50] local.INFO: GPS data processed {"connection_id":55801,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:20:50] local.INFO: Acknowledgment sent {"connection_id":55801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:21:16] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:21:16] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:21:16] local.INFO: IMEI packet received {"connection_id":55042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":55042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:21:20] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:21:20] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:21:20] local.INFO: IMEI packet received {"connection_id":55042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":55042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:21:21] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:21:21] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:21:21] local.INFO: Packet analysis {"connection_id":55042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:21:21] local.INFO: Extracted packet for processing {"connection_id":55042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:21: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-04-26 21: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-04-26 21:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:21: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-04-26 21:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":55042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:21:21] local.INFO: GPS data processed {"connection_id":55042,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:21:21] local.INFO: Acknowledgment sent {"connection_id":55042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:21:25] local.INFO: TCP Data received {"connection_id":55042,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:21:25] local.INFO: Processing buffer {"connection_id":55042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca78b2e8012cb299c007822ce0005000122b..."} 
[2026-04-26 21:21:25] local.INFO: Packet analysis {"connection_id":55042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:21:25] local.INFO: Extracted packet for processing {"connection_id":55042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca78"} 
[2026-04-26 21:21:25] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967833600001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:21:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777218401000,"timestamp_ms":1777218401000,"timestamp_seconds":1777218401,"priority":1,"record_length":96,"hex_timestamp":"0000019dca78b2e8"} 
[2026-04-26 21:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":55042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":55042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":55042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:21: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-04-26 21:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967833600001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967833600001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:21:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:21:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967833600001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":55042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:21:25] local.INFO: GPS data processed {"connection_id":55042,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:21:25] local.INFO: Acknowledgment sent {"connection_id":55042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:22:13] local.INFO: TCP Data received {"connection_id":54894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:13] local.INFO: Processing buffer {"connection_id":54894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:13] local.INFO: IMEI packet received {"connection_id":54894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":54894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:22:18] local.INFO: TCP Data received {"connection_id":54894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:18] local.INFO: Processing buffer {"connection_id":54894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:18] local.INFO: IMEI packet received {"connection_id":54894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":54894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:22:20] local.INFO: TCP Data received {"connection_id":54894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:20] local.INFO: Processing buffer {"connection_id":54894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:20] local.INFO: IMEI packet received {"connection_id":54894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":54894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:22:25] local.INFO: TCP Data received {"connection_id":54894,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:25] local.INFO: Processing buffer {"connection_id":54894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:22:25] local.INFO: IMEI packet received {"connection_id":54894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":54894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:22:50] local.INFO: TCP Data received {"connection_id":54894,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:22:50] local.INFO: Processing buffer {"connection_id":54894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:22:50] local.INFO: Packet analysis {"connection_id":54894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:22:50] local.INFO: Extracted packet for processing {"connection_id":54894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:22:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:22:50] 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-04-26 21: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-04-26 21:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:22:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":54894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:22:50] local.INFO: GPS data processed {"connection_id":54894,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:22:50] local.INFO: Acknowledgment sent {"connection_id":54894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:23:13] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:23:13] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:23:13] local.INFO: IMEI packet received {"connection_id":55043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":55043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:23:18] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:23:18] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:23:18] local.INFO: IMEI packet received {"connection_id":55043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":55043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:23:19] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:23:19] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:23:19] local.INFO: Packet analysis {"connection_id":55043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:23:19] local.INFO: Extracted packet for processing {"connection_id":55043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:23:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:23:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:23:19] 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-04-26 21: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-04-26 21:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:23:19] 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-04-26 21:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:23:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:23:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:23:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":55043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:23:19] local.INFO: GPS data processed {"connection_id":55043,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:23:19] local.INFO: Acknowledgment sent {"connection_id":55043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:23:50] local.INFO: TCP Data received {"connection_id":55043,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:23:50] local.INFO: Processing buffer {"connection_id":55043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:23:50] local.INFO: Packet analysis {"connection_id":55043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:23:50] local.INFO: Extracted packet for processing {"connection_id":55043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:23:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:23:50] 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-04-26 21: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-04-26 21:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:23:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:23:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:23:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":55043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:23:50] local.INFO: GPS data processed {"connection_id":55043,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:23:50] local.INFO: Acknowledgment sent {"connection_id":55043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:24:13] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:24:13] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:24:13] local.INFO: IMEI packet received {"connection_id":55124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":55124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:24:18] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:24:18] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:24:18] local.INFO: IMEI packet received {"connection_id":55124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":55124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:24:19] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:24:19] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:24:19] local.INFO: Packet analysis {"connection_id":55124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:24:19] local.INFO: Extracted packet for processing {"connection_id":55124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:24:19] 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-04-26 21:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:24:19] 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-04-26 21:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:24:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":55124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:24:19] local.INFO: GPS data processed {"connection_id":55124,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:24:19] local.INFO: Acknowledgment sent {"connection_id":55124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:24:50] local.INFO: TCP Data received {"connection_id":55124,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:24:50] local.INFO: Processing buffer {"connection_id":55124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:24:50] local.INFO: Packet analysis {"connection_id":55124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:24:50] local.INFO: Extracted packet for processing {"connection_id":55124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:24:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:24:50] 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-04-26 21: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-04-26 21:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:24:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":55124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:24:50] local.INFO: GPS data processed {"connection_id":55124,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:24:50] local.INFO: Acknowledgment sent {"connection_id":55124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:25:18] local.INFO: TCP Data received {"connection_id":55802,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:25:18] local.INFO: Processing buffer {"connection_id":55802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:25:18] local.INFO: IMEI packet received {"connection_id":55802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":55802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:25:23] local.INFO: TCP Data received {"connection_id":55802,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:25:23] local.INFO: Processing buffer {"connection_id":55802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:25:23] local.INFO: IMEI packet received {"connection_id":55802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":55802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:25:24] local.INFO: TCP Data received {"connection_id":55802,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:25:24] local.INFO: Processing buffer {"connection_id":55802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:25:24] local.INFO: Packet analysis {"connection_id":55802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:25:24] local.INFO: Extracted packet for processing {"connection_id":55802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:25:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:25:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:25:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:25:24] 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-04-26 21: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-04-26 21:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21: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-04-26 21:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:25:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:25:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:25:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":55802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:25:24] local.INFO: GPS data processed {"connection_id":55802,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:25:24] local.INFO: Acknowledgment sent {"connection_id":55802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:25:28] local.INFO: TCP Data received {"connection_id":55802,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:25:28] local.INFO: Processing buffer {"connection_id":55802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:25:28] local.INFO: Packet analysis {"connection_id":55802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:25:28] local.INFO: Extracted packet for processing {"connection_id":55802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:25:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:25:28] 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-04-26 21:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:25:28] 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-04-26 21:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:25:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:25:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":55802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:25:28] local.INFO: GPS data processed {"connection_id":55802,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:25:28] local.INFO: Acknowledgment sent {"connection_id":55802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:25:59] local.INFO: TCP Data received {"connection_id":55045,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:25:59] local.INFO: Processing buffer {"connection_id":55045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:25:59] local.INFO: IMEI packet received {"connection_id":55045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":55045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:26:13] local.INFO: TCP Data received {"connection_id":55803,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:26:13] local.INFO: Processing buffer {"connection_id":55803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:26:13] local.INFO: IMEI packet received {"connection_id":55803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":55803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:26:18] local.INFO: TCP Data received {"connection_id":55803,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:26:18] local.INFO: Processing buffer {"connection_id":55803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:26:18] local.INFO: IMEI packet received {"connection_id":55803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":55803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:26:19] local.INFO: TCP Data received {"connection_id":55803,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:26:19] local.INFO: Processing buffer {"connection_id":55803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:26:19] local.INFO: Packet analysis {"connection_id":55803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:26:19] local.INFO: Extracted packet for processing {"connection_id":55803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:26:19] 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-04-26 21:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:26:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":55803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:26:19] local.INFO: GPS data processed {"connection_id":55803,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:26:19] local.INFO: Acknowledgment sent {"connection_id":55803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:26:45] local.INFO: TCP Data received {"connection_id":55125,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55125,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:26:45] local.INFO: Processing buffer {"connection_id":55125,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:26:45] local.INFO: IMEI packet received {"connection_id":55125,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:26:45] local.INFO: IMEI acknowledgment sent {"connection_id":55125,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:26:50] local.INFO: TCP Data received {"connection_id":55803,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:26:50] local.INFO: Processing buffer {"connection_id":55803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:26:50] local.INFO: Packet analysis {"connection_id":55803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:26:50] local.INFO: Extracted packet for processing {"connection_id":55803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:26:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:26:50] 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-04-26 21:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:26:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":55803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:26:50] local.INFO: GPS data processed {"connection_id":55803,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:26:50] local.INFO: Acknowledgment sent {"connection_id":55803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:27:13] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:27:13] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:27:13] local.INFO: IMEI packet received {"connection_id":54897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":54897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:27:18] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:27:18] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:27:18] local.INFO: IMEI packet received {"connection_id":54897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":54897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:27:19] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:27:19] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca7d4ab0012cb299c007822ce0004a00122d..."} 
[2026-04-26 21:27:19] local.INFO: Packet analysis {"connection_id":54897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:27:19] local.INFO: Extracted packet for processing {"connection_id":54897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca7d"} 
[2026-04-26 21:27:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967910656001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:27:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777218702000,"timestamp_ms":1777218702000,"timestamp_seconds":1777218702,"priority":1,"record_length":96,"hex_timestamp":"0000019dca7d4ab0"} 
[2026-04-26 21:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:27:19] 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-04-26 21: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-04-26 21:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967910656001,"66":24680,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967910656001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:27:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:27:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:27:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967910656001,"power":24680,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":54897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:27:19] local.INFO: GPS data processed {"connection_id":54897,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:27:19] local.INFO: Acknowledgment sent {"connection_id":54897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:27:52] local.INFO: TCP Data received {"connection_id":54897,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:27:52] local.INFO: Processing buffer {"connection_id":54897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:27:52] local.INFO: Packet analysis {"connection_id":54897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:27:52] local.INFO: Extracted packet for processing {"connection_id":54897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:27:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:27:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:27:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:27:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:27:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 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-04-26 21:27:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:27:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 21:27:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:27:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:27:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:27:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:27:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:27:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:27:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:27:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:27:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:27:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:27:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:27:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:27:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:27:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:27:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:27:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:27:52] local.INFO: DEBUG: GPS processor result {"connection_id":54897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:27:52] local.INFO: GPS data processed {"connection_id":54897,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:27:52] local.INFO: Acknowledgment sent {"connection_id":54897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:28:13] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:28:13] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:28:13] local.INFO: IMEI packet received {"connection_id":55126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":55126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:28:18] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:28:18] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:28:18] local.INFO: IMEI packet received {"connection_id":55126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":55126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:28:19] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:28:19] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:28:19] local.INFO: Packet analysis {"connection_id":55126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:28:19] local.INFO: Extracted packet for processing {"connection_id":55126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:28:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 21:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:28:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":55126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:28:19] local.INFO: GPS data processed {"connection_id":55126,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:28:19] local.INFO: Acknowledgment sent {"connection_id":55126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:29:18] local.INFO: TCP Data received {"connection_id":55805,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:29:18] local.INFO: Processing buffer {"connection_id":55805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:29:18] local.INFO: IMEI packet received {"connection_id":55805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":55805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:29:23] local.INFO: TCP Data received {"connection_id":55805,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:29:23] local.INFO: Processing buffer {"connection_id":55805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:29:23] local.INFO: IMEI packet received {"connection_id":55805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":55805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:29:27] local.INFO: TCP Data received {"connection_id":55805,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:29:27] local.INFO: Processing buffer {"connection_id":55805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:29:27] local.INFO: Packet analysis {"connection_id":55805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:29:27] local.INFO: Extracted packet for processing {"connection_id":55805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:29:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 21:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:29:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:29:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":55805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:29:27] local.INFO: GPS data processed {"connection_id":55805,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:29:27] local.INFO: Acknowledgment sent {"connection_id":55805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:29:34] local.INFO: TCP Data received {"connection_id":55805,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:29:34] local.INFO: Processing buffer {"connection_id":55805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:29:34] local.INFO: Packet analysis {"connection_id":55805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:29:34] local.INFO: Extracted packet for processing {"connection_id":55805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 21:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:29:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":55805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:29:34] local.INFO: GPS data processed {"connection_id":55805,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:29:34] local.INFO: Acknowledgment sent {"connection_id":55805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:30:13] local.INFO: TCP Data received {"connection_id":55806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:13] local.INFO: Processing buffer {"connection_id":55806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:13] local.INFO: IMEI packet received {"connection_id":55806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":55806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:30:22] local.INFO: TCP Data received {"connection_id":55806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:22] local.INFO: Processing buffer {"connection_id":55806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:22] local.INFO: IMEI packet received {"connection_id":55806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":55806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:30:23] local.INFO: TCP Data received {"connection_id":55806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:23] local.INFO: Processing buffer {"connection_id":55806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:23] local.INFO: IMEI packet received {"connection_id":55806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":55806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:30:28] local.INFO: TCP Data received {"connection_id":55806,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:28] local.INFO: Processing buffer {"connection_id":55806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:30:28] local.INFO: IMEI packet received {"connection_id":55806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":55806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:30:34] local.INFO: TCP Data received {"connection_id":55806,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:30:34] local.INFO: Processing buffer {"connection_id":55806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:30:34] local.INFO: Packet analysis {"connection_id":55806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:30:34] local.INFO: Extracted packet for processing {"connection_id":55806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:30:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 21:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":55806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":55806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":55806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:30:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:30:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:30:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":55806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:30:34] local.INFO: GPS data processed {"connection_id":55806,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:30:34] local.INFO: Acknowledgment sent {"connection_id":55806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:31:13] local.INFO: TCP Data received {"connection_id":55127,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:31:13] local.INFO: Processing buffer {"connection_id":55127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:31:13] local.INFO: IMEI packet received {"connection_id":55127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":55127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:31:18] local.INFO: TCP Data received {"connection_id":55127,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:31:18] local.INFO: Processing buffer {"connection_id":55127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:31:18] local.INFO: IMEI packet received {"connection_id":55127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":55127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:31:19] local.INFO: TCP Data received {"connection_id":55127,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:31:19] local.INFO: Processing buffer {"connection_id":55127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:31:19] local.INFO: Packet analysis {"connection_id":55127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:31:19] local.INFO: Extracted packet for processing {"connection_id":55127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:31:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 21:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:31:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:31:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:31:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":55127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:31:19] local.INFO: GPS data processed {"connection_id":55127,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:31:19] local.INFO: Acknowledgment sent {"connection_id":55127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:31:50] local.INFO: TCP Data received {"connection_id":55127,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:31:50] local.INFO: Processing buffer {"connection_id":55127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca81e278012cb299c007822ce0004f00122b..."} 
[2026-04-26 21:31:50] local.INFO: Packet analysis {"connection_id":55127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:31:50] local.INFO: Extracted packet for processing {"connection_id":55127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca81"} 
[2026-04-26 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454967987712001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777219003000,"timestamp_ms":1777219003000,"timestamp_seconds":1777219003,"priority":1,"record_length":96,"hex_timestamp":"0000019dca81e278"} 
[2026-04-26 21:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-26 21:31:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454967987712001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454967987712001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:31:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454967987712001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":55127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:31:50] local.INFO: GPS data processed {"connection_id":55127,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:31:50] local.INFO: Acknowledgment sent {"connection_id":55127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:31:59] local.INFO: TCP Data received {"connection_id":55047,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:31:59] local.INFO: Processing buffer {"connection_id":55047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:31:59] local.INFO: IMEI packet received {"connection_id":55047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":55047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:32:18] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:32:18] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:32:18] local.INFO: IMEI packet received {"connection_id":55048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":55048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:32:22] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:32:22] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:32:22] local.INFO: IMEI packet received {"connection_id":55048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":55048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:32:27] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:32:27] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:32:27] local.INFO: Packet analysis {"connection_id":55048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:32:27] local.INFO: Extracted packet for processing {"connection_id":55048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:32:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:32:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:32:27] 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-04-26 21: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-04-26 21:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":55048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:32:27] local.INFO: GPS data processed {"connection_id":55048,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:32:27] local.INFO: Acknowledgment sent {"connection_id":55048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:32:27] local.INFO: TCP Data received {"connection_id":55048,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:32:27] local.INFO: Processing buffer {"connection_id":55048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:32:27] local.INFO: Packet analysis {"connection_id":55048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:32:27] local.INFO: Extracted packet for processing {"connection_id":55048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:32:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:32:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:32:27] 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-04-26 21: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-04-26 21:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:32:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":55048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:32:28] local.INFO: GPS data processed {"connection_id":55048,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:32:28] local.INFO: Acknowledgment sent {"connection_id":55048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:32:44] local.INFO: TCP Data received {"connection_id":55049,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:32:44] local.INFO: Processing buffer {"connection_id":55049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:32:44] local.INFO: IMEI packet received {"connection_id":55049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":55049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:33:13] local.INFO: TCP Data received {"connection_id":55128,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:33:13] local.INFO: Processing buffer {"connection_id":55128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:33:13] local.INFO: IMEI packet received {"connection_id":55128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":55128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:33:18] local.INFO: TCP Data received {"connection_id":55128,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:33:18] local.INFO: Processing buffer {"connection_id":55128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:33:18] local.INFO: IMEI packet received {"connection_id":55128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":55128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:33:21] local.INFO: TCP Data received {"connection_id":55128,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:33:21] local.INFO: Processing buffer {"connection_id":55128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:33:21] local.INFO: Packet analysis {"connection_id":55128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:33:21] local.INFO: Extracted packet for processing {"connection_id":55128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:33:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:33:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:33:21] 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-04-26 21: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-04-26 21:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:33:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:33:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:33:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":55128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:33:21] local.INFO: GPS data processed {"connection_id":55128,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:33:21] local.INFO: Acknowledgment sent {"connection_id":55128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:33:56] local.INFO: TCP Data received {"connection_id":55128,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:33:56] local.INFO: Processing buffer {"connection_id":55128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:33:56] local.INFO: Packet analysis {"connection_id":55128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:33:56] local.INFO: Extracted packet for processing {"connection_id":55128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:33:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 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-04-26 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:33:56] 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-04-26 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-04-26 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-04-26 21:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:33:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:33:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":55128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:33:56] local.INFO: GPS data processed {"connection_id":55128,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:33:56] local.INFO: Acknowledgment sent {"connection_id":55128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:34:15] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:34:15] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:34:15] local.INFO: IMEI packet received {"connection_id":54899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":54899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:34:18] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:34:18] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:34:18] local.INFO: IMEI packet received {"connection_id":54899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":54899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:34:19] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:34:19] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:34:19] local.INFO: Packet analysis {"connection_id":54899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:34:19] local.INFO: Extracted packet for processing {"connection_id":54899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:34:19] 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-04-26 21:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:34:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":54899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:34:19] local.INFO: GPS data processed {"connection_id":54899,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:34:19] local.INFO: Acknowledgment sent {"connection_id":54899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:34:52] local.INFO: TCP Data received {"connection_id":54899,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:34:52] local.INFO: Processing buffer {"connection_id":54899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:34:52] local.INFO: Packet analysis {"connection_id":54899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:34:52] local.INFO: Extracted packet for processing {"connection_id":54899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:34:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:34:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:34:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:34:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:34:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:34:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 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-04-26 21:34:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:34: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-04-26 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-04-26 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-04-26 21:34:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:34:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:34:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:34:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:34:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:34:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:34:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:34:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:34:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:34:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:34:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:34:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:34:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:34:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:34:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:34:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:34:52] local.INFO: DEBUG: GPS processor result {"connection_id":54899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:34:52] local.INFO: GPS data processed {"connection_id":54899,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:34:52] local.INFO: Acknowledgment sent {"connection_id":54899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:35:13] local.INFO: TCP Data received {"connection_id":55808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:35:13] local.INFO: Processing buffer {"connection_id":55808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:35:13] local.INFO: IMEI packet received {"connection_id":55808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":55808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:35:18] local.INFO: TCP Data received {"connection_id":55808,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:35:18] local.INFO: Processing buffer {"connection_id":55808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:35:18] local.INFO: IMEI packet received {"connection_id":55808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":55808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:35:19] local.INFO: TCP Data received {"connection_id":55808,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:35:19] local.INFO: Processing buffer {"connection_id":55808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:35:19] local.INFO: Packet analysis {"connection_id":55808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:35:19] local.INFO: Extracted packet for processing {"connection_id":55808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:35:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:35:19] 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-04-26 21:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:35:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:35:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:35:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":55808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:35:19] local.INFO: GPS data processed {"connection_id":55808,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:35:19] local.INFO: Acknowledgment sent {"connection_id":55808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:35:52] local.INFO: TCP Data received {"connection_id":55808,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:35:52] local.INFO: Processing buffer {"connection_id":55808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:35:52] local.INFO: Packet analysis {"connection_id":55808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:35:52] local.INFO: Extracted packet for processing {"connection_id":55808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:35:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:35:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:35:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:35: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-04-26 21: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-04-26 21:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:35:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:35:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:35:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":55808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:35:52] local.INFO: GPS data processed {"connection_id":55808,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:35:52] local.INFO: Acknowledgment sent {"connection_id":55808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:36:18] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:36:18] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:36:18] local.INFO: IMEI packet received {"connection_id":55130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":55130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:36:25] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:36:25] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:36:25] local.INFO: IMEI packet received {"connection_id":55130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":55130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:36:26] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:36:26] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:36:26] local.INFO: Packet analysis {"connection_id":55130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:36:26] local.INFO: Extracted packet for processing {"connection_id":55130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:36:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:36:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:36:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:36:26] 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-04-26 21: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-04-26 21:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:36:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:36:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:36:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":55130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:36:26] local.INFO: GPS data processed {"connection_id":55130,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:36:26] local.INFO: Acknowledgment sent {"connection_id":55130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:37:13] local.INFO: TCP Data received {"connection_id":55811,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:37:13] local.INFO: Processing buffer {"connection_id":55811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:37:13] local.INFO: IMEI packet received {"connection_id":55811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":55811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:37:18] local.INFO: TCP Data received {"connection_id":55811,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:37:18] local.INFO: Processing buffer {"connection_id":55811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:37:18] local.INFO: IMEI packet received {"connection_id":55811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":55811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:37:19] local.INFO: TCP Data received {"connection_id":55811,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:37:19] local.INFO: Processing buffer {"connection_id":55811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca867a40012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:37:19] local.INFO: Packet analysis {"connection_id":55811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:37:19] local.INFO: Extracted packet for processing {"connection_id":55811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca86"} 
[2026-04-26 21:37:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968064768001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:37:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777219304000,"timestamp_ms":1777219304000,"timestamp_seconds":1777219304,"priority":1,"record_length":96,"hex_timestamp":"0000019dca867a40"} 
[2026-04-26 21:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:37:19] 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-04-26 21: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-04-26 21:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968064768001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968064768001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:37:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:37:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:37:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968064768001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":55811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:37:19] local.INFO: GPS data processed {"connection_id":55811,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:37:19] local.INFO: Acknowledgment sent {"connection_id":55811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:37:52] local.INFO: TCP Data received {"connection_id":55811,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019dca8b1208012cb299c007822ce0004d00122c..."} 
[2026-04-26 21:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca8b1208012cb299c007822ce0004d00122c..."} 
[2026-04-26 21:37:52] local.INFO: Processing buffer {"connection_id":55811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca8b1208012cb299c007822ce0004d00122c..."} 
[2026-04-26 21:37:52] local.INFO: Packet analysis {"connection_id":55811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca8b"} 
[2026-04-26 21:37:52] local.INFO: Extracted packet for processing {"connection_id":55811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca8b"} 
[2026-04-26 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968141824001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:37:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777219605000,"timestamp_ms":1777219605000,"timestamp_seconds":1777219605,"priority":1,"record_length":96,"hex_timestamp":"0000019dca8b1208"} 
[2026-04-26 21:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:37:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 21:37: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-04-26 21:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968141824001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968141824001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:37:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:37:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:37:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968141824001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":55811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:37:52] local.INFO: GPS data processed {"connection_id":55811,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:37:52] local.INFO: Acknowledgment sent {"connection_id":55811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:38:04] local.INFO: TCP Data received {"connection_id":55051,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:04] local.INFO: Processing buffer {"connection_id":55051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:04] local.INFO: IMEI packet received {"connection_id":55051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":55051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:38:13] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:13] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:13] local.INFO: IMEI packet received {"connection_id":55052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":55052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:38:18] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:18] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:18] local.INFO: IMEI packet received {"connection_id":55052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":55052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:38:39] local.INFO: TCP Data received {"connection_id":55812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:39] local.INFO: Processing buffer {"connection_id":55812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:39] local.INFO: IMEI packet received {"connection_id":55812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":55812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:38:44] local.INFO: TCP Data received {"connection_id":55812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:44] local.INFO: Processing buffer {"connection_id":55812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:44] local.INFO: IMEI packet received {"connection_id":55812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 21:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":55812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:38:48] local.INFO: TCP Data received {"connection_id":55052,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:48] local.INFO: Processing buffer {"connection_id":55052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:38:48] local.INFO: IMEI packet received {"connection_id":55052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":55052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:38:49] local.INFO: TCP Data received {"connection_id":55812,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:49] local.INFO: Processing buffer {"connection_id":55812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:38:49] local.INFO: IMEI packet received {"connection_id":55812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 21:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":55812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:39:18] local.INFO: TCP Data received {"connection_id":55053,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:39:18] local.INFO: Processing buffer {"connection_id":55053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:39:18] local.INFO: IMEI packet received {"connection_id":55053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":55053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:44:09] local.INFO: TCP Data received {"connection_id":55057,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:09] local.INFO: Processing buffer {"connection_id":55057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:09] local.INFO: IMEI packet received {"connection_id":55057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":55057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:44:23] local.INFO: TCP Data received {"connection_id":55058,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:44:23] local.INFO: Processing buffer {"connection_id":55058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:44:23] local.INFO: IMEI packet received {"connection_id":55058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":55058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:44:24] local.INFO: TCP Data received {"connection_id":55058,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:44:24] local.INFO: Processing buffer {"connection_id":55058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:44:24] local.INFO: Packet analysis {"connection_id":55058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca8f"} 
[2026-04-26 21:44:24] local.INFO: Extracted packet for processing {"connection_id":55058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca8f"} 
[2026-04-26 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968218880001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777219906000,"timestamp_ms":1777219906000,"timestamp_seconds":1777219906,"priority":1,"record_length":96,"hex_timestamp":"0000019dca8fa9d0"} 
[2026-04-26 21:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 21:44: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-04-26 21:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968218880001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968218880001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:44:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968218880001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":55058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:44:24] local.INFO: GPS data processed {"connection_id":55058,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:44:24] local.INFO: Acknowledgment sent {"connection_id":55058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:44:39] local.INFO: TCP Data received {"connection_id":55814,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:39] local.INFO: Processing buffer {"connection_id":55814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:39] local.INFO: IMEI packet received {"connection_id":55814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":55814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:44:44] local.INFO: TCP Data received {"connection_id":55814,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:44] local.INFO: Processing buffer {"connection_id":55814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:44:44] local.INFO: IMEI packet received {"connection_id":55814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 21:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":55814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:44:45] local.INFO: TCP Data received {"connection_id":55814,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dca886e40012cb29ac007822f38004b00da29..."} 
[2026-04-26 21:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca886e40012cb29ac007822f38004b00da29..."} 
[2026-04-26 21:44:45] local.INFO: Processing buffer {"connection_id":55814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca886e40012cb29ac007822f38004b00da29..."} 
[2026-04-26 21:44:45] local.INFO: Packet analysis {"connection_id":55814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca88"} 
[2026-04-26 21:44:45] local.INFO: Extracted packet for processing {"connection_id":55814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca88"} 
[2026-04-26 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972280,"longitude_deg":74.9902528,"latitude_deg":12.597228,"altitude":75,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822f38","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968097536001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 21:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063501312,"note":"Value kept but may cause issues"} 
[2026-04-26 21:44:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777219432000,"timestamp_ms":1777219432000,"timestamp_seconds":1777219432,"priority":1,"record_length":96,"hex_timestamp":"0000019dca886e40"} 
[2026-04-26 21:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-26 21:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":922,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":55814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":55814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 21:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 21:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 21:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 21:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968097536001,"66":25114,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063501312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 21:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 21:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 21:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968097536001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:44:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 21:44:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 21:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063501312,"description":"Unknown IO ID 44"} 
[2026-04-26 21:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968097536001,"power":25114,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063501312}} 
[2026-04-26 21:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":55814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:44:45] local.INFO: GPS data processed {"connection_id":55814,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:44:45] local.INFO: Acknowledgment sent {"connection_id":55814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:45:13] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:13] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:13] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:45:19] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:19] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:19] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:45:23] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:23] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:45:23] local.INFO: IMEI packet received {"connection_id":54902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":54902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:45:31] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:45:31] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:45:31] local.INFO: Packet analysis {"connection_id":54902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca8f"} 
[2026-04-26 21:45:31] local.INFO: Extracted packet for processing {"connection_id":54902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca8f"} 
[2026-04-26 21:45:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968218880001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777219906000,"timestamp_ms":1777219906000,"timestamp_seconds":1777219906,"priority":1,"record_length":96,"hex_timestamp":"0000019dca8fa9d0"} 
[2026-04-26 21:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 21:45: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-04-26 21: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-04-26 21:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":54902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":54902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":54902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:45: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-04-26 21:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968218880001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968218880001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:45:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968218880001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":54902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:45:31] local.INFO: GPS data processed {"connection_id":54902,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:45:31] local.INFO: Acknowledgment sent {"connection_id":54902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:45:39] local.INFO: TCP Data received {"connection_id":55815,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:45:39] local.INFO: Processing buffer {"connection_id":55815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:45:39] local.INFO: IMEI packet received {"connection_id":55815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":55815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:45:44] local.INFO: TCP Data received {"connection_id":55815,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:45:44] local.INFO: Processing buffer {"connection_id":55815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:45:44] local.INFO: IMEI packet received {"connection_id":55815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 21:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":55815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:45:52] local.INFO: TCP Data received {"connection_id":54902,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:45:52] local.INFO: Processing buffer {"connection_id":54902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca8fa9d0012cb299c007822ce0004800122c..."} 
[2026-04-26 21:45:52] local.INFO: Packet analysis {"connection_id":54902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca8f"} 
[2026-04-26 21:45:52] local.INFO: Extracted packet for processing {"connection_id":54902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca8f"} 
[2026-04-26 21:45:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968218880001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:45:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777219906000,"timestamp_ms":1777219906000,"timestamp_seconds":1777219906,"priority":1,"record_length":96,"hex_timestamp":"0000019dca8fa9d0"} 
[2026-04-26 21:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:45:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 21:45: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-04-26 21: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-04-26 21:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:45:52] 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-04-26 21:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968218880001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968218880001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:45:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:45:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:45:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968218880001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":54902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:45:52] local.INFO: GPS data processed {"connection_id":54902,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:45:52] local.INFO: Acknowledgment sent {"connection_id":54902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:46:18] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:18] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:18] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:46:32] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:32] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:32] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:46:32] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:32] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:32] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:46:33] local.INFO: TCP Data received {"connection_id":55059,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:33] local.INFO: Processing buffer {"connection_id":55059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:46:33] local.INFO: IMEI packet received {"connection_id":55059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":55059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:51:19] local.INFO: TCP Data received {"connection_id":55137,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:19] local.INFO: Processing buffer {"connection_id":55137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:19] local.INFO: IMEI packet received {"connection_id":55137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":55137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:51:38] local.INFO: TCP Data received {"connection_id":55138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:51:38] local.INFO: Processing buffer {"connection_id":55138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:51:38] local.INFO: IMEI packet received {"connection_id":55138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":55138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:51:39] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:39] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:39] local.INFO: IMEI packet received {"connection_id":55139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":55139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:51:44] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:44] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:51:44] local.INFO: IMEI packet received {"connection_id":55139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 21:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":55139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:51:44] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dca963598012cb29ac007822f38004b00da29..."} 
[2026-04-26 21:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca963598012cb29ac007822f38004b00da29..."} 
[2026-04-26 21:51:44] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca963598012cb29ac007822f38004b00da29..."} 
[2026-04-26 21:51:44] local.INFO: Packet analysis {"connection_id":55139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca96"} 
[2026-04-26 21:51:44] local.INFO: Extracted packet for processing {"connection_id":55139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca96"} 
[2026-04-26 21:51:44] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972280,"longitude_deg":74.9902528,"latitude_deg":12.597228,"altitude":75,"angle":218,"satellites":41,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822f38","is_valid_coordinates":true} 
[2026-04-26 21:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968328704001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 21:51:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063501312,"note":"Value kept but may cause issues"} 
[2026-04-26 21:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777220335000,"timestamp_ms":1777220335000,"timestamp_seconds":1777220335,"priority":1,"record_length":96,"hex_timestamp":"0000019dca963598"} 
[2026-04-26 21:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:51:44] 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-04-26 21:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-26 21:51:44] 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-04-26 21:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55139,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968328704001,"66":25114,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063501312},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968328704001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:51:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 21:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063501312,"description":"Unknown IO ID 44"} 
[2026-04-26 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968328704001,"power":25114,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063501312}} 
[2026-04-26 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":55139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:51:45] local.INFO: GPS data processed {"connection_id":55139,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:51:45] local.INFO: Acknowledgment sent {"connection_id":55139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:52:13] local.INFO: TCP Data received {"connection_id":55816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:52:13] local.INFO: Processing buffer {"connection_id":55816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:52:13] local.INFO: IMEI packet received {"connection_id":55816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":55816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:52:18] local.INFO: TCP Data received {"connection_id":55816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:52:18] local.INFO: Processing buffer {"connection_id":55816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:52:18] local.INFO: IMEI packet received {"connection_id":55816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":55816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:52:19] local.INFO: TCP Data received {"connection_id":55816,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca944198012cb299c007822ce0004800122d..."} 
[2026-04-26 21:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca944198012cb299c007822ce0004800122d..."} 
[2026-04-26 21:52:19] local.INFO: Processing buffer {"connection_id":55816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca944198012cb299c007822ce0004800122d..."} 
[2026-04-26 21:52:19] local.INFO: Packet analysis {"connection_id":55816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca94"} 
[2026-04-26 21:52:19] local.INFO: Extracted packet for processing {"connection_id":55816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca94"} 
[2026-04-26 21:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":72,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:52: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-04-26 21:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968295936001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777220207000,"timestamp_ms":1777220207000,"timestamp_seconds":1777220207,"priority":1,"record_length":96,"hex_timestamp":"0000019dca944198"} 
[2026-04-26 21:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:52: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 21:52:19] 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-04-26 21:52: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-04-26 21:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:52: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-04-26 21:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968295936001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968295936001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:52:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968295936001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":55816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:52:19] local.INFO: GPS data processed {"connection_id":55816,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:52:19] local.INFO: Acknowledgment sent {"connection_id":55816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:52:39] local.INFO: TCP Data received {"connection_id":54907,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:52:39] local.INFO: Processing buffer {"connection_id":54907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:52:39] local.INFO: IMEI packet received {"connection_id":54907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":54907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:52:50] local.INFO: TCP Data received {"connection_id":55816,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:52:50] local.INFO: Processing buffer {"connection_id":55816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:52:50] local.INFO: Packet analysis {"connection_id":55816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:52:50] local.INFO: Extracted packet for processing {"connection_id":55816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:52:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:52:50] 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-04-26 21:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:52: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-04-26 21:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:52:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":55816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:52:50] local.INFO: GPS data processed {"connection_id":55816,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:52:50] local.INFO: Acknowledgment sent {"connection_id":55816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:53:18] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:53:18] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:53:18] local.INFO: IMEI packet received {"connection_id":54908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":54908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:53:23] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:53:23] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:53:23] local.INFO: IMEI packet received {"connection_id":54908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":54908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:53:24] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:53:24] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:53:24] local.INFO: Packet analysis {"connection_id":54908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:53:24] local.INFO: Extracted packet for processing {"connection_id":54908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 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-04-26 21:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:53:24] 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-04-26 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-04-26 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-04-26 21:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:53:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:53:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":54908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:53:24] local.INFO: GPS data processed {"connection_id":54908,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:53:24] local.INFO: Acknowledgment sent {"connection_id":54908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:53:55] local.INFO: TCP Data received {"connection_id":54908,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:53:55] local.INFO: Processing buffer {"connection_id":54908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:53:55] local.INFO: Packet analysis {"connection_id":54908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:53:55] local.INFO: Extracted packet for processing {"connection_id":54908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:53:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 21:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 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-04-26 21:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 21:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:53: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-04-26 21:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:53:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":54908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:53:55] local.INFO: GPS data processed {"connection_id":54908,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:53:55] local.INFO: Acknowledgment sent {"connection_id":54908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:54:13] local.INFO: TCP Data received {"connection_id":55817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:54:13] local.INFO: Processing buffer {"connection_id":55817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:54:13] local.INFO: IMEI packet received {"connection_id":55817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":55817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:54:18] local.INFO: TCP Data received {"connection_id":55817,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:54:18] local.INFO: Processing buffer {"connection_id":55817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:54:18] local.INFO: IMEI packet received {"connection_id":55817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":55817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:54:19] local.INFO: TCP Data received {"connection_id":55817,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:54:19] local.INFO: Processing buffer {"connection_id":55817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:54:19] local.INFO: Packet analysis {"connection_id":55817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:54:19] local.INFO: Extracted packet for processing {"connection_id":55817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:54:19] 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-04-26 21: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-04-26 21:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:54: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-04-26 21:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:54:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":55817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:54:19] local.INFO: GPS data processed {"connection_id":55817,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:54:19] local.INFO: Acknowledgment sent {"connection_id":55817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:54:51] local.INFO: TCP Data received {"connection_id":55817,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:54:51] local.INFO: Processing buffer {"connection_id":55817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:54:51] local.INFO: Packet analysis {"connection_id":55817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:54:51] local.INFO: Extracted packet for processing {"connection_id":55817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:54:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:54:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:54: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-04-26 21: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-04-26 21:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:54: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-04-26 21:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:54:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:54:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:54:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:54:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:54:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:54:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:54:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:54:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:54:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":55817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:54:51] local.INFO: GPS data processed {"connection_id":55817,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:54:51] local.INFO: Acknowledgment sent {"connection_id":55817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:55:18] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:55:18] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:55:18] local.INFO: IMEI packet received {"connection_id":55141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":55141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:55:23] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:55:23] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:55:23] local.INFO: IMEI packet received {"connection_id":55141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":55141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:55:24] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:55:24] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:55:24] local.INFO: Packet analysis {"connection_id":55141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:55:24] local.INFO: Extracted packet for processing {"connection_id":55141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:55:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:55:24] 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-04-26 21:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:55: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-04-26 21:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:55:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:55:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":55141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:55:24] local.INFO: GPS data processed {"connection_id":55141,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:55:24] local.INFO: Acknowledgment sent {"connection_id":55141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:55:56] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:55:56] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:55:56] local.INFO: Packet analysis {"connection_id":55141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:55:56] local.INFO: Extracted packet for processing {"connection_id":55141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:55:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:55:56] 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-04-26 21: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-04-26 21:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:55: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-04-26 21:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:55:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:55:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":55141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:55:56] local.INFO: GPS data processed {"connection_id":55141,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:55:56] local.INFO: Acknowledgment sent {"connection_id":55141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:56:13] local.INFO: TCP Data received {"connection_id":55143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:56:13] local.INFO: Processing buffer {"connection_id":55143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:56:13] local.INFO: IMEI packet received {"connection_id":55143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":55143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:56:18] local.INFO: TCP Data received {"connection_id":55143,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:56:18] local.INFO: Processing buffer {"connection_id":55143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:56:18] local.INFO: IMEI packet received {"connection_id":55143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":55143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:56:19] local.INFO: TCP Data received {"connection_id":55143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:56:19] local.INFO: Processing buffer {"connection_id":55143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:56:19] local.INFO: Packet analysis {"connection_id":55143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:56:19] local.INFO: Extracted packet for processing {"connection_id":55143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:56:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:56:19] 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-04-26 21:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:56:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":55143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:56:19] local.INFO: GPS data processed {"connection_id":55143,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:56:19] local.INFO: Acknowledgment sent {"connection_id":55143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:56:23] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:23] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:23] local.INFO: IMEI packet received {"connection_id":54909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 21:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":54909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:56:27] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:27] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:27] local.INFO: IMEI packet received {"connection_id":54909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 21:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":54909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:56:32] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:32] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 21:56:32] local.INFO: IMEI packet received {"connection_id":54909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 21:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":54909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:56:36] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 21:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 21:56:36] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 21:56:36] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 21:56:36] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 21:56:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:56:36] 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-04-26 21:56:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 21:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 21:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 21:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 21:56:36] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 21:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 21:56:36] local.ERROR: GPS data processing failed {"connection_id":54909,"error":"No valid data to process"} 
[2026-04-26 21:56:36] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 21:56:37] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 21:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 21:56:37] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-26 21:56:37] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 21:56:37] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-26 21:56:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:56:37] 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-04-26 21:56:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 21:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 21:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 21:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 21:56:37] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 21:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 21:56:37] local.ERROR: GPS data processing failed {"connection_id":54909,"error":"No valid data to process"} 
[2026-04-26 21:56:37] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 21:56:50] local.INFO: TCP Data received {"connection_id":55143,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:56:50] local.INFO: Processing buffer {"connection_id":55143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:56:50] local.INFO: Packet analysis {"connection_id":55143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:56:50] local.INFO: Extracted packet for processing {"connection_id":55143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:56:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:56:50] 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-04-26 21:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:56:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":55143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:56:50] local.INFO: GPS data processed {"connection_id":55143,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:56:50] local.INFO: Acknowledgment sent {"connection_id":55143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:57:08] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-26 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-26 21:57:08] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-26 21:57:08] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 21:57:08] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-26 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:57:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 21:57:08] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-26 21:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 21:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-26 21:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-26 21:57:08] local.WARNING: DEBUG: No valid data to process  
[2026-04-26 21:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-26 21:57:08] local.ERROR: GPS data processing failed {"connection_id":54909,"error":"No valid data to process"} 
[2026-04-26 21:57:08] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-26 21:57:13] local.INFO: TCP Data received {"connection_id":55818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:57:13] local.INFO: Processing buffer {"connection_id":55818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:57:13] local.INFO: IMEI packet received {"connection_id":55818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":55818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:57:18] local.INFO: TCP Data received {"connection_id":55818,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:57:18] local.INFO: Processing buffer {"connection_id":55818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:57:18] local.INFO: IMEI packet received {"connection_id":55818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":55818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:57:21] local.INFO: TCP Data received {"connection_id":55818,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:57:21] local.INFO: Processing buffer {"connection_id":55818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca98d960012cb299c007822ce0004a00122c..."} 
[2026-04-26 21:57:21] local.INFO: Packet analysis {"connection_id":55818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:57:21] local.INFO: Extracted packet for processing {"connection_id":55818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca98"} 
[2026-04-26 21:57:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":74,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:57:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968372992001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:57:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777220508000,"timestamp_ms":1777220508000,"timestamp_seconds":1777220508,"priority":1,"record_length":96,"hex_timestamp":"0000019dca98d960"} 
[2026-04-26 21:57:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:57:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:57: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-04-26 21: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-04-26 21:57:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:57:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:57:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:57:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:57:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21: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-04-26 21:57:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:57:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:57:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968372992001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:57:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:57:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:57:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968372992001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:57:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:57:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:57:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:57:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:57:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968372992001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:57:21] local.INFO: DEBUG: GPS processor result {"connection_id":55818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:57:21] local.INFO: GPS data processed {"connection_id":55818,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:57:21] local.INFO: Acknowledgment sent {"connection_id":55818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:57:42] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9dabc00100000000000000000000000000..."} 
[2026-04-26 21:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9dabc00100000000000000000000000000..."} 
[2026-04-26 21:57:42] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9dabc00100000000000000000000000000..."} 
[2026-04-26 21:57:42] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:57:42] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:57:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1777220824000,"timestamp_ms":1777220824000,"timestamp_seconds":1777220824,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9dabc0"} 
[2026-04-26 21:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 21:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 21:57:42] 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-04-26 21:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:57:42] 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-04-26 21:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 21:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 21:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 21:57:42] local.INFO: GPS data processed {"connection_id":54909,"processed":0,"errors":0,"total":1} 
[2026-04-26 21:57:42] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:57:52] local.INFO: TCP Data received {"connection_id":55818,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:57:52] local.INFO: Processing buffer {"connection_id":55818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:57:52] local.INFO: Packet analysis {"connection_id":55818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:57:52] local.INFO: Extracted packet for processing {"connection_id":55818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:57:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968450048001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:57:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:57:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777220809000,"timestamp_ms":1777220809000,"timestamp_seconds":1777220809,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9d7128"} 
[2026-04-26 21:57:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:57:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:57:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:57:52] 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-04-26 21:57:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:57:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:57:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:57:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:57:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:57:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:57: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-04-26 21:57:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:57:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:57:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968450048001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:57:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:57:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:57:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968450048001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:57:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:57:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:57:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:57:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:57:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968450048001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:57:52] local.INFO: DEBUG: GPS processor result {"connection_id":55818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:57:52] local.INFO: GPS data processed {"connection_id":55818,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:57:52] local.INFO: Acknowledgment sent {"connection_id":55818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:58:09] local.INFO: TCP Data received {"connection_id":55819,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:58:09] local.INFO: Processing buffer {"connection_id":55819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:58:09] local.INFO: IMEI packet received {"connection_id":55819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":55819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:58:13] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:13] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:13] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:58:13] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9dfdc80100000000000000000000000000..."} 
[2026-04-26 21:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9dfdc80100000000000000000000000000..."} 
[2026-04-26 21:58:13] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9dfdc80100000000000000000000000000..."} 
[2026-04-26 21:58:13] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:58:13] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777220845000,"timestamp_ms":1777220845000,"timestamp_seconds":1777220845,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9dfdc8"} 
[2026-04-26 21:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 21:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3393897752,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1668583661940768778,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18586135979425792,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862720,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3804758016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7241796034550562872,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.WARNING: Large IO value detected {"io_id":8,"raw_value":8503021496359243264,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:13] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,106,83,24,241,157,16,226,13,10,66,187,27,1,240,140,4,113,205,239,2,48,151,7,56,25,8],"length":577,"final_offset":707,"validated_count":27,"validation_warnings":[]} 
[2026-04-26 21:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 21:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:58:13] 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-04-26 21:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 21:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 21:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 21:58:13] local.INFO: GPS data processed {"connection_id":54909,"processed":0,"errors":0,"total":1} 
[2026-04-26 21:58:13] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:58:18] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:18] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:18] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:58:23] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:23] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:58:23] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:58:24] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:58:24] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:58:24] local.INFO: Packet analysis {"connection_id":55144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:58:24] local.INFO: Extracted packet for processing {"connection_id":55144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:58:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968450048001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777220809000,"timestamp_ms":1777220809000,"timestamp_seconds":1777220809,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9d7128"} 
[2026-04-26 21:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:58:24] 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-04-26 21: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-04-26 21:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:58: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-04-26 21:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968450048001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968450048001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:58:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968450048001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":55144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:58:24] local.INFO: GPS data processed {"connection_id":55144,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:58:24] local.INFO: Acknowledgment sent {"connection_id":55144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:58:44] local.INFO: TCP Data received {"connection_id":55064,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:58:44] local.INFO: Processing buffer {"connection_id":55064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 21:58:44] local.INFO: IMEI packet received {"connection_id":55064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 21:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":55064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:58:45] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9e4fd00100000000000000000000000000..."} 
[2026-04-26 21:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9e4fd00100000000000000000000000000..."} 
[2026-04-26 21:58:45] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9e4fd00100000000000000000000000000..."} 
[2026-04-26 21:58:45] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9e"} 
[2026-04-26 21:58:45] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9e"} 
[2026-04-26 21:58:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777220866000,"timestamp_ms":1777220866000,"timestamp_seconds":1777220866,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9e4fd0"} 
[2026-04-26 21:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 21:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1668020711987347466,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630726329892864,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862720,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3804758016,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":25,"raw_value":7241796034550562872,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-143889788192109056,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:45] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,106,83,24,241,157,16,226,171,10,66,13,187,1,240,12,227,4,113,205,27,239,2,48,151,25,7],"length":577,"final_offset":707,"validated_count":27,"validation_warnings":[]} 
[2026-04-26 21:58:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 21:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:58:45] 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-04-26 21:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 21:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 21:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 21:58:45] local.INFO: GPS data processed {"connection_id":54909,"processed":0,"errors":0,"total":1} 
[2026-04-26 21:58:45] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:58:55] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:58:55] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:58:55] local.INFO: Packet analysis {"connection_id":55144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:58:55] local.INFO: Extracted packet for processing {"connection_id":55144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968450048001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777220809000,"timestamp_ms":1777220809000,"timestamp_seconds":1777220809,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9d7128"} 
[2026-04-26 21:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21: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-04-26 21:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:58: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-04-26 21:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968450048001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968450048001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:58:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:58:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:58:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968450048001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":55144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:58:55] local.INFO: GPS data processed {"connection_id":55144,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:58:55] local.INFO: Acknowledgment sent {"connection_id":55144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:59:13] local.INFO: TCP Data received {"connection_id":54910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:13] local.INFO: Processing buffer {"connection_id":54910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:13] local.INFO: IMEI packet received {"connection_id":54910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 21:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":54910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 21:59:16] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9ea1d80100000000000000000000000000..."} 
[2026-04-26 21:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9ea1d80100000000000000000000000000..."} 
[2026-04-26 21:59:16] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9ea1d80100000000000000000000000000..."} 
[2026-04-26 21:59:16] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9e"} 
[2026-04-26 21:59:16] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9e"} 
[2026-04-26 21:59:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21: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-04-26 21:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777220887000,"timestamp_ms":1777220887000,"timestamp_seconds":1777220887,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9ea1d8"} 
[2026-04-26 21:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 21: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-26 21:59: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-04-26 21: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-04-26 21:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 21:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 21:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 21:59:16] local.INFO: GPS data processed {"connection_id":54909,"processed":0,"errors":0,"total":1} 
[2026-04-26 21:59:16] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:59:18] local.INFO: TCP Data received {"connection_id":54910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:18] local.INFO: Processing buffer {"connection_id":54910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:18] local.INFO: IMEI packet received {"connection_id":54910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":54910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:59:23] local.INFO: TCP Data received {"connection_id":54910,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:23] local.INFO: Processing buffer {"connection_id":54910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 21:59:23] local.INFO: IMEI packet received {"connection_id":54910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 21:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":54910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 21:59:24] local.INFO: TCP Data received {"connection_id":54910,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:59:24] local.INFO: Processing buffer {"connection_id":54910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:59:24] local.INFO: Packet analysis {"connection_id":54910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:59:24] local.INFO: Extracted packet for processing {"connection_id":54910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968450048001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777220809000,"timestamp_ms":1777220809000,"timestamp_seconds":1777220809,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9d7128"} 
[2026-04-26 21:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:59:24] 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-04-26 21:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968450048001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968450048001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:59:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:59:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968450048001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":54910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:59:24] local.INFO: GPS data processed {"connection_id":54910,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:59:24] local.INFO: Acknowledgment sent {"connection_id":54910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:59:47] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9ef3e00100000000000000000000000000..."} 
[2026-04-26 21:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9ef3e00100000000000000000000000000..."} 
[2026-04-26 21:59:47] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9ef3e00100000000000000000000000000..."} 
[2026-04-26 21:59:47] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9e"} 
[2026-04-26 21:59:47] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9e"} 
[2026-04-26 21:59:47] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 21:59: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-04-26 21:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 21:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777220908000,"timestamp_ms":1777220908000,"timestamp_seconds":1777220908,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9ef3e0"} 
[2026-04-26 21:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 21:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 21:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:59: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-04-26 21:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 21:59:47] 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-04-26 21:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 21:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 21:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 21:59:47] local.INFO: GPS data processed {"connection_id":54909,"processed":0,"errors":0,"total":1} 
[2026-04-26 21:59:47] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 21:59:55] local.INFO: TCP Data received {"connection_id":54910,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:59:55] local.INFO: Processing buffer {"connection_id":54910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 21:59:55] local.INFO: Packet analysis {"connection_id":54910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:59:55] local.INFO: Extracted packet for processing {"connection_id":54910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 21:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 21:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968450048001,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 21:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 21:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777220809000,"timestamp_ms":1777220809000,"timestamp_seconds":1777220809,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9d7128"} 
[2026-04-26 21:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 21:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 21:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 21:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 21:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 21:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 21:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 21:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 21:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 21:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 21:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 21:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968450048001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 21:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 21:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 21:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968450048001,"description":"Unknown IO ID 0"} 
[2026-04-26 21:59:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 21:59:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 21:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 21:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 21:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968450048001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 21:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":54910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 21:59:55] local.INFO: GPS data processed {"connection_id":54910,"processed":1,"errors":0,"total":1} 
[2026-04-26 21:59:55] local.INFO: Acknowledgment sent {"connection_id":54910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:00:13] local.INFO: TCP Data received {"connection_id":55820,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:13] local.INFO: Processing buffer {"connection_id":55820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:13] local.INFO: IMEI packet received {"connection_id":55820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":55820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:00:18] local.INFO: TCP Data received {"connection_id":54909,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9f45e80100000000000000000000000000..."} 
[2026-04-26 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9f45e80100000000000000000000000000..."} 
[2026-04-26 22:00:18] local.INFO: Processing buffer {"connection_id":54909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9f45e80100000000000000000000000000..."} 
[2026-04-26 22:00:18] local.INFO: Packet analysis {"connection_id":54909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9f"} 
[2026-04-26 22:00:18] local.INFO: Extracted packet for processing {"connection_id":54909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9f"} 
[2026-04-26 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-26 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114809664142573568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,106,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-26 22:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777220929000,"timestamp_ms":1777220929000,"timestamp_seconds":1777220929,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9f45e8"} 
[2026-04-26 22:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7502214126920269824,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2645278721,"corrected_to":0} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132245098,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2281766912,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3804758016,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-8358455508515893760,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:18] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,106,83,24,241,157,16,226,161,10,66,79,253,1,240,12,227,202,4,113,205,13,239,2,53,151,48],"length":577,"final_offset":707,"validated_count":27,"validation_warnings":[{"io_id":202,"original":2645278721,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-26 22:00:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 22:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":54909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":54909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:00:18] 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-04-26 22:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":54909,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-26 22:00:18] local.INFO: GPS data processed {"connection_id":54909,"processed":0,"errors":0,"total":1} 
[2026-04-26 22:00:18] local.INFO: Acknowledgment sent {"connection_id":54909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:00:18] local.INFO: TCP Data received {"connection_id":55820,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:18] local.INFO: Processing buffer {"connection_id":55820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:18] local.INFO: IMEI packet received {"connection_id":55820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":55820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:00:23] local.INFO: TCP Data received {"connection_id":55820,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:23] local.INFO: Processing buffer {"connection_id":55820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:00:23] local.INFO: IMEI packet received {"connection_id":55820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":55820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:00:26] local.INFO: TCP Data received {"connection_id":55820,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 22:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 22:00:26] local.INFO: Processing buffer {"connection_id":55820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dca9d7128012cb299c007822ce0004e00122c..."} 
[2026-04-26 22:00:26] local.INFO: Packet analysis {"connection_id":55820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 22:00:26] local.INFO: Extracted packet for processing {"connection_id":55820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dca9d"} 
[2026-04-26 22:00:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968450048001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777220809000,"timestamp_ms":1777220809000,"timestamp_seconds":1777220809,"priority":1,"record_length":96,"hex_timestamp":"0000019dca9d7128"} 
[2026-04-26 22:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:00: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-04-26 22:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968450048001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968450048001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:00:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:00:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:00:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968450048001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":55820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:00:26] local.INFO: GPS data processed {"connection_id":55820,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:00:26] local.INFO: Acknowledgment sent {"connection_id":55820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:01:02] local.INFO: TCP Data received {"connection_id":55145,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:01:02] local.INFO: Processing buffer {"connection_id":55145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:01:02] local.INFO: IMEI packet received {"connection_id":55145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":55145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:01:05] local.INFO: TCP Data received {"connection_id":55145,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:01:05] local.INFO: Processing buffer {"connection_id":55145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:01:05] local.INFO: IMEI packet received {"connection_id":55145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":55145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:01:10] local.INFO: TCP Data received {"connection_id":55145,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa10ef0012d181c800721a7200050014205..."} 
[2026-04-26 22:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa10ef0012d181c800721a7200050014205..."} 
[2026-04-26 22:01:10] local.INFO: Processing buffer {"connection_id":55145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa10ef0012d181c800721a7200050014205..."} 
[2026-04-26 22:01:10] local.INFO: Packet analysis {"connection_id":55145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa1"} 
[2026-04-26 22:01:10] local.INFO: Extracted packet for processing {"connection_id":55145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa1"} 
[2026-04-26 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645984,"longitude_deg":75.655488,"latitude_deg":11.9645984,"altitude":80,"angle":322,"satellites":5,"speed":6,"hex_longitude":"2d181c80","hex_latitude":"0721a720","is_valid_coordinates":true} 
[2026-04-26 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968583680001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114811120136486912,"note":"Value kept but may cause issues"} 
[2026-04-26 22:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281563136,"note":"Value kept but may cause issues"} 
[2026-04-26 22:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777221046000,"timestamp_ms":1777221046000,"timestamp_seconds":1777221046,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa10ef0"} 
[2026-04-26 22:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1536,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-26 22:01:10] 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-04-26 22:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:01:10] 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-04-26 22:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968583680001,"66":13678,"105":206,"83":41984,"24":6,"16":114811120136486912,"45":1741556080281563136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968583680001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:01:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:01:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114811120136486912,"km_value":114811120136486.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281563136,"description":"Unknown IO ID 45"} 
[2026-04-26 22:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968583680001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1741556080281563136}} 
[2026-04-26 22:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":55145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:01:10] local.INFO: GPS data processed {"connection_id":55145,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:01:10] local.INFO: Acknowledgment sent {"connection_id":55145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:01:18] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:01:18] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:01:18] local.INFO: IMEI packet received {"connection_id":55066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":55066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:01:41] local.INFO: TCP Data received {"connection_id":55145,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa116c0012d181b800721a948004f015206..."} 
[2026-04-26 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa116c0012d181b800721a948004f015206..."} 
[2026-04-26 22:01:41] local.INFO: Processing buffer {"connection_id":55145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa116c0012d181b800721a948004f015206..."} 
[2026-04-26 22:01:41] local.INFO: Packet analysis {"connection_id":55145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa1"} 
[2026-04-26 22:01:41] local.INFO: Extracted packet for processing {"connection_id":55145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa1"} 
[2026-04-26 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119646536,"longitude_deg":75.6554624,"latitude_deg":11.9646536,"altitude":79,"angle":338,"satellites":6,"speed":13,"hex_longitude":"2d181b80","hex_latitude":"0721a948","is_valid_coordinates":true} 
[2026-04-26 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968587776001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114811150201257984,"note":"Value kept but may cause issues"} 
[2026-04-26 22:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375896064,"note":"Value kept but may cause issues"} 
[2026-04-26 22:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777221048000,"timestamp_ms":1777221048000,"timestamp_seconds":1777221048,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa116c0"} 
[2026-04-26 22:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 22:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":55145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:01:41] 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-04-26 22:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968587776001,"66":13656,"105":206,"83":41984,"24":13,"16":114811150201257984,"45":1737404324375896064},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968587776001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:01:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:01:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114811150201257984,"km_value":114811150201257.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375896064,"description":"Unknown IO ID 45"} 
[2026-04-26 22:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968587776001,"power":13656,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737404324375896064}} 
[2026-04-26 22:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":55145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:01:41] local.INFO: GPS data processed {"connection_id":55145,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:01:41] local.INFO: Acknowledgment sent {"connection_id":55145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:01:48] local.INFO: TCP Data received {"connection_id":55066,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:01:48] local.INFO: Processing buffer {"connection_id":55066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:01:48] local.INFO: IMEI packet received {"connection_id":55066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":55066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:02:12] local.INFO: TCP Data received {"connection_id":55145,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa208f0012d1876c007222ea8005800220e..."} 
[2026-04-26 22:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa208f0012d1876c007222ea8005800220e..."} 
[2026-04-26 22:02:12] local.INFO: Processing buffer {"connection_id":55145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa208f0012d1876c007222ea8005800220e..."} 
[2026-04-26 22:02:12] local.INFO: Packet analysis {"connection_id":55145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:02:12] local.INFO: Extracted packet for processing {"connection_id":55145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756577984,"raw_latitude":119680680,"longitude_deg":75.6577984,"latitude_deg":11.968068,"altitude":88,"angle":34,"satellites":14,"speed":40,"hex_longitude":"2d1876c0","hex_latitude":"07222ea8","is_valid_coordinates":true} 
[2026-04-26 22:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968601856001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813177425821696,"note":"Value kept but may cause issues"} 
[2026-04-26 22:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757177941496748032,"note":"Value kept but may cause issues"} 
[2026-04-26 22:02: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-04-26 22:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777221110000,"timestamp_ms":1777221110000,"timestamp_seconds":1777221110,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa208f0"} 
[2026-04-26 22:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-26 22:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:02:12] 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-04-26 22:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968601856001,"66":13678,"105":206,"83":41984,"24":40,"16":114813177425821696,"45":1757177941496748032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968601856001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:02:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:02:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813177425821696,"km_value":114813177425821.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757177941496748032,"description":"Unknown IO ID 45"} 
[2026-04-26 22:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968601856001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1757177941496748032}} 
[2026-04-26 22:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":55145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:02:12] local.INFO: GPS data processed {"connection_id":55145,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:02:12] local.INFO: Acknowledgment sent {"connection_id":55145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:02:13] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:02:13] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:02:13] local.INFO: IMEI packet received {"connection_id":55146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":55146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:02:43] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:02:43] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:02:43] local.INFO: IMEI packet received {"connection_id":55146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":55146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:02:43] local.INFO: TCP Data received {"connection_id":55145,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa22c18012d188a8007224be0005e00220e..."} 
[2026-04-26 22:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa22c18012d188a8007224be0005e00220e..."} 
[2026-04-26 22:02:43] local.INFO: Processing buffer {"connection_id":55145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa22c18012d188a8007224be0005e00220e..."} 
[2026-04-26 22:02:43] local.INFO: Packet analysis {"connection_id":55145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:02:43] local.INFO: Extracted packet for processing {"connection_id":55145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756583040,"raw_latitude":119688160,"longitude_deg":75.658304,"latitude_deg":11.968816,"altitude":94,"angle":34,"satellites":14,"speed":38,"hex_longitude":"2d188a80","hex_latitude":"07224be0","is_valid_coordinates":true} 
[2026-04-26 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114813611217518592,"note":"Value kept but may cause issues"} 
[2026-04-26 22:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441032914944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:02: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-04-26 22:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777221119000,"timestamp_ms":1777221119000,"timestamp_seconds":1777221119,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa22c18"} 
[2026-04-26 22:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-26 22:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:02:43] 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-04-26 22:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":13504,"105":206,"83":41984,"24":38,"16":114813611217518592,"45":1762807441032914944},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:02:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:02:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114813611217518592,"km_value":114813611217518.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441032914944,"description":"Unknown IO ID 45"} 
[2026-04-26 22:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":13504,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1762807441032914944}} 
[2026-04-26 22:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":55145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:02:44] local.INFO: GPS data processed {"connection_id":55145,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:02:44] local.INFO: Acknowledgment sent {"connection_id":55145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:03:02] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:02] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:02] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:03:07] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:07] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:07] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:03:09] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:09] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:09] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:03:12] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:12] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:03:12] local.INFO: IMEI packet received {"connection_id":54912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":54912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:03:15] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa25710012d189e0007226ab00065001e0f..."} 
[2026-04-26 22:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa25710012d189e0007226ab00065001e0f..."} 
[2026-04-26 22:03:15] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa25710012d189e0007226ab00065001e0f..."} 
[2026-04-26 22:03:15] local.INFO: Packet analysis {"connection_id":54912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:03:15] local.INFO: Extracted packet for processing {"connection_id":54912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756588032,"raw_latitude":119696048,"longitude_deg":75.6588032,"latitude_deg":11.9696048,"altitude":101,"angle":30,"satellites":15,"speed":29,"hex_longitude":"2d189e00","hex_latitude":"07226ab0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968606464001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114814062189084672,"note":"Value kept but may cause issues"} 
[2026-04-26 22:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768366571824865280,"note":"Value kept but may cause issues"} 
[2026-04-26 22: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-04-26 22:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1777221130000,"timestamp_ms":1777221130000,"timestamp_seconds":1777221130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa25710"} 
[2026-04-26 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-04-26 22:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-26 22:03:15] 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-04-26 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-04-26 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-04-26 22:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":54912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:03: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-04-26 22:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968606464001,"66":13580,"105":206,"83":41984,"24":29,"16":114814062189084672,"45":1768366571824865280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968606464001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:03:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:03:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114814062189084672,"km_value":114814062189084.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768366571824865280,"description":"Unknown IO ID 45"} 
[2026-04-26 22:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968606464001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1768366571824865280}} 
[2026-04-26 22:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":54912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:03:15] local.INFO: GPS data processed {"connection_id":54912,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:03:15] local.INFO: Acknowledgment sent {"connection_id":54912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:03:54] local.INFO: TCP Data received {"connection_id":54912,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa3aed0012d18c14007230398005c003c13..."} 
[2026-04-26 22:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa3aed0012d18c14007230398005c003c13..."} 
[2026-04-26 22:03:54] local.INFO: Processing buffer {"connection_id":54912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa3aed0012d18c14007230398005c003c13..."} 
[2026-04-26 22:03:54] local.INFO: Packet analysis {"connection_id":54912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa3"} 
[2026-04-26 22:03:54] local.INFO: Extracted packet for processing {"connection_id":54912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa3"} 
[2026-04-26 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119735192,"longitude_deg":75.6597056,"latitude_deg":11.9735192,"altitude":92,"angle":60,"satellites":19,"speed":22,"hex_longitude":"2d18c140","hex_latitude":"07230398","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968631296001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114816102298550272,"note":"Value kept but may cause issues"} 
[2026-04-26 22:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782581058160586752,"note":"Value kept but may cause issues"} 
[2026-04-26 22:03: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-04-26 22:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1777221218000,"timestamp_ms":1777221218000,"timestamp_seconds":1777221218,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa3aed0"} 
[2026-04-26 22:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-26 22:03:54] 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-04-26 22: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-04-26 22:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":54912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":54912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:03:54] 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-04-26 22:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968631296001,"66":12667,"105":206,"83":41984,"24":22,"16":114816102298550272,"45":1782581058160586752},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968631296001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:03:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:03:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114816102298550272,"km_value":114816102298550.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782581058160586752,"description":"Unknown IO ID 45"} 
[2026-04-26 22:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968631296001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1782581058160586752}} 
[2026-04-26 22:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":54912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:03:54] local.INFO: GPS data processed {"connection_id":54912,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:03:54] local.INFO: Acknowledgment sent {"connection_id":54912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:04:14] local.INFO: TCP Data received {"connection_id":54914,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:04:14] local.INFO: Processing buffer {"connection_id":54914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:04:14] local.INFO: IMEI packet received {"connection_id":54914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":54914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:04:35] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:35] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:35] local.INFO: IMEI packet received {"connection_id":55147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":55147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:04:36] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:36] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:36] local.INFO: IMEI packet received {"connection_id":55147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":55147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:04:39] local.INFO: TCP Data received {"connection_id":55069,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:04:39] local.INFO: Processing buffer {"connection_id":55069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:04:39] local.INFO: IMEI packet received {"connection_id":55069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":55069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:04:40] local.INFO: TCP Data received {"connection_id":55147,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:40] local.INFO: Processing buffer {"connection_id":55147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:04:40] local.INFO: IMEI packet received {"connection_id":55147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":55147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:05:13] local.INFO: TCP Data received {"connection_id":55070,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:05:13] local.INFO: Processing buffer {"connection_id":55070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:05:13] local.INFO: IMEI packet received {"connection_id":55070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":55070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:08:13] local.INFO: TCP Data received {"connection_id":55150,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:08:13] local.INFO: Processing buffer {"connection_id":55150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:08:13] local.INFO: IMEI packet received {"connection_id":55150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":55150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:08:18] local.INFO: TCP Data received {"connection_id":55150,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:08:18] local.INFO: Processing buffer {"connection_id":55150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:08:18] local.INFO: IMEI packet received {"connection_id":55150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":55150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:08:19] local.INFO: TCP Data received {"connection_id":55150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa208f0012cb299c007822ce0004d00122c..."} 
[2026-04-26 22:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa208f0012cb299c007822ce0004d00122c..."} 
[2026-04-26 22:08:19] local.INFO: Processing buffer {"connection_id":55150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa208f0012cb299c007822ce0004d00122c..."} 
[2026-04-26 22:08:19] local.INFO: Packet analysis {"connection_id":55150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:08:19] local.INFO: Extracted packet for processing {"connection_id":55150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa2"} 
[2026-04-26 22:08:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968527104001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777221110000,"timestamp_ms":1777221110000,"timestamp_seconds":1777221110,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa208f0"} 
[2026-04-26 22:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:08:19] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:08:19] 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-04-26 22: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-04-26 22:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:08:19] 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-04-26 22:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968527104001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968527104001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:08:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968527104001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":55150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:08:19] local.INFO: GPS data processed {"connection_id":55150,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:08:19] local.INFO: Acknowledgment sent {"connection_id":55150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:08:23] local.INFO: TCP Data received {"connection_id":55150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:08:23] local.INFO: Processing buffer {"connection_id":55150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:08:23] local.INFO: Packet analysis {"connection_id":55150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:08:23] local.INFO: Extracted packet for processing {"connection_id":55150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:08:23] 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-04-26 22:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:08: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-04-26 22:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:08:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:08:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:08:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":55150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:08:23] local.INFO: GPS data processed {"connection_id":55150,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:08:23] local.INFO: Acknowledgment sent {"connection_id":55150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:08:57] local.INFO: TCP Data received {"connection_id":55150,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:08:57] local.INFO: Processing buffer {"connection_id":55150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:08:57] local.INFO: Packet analysis {"connection_id":55150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:08:57] local.INFO: Extracted packet for processing {"connection_id":55150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:08:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:08:57] 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-04-26 22: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-04-26 22:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:08: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-04-26 22:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:08:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:08:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":55150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:08:57] local.INFO: GPS data processed {"connection_id":55150,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:08:57] local.INFO: Acknowledgment sent {"connection_id":55150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:09:13] local.INFO: TCP Data received {"connection_id":55826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:09:13] local.INFO: Processing buffer {"connection_id":55826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:09:13] local.INFO: IMEI packet received {"connection_id":55826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":55826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:09:18] local.INFO: TCP Data received {"connection_id":55826,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:09:18] local.INFO: Processing buffer {"connection_id":55826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:09:18] local.INFO: IMEI packet received {"connection_id":55826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":55826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:09:18] local.INFO: TCP Data received {"connection_id":55826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:18] local.INFO: Processing buffer {"connection_id":55826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:18] local.INFO: Packet analysis {"connection_id":55826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:09:18] local.INFO: Extracted packet for processing {"connection_id":55826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:09:18] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:09:18] 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-04-26 22:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:09:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:09:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:09:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":55826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:09:19] local.INFO: GPS data processed {"connection_id":55826,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:09:19] local.INFO: Acknowledgment sent {"connection_id":55826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:09:23] local.INFO: TCP Data received {"connection_id":55826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:23] local.INFO: Processing buffer {"connection_id":55826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:23] local.INFO: Packet analysis {"connection_id":55826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:09:23] local.INFO: Extracted packet for processing {"connection_id":55826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:09:23] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:09:23] 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-04-26 22:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":55826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":55826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":55826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:09:23] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:09:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:09:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":55826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:09:23] local.INFO: GPS data processed {"connection_id":55826,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:09:23] local.INFO: Acknowledgment sent {"connection_id":55826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:09:57] local.INFO: TCP Data received {"connection_id":55826,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:57] local.INFO: Processing buffer {"connection_id":55826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:09:57] local.INFO: Packet analysis {"connection_id":55826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:09:57] local.INFO: Extracted packet for processing {"connection_id":55826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:09:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:09:57] 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-04-26 22:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:09:57] 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-04-26 22:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:09:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:09:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":55826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:09:57] local.INFO: GPS data processed {"connection_id":55826,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:09:57] local.INFO: Acknowledgment sent {"connection_id":55826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:10:04] local.INFO: TCP Data received {"connection_id":55071,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:04] local.INFO: Processing buffer {"connection_id":55071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:04] local.INFO: IMEI packet received {"connection_id":55071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":55071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:10:13] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:10:13] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:10:13] local.INFO: IMEI packet received {"connection_id":54919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":54919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:10:17] local.INFO: TCP Data received {"connection_id":55827,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:10:17] local.INFO: Processing buffer {"connection_id":55827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:10:17] local.INFO: IMEI packet received {"connection_id":55827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":55827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:10:18] local.INFO: TCP Data received {"connection_id":55827,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa94480012d1b6600072555400025003316..."} 
[2026-04-26 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa94480012d1b6600072555400025003316..."} 
[2026-04-26 22:10:18] local.INFO: Processing buffer {"connection_id":55827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa94480012d1b6600072555400025003316..."} 
[2026-04-26 22:10:18] local.INFO: Packet analysis {"connection_id":55827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa9"} 
[2026-04-26 22:10:18] local.INFO: Extracted packet for processing {"connection_id":55827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa9"} 
[2026-04-26 22:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119887168,"longitude_deg":75.6770304,"latitude_deg":11.9887168,"altitude":37,"angle":51,"satellites":22,"speed":6,"hex_longitude":"2d1b6600","hex_latitude":"07255540","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968725248001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114828420264755200,"note":"Value kept but may cause issues"} 
[2026-04-26 22:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974124779851264000,"note":"Value kept but may cause issues"} 
[2026-04-26 22:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777221584000,"timestamp_ms":1777221584000,"timestamp_seconds":1777221584,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa94480"} 
[2026-04-26 22:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 22:10: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-04-26 22: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-04-26 22:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:10:18] 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-04-26 22:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968725248001,"66":12385,"43":206,"83":41984,"24":6,"16":114828420264755200,"45":1974124779851264000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-26 22:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968725248001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:10:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-26 22:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114828420264755200,"km_value":114828420264755.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974124779851264000,"description":"Unknown IO ID 45"} 
[2026-04-26 22:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968725248001,"power":12385,"unknown_43":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1974124779851264000}} 
[2026-04-26 22:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":55827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:10:18] local.INFO: GPS data processed {"connection_id":55827,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:10:18] local.INFO: Acknowledgment sent {"connection_id":55827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:10:43] local.INFO: TCP Data received {"connection_id":54919,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:10:43] local.INFO: Processing buffer {"connection_id":54919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:10:43] local.INFO: IMEI packet received {"connection_id":54919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":54919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:10:44] local.INFO: TCP Data received {"connection_id":55828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:44] local.INFO: Processing buffer {"connection_id":55828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:44] local.INFO: IMEI packet received {"connection_id":55828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":55828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:10:49] local.INFO: TCP Data received {"connection_id":55828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:49] local.INFO: Processing buffer {"connection_id":55828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:49] local.INFO: IMEI packet received {"connection_id":55828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 22:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":55828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:10:54] local.INFO: TCP Data received {"connection_id":55828,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:54] local.INFO: Processing buffer {"connection_id":55828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:10:54] local.INFO: IMEI packet received {"connection_id":55828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 22:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":55828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:11:06] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:11:06] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:11:06] local.INFO: IMEI packet received {"connection_id":54920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":54920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:11:12] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:11:12] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:11:12] local.INFO: IMEI packet received {"connection_id":54920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":54920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:11:13] local.INFO: TCP Data received {"connection_id":55829,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:11:13] local.INFO: Processing buffer {"connection_id":55829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:11:13] local.INFO: IMEI packet received {"connection_id":55829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":55829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:11:13] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaaa1b58012d1b57000724bf48002300c616..."} 
[2026-04-26 22:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaaa1b58012d1b57000724bf48002300c616..."} 
[2026-04-26 22:11:13] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaaa1b58012d1b57000724bf48002300c616..."} 
[2026-04-26 22:11:13] local.INFO: Packet analysis {"connection_id":54920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:11:13] local.INFO: Extracted packet for processing {"connection_id":54920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119848776,"longitude_deg":75.6766464,"latitude_deg":11.9848776,"altitude":35,"angle":198,"satellites":22,"speed":44,"hex_longitude":"2d1b5700","hex_latitude":"0724bf48","is_valid_coordinates":true} 
[2026-04-26 22:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968738048001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114830344410103808,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971169292587712512,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777221639000,"timestamp_ms":1777221639000,"timestamp_seconds":1777221639,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaaa1b58"} 
[2026-04-26 22:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 22:11:13] 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-04-26 22:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:11:13] 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-04-26 22:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968738048001,"66":13461,"43":206,"83":41984,"24":44,"16":114830344410103808,"45":1971169292587712512},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-26 22:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968738048001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:11:13] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-26 22:11:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114830344410103808,"km_value":114830344410103.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971169292587712512,"description":"Unknown IO ID 45"} 
[2026-04-26 22:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968738048001,"power":13461,"unknown_43":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1971169292587712512}} 
[2026-04-26 22:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":54920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:11:13] local.INFO: GPS data processed {"connection_id":54920,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:11:13] local.INFO: Acknowledgment sent {"connection_id":54920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:11:17] local.INFO: TCP Data received {"connection_id":54920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaaa2328012d1b52c00724b7b0002200d316..."} 
[2026-04-26 22:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaaa2328012d1b52c00724b7b0002200d316..."} 
[2026-04-26 22:11:17] local.INFO: Processing buffer {"connection_id":54920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaaa2328012d1b52c00724b7b0002200d316..."} 
[2026-04-26 22:11:17] local.INFO: Packet analysis {"connection_id":54920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:11:17] local.INFO: Extracted packet for processing {"connection_id":54920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756765376,"raw_latitude":119846832,"longitude_deg":75.6765376,"latitude_deg":11.9846832,"altitude":34,"angle":211,"satellites":22,"speed":45,"hex_longitude":"2d1b52c0","hex_latitude":"0724b7b0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968739584001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114830451784286208,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392679168000,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777221641000,"timestamp_ms":1777221641000,"timestamp_seconds":1777221641,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaaa2328"} 
[2026-04-26 22:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-04-26 22:11:17] 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-04-26 22: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-04-26 22:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:11:17] 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-04-26 22:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968739584001,"66":13167,"43":206,"83":41984,"24":45,"16":114830451784286208,"45":1970043392679168000},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-26 22:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968739584001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:11:17] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-26 22:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114830451784286208,"km_value":114830451784286.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392679168000,"description":"Unknown IO ID 45"} 
[2026-04-26 22:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968739584001,"power":13167,"unknown_43":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1970043392679168000}} 
[2026-04-26 22:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":54920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:11:17] local.INFO: GPS data processed {"connection_id":54920,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:11:17] local.INFO: Acknowledgment sent {"connection_id":54920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:11:18] local.INFO: TCP Data received {"connection_id":55829,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:11:18] local.INFO: Processing buffer {"connection_id":55829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:11:18] local.INFO: IMEI packet received {"connection_id":55829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":55829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:11:19] local.INFO: TCP Data received {"connection_id":55829,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:11:19] local.INFO: Processing buffer {"connection_id":55829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:11:19] local.INFO: Packet analysis {"connection_id":55829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:11:19] local.INFO: Extracted packet for processing {"connection_id":55829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:11:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:11:19] 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-04-26 22: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-04-26 22:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:11:19] 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-04-26 22:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:11:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:11:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:11:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":55829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:11:19] local.INFO: GPS data processed {"connection_id":55829,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:11:19] local.INFO: Acknowledgment sent {"connection_id":55829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:11:39] local.INFO: TCP Data received {"connection_id":54921,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:11:39] local.INFO: Processing buffer {"connection_id":54921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:11:39] local.INFO: IMEI packet received {"connection_id":54921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":54921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:11:50] local.INFO: TCP Data received {"connection_id":55829,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:11:50] local.INFO: Processing buffer {"connection_id":55829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaa6a0b8012cb299c007822ce0004900122b..."} 
[2026-04-26 22:11:50] local.INFO: Packet analysis {"connection_id":55829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:11:50] local.INFO: Extracted packet for processing {"connection_id":55829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaa6"} 
[2026-04-26 22:11:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":73,"angle":18,"satellites":43,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968604160001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777221411000,"timestamp_ms":1777221411000,"timestamp_seconds":1777221411,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaa6a0b8"} 
[2026-04-26 22:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:11:50] 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-04-26 22: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-04-26 22:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968604160001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968604160001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:11:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:11:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:11:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968604160001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":55829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:11:50] local.INFO: GPS data processed {"connection_id":55829,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:11:50] local.INFO: Acknowledgment sent {"connection_id":55829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:12:01] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:01] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:01] local.INFO: IMEI packet received {"connection_id":55072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":55072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:12:07] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:07] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:07] local.INFO: IMEI packet received {"connection_id":55072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":55072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:12:12] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:12] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:12:12] local.INFO: IMEI packet received {"connection_id":55072,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":55072,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:12:13] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaaadac0012d1b32c0072497480022004d17..."} 
[2026-04-26 22:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaaadac0012d1b32c0072497480022004d17..."} 
[2026-04-26 22:12:13] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaaadac0012d1b32c0072497480022004d17..."} 
[2026-04-26 22:12:13] local.INFO: Packet analysis {"connection_id":55072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:12:13] local.INFO: Extracted packet for processing {"connection_id":55072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:12:13] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838536,"longitude_deg":75.6757184,"latitude_deg":11.9838536,"altitude":34,"angle":77,"satellites":23,"speed":3,"hex_longitude":"2d1b32c0","hex_latitude":"07249748","is_valid_coordinates":true} 
[2026-04-26 22:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968751872001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831048784740352,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959769556026601472,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777221688000,"timestamp_ms":1777221688000,"timestamp_seconds":1777221688,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaaadac0"} 
[2026-04-26 22:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 22:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:12:13] 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-04-26 22:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968751872001,"66":13515,"136":206,"83":42752,"24":3,"16":114831048784740352,"45":1959769556026601472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968751872001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:12:13] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:12:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831048784740352,"km_value":114831048784740.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959769556026601472,"description":"Unknown IO ID 45"} 
[2026-04-26 22:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968751872001,"power":13515,"unknown_136":206,"unknown_83":42752,"ignition":3,"odometer":null,"unknown_45":1959769556026601472}} 
[2026-04-26 22:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":55072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:12:13] local.INFO: GPS data processed {"connection_id":55072,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:12:13] local.INFO: Acknowledgment sent {"connection_id":55072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:12:18] local.INFO: TCP Data received {"connection_id":55152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:18] local.INFO: Processing buffer {"connection_id":55152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:18] local.INFO: IMEI packet received {"connection_id":55152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":55152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:12:27] local.INFO: TCP Data received {"connection_id":55152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:27] local.INFO: Processing buffer {"connection_id":55152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:27] local.INFO: IMEI packet received {"connection_id":55152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":55152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:12:28] local.INFO: TCP Data received {"connection_id":55152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:28] local.INFO: Processing buffer {"connection_id":55152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:28] local.INFO: IMEI packet received {"connection_id":55152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":55152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:12:30] local.INFO: TCP Data received {"connection_id":55152,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:30] local.INFO: Processing buffer {"connection_id":55152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:12:30] local.INFO: IMEI packet received {"connection_id":55152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":55152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:12:31] local.INFO: TCP Data received {"connection_id":55152,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:12:31] local.INFO: Processing buffer {"connection_id":55152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:12:31] local.INFO: Packet analysis {"connection_id":55152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:12:31] local.INFO: Extracted packet for processing {"connection_id":55152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:12:31] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:12:31] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:12:31] 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-04-26 22: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-04-26 22:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":55152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":55152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":55152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:12:31] 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-04-26 22:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:12:31] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":55152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:12:31] local.INFO: GPS data processed {"connection_id":55152,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:12:31] local.INFO: Acknowledgment sent {"connection_id":55152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:12:43] local.INFO: TCP Data received {"connection_id":55072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaaadea8012d1b32c007249730002200cf18..."} 
[2026-04-26 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaaadea8012d1b32c007249730002200cf18..."} 
[2026-04-26 22:12:43] local.INFO: Processing buffer {"connection_id":55072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaaadea8012d1b32c007249730002200cf18..."} 
[2026-04-26 22:12:43] local.INFO: Packet analysis {"connection_id":55072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:12:43] local.INFO: Extracted packet for processing {"connection_id":55072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838512,"longitude_deg":75.6757184,"latitude_deg":11.9838512,"altitude":34,"angle":207,"satellites":24,"speed":1,"hex_longitude":"2d1b32c0","hex_latitude":"07249730","is_valid_coordinates":true} 
[2026-04-26 22:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968752128001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831048784740352,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770785280,"note":"Value kept but may cause issues"} 
[2026-04-26 22:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777221689000,"timestamp_ms":1777221689000,"timestamp_seconds":1777221689,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaaadea8"} 
[2026-04-26 22:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:12:43] 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-04-26 22:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 22:12:43] 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-04-26 22:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55072,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:12:43] 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-04-26 22:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968752128001,"66":13352,"136":206,"83":42752,"24":1,"16":114831048784740352,"45":1959839924770785280},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968752128001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:12:43] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:12:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831048784740352,"km_value":114831048784740.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770785280,"description":"Unknown IO ID 45"} 
[2026-04-26 22:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968752128001,"power":13352,"unknown_136":206,"unknown_83":42752,"ignition":1,"odometer":null,"unknown_45":1959839924770785280}} 
[2026-04-26 22:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":55072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:12:44] local.INFO: GPS data processed {"connection_id":55072,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:12:44] local.INFO: Acknowledgment sent {"connection_id":55072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:13:06] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:13:06] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:13:06] local.INFO: IMEI packet received {"connection_id":54922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":54922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:13:11] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:13:11] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:13:11] local.INFO: IMEI packet received {"connection_id":54922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":54922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:13:12] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaaae290012d1b32c007249718002200a418..."} 
[2026-04-26 22:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaaae290012d1b32c007249718002200a418..."} 
[2026-04-26 22:13:12] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaaae290012d1b32c007249718002200a418..."} 
[2026-04-26 22:13:12] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:13:12] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaa"} 
[2026-04-26 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838488,"longitude_deg":75.6757184,"latitude_deg":11.9838488,"altitude":34,"angle":164,"satellites":24,"speed":0,"hex_longitude":"2d1b32c0","hex_latitude":"07249718","is_valid_coordinates":true} 
[2026-04-26 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968752384001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770779136,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777221690000,"timestamp_ms":1777221690000,"timestamp_seconds":1777221690,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaaae290"} 
[2026-04-26 22:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 22:13:12] 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-04-26 22:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:13:12] 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-04-26 22:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968752384001,"66":13352,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770779136},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968752384001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:13:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770779136,"description":"Unknown IO ID 45"} 
[2026-04-26 22:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968752384001,"power":13352,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770779136}} 
[2026-04-26 22:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:13:12] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:13:12] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:13:14] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:13:14] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:13:14] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:13:17] local.INFO: TCP Data received {"connection_id":54922,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3498012d1b32c0072496e0002200a416..."} 
[2026-04-26 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3498012d1b32c0072496e0002200a416..."} 
[2026-04-26 22:13:17] local.INFO: Processing buffer {"connection_id":54922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3498012d1b32c0072496e0002200a416..."} 
[2026-04-26 22:13:17] local.INFO: Packet analysis {"connection_id":54922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:13:17] local.INFO: Extracted packet for processing {"connection_id":54922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838432,"longitude_deg":75.6757184,"latitude_deg":11.9838432,"altitude":34,"angle":164,"satellites":22,"speed":0,"hex_longitude":"2d1b32c0","hex_latitude":"072496e0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968752640001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770772992,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777221711000,"timestamp_ms":1777221711000,"timestamp_seconds":1777221711,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3498"} 
[2026-04-26 22:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:13:17] 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-04-26 22: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 22:13:17] 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-04-26 22: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-04-26 22:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":54922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":54922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:13:17] 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-04-26 22:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968752640001,"66":13374,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770772992},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968752640001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:13:17] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770772992,"description":"Unknown IO ID 45"} 
[2026-04-26 22:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968752640001,"power":13374,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770772992}} 
[2026-04-26 22:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":54922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:13:17] local.INFO: GPS data processed {"connection_id":54922,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:13:17] local.INFO: Acknowledgment sent {"connection_id":54922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:13:18] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:13:18] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:13:18] local.INFO: IMEI packet received {"connection_id":55074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":55074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:13:19] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:13:19] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:13:19] local.INFO: Packet analysis {"connection_id":55074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:13:19] local.INFO: Extracted packet for processing {"connection_id":55074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:13:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:13:19] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:13:19] 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-04-26 22: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-04-26 22:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:13:19] 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-04-26 22:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:13:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:13:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":55074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:13:19] local.INFO: GPS data processed {"connection_id":55074,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:13:19] local.INFO: Acknowledgment sent {"connection_id":55074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:13:50] local.INFO: TCP Data received {"connection_id":55074,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:13:50] local.INFO: Processing buffer {"connection_id":55074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:13:50] local.INFO: Packet analysis {"connection_id":55074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:13:50] local.INFO: Extracted packet for processing {"connection_id":55074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:13:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:13:50] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:13:50] 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-04-26 22: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-04-26 22:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:13:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":55074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:13:50] local.INFO: GPS data processed {"connection_id":55074,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:13:50] local.INFO: Acknowledgment sent {"connection_id":55074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:14:02] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:14:02] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:14:02] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:14:06] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:14:06] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:14:06] local.INFO: IMEI packet received {"connection_id":55075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":55075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:14:07] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab86a0012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab86a0012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:07] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab86a0012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:07] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:07] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838432,"longitude_deg":75.6757184,"latitude_deg":11.9838432,"altitude":34,"angle":164,"satellites":24,"speed":0,"hex_longitude":"2d1b32c0","hex_latitude":"072496e0","is_valid_coordinates":true} 
[2026-04-26 22:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758016001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770758656,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777221732000,"timestamp_ms":1777221732000,"timestamp_seconds":1777221732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab86a0"} 
[2026-04-26 22:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-26 22:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:14:07] 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-04-26 22:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758016001,"66":13080,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770758656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758016001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:14:07] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770758656,"description":"Unknown IO ID 45"} 
[2026-04-26 22:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758016001,"power":13080,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770758656}} 
[2026-04-26 22:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:14:07] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:14:07] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:14:12] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:12] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:12] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:12] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838432,"longitude_deg":75.6757184,"latitude_deg":11.9838432,"altitude":34,"angle":164,"satellites":24,"speed":0,"hex_longitude":"2d1b32c0","hex_latitude":"072496e0","is_valid_coordinates":true} 
[2026-04-26 22:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968763392001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770758656,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777221736000,"timestamp_ms":1777221736000,"timestamp_seconds":1777221736,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab9640"} 
[2026-04-26 22:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-26 22:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:14:12] 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-04-26 22:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968763392001,"66":12319,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770758656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968763392001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:14:12] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:14:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770758656,"description":"Unknown IO ID 45"} 
[2026-04-26 22:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968763392001,"power":12319,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770758656}} 
[2026-04-26 22:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:14:12] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:14:12] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:14:13] local.INFO: TCP Data received {"connection_id":54924,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:14:13] local.INFO: Processing buffer {"connection_id":54924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:14:13] local.INFO: IMEI packet received {"connection_id":54924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":54924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:14:18] local.INFO: TCP Data received {"connection_id":54924,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:14:18] local.INFO: Processing buffer {"connection_id":54924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:14:18] local.INFO: IMEI packet received {"connection_id":54924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":54924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:14:30] local.INFO: TCP Data received {"connection_id":54924,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:14:30] local.INFO: Processing buffer {"connection_id":54924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:14:30] local.INFO: Packet analysis {"connection_id":54924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:30] local.INFO: Extracted packet for processing {"connection_id":54924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:14:30] 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-04-26 22:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":54924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":54924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":54924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:14:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":54924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:14:30] local.INFO: GPS data processed {"connection_id":54924,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:14:30] local.INFO: Acknowledgment sent {"connection_id":54924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:14:43] local.INFO: TCP Data received {"connection_id":55075,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:43] local.INFO: Processing buffer {"connection_id":55075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:14:43] local.INFO: Packet analysis {"connection_id":55075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:43] local.INFO: Extracted packet for processing {"connection_id":55075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838432,"longitude_deg":75.6757184,"latitude_deg":11.9838432,"altitude":34,"angle":164,"satellites":24,"speed":0,"hex_longitude":"2d1b32c0","hex_latitude":"072496e0","is_valid_coordinates":true} 
[2026-04-26 22:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968764416001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770758656,"note":"Value kept but may cause issues"} 
[2026-04-26 22:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777221736000,"timestamp_ms":1777221736000,"timestamp_seconds":1777221736,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab9640"} 
[2026-04-26 22:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:14:43] 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-04-26 22: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":31,"data_length":795,"current_offset":136} 
[2026-04-26 22:14:43] 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-04-26 22: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-04-26 22:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:14:43] 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-04-26 22:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968764416001,"66":12319,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770758656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968764416001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:14:43] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:14:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770758656,"description":"Unknown IO ID 45"} 
[2026-04-26 22:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968764416001,"power":12319,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770758656}} 
[2026-04-26 22:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":55075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:14:43] local.INFO: GPS data processed {"connection_id":55075,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:14:43] local.INFO: Acknowledgment sent {"connection_id":55075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:15:02] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:15:02] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:15:02] local.INFO: IMEI packet received {"connection_id":54925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":54925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:15:07] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:15:07] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:15:07] local.INFO: IMEI packet received {"connection_id":54925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":54925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:15:08] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:15:08] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab9640012d1b32c0072496e0002200a418..."} 
[2026-04-26 22:15:08] local.INFO: Packet analysis {"connection_id":54925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:15:08] local.INFO: Extracted packet for processing {"connection_id":54925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756757184,"raw_latitude":119838432,"longitude_deg":75.6757184,"latitude_deg":11.9838432,"altitude":34,"angle":164,"satellites":24,"speed":0,"hex_longitude":"2d1b32c0","hex_latitude":"072496e0","is_valid_coordinates":true} 
[2026-04-26 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968764416001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770758656,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777221736000,"timestamp_ms":1777221736000,"timestamp_seconds":1777221736,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab9640"} 
[2026-04-26 22:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:15:08] 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-04-26 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-26 22:15:08] 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-04-26 22:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:15:08] 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-04-26 22:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968764416001,"66":12319,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770758656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968764416001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:15:08] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770758656,"description":"Unknown IO ID 45"} 
[2026-04-26 22:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968764416001,"power":12319,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770758656}} 
[2026-04-26 22:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":54925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:15:08] local.INFO: GPS data processed {"connection_id":54925,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:15:08] local.INFO: Acknowledgment sent {"connection_id":54925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:15:18] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:15:18] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:15:18] local.INFO: IMEI packet received {"connection_id":54926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":54926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:15:23] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:15:23] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:15:23] local.INFO: IMEI packet received {"connection_id":54926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":54926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:15:33] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:15:33] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:15:33] local.INFO: Packet analysis {"connection_id":54926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:15:33] local.INFO: Extracted packet for processing {"connection_id":54926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:15:33] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:15:33] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:15:33] 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-04-26 22: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-04-26 22:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":54926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":54926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":54926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:15: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-04-26 22:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:15:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:15:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":54926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:15:33] local.INFO: GPS data processed {"connection_id":54926,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:15:33] local.INFO: Acknowledgment sent {"connection_id":54926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:15:37] local.INFO: TCP Data received {"connection_id":54926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:15:37] local.INFO: Processing buffer {"connection_id":54926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:15:37] local.INFO: Packet analysis {"connection_id":54926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:15:37] local.INFO: Extracted packet for processing {"connection_id":54926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:15:37] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:15:37] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:15:37] 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-04-26 22: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-04-26 22:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":54926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":54926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":54926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:15:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:15:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":54926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:15:37] local.INFO: GPS data processed {"connection_id":54926,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:15:37] local.INFO: Acknowledgment sent {"connection_id":54926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:15:39] local.INFO: TCP Data received {"connection_id":54925,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaae7c70012d1b3480072496d0002200a422..."} 
[2026-04-26 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaae7c70012d1b3480072496d0002200a422..."} 
[2026-04-26 22:15:39] local.INFO: Processing buffer {"connection_id":54925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaae7c70012d1b3480072496d0002200a422..."} 
[2026-04-26 22:15:39] local.INFO: Packet analysis {"connection_id":54925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaae"} 
[2026-04-26 22:15:39] local.INFO: Extracted packet for processing {"connection_id":54925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaae"} 
[2026-04-26 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756757632,"raw_latitude":119838416,"longitude_deg":75.6757632,"latitude_deg":11.9838416,"altitude":34,"angle":164,"satellites":34,"speed":0,"hex_longitude":"2d1b3480","hex_latitude":"072496d0","is_valid_coordinates":true} 
[2026-04-26 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968764416001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959839924770758656,"note":"Value kept but may cause issues"} 
[2026-04-26 22:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777221926000,"timestamp_ms":1777221926000,"timestamp_seconds":1777221926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaae7c70"} 
[2026-04-26 22:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:15:39] 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-04-26 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-26 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968764416001,"66":2166,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1959839924770758656},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968764416001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:15:39] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959839924770758656,"description":"Unknown IO ID 45"} 
[2026-04-26 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968764416001,"power":2166,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1959839924770758656}} 
[2026-04-26 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":54925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:15:39] local.INFO: GPS data processed {"connection_id":54925,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:15:39] local.INFO: Acknowledgment sent {"connection_id":54925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:16:13] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:13] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:13] local.INFO: IMEI packet received {"connection_id":55076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":55076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:16:17] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:16:17] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:16:17] local.INFO: IMEI packet received {"connection_id":55077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":55077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:16:18] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:18] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:18] local.INFO: IMEI packet received {"connection_id":55076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":55076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:16:21] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:16:21] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:16:21] local.INFO: IMEI packet received {"connection_id":55077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":55077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:16:22] local.INFO: TCP Data received {"connection_id":55077,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaae7c70012d1b3480072496d0002200a422..."} 
[2026-04-26 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaae7c70012d1b3480072496d0002200a422..."} 
[2026-04-26 22:16:22] local.INFO: Processing buffer {"connection_id":55077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaae7c70012d1b3480072496d0002200a422..."} 
[2026-04-26 22:16:22] local.INFO: Packet analysis {"connection_id":55077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaae"} 
[2026-04-26 22:16:22] local.INFO: Extracted packet for processing {"connection_id":55077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaae"} 
[2026-04-26 22:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756757632,"raw_latitude":119838416,"longitude_deg":75.6757632,"latitude_deg":11.9838416,"altitude":34,"angle":164,"satellites":34,"speed":0,"hex_longitude":"2d1b3480","hex_latitude":"072496d0","is_valid_coordinates":true} 
[2026-04-26 22:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968813056001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114831053079707648,"note":"Value kept but may cause issues"} 
[2026-04-26 22:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960332505979998208,"note":"Value kept but may cause issues"} 
[2026-04-26 22:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1777221926000,"timestamp_ms":1777221926000,"timestamp_seconds":1777221926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaae7c70"} 
[2026-04-26 22:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-26 22:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":55077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":55077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":55077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:16:22] 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-04-26 22:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968813056001,"66":2166,"136":206,"83":42752,"24":0,"16":114831053079707648,"45":1960332505979998208},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-26 22:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968813056001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:16:22] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-26 22:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114831053079707648,"km_value":114831053079707.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960332505979998208,"description":"Unknown IO ID 45"} 
[2026-04-26 22:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968813056001,"power":2166,"unknown_136":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1960332505979998208}} 
[2026-04-26 22:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":55077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:16:22] local.INFO: GPS data processed {"connection_id":55077,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:16:22] local.INFO: Acknowledgment sent {"connection_id":55077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:16:23] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:23] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:16:23] local.INFO: IMEI packet received {"connection_id":55076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":55076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:16:38] local.INFO: TCP Data received {"connection_id":55076,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:16:38] local.INFO: Processing buffer {"connection_id":55076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:16:38] local.INFO: Packet analysis {"connection_id":55076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:16:38] local.INFO: Extracted packet for processing {"connection_id":55076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:16:38] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:16:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:16:38] 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-04-26 22:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:16:38] 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-04-26 22:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:16:38] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:16:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:16:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":55076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:16:38] local.INFO: GPS data processed {"connection_id":55076,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:16:38] local.INFO: Acknowledgment sent {"connection_id":55076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:16:59] local.INFO: TCP Data received {"connection_id":55078,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:16:59] local.INFO: Processing buffer {"connection_id":55078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:16:59] local.INFO: IMEI packet received {"connection_id":55078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":55078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:17:05] local.INFO: TCP Data received {"connection_id":54927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:05] local.INFO: Processing buffer {"connection_id":54927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:05] local.INFO: IMEI packet received {"connection_id":54927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":54927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:17:06] local.INFO: TCP Data received {"connection_id":54927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:06] local.INFO: Processing buffer {"connection_id":54927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:06] local.INFO: IMEI packet received {"connection_id":54927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":54927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:17:07] local.INFO: TCP Data received {"connection_id":54927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:07] local.INFO: Processing buffer {"connection_id":54927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:07] local.INFO: IMEI packet received {"connection_id":54927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":54927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:17:07] local.INFO: TCP Data received {"connection_id":54927,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:07] local.INFO: Processing buffer {"connection_id":54927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:17:07] local.INFO: IMEI packet received {"connection_id":54927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":54927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:17:13] local.INFO: TCP Data received {"connection_id":54928,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:17:13] local.INFO: Processing buffer {"connection_id":54928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:17:13] local.INFO: IMEI packet received {"connection_id":54928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":54928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:17:18] local.INFO: TCP Data received {"connection_id":54928,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:17:18] local.INFO: Processing buffer {"connection_id":54928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:17:18] local.INFO: IMEI packet received {"connection_id":54928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":54928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:17:21] local.INFO: TCP Data received {"connection_id":54928,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:17:21] local.INFO: Processing buffer {"connection_id":54928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaab3880012cb299c007822ce0004c00122d..."} 
[2026-04-26 22:17:21] local.INFO: Packet analysis {"connection_id":54928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:17:21] local.INFO: Extracted packet for processing {"connection_id":54928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaab"} 
[2026-04-26 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":76,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968681216001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:17:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777221712000,"timestamp_ms":1777221712000,"timestamp_seconds":1777221712,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaab3880"} 
[2026-04-26 22:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:17:21] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:17: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-04-26 22: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-04-26 22:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:17: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-04-26 22:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968681216001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968681216001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:17:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:17:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:17:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968681216001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":54928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:17:21] local.INFO: GPS data processed {"connection_id":54928,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:17:21] local.INFO: Acknowledgment sent {"connection_id":54928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:17:44] local.INFO: TCP Data received {"connection_id":55079,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:17:44] local.INFO: Processing buffer {"connection_id":55079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:17:44] local.INFO: IMEI packet received {"connection_id":55079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":55079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:17:52] local.INFO: TCP Data received {"connection_id":54928,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:17:52] local.INFO: Processing buffer {"connection_id":54928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:17:52] local.INFO: Packet analysis {"connection_id":54928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:17:52] local.INFO: Extracted packet for processing {"connection_id":54928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:17:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 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-04-26 22:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:17:52] 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-04-26 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-04-26 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-04-26 22:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:17: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-04-26 22:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:17:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:17:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:17:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":54928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:17:52] local.INFO: GPS data processed {"connection_id":54928,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:17:52] local.INFO: Acknowledgment sent {"connection_id":54928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:18:13] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:18:13] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:18:13] local.INFO: IMEI packet received {"connection_id":54929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":54929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:18:18] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:18:18] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:18:18] local.INFO: IMEI packet received {"connection_id":54929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":54929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:18:19] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:18:19] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:18:19] local.INFO: Packet analysis {"connection_id":54929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:18:19] local.INFO: Extracted packet for processing {"connection_id":54929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:18:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 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-04-26 22:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:18:19] 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-04-26 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-04-26 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-04-26 22:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:18:19] 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-04-26 22:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:18:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:18:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:18:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":54929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:18:19] local.INFO: GPS data processed {"connection_id":54929,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:18:19] local.INFO: Acknowledgment sent {"connection_id":54929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:18:51] local.INFO: TCP Data received {"connection_id":54929,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:18:51] local.INFO: Processing buffer {"connection_id":54929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:18:51] local.INFO: Packet analysis {"connection_id":54929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:18:51] local.INFO: Extracted packet for processing {"connection_id":54929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:18:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:18:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 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-04-26 22:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:18: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-04-26 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-04-26 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-04-26 22:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":54929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":54929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":54929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:18:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:18:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:18:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":54929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:18:51] local.INFO: GPS data processed {"connection_id":54929,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:18:51] local.INFO: Acknowledgment sent {"connection_id":54929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:19:18] local.INFO: TCP Data received {"connection_id":55831,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:19:18] local.INFO: Processing buffer {"connection_id":55831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:19:18] local.INFO: IMEI packet received {"connection_id":55831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":55831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:19:23] local.INFO: TCP Data received {"connection_id":55831,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:19:23] local.INFO: Processing buffer {"connection_id":55831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:19:23] local.INFO: IMEI packet received {"connection_id":55831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":55831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:19:24] local.INFO: TCP Data received {"connection_id":55831,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:19:24] local.INFO: Processing buffer {"connection_id":55831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:19:24] local.INFO: Packet analysis {"connection_id":55831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:19:24] local.INFO: Extracted packet for processing {"connection_id":55831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:19:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 22:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:19:24] 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-04-26 22:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:19:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:19:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:19:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":55831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:19:24] local.INFO: GPS data processed {"connection_id":55831,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:19:24] local.INFO: Acknowledgment sent {"connection_id":55831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:19:58] local.INFO: TCP Data received {"connection_id":55831,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:19:58] local.INFO: Processing buffer {"connection_id":55831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:19:58] local.INFO: Packet analysis {"connection_id":55831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:19:58] local.INFO: Extracted packet for processing {"connection_id":55831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:19:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 22:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:19:58] 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-04-26 22:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":55831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":55831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":55831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:19:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:19:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":55831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:19:58] local.INFO: GPS data processed {"connection_id":55831,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:19:58] local.INFO: Acknowledgment sent {"connection_id":55831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:20:13] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:13] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:13] local.INFO: IMEI packet received {"connection_id":55081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":55081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:20:18] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:18] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:18] local.INFO: IMEI packet received {"connection_id":55081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":55081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:20:23] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:23] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:20:23] local.INFO: IMEI packet received {"connection_id":55081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":55081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:20:28] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:20:28] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:20:28] local.INFO: Packet analysis {"connection_id":55081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:20:28] local.INFO: Extracted packet for processing {"connection_id":55081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:20:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 22:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:20:28] 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-04-26 22:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:20:28] 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-04-26 22:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:20:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:20:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":55081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:20:28] local.INFO: GPS data processed {"connection_id":55081,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:20:28] local.INFO: Acknowledgment sent {"connection_id":55081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:20:29] local.INFO: TCP Data received {"connection_id":55081,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:20:29] local.INFO: Processing buffer {"connection_id":55081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:20:29] local.INFO: Packet analysis {"connection_id":55081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:20:29] local.INFO: Extracted packet for processing {"connection_id":55081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 22:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:20:29] 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-04-26 22: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-04-26 22:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":55081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":55081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:20:29] 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-04-26 22:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:20:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":55081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:20:29] local.INFO: GPS data processed {"connection_id":55081,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:20:29] local.INFO: Acknowledgment sent {"connection_id":55081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:21:13] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:21:13] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:21:13] local.INFO: IMEI packet received {"connection_id":54931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":54931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:21:18] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:21:18] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:21:18] local.INFO: IMEI packet received {"connection_id":54931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":54931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:21:21] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:21:21] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:21:21] local.INFO: Packet analysis {"connection_id":54931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:21:21] local.INFO: Extracted packet for processing {"connection_id":54931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:21:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:21:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:21:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 22:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:21: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-04-26 22: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-04-26 22:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:21: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-04-26 22:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:21:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:21:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:21:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:21:21] local.INFO: DEBUG: GPS processor result {"connection_id":54931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:21:21] local.INFO: GPS data processed {"connection_id":54931,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:21:21] local.INFO: Acknowledgment sent {"connection_id":54931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:21:52] local.INFO: TCP Data received {"connection_id":54931,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:21:52] local.INFO: Processing buffer {"connection_id":54931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:21:52] local.INFO: Packet analysis {"connection_id":54931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:21:52] local.INFO: Extracted packet for processing {"connection_id":54931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:21:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:21:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:21:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:21:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:21:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 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-04-26 22:21:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:21:52] 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-04-26 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-04-26 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-04-26 22:21:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:21:52] local.INFO: Teltonika packet parsed successfully {"connection_id":54931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:21:52] local.INFO: Passing IMEI to GPS processor {"connection_id":54931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:21:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":54931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:21: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-04-26 22:21:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:21:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:21:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:21:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:21:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:21:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:21:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:21:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:21:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:21:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:21:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:21:52] local.INFO: DEBUG: GPS processor result {"connection_id":54931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:21:52] local.INFO: GPS data processed {"connection_id":54931,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:21:52] local.INFO: Acknowledgment sent {"connection_id":54931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:22:09] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:22:10] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:22:10] local.INFO: IMEI packet received {"connection_id":55157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":55157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:22:12] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:22:12] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:22:12] local.INFO: IMEI packet received {"connection_id":55157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":55157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:22:13] local.INFO: TCP Data received {"connection_id":55835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:22:13] local.INFO: Processing buffer {"connection_id":55835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:22:13] local.INFO: IMEI packet received {"connection_id":55835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":55835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:22:13] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab41608012d174bc00723e6e00022010721..."} 
[2026-04-26 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab41608012d174bc00723e6e00022010721..."} 
[2026-04-26 22:22:13] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab41608012d174bc00723e6e00022010721..."} 
[2026-04-26 22:22:13] local.INFO: Packet analysis {"connection_id":55157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:22:13] local.INFO: Extracted packet for processing {"connection_id":55157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756501440,"raw_latitude":119793376,"longitude_deg":75.650144,"latitude_deg":11.9793376,"altitude":34,"angle":263,"satellites":33,"speed":38,"hex_longitude":"2d174bc0","hex_latitude":"0723e6e0","is_valid_coordinates":true} 
[2026-04-26 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968906496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114846798429814784,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1680757485350713344,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777222293000,"timestamp_ms":1777222293000,"timestamp_seconds":1777222293,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab41608"} 
[2026-04-26 22:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:22:13] 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-04-26 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 22:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:22:13] 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-04-26 22:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968906496001,"66":13493,"135":206,"83":42752,"24":38,"16":114846798429814784,"45":1680757485350713344},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-04-26 22:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968906496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-04-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114846798429814784,"km_value":114846798429814.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1680757485350713344,"description":"Unknown IO ID 45"} 
[2026-04-26 22:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968906496001,"power":13493,"unknown_135":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1680757485350713344}} 
[2026-04-26 22:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":55157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:22:13] local.INFO: GPS data processed {"connection_id":55157,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:22:13] local.INFO: Acknowledgment sent {"connection_id":55157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:22:18] local.INFO: TCP Data received {"connection_id":55835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:22:18] local.INFO: Processing buffer {"connection_id":55835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:22:18] local.INFO: IMEI packet received {"connection_id":55835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":55835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:22:27] local.INFO: TCP Data received {"connection_id":55835,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:22:27] local.INFO: Processing buffer {"connection_id":55835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaafd048012cb299c007822ce0004b00122c..."} 
[2026-04-26 22:22:27] local.INFO: Packet analysis {"connection_id":55835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:22:27] local.INFO: Extracted packet for processing {"connection_id":55835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaaf"} 
[2026-04-26 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":75,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968758272001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1777222013000,"timestamp_ms":1777222013000,"timestamp_seconds":1777222013,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaafd048"} 
[2026-04-26 22:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:22:27] 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-04-26 22:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":55835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":55835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":55835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968758272001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968758272001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:22:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:22:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968758272001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":55835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:22:27] local.INFO: GPS data processed {"connection_id":55835,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:22:27] local.INFO: Acknowledgment sent {"connection_id":55835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:22:57] local.INFO: TCP Data received {"connection_id":55157,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab4e128012d16954007242e30002901131e..."} 
[2026-04-26 22:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab4e128012d16954007242e30002901131e..."} 
[2026-04-26 22:22:57] local.INFO: Processing buffer {"connection_id":55157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab4e128012d16954007242e30002901131e..."} 
[2026-04-26 22:22:57] local.INFO: Packet analysis {"connection_id":55157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:22:57] local.INFO: Extracted packet for processing {"connection_id":55157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:22:57] local.INFO: GPS Element Parsed {"raw_longitude":756454720,"raw_latitude":119811632,"longitude_deg":75.645472,"latitude_deg":11.9811632,"altitude":41,"angle":275,"satellites":30,"speed":35,"hex_longitude":"2d169540","hex_latitude":"07242e30","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968919808001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114849298100781056,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1629106827128772608,"note":"Value kept but may cause issues"} 
[2026-04-26 22:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777222345000,"timestamp_ms":1777222345000,"timestamp_seconds":1777222345,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab4e128"} 
[2026-04-26 22:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:22:57] 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-04-26 22: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-26 22:22:57] 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-04-26 22: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-04-26 22:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:22:57] 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-04-26 22:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968919808001,"66":13363,"135":206,"83":42752,"24":35,"16":114849298100781056,"45":1629106827128772608},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,83,24,16,45]} 
[2026-04-26 22:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968919808001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:22:57] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-04-26 22:22:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-26 22:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114849298100781056,"km_value":114849298100781.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1629106827128772608,"description":"Unknown IO ID 45"} 
[2026-04-26 22:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968919808001,"power":13363,"unknown_135":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1629106827128772608}} 
[2026-04-26 22:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":55157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:22:57] local.INFO: GPS data processed {"connection_id":55157,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:22:57] local.INFO: Acknowledgment sent {"connection_id":55157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:23:05] local.INFO: TCP Data received {"connection_id":55158,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:05] local.INFO: Processing buffer {"connection_id":55158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:05] local.INFO: IMEI packet received {"connection_id":55158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":55158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:23:07] local.INFO: TCP Data received {"connection_id":55158,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:07] local.INFO: Processing buffer {"connection_id":55158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:07] local.INFO: IMEI packet received {"connection_id":55158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":55158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:23:11] local.INFO: TCP Data received {"connection_id":55158,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:11] local.INFO: Processing buffer {"connection_id":55158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:11] local.INFO: IMEI packet received {"connection_id":55158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":55158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:23:12] local.INFO: TCP Data received {"connection_id":55158,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab53330012d166ac007240bf00039011420..."} 
[2026-04-26 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab53330012d166ac007240bf00039011420..."} 
[2026-04-26 22:23:12] local.INFO: Processing buffer {"connection_id":55158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab53330012d166ac007240bf00039011420..."} 
[2026-04-26 22:23:12] local.INFO: Packet analysis {"connection_id":55158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab5"} 
[2026-04-26 22:23:12] local.INFO: Extracted packet for processing {"connection_id":55158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab5"} 
[2026-04-26 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756443840,"raw_latitude":119802864,"longitude_deg":75.644384,"latitude_deg":11.9802864,"altitude":57,"angle":276,"satellites":32,"speed":29,"hex_longitude":"2d166ac0","hex_latitude":"07240bf0","is_valid_coordinates":true} 
[2026-04-26 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968925440001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850071194894336,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1616158978197940224,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777222366000,"timestamp_ms":1777222366000,"timestamp_seconds":1777222366,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab53330"} 
[2026-04-26 22:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-04-26 22:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:23:12] 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-04-26 22:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968925440001,"66":13515,"21":206,"83":41984,"24":29,"16":114850071194894336,"45":1616158978197940224},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-04-26 22:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968925440001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850071194894336,"km_value":114850071194894.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1616158978197940224,"description":"Unknown IO ID 45"} 
[2026-04-26 22:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968925440001,"power":13515,"unknown_21":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1616158978197940224}} 
[2026-04-26 22:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":55158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:23:12] local.INFO: GPS data processed {"connection_id":55158,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:23:12] local.INFO: Acknowledgment sent {"connection_id":55158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:23:12] local.INFO: TCP Data received {"connection_id":55158,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab542d0012d165e8007240f080039011f20..."} 
[2026-04-26 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab542d0012d165e8007240f080039011f20..."} 
[2026-04-26 22:23:12] local.INFO: Processing buffer {"connection_id":55158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab542d0012d165e8007240f080039011f20..."} 
[2026-04-26 22:23:12] local.INFO: Packet analysis {"connection_id":55158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab5"} 
[2026-04-26 22:23:12] local.INFO: Extracted packet for processing {"connection_id":55158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab5"} 
[2026-04-26 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756440704,"raw_latitude":119803656,"longitude_deg":75.6440704,"latitude_deg":11.9803656,"altitude":57,"angle":287,"satellites":32,"speed":35,"hex_longitude":"2d165e80","hex_latitude":"07240f08","is_valid_coordinates":true} 
[2026-04-26 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968925696001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850221518749696,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1615314553267810304,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777222370000,"timestamp_ms":1777222370000,"timestamp_seconds":1777222370,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab542d0"} 
[2026-04-26 22:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 22:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:23:12] 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-04-26 22:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968925696001,"66":13559,"21":206,"83":41984,"24":35,"16":114850221518749696,"45":1615314553267810304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-04-26 22:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968925696001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850221518749696,"km_value":114850221518749.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1615314553267810304,"description":"Unknown IO ID 45"} 
[2026-04-26 22:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968925696001,"power":13559,"unknown_21":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1615314553267810304}} 
[2026-04-26 22:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":55158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:23:13] local.INFO: GPS data processed {"connection_id":55158,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:23:13] local.INFO: Acknowledgment sent {"connection_id":55158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:23:13] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:13] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:13] local.INFO: IMEI packet received {"connection_id":54932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":54932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:23:15] local.INFO: TCP Data received {"connection_id":55836,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:23:15] local.INFO: Processing buffer {"connection_id":55836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:23:15] local.INFO: IMEI packet received {"connection_id":55836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":55836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:23:25] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:25] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:25] local.INFO: IMEI packet received {"connection_id":54932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":54932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:23:25] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:25] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:25] local.INFO: IMEI packet received {"connection_id":54932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":54932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:23:28] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:28] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:23:28] local.INFO: IMEI packet received {"connection_id":54932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":54932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:23:29] local.INFO: TCP Data received {"connection_id":54932,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:23:29] local.INFO: Processing buffer {"connection_id":54932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:23:29] local.INFO: Packet analysis {"connection_id":54932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:23:29] local.INFO: Extracted packet for processing {"connection_id":54932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:23:29] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968835328001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1777222314000,"timestamp_ms":1777222314000,"timestamp_seconds":1777222314,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab46810"} 
[2026-04-26 22:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:23:29] 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-04-26 22:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":54932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":54932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":54932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:23:29] 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-04-26 22:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968835328001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968835328001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:23:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968835328001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":54932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:23:29] local.INFO: GPS data processed {"connection_id":54932,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:23:29] local.INFO: Acknowledgment sent {"connection_id":54932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:23:43] local.INFO: TCP Data received {"connection_id":55158,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab55a40012d1648c0072417b80037012b20..."} 
[2026-04-26 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab55a40012d1648c0072417b80037012b20..."} 
[2026-04-26 22:23:43] local.INFO: Processing buffer {"connection_id":55158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab55a40012d1648c0072417b80037012b20..."} 
[2026-04-26 22:23:43] local.INFO: Packet analysis {"connection_id":55158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab5"} 
[2026-04-26 22:23:43] local.INFO: Extracted packet for processing {"connection_id":55158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab5"} 
[2026-04-26 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756435136,"raw_latitude":119805880,"longitude_deg":75.6435136,"latitude_deg":11.980588,"altitude":55,"angle":299,"satellites":32,"speed":45,"hex_longitude":"2d1648c0","hex_latitude":"072417b8","is_valid_coordinates":true} 
[2026-04-26 22:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968926720001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114850509281558528,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1611866484803307520,"note":"Value kept but may cause issues"} 
[2026-04-26 22:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777222376000,"timestamp_ms":1777222376000,"timestamp_seconds":1777222376,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab55a40"} 
[2026-04-26 22:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-26 22:23: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-04-26 22:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:23:43] 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-04-26 22:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968926720001,"66":13537,"21":206,"83":41984,"24":45,"16":114850509281558528,"45":1611866484803307520},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-04-26 22:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968926720001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:23:43] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-26 22:23:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114850509281558528,"km_value":114850509281558.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1611866484803307520,"description":"Unknown IO ID 45"} 
[2026-04-26 22:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968926720001,"power":13537,"unknown_21":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1611866484803307520}} 
[2026-04-26 22:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":55158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:23:44] local.INFO: GPS data processed {"connection_id":55158,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:23:44] local.INFO: Acknowledgment sent {"connection_id":55158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:23:44] local.INFO: TCP Data received {"connection_id":55159,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:23:44] local.INFO: Processing buffer {"connection_id":55159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:23:44] local.INFO: IMEI packet received {"connection_id":55159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":55159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:23:59] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:59] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:23:59] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:24:03] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:03] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:03] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:24:03] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:03] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:03] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:24:06] local.INFO: TCP Data received {"connection_id":54933,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:06] local.INFO: Processing buffer {"connection_id":54933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:24:06] local.INFO: IMEI packet received {"connection_id":54933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":54933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:24:13] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:13] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:13] local.INFO: IMEI packet received {"connection_id":55082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":55082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:24:19] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:19] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:19] local.INFO: IMEI packet received {"connection_id":55082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":55082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:24:23] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:23] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:24:23] local.INFO: IMEI packet received {"connection_id":55082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":55082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:24:26] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:24:26] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:24:26] local.INFO: Packet analysis {"connection_id":55082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:24:26] local.INFO: Extracted packet for processing {"connection_id":55082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:24:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:24:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968835328001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:24:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:24:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:24:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:24:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777222314000,"timestamp_ms":1777222314000,"timestamp_seconds":1777222314,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab46810"} 
[2026-04-26 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-04-26 22:24:26] 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-04-26 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:24:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 22:24:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:24:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:24:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:24:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:24:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:24:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:24:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:24:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968835328001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:24:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:24:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:24:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968835328001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:24:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:24:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:24:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:24:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:24:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968835328001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:24:26] local.INFO: DEBUG: GPS processor result {"connection_id":55082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:24:26] local.INFO: GPS data processed {"connection_id":55082,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:24:26] local.INFO: Acknowledgment sent {"connection_id":55082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:24:57] local.INFO: TCP Data received {"connection_id":55082,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:24:57] local.INFO: Processing buffer {"connection_id":55082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:24:57] local.INFO: Packet analysis {"connection_id":55082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:24:57] local.INFO: Extracted packet for processing {"connection_id":55082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:24:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968835328001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:24:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777222314000,"timestamp_ms":1777222314000,"timestamp_seconds":1777222314,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab46810"} 
[2026-04-26 22:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:24:57] 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-04-26 22: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:24:57] 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-04-26 22: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-04-26 22:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:24:57] 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-04-26 22:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968835328001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968835328001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:24:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:24:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968835328001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":55082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:24:57] local.INFO: GPS data processed {"connection_id":55082,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:24:57] local.INFO: Acknowledgment sent {"connection_id":55082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:25:18] local.INFO: TCP Data received {"connection_id":55838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:25:18] local.INFO: Processing buffer {"connection_id":55838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:25:18] local.INFO: IMEI packet received {"connection_id":55838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":55838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:25:23] local.INFO: TCP Data received {"connection_id":55838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:25:23] local.INFO: Processing buffer {"connection_id":55838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:25:23] local.INFO: IMEI packet received {"connection_id":55838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":55838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:25:26] local.INFO: TCP Data received {"connection_id":55838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:25:26] local.INFO: Processing buffer {"connection_id":55838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:25:26] local.INFO: Packet analysis {"connection_id":55838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:25:26] local.INFO: Extracted packet for processing {"connection_id":55838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:25:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968835328001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:25:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777222314000,"timestamp_ms":1777222314000,"timestamp_seconds":1777222314,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab46810"} 
[2026-04-26 22:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:25:26] 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-04-26 22: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968835328001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968835328001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:25:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:25:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:25:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968835328001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":55838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:25:26] local.INFO: GPS data processed {"connection_id":55838,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:25:26] local.INFO: Acknowledgment sent {"connection_id":55838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:25:30] local.INFO: TCP Data received {"connection_id":55838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:25:30] local.INFO: Processing buffer {"connection_id":55838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab46810012cb299c007822ce0004f00122c..."} 
[2026-04-26 22:25:30] local.INFO: Packet analysis {"connection_id":55838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:25:30] local.INFO: Extracted packet for processing {"connection_id":55838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab4"} 
[2026-04-26 22:25:30] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968835328001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1777222314000,"timestamp_ms":1777222314000,"timestamp_seconds":1777222314,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab46810"} 
[2026-04-26 22:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:25:30] 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-04-26 22: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":55838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":55838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":55838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968835328001,"66":25071,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968835328001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:25:30] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:25:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:25:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968835328001,"power":25071,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":55838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:25:30] local.INFO: GPS data processed {"connection_id":55838,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:25:30] local.INFO: Acknowledgment sent {"connection_id":55838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:26:13] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:26:13] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:26:13] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:26:34] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:26:34] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:26:34] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:26:34] local.INFO: TCP Data received {"connection_id":54935,"ip":"42.106.6.19","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 22:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54935,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 22:26:34] local.INFO: Processing buffer {"connection_id":54935,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-26 22:26:34] local.INFO: IMEI packet received {"connection_id":54935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":54935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:29:06] local.INFO: TCP Data received {"connection_id":55164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:29:06] local.INFO: Processing buffer {"connection_id":55164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:29:06] local.INFO: IMEI packet received {"connection_id":55164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":55164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:29:09] local.INFO: TCP Data received {"connection_id":55163,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:29:09] local.INFO: Processing buffer {"connection_id":55163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:29:09] local.INFO: IMEI packet received {"connection_id":55163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":55163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:29:20] local.INFO: TCP Data received {"connection_id":55164,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:29:20] local.INFO: Processing buffer {"connection_id":55164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:29:20] local.INFO: IMEI packet received {"connection_id":55164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":55164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:29:26] local.INFO: TCP Data received {"connection_id":55164,"ip":"42.106.6.32","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 22:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55164,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 22:29:26] local.INFO: Processing buffer {"connection_id":55164,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-26 22:29:26] local.INFO: IMEI packet received {"connection_id":55164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":55164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:29:39] local.INFO: TCP Data received {"connection_id":55085,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:29:39] local.INFO: Processing buffer {"connection_id":55085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:29:39] local.INFO: IMEI packet received {"connection_id":55085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":55085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:31:38] local.INFO: TCP Data received {"connection_id":55086,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:31:38] local.INFO: Processing buffer {"connection_id":55086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:31:38] local.INFO: IMEI packet received {"connection_id":55086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":55086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:31:39] local.INFO: TCP Data received {"connection_id":55086,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcab8ffd8012cb299c007822ce0005200122e..."} 
[2026-04-26 22:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcab8ffd8012cb299c007822ce0005200122e..."} 
[2026-04-26 22:31:39] local.INFO: Processing buffer {"connection_id":55086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcab8ffd8012cb299c007822ce0005200122e..."} 
[2026-04-26 22:31:39] local.INFO: Packet analysis {"connection_id":55086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcab8"} 
[2026-04-26 22:31:39] local.INFO: Extracted packet for processing {"connection_id":55086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcab8"} 
[2026-04-26 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968912384001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777222615000,"timestamp_ms":1777222615000,"timestamp_seconds":1777222615,"priority":1,"record_length":96,"hex_timestamp":"0000019dcab8ffd8"} 
[2026-04-26 22:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 22:31:39] 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-04-26 22: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-04-26 22:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:31:39] 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-04-26 22:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968912384001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968912384001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:31:39] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968912384001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":55086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:31:39] local.INFO: GPS data processed {"connection_id":55086,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:31:39] local.INFO: Acknowledgment sent {"connection_id":55086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:32:13] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:13] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:13] local.INFO: IMEI packet received {"connection_id":55167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":55167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:32:18] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:18] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:18] local.INFO: IMEI packet received {"connection_id":55167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":55167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:32:48] local.INFO: TCP Data received {"connection_id":55167,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:48] local.INFO: Processing buffer {"connection_id":55167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:32:48] local.INFO: IMEI packet received {"connection_id":55167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":55167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:33:18] local.INFO: TCP Data received {"connection_id":55168,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:33:18] local.INFO: Processing buffer {"connection_id":55168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:33:18] local.INFO: IMEI packet received {"connection_id":55168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":55168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:34:22] local.INFO: TCP Data received {"connection_id":55843,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:34:22] local.INFO: Processing buffer {"connection_id":55843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:34:22] local.INFO: IMEI packet received {"connection_id":55843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":55843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:34:35] local.INFO: TCP Data received {"connection_id":55843,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcabe9970012d16bf800722fb90007c007c1e..."} 
[2026-04-26 22:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcabe9970012d16bf800722fb90007c007c1e..."} 
[2026-04-26 22:34:35] local.INFO: Processing buffer {"connection_id":55843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcabe9970012d16bf800722fb90007c007c1e..."} 
[2026-04-26 22:34:35] local.INFO: Packet analysis {"connection_id":55843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcabe"} 
[2026-04-26 22:34:35] local.INFO: Extracted packet for processing {"connection_id":55843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcabe"} 
[2026-04-26 22:34:35] local.INFO: GPS Element Parsed {"raw_longitude":756465536,"raw_latitude":119733136,"longitude_deg":75.6465536,"latitude_deg":11.9733136,"altitude":124,"angle":124,"satellites":30,"speed":9,"hex_longitude":"2d16bf80","hex_latitude":"0722fb90","is_valid_coordinates":true} 
[2026-04-26 22:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:34:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969081344001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:34:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114866572459245568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:34:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636847388968878080,"note":"Value kept but may cause issues"} 
[2026-04-26 22:34:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:34:35] local.INFO: AVL Record Parsed {"raw_timestamp":1777222982000,"timestamp_ms":1777222982000,"timestamp_seconds":1777222982,"priority":1,"record_length":96,"hex_timestamp":"0000019dcabe9970"} 
[2026-04-26 22:34:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:34:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:34:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-04-26 22:34:35] 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-04-26 22:34:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:34:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:34:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:34:35] local.INFO: Teltonika packet parsed successfully {"connection_id":55843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:34:35] local.INFO: Passing IMEI to GPS processor {"connection_id":55843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:34:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":55843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:34:35] 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-04-26 22:34:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:34:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:34:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969081344001,"66":13341,"21":206,"83":41984,"24":9,"16":114866572459245568,"45":1636847388968878080},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,83,24,16,45]} 
[2026-04-26 22:34:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:34:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:34:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969081344001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:34:35] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-26 22:34:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:34:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114866572459245568,"km_value":114866572459245.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:34:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636847388968878080,"description":"Unknown IO ID 45"} 
[2026-04-26 22:34:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969081344001,"power":13341,"unknown_21":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1636847388968878080}} 
[2026-04-26 22:34:35] local.INFO: DEBUG: GPS processor result {"connection_id":55843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:34:35] local.INFO: GPS data processed {"connection_id":55843,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:34:35] local.INFO: Acknowledgment sent {"connection_id":55843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:35:07] local.INFO: TCP Data received {"connection_id":55844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:07] local.INFO: Processing buffer {"connection_id":55844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:07] local.INFO: IMEI packet received {"connection_id":55844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":55844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:35:08] local.INFO: TCP Data received {"connection_id":55844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:08] local.INFO: Processing buffer {"connection_id":55844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:08] local.INFO: IMEI packet received {"connection_id":55844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":55844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:35:09] local.INFO: TCP Data received {"connection_id":55844,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:09] local.INFO: Processing buffer {"connection_id":55844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:35:09] local.INFO: IMEI packet received {"connection_id":55844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":55844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:35:09] local.INFO: TCP Data received {"connection_id":55844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac02bc8012d17a0400722f2800076004e20..."} 
[2026-04-26 22:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac02bc8012d17a0400722f2800076004e20..."} 
[2026-04-26 22:35:09] local.INFO: Processing buffer {"connection_id":55844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac02bc8012d17a0400722f2800076004e20..."} 
[2026-04-26 22:35:09] local.INFO: Packet analysis {"connection_id":55844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac0"} 
[2026-04-26 22:35:09] local.INFO: Extracted packet for processing {"connection_id":55844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac0"} 
[2026-04-26 22:35:09] local.INFO: GPS Element Parsed {"raw_longitude":756523072,"raw_latitude":119730816,"longitude_deg":75.6523072,"latitude_deg":11.9730816,"altitude":118,"angle":78,"satellites":32,"speed":29,"hex_longitude":"2d17a040","hex_latitude":"0722f280","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969108480001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114869359893020672,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1698420040123070464,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1777223085000,"timestamp_ms":1777223085000,"timestamp_seconds":1777223085,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac02bc8"} 
[2026-04-26 22:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-26 22:35:09] 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-04-26 22: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-04-26 22:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":55844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":55844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":55844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:35:09] 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-04-26 22:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969108480001,"66":13396,"19":206,"83":41984,"24":29,"16":114869359893020672,"45":1698420040123070464},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-26 22:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969108480001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:35:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-26 22:35:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114869359893020672,"km_value":114869359893020.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1698420040123070464,"description":"Unknown IO ID 45"} 
[2026-04-26 22:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969108480001,"power":13396,"unknown_19":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1698420040123070464}} 
[2026-04-26 22:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":55844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:35:09] local.INFO: GPS data processed {"connection_id":55844,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:35:09] local.INFO: Acknowledgment sent {"connection_id":55844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:35:12] local.INFO: TCP Data received {"connection_id":55844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac04338012d17b0800722f5f00078005e21..."} 
[2026-04-26 22:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac04338012d17b0800722f5f00078005e21..."} 
[2026-04-26 22:35:12] local.INFO: Processing buffer {"connection_id":55844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac04338012d17b0800722f5f00078005e21..."} 
[2026-04-26 22:35:12] local.INFO: Packet analysis {"connection_id":55844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac0"} 
[2026-04-26 22:35:12] local.INFO: Extracted packet for processing {"connection_id":55844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac0"} 
[2026-04-26 22:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756527232,"raw_latitude":119731696,"longitude_deg":75.6527232,"latitude_deg":11.9731696,"altitude":120,"angle":94,"satellites":33,"speed":26,"hex_longitude":"2d17b080","hex_latitude":"0722f5f0","is_valid_coordinates":true} 
[2026-04-26 22:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969109760001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114869566051450880,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1702431058541314048,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777223091000,"timestamp_ms":1777223091000,"timestamp_seconds":1777223091,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac04338"} 
[2026-04-26 22:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-26 22:35:12] 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-04-26 22:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:35:12] 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-04-26 22:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969109760001,"66":13493,"19":206,"83":41984,"24":26,"16":114869566051450880,"45":1702431058541314048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-26 22:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969109760001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:35:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-26 22:35:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114869566051450880,"km_value":114869566051450.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1702431058541314048,"description":"Unknown IO ID 45"} 
[2026-04-26 22:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969109760001,"power":13493,"unknown_19":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1702431058541314048}} 
[2026-04-26 22:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":55844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:35:12] local.INFO: GPS data processed {"connection_id":55844,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:35:12] local.INFO: Acknowledgment sent {"connection_id":55844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:35:14] local.INFO: TCP Data received {"connection_id":54941,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:35:14] local.INFO: Processing buffer {"connection_id":54941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:35:14] local.INFO: IMEI packet received {"connection_id":54941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":54941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:35:39] local.INFO: TCP Data received {"connection_id":55091,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:35:39] local.INFO: Processing buffer {"connection_id":55091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:35:39] local.INFO: IMEI packet received {"connection_id":55091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":55091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:35:43] local.INFO: TCP Data received {"connection_id":55844,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac04b08012d17b6000722f4a00079007021..."} 
[2026-04-26 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac04b08012d17b6000722f4a00079007021..."} 
[2026-04-26 22:35:43] local.INFO: Processing buffer {"connection_id":55844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac04b08012d17b6000722f4a00079007021..."} 
[2026-04-26 22:35:43] local.INFO: Packet analysis {"connection_id":55844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac0"} 
[2026-04-26 22:35:43] local.INFO: Extracted packet for processing {"connection_id":55844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac0"} 
[2026-04-26 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":756528640,"raw_latitude":119731360,"longitude_deg":75.652864,"latitude_deg":11.973136,"altitude":121,"angle":112,"satellites":33,"speed":26,"hex_longitude":"2d17b600","hex_latitude":"0722f4a0","is_valid_coordinates":true} 
[2026-04-26 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969111296001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114869634770927616,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707005026913087488,"note":"Value kept but may cause issues"} 
[2026-04-26 22:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777223093000,"timestamp_ms":1777223093000,"timestamp_seconds":1777223093,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac04b08"} 
[2026-04-26 22:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 22:35:43] 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-04-26 22:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:35:43] 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-04-26 22:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969111296001,"66":13493,"19":206,"83":41984,"24":26,"16":114869634770927616,"45":1707005026913087488},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,83,24,16,45]} 
[2026-04-26 22:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969111296001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:35:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-26 22:35:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114869634770927616,"km_value":114869634770927.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707005026913087488,"description":"Unknown IO ID 45"} 
[2026-04-26 22:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969111296001,"power":13493,"unknown_19":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1707005026913087488}} 
[2026-04-26 22:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":55844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:35:43] local.INFO: GPS data processed {"connection_id":55844,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:35:43] local.INFO: Acknowledgment sent {"connection_id":55844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:37:05] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:05] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:05] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:37:07] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:07] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:07] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:37:07] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:07] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:07] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:37:11] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:11] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:37:11] local.INFO: IMEI packet received {"connection_id":55093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":55093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:37:12] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac217f8012d18a38007229d68006b00591f..."} 
[2026-04-26 22:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac217f8012d18a38007229d68006b00591f..."} 
[2026-04-26 22:37:12] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac217f8012d18a38007229d68006b00591f..."} 
[2026-04-26 22:37:12] local.INFO: Packet analysis {"connection_id":55093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:37:12] local.INFO: Extracted packet for processing {"connection_id":55093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119709032,"longitude_deg":75.658944,"latitude_deg":11.9709032,"altitude":107,"angle":89,"satellites":31,"speed":11,"hex_longitude":"2d18a380","hex_latitude":"07229d68","is_valid_coordinates":true} 
[2026-04-26 22:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969137408001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873199593783296,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764918503365871616,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777223211000,"timestamp_ms":1777223211000,"timestamp_seconds":1777223211,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac217f8"} 
[2026-04-26 22:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-26 22:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:37:12] 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-04-26 22:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969137408001,"66":13537,"105":206,"83":41984,"24":11,"16":114873199593783296,"45":1764918503365871616},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969137408001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:37:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873199593783296,"km_value":114873199593783.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764918503365871616,"description":"Unknown IO ID 45"} 
[2026-04-26 22:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969137408001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1764918503365871616}} 
[2026-04-26 22:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":55093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:37:12] local.INFO: GPS data processed {"connection_id":55093,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:37:12] local.INFO: Acknowledgment sent {"connection_id":55093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:37:16] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac223b0012d18a64007229d08006b006a20..."} 
[2026-04-26 22:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac223b0012d18a64007229d08006b006a20..."} 
[2026-04-26 22:37:16] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac223b0012d18a64007229d08006b006a20..."} 
[2026-04-26 22:37:16] local.INFO: Packet analysis {"connection_id":55093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:37:16] local.INFO: Extracted packet for processing {"connection_id":55093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:37:16] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119708936,"longitude_deg":75.6590144,"latitude_deg":11.9708936,"altitude":107,"angle":106,"satellites":32,"speed":7,"hex_longitude":"2d18a640","hex_latitude":"07229d08","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:37:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969142016001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873233953521664,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446247974912,"note":"Value kept but may cause issues"} 
[2026-04-26 22: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-04-26 22:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1777223214000,"timestamp_ms":1777223214000,"timestamp_seconds":1777223214,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac223b0"} 
[2026-04-26 22:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:37:16] 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-04-26 22: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-26 22:37:16] 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-04-26 22: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-04-26 22:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":55093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":55093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":55093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969142016001,"66":13450,"105":206,"83":41984,"24":7,"16":114873233953521664,"45":1775403446247974912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969142016001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:37:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:37:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873233953521664,"km_value":114873233953521.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:37:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446247974912,"description":"Unknown IO ID 45"} 
[2026-04-26 22:37:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969142016001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1775403446247974912}} 
[2026-04-26 22:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":55093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:37:16] local.INFO: GPS data processed {"connection_id":55093,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:37:16] local.INFO: Acknowledgment sent {"connection_id":55093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:37:47] local.INFO: TCP Data received {"connection_id":55093,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22798012d18a6c007229cb8006b007c20..."} 
[2026-04-26 22:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22798012d18a6c007229cb8006b007c20..."} 
[2026-04-26 22:37:47] local.INFO: Processing buffer {"connection_id":55093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22798012d18a6c007229cb8006b007c20..."} 
[2026-04-26 22:37:47] local.INFO: Packet analysis {"connection_id":55093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:37:47] local.INFO: Extracted packet for processing {"connection_id":55093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756590272,"raw_latitude":119708856,"longitude_deg":75.6590272,"latitude_deg":11.9708856,"altitude":107,"angle":124,"satellites":32,"speed":6,"hex_longitude":"2d18a6c0","hex_latitude":"07229cb8","is_valid_coordinates":true} 
[2026-04-26 22:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969142784001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114873242543456256,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502433904640,"note":"Value kept but may cause issues"} 
[2026-04-26 22:37: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-04-26 22:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1777223215000,"timestamp_ms":1777223215000,"timestamp_seconds":1777223215,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22798"} 
[2026-04-26 22:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-26 22:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":55093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":55093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":55093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:37:47] 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-04-26 22:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969142784001,"66":13472,"105":206,"83":41984,"24":6,"16":114873242543456256,"45":1776177502433904640},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-26 22:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969142784001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:37:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-26 22:37:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114873242543456256,"km_value":114873242543456.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502433904640,"description":"Unknown IO ID 45"} 
[2026-04-26 22:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969142784001,"power":13472,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1776177502433904640}} 
[2026-04-26 22:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":55093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:37:47] local.INFO: GPS data processed {"connection_id":55093,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:37:47] local.INFO: Acknowledgment sent {"connection_id":55093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:38:01] local.INFO: TCP Data received {"connection_id":55845,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:01] local.INFO: Processing buffer {"connection_id":55845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:01] local.INFO: IMEI packet received {"connection_id":55845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":55845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:38:07] local.INFO: TCP Data received {"connection_id":55845,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:07] local.INFO: Processing buffer {"connection_id":55845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:07] local.INFO: IMEI packet received {"connection_id":55845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":55845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:38:10] local.INFO: TCP Data received {"connection_id":55845,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:10] local.INFO: Processing buffer {"connection_id":55845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:10] local.INFO: IMEI packet received {"connection_id":55845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":55845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:38:11] local.INFO: TCP Data received {"connection_id":55845,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55845,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:11] local.INFO: Processing buffer {"connection_id":55845,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:38:11] local.INFO: IMEI packet received {"connection_id":55845,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":55845,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:38:23] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:38:23] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:38:23] local.INFO: IMEI packet received {"connection_id":54943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":54943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:38:24] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcabd97a0012cb299c007822ce0005000122c..."} 
[2026-04-26 22:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcabd97a0012cb299c007822ce0005000122c..."} 
[2026-04-26 22:38:24] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcabd97a0012cb299c007822ce0005000122c..."} 
[2026-04-26 22:38:24] local.INFO: Packet analysis {"connection_id":54943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcabd"} 
[2026-04-26 22:38:24] local.INFO: Extracted packet for processing {"connection_id":54943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcabd"} 
[2026-04-26 22:38:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454968989440001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:38:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:38:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777222916000,"timestamp_ms":1777222916000,"timestamp_seconds":1777222916,"priority":1,"record_length":96,"hex_timestamp":"0000019dcabd97a0"} 
[2026-04-26 22:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:38:24] 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-04-26 22:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454968989440001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454968989440001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:38:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:38:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:38:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454968989440001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":54943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:38:24] local.INFO: GPS data processed {"connection_id":54943,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:38:24] local.INFO: Acknowledgment sent {"connection_id":54943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:38:55] local.INFO: TCP Data received {"connection_id":54943,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:38:55] local.INFO: Processing buffer {"connection_id":54943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:38:55] local.INFO: Packet analysis {"connection_id":54943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:38:55] local.INFO: Extracted packet for processing {"connection_id":54943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:38:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:38:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:38:55] 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-04-26 22:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:38:55] 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-04-26 22:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:38:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:38:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:38:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":54943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:38:55] local.INFO: GPS data processed {"connection_id":54943,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:38:55] local.INFO: Acknowledgment sent {"connection_id":54943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:39:18] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:39:18] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:39:18] local.INFO: IMEI packet received {"connection_id":55173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":55173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:39:23] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:39:23] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:39:23] local.INFO: IMEI packet received {"connection_id":55173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":55173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:39:24] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:39:24] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:39:24] local.INFO: Packet analysis {"connection_id":55173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:39:24] local.INFO: Extracted packet for processing {"connection_id":55173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:39:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:39:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:39:24] 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-04-26 22:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:39:24] 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-04-26 22:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:39:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:39:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:39:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":55173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:39:24] local.INFO: GPS data processed {"connection_id":55173,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:39:24] local.INFO: Acknowledgment sent {"connection_id":55173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:39:28] local.INFO: TCP Data received {"connection_id":55173,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:39:28] local.INFO: Processing buffer {"connection_id":55173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:39:28] local.INFO: Packet analysis {"connection_id":55173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:39:28] local.INFO: Extracted packet for processing {"connection_id":55173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:39:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:39:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:39:28] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:39:28] 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-04-26 22: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-04-26 22:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:39:28] 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-04-26 22:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:39:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:39:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":55173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:39:28] local.INFO: GPS data processed {"connection_id":55173,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:39:28] local.INFO: Acknowledgment sent {"connection_id":55173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:40:13] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:40:13] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:40:13] local.INFO: IMEI packet received {"connection_id":55094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":55094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:40:18] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:40:18] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:40:18] local.INFO: IMEI packet received {"connection_id":55094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":55094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:40:19] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:40:19] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:40:19] local.INFO: Packet analysis {"connection_id":55094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:40:19] local.INFO: Extracted packet for processing {"connection_id":55094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:40:19] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:40:19] 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-04-26 22: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-04-26 22:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:40:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":55094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:40:19] local.INFO: GPS data processed {"connection_id":55094,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:40:19] local.INFO: Acknowledgment sent {"connection_id":55094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:40:51] local.INFO: TCP Data received {"connection_id":55094,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:40:51] local.INFO: Processing buffer {"connection_id":55094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:40:51] local.INFO: Packet analysis {"connection_id":55094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:40:51] local.INFO: Extracted packet for processing {"connection_id":55094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:40:51] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:40:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 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-04-26 22:40:51] 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-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 22: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-04-26 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-04-26 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-04-26 22:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":55094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":55094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:40:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:40:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:40:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":55094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:40:51] local.INFO: GPS data processed {"connection_id":55094,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:40:51] local.INFO: Acknowledgment sent {"connection_id":55094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:41:04] local.INFO: TCP Data received {"connection_id":55848,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:41:04] local.INFO: Processing buffer {"connection_id":55848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:41:04] local.INFO: IMEI packet received {"connection_id":55848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":55848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:41:18] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:41:18] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:41:18] local.INFO: IMEI packet received {"connection_id":55175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":55175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:41:23] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:41:23] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:41:23] local.INFO: IMEI packet received {"connection_id":55175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":55175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:41:24] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:41:24] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:41:24] local.INFO: Packet analysis {"connection_id":55175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:41:24] local.INFO: Extracted packet for processing {"connection_id":55175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:41:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:41:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:41:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:41:24] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:41:24] 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-04-26 22: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-04-26 22:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:41:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:41:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:41:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":55175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:41:24] local.INFO: GPS data processed {"connection_id":55175,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:41:24] local.INFO: Acknowledgment sent {"connection_id":55175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:41:39] local.INFO: TCP Data received {"connection_id":55095,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:41:39] local.INFO: Processing buffer {"connection_id":55095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:41:39] local.INFO: IMEI packet received {"connection_id":55095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":55095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:41:55] local.INFO: TCP Data received {"connection_id":55175,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:41:55] local.INFO: Processing buffer {"connection_id":55175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:41:55] local.INFO: Packet analysis {"connection_id":55175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:41:55] local.INFO: Extracted packet for processing {"connection_id":55175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:41:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:41:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:41:55] 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-04-26 22:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:41:55] 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-04-26 22:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:41:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:41:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:41:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":55175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:41:55] local.INFO: GPS data processed {"connection_id":55175,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:41:55] local.INFO: Acknowledgment sent {"connection_id":55175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:42:13] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:13] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:13] local.INFO: IMEI packet received {"connection_id":55096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":55096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:42:18] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:18] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:18] local.INFO: IMEI packet received {"connection_id":55096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":55096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:42:23] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:23] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:42:23] local.INFO: IMEI packet received {"connection_id":55096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":55096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:42:26] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:42:26] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac22f68012cb299c007822ce0005300122d..."} 
[2026-04-26 22:42:26] local.INFO: Packet analysis {"connection_id":55096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:42:26] local.INFO: Extracted packet for processing {"connection_id":55096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac2"} 
[2026-04-26 22:42:26] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969066496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:42:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:42:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1777223217000,"timestamp_ms":1777223217000,"timestamp_seconds":1777223217,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac22f68"} 
[2026-04-26 22:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:42:26] 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-04-26 22:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:42:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":55096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":55096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":55096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:42: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-04-26 22:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969066496001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969066496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:42:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:42:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:42:26] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969066496001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":55096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:42:26] local.INFO: GPS data processed {"connection_id":55096,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:42:26] local.INFO: Acknowledgment sent {"connection_id":55096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:42:57] local.INFO: TCP Data received {"connection_id":55096,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:42:57] local.INFO: Processing buffer {"connection_id":55096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:42:57] local.INFO: Packet analysis {"connection_id":55096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:42:57] local.INFO: Extracted packet for processing {"connection_id":55096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:42:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:42:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:42:57] 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-04-26 22: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":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:42:57] 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-04-26 22: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-04-26 22:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:42:57] 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-04-26 22:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:42:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:42:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":55096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:42:57] local.INFO: GPS data processed {"connection_id":55096,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:42:57] local.INFO: Acknowledgment sent {"connection_id":55096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:43:12] local.INFO: TCP Data received {"connection_id":54945,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:43:12] local.INFO: Processing buffer {"connection_id":54945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:43:12] local.INFO: IMEI packet received {"connection_id":54945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":54945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:43:13] local.INFO: TCP Data received {"connection_id":55849,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:43:13] local.INFO: Processing buffer {"connection_id":55849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:43:13] local.INFO: IMEI packet received {"connection_id":55849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":55849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:43:13] local.INFO: TCP Data received {"connection_id":54945,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac62ed8012d19ae8007209068002f00c620..."} 
[2026-04-26 22:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac62ed8012d19ae8007209068002f00c620..."} 
[2026-04-26 22:43:13] local.INFO: Processing buffer {"connection_id":54945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac62ed8012d19ae8007209068002f00c620..."} 
[2026-04-26 22:43:13] local.INFO: Packet analysis {"connection_id":54945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:13] local.INFO: Extracted packet for processing {"connection_id":54945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574632,"longitude_deg":75.6657792,"latitude_deg":11.9574632,"altitude":47,"angle":198,"satellites":32,"speed":27,"hex_longitude":"2d19ae80","hex_latitude":"07209068","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969208832001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114883803868037120,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461043200,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777223479000,"timestamp_ms":1777223479000,"timestamp_seconds":1777223479,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac62ed8"} 
[2026-04-26 22:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:43:13] 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-04-26 22:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-26 22:43:13] 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-04-26 22: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-04-26 22:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":54945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":54945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":54945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:43:13] 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-04-26 22:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969208832001,"66":12211,"106":206,"83":41984,"24":27,"16":114883803868037120,"45":1854005333461043200},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969208832001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114883803868037120,"km_value":114883803868037.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461043200,"description":"Unknown IO ID 45"} 
[2026-04-26 22:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969208832001,"power":12211,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1854005333461043200}} 
[2026-04-26 22:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":54945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:43:13] local.INFO: GPS data processed {"connection_id":54945,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:43:13] local.INFO: Acknowledgment sent {"connection_id":54945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:43:18] local.INFO: TCP Data received {"connection_id":55849,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:43:18] local.INFO: Processing buffer {"connection_id":55849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:43:18] local.INFO: IMEI packet received {"connection_id":55849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":55849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:43:19] local.INFO: TCP Data received {"connection_id":55849,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:43:19] local.INFO: Processing buffer {"connection_id":55849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:43:19] local.INFO: Packet analysis {"connection_id":55849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:19] local.INFO: Extracted packet for processing {"connection_id":55849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:43:19] 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-04-26 22: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:43:19] 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-04-26 22: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-04-26 22:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:43:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":55849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:43:19] local.INFO: GPS data processed {"connection_id":55849,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:43:19] local.INFO: Acknowledgment sent {"connection_id":55849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:43:44] local.INFO: TCP Data received {"connection_id":54945,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac632c0012d19ae0007208d68002f00b820..."} 
[2026-04-26 22:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac632c0012d19ae0007208d68002f00b820..."} 
[2026-04-26 22:43:44] local.INFO: Processing buffer {"connection_id":54945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac632c0012d19ae0007208d68002f00b820..."} 
[2026-04-26 22:43:44] local.INFO: Packet analysis {"connection_id":54945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:44] local.INFO: Extracted packet for processing {"connection_id":54945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573864,"longitude_deg":75.6657664,"latitude_deg":11.9573864,"altitude":47,"angle":184,"satellites":32,"speed":29,"hex_longitude":"2d19ae00","hex_latitude":"07208d68","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969210624001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114883842522742784,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995313664,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43: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-04-26 22:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777223480000,"timestamp_ms":1777223480000,"timestamp_seconds":1777223480,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac632c0"} 
[2026-04-26 22:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-26 22:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":54945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":54945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":54945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969210624001,"66":13156,"106":206,"83":41984,"24":29,"16":114883842522742784,"45":1850557264995313664},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969210624001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:43:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114883842522742784,"km_value":114883842522742.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995313664,"description":"Unknown IO ID 45"} 
[2026-04-26 22:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969210624001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850557264995313664}} 
[2026-04-26 22:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":54945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:43:44] local.INFO: GPS data processed {"connection_id":54945,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:43:44] local.INFO: Acknowledgment sent {"connection_id":54945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:43:50] local.INFO: TCP Data received {"connection_id":55849,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:43:50] local.INFO: Processing buffer {"connection_id":55849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:43:50] local.INFO: Packet analysis {"connection_id":55849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:50] local.INFO: Extracted packet for processing {"connection_id":55849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:43:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:43:50] 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-04-26 22: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:43:50] 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-04-26 22:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:43:50] 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-04-26 22:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:43:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":55849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:43:50] local.INFO: GPS data processed {"connection_id":55849,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:43:50] local.INFO: Acknowledgment sent {"connection_id":55849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:44:01] local.INFO: TCP Data received {"connection_id":55098,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:44:01] local.INFO: Processing buffer {"connection_id":55098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:44:01] local.INFO: IMEI packet received {"connection_id":55098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":55098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:44:07] local.INFO: TCP Data received {"connection_id":55098,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:44:07] local.INFO: Processing buffer {"connection_id":55098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:44:07] local.INFO: IMEI packet received {"connection_id":55098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":55098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:44:12] local.INFO: TCP Data received {"connection_id":55098,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac63a90012d19aec007208688002f00aa1f..."} 
[2026-04-26 22:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac63a90012d19aec007208688002f00aa1f..."} 
[2026-04-26 22:44:12] local.INFO: Processing buffer {"connection_id":55098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac63a90012d19aec007208688002f00aa1f..."} 
[2026-04-26 22:44:12] local.INFO: Packet analysis {"connection_id":55098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:44:12] local.INFO: Extracted packet for processing {"connection_id":55098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119572104,"longitude_deg":75.6657856,"latitude_deg":11.9572104,"altitude":47,"angle":170,"satellites":31,"speed":36,"hex_longitude":"2d19aec0","hex_latitude":"07208688","is_valid_coordinates":true} 
[2026-04-26 22:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969210880001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114883928422088704,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506761728,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44: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-04-26 22:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777223482000,"timestamp_ms":1777223482000,"timestamp_seconds":1777223482,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac63a90"} 
[2026-04-26 22:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-26 22:44:12] 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-04-26 22:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:44:12] 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-04-26 22:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969210880001,"66":13330,"106":206,"83":41984,"24":36,"16":114883928422088704,"45":1850416527506761728},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969210880001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:44:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:44:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114883928422088704,"km_value":114883928422088.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506761728,"description":"Unknown IO ID 45"} 
[2026-04-26 22:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969210880001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1850416527506761728}} 
[2026-04-26 22:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":55098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:44:12] local.INFO: GPS data processed {"connection_id":55098,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:44:12] local.INFO: Acknowledgment sent {"connection_id":55098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:44:18] local.INFO: TCP Data received {"connection_id":55850,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:44:18] local.INFO: Processing buffer {"connection_id":55850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:44:18] local.INFO: IMEI packet received {"connection_id":55850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":55850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:44:23] local.INFO: TCP Data received {"connection_id":55850,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:44:23] local.INFO: Processing buffer {"connection_id":55850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:44:23] local.INFO: IMEI packet received {"connection_id":55850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":55850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:44:24] local.INFO: TCP Data received {"connection_id":55850,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:44:24] local.INFO: Processing buffer {"connection_id":55850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:44:24] local.INFO: Packet analysis {"connection_id":55850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:44:24] local.INFO: Extracted packet for processing {"connection_id":55850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:44:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:44:24] 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-04-26 22:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:44:24] 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-04-26 22:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:44:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:44:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:44:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":55850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:44:24] local.INFO: GPS data processed {"connection_id":55850,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:44:24] local.INFO: Acknowledgment sent {"connection_id":55850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:44:28] local.INFO: TCP Data received {"connection_id":55850,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:44:28] local.INFO: Processing buffer {"connection_id":55850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:44:28] local.INFO: Packet analysis {"connection_id":55850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:44:28] local.INFO: Extracted packet for processing {"connection_id":55850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:44:28] 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-04-26 22:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:44:28] 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-04-26 22:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:44:28] 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-04-26 22:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:44:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:44:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":55850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:44:28] local.INFO: GPS data processed {"connection_id":55850,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:44:28] local.INFO: Acknowledgment sent {"connection_id":55850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:44:43] local.INFO: TCP Data received {"connection_id":55098,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac87cb0012d19cd40072019a8002f00981f..."} 
[2026-04-26 22:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac87cb0012d19cd40072019a8002f00981f..."} 
[2026-04-26 22:44:43] local.INFO: Processing buffer {"connection_id":55098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac87cb0012d19cd40072019a8002f00981f..."} 
[2026-04-26 22:44:43] local.INFO: Packet analysis {"connection_id":55098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac8"} 
[2026-04-26 22:44:43] local.INFO: Extracted packet for processing {"connection_id":55098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac8"} 
[2026-04-26 22:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119544232,"longitude_deg":75.6665664,"latitude_deg":11.9544232,"altitude":47,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2d19cd40","hex_latitude":"072019a8","is_valid_coordinates":true} 
[2026-04-26 22:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969243648001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114885350056263680,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521383936,"note":"Value kept but may cause issues"} 
[2026-04-26 22:44: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-04-26 22:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777223630000,"timestamp_ms":1777223630000,"timestamp_seconds":1777223630,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac87cb0"} 
[2026-04-26 22:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-26 22:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:44:43] 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-04-26 22:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969243648001,"66":12298,"106":206,"83":41984,"24":0,"16":114885350056263680,"45":1859212620521383936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969243648001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:44:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:44:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114885350056263680,"km_value":114885350056263.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521383936,"description":"Unknown IO ID 45"} 
[2026-04-26 22:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969243648001,"power":12298,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859212620521383936}} 
[2026-04-26 22:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":55098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:44:43] local.INFO: GPS data processed {"connection_id":55098,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:44:43] local.INFO: Acknowledgment sent {"connection_id":55098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:45:01] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:01] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:01] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:45:08] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:08] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:08] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:45:13] local.INFO: TCP Data received {"connection_id":55852,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:45:13] local.INFO: Processing buffer {"connection_id":55852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:45:13] local.INFO: IMEI packet received {"connection_id":55852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":55852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:45:16] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:16] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:45:16] local.INFO: IMEI packet received {"connection_id":54946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":54946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:45:18] local.INFO: TCP Data received {"connection_id":55852,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:45:18] local.INFO: Processing buffer {"connection_id":55852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:45:18] local.INFO: IMEI packet received {"connection_id":55852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":55852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:45:19] local.INFO: TCP Data received {"connection_id":55852,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:45:19] local.INFO: Processing buffer {"connection_id":55852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:45:19] local.INFO: Packet analysis {"connection_id":55852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:45:19] local.INFO: Extracted packet for processing {"connection_id":55852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 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-04-26 22:45:19] 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-04-26 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":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:45:19] 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-04-26 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-04-26 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-04-26 22:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:45:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:45:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":55852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:45:19] local.INFO: GPS data processed {"connection_id":55852,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:45:19] local.INFO: Acknowledgment sent {"connection_id":55852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:45:20] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac8d2a0012d19cd40072019a8002f009820..."} 
[2026-04-26 22:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac8d2a0012d19cd40072019a8002f009820..."} 
[2026-04-26 22:45:20] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac8d2a0012d19cd40072019a8002f009820..."} 
[2026-04-26 22:45:20] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac8"} 
[2026-04-26 22:45:20] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac8"} 
[2026-04-26 22:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119544232,"longitude_deg":75.6665664,"latitude_deg":11.9544232,"altitude":47,"angle":152,"satellites":32,"speed":0,"hex_longitude":"2d19cd40","hex_latitude":"072019a8","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969249280001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114885350056263680,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521383936,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45: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-04-26 22:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1777223652000,"timestamp_ms":1777223652000,"timestamp_seconds":1777223652,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac8d2a0"} 
[2026-04-26 22:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262824427008,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186008,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-3835197678372972099,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":39,"raw_value":4611686018427387905,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832564,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3697174701275283662,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":3341598721,"corrected_to":0} 
[2026-04-26 22:45:20] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1074208802,"corrected_to":0} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926186,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":42,"raw_value":44788606543331328,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513480451389259948,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.WARNING: Large IO value detected {"io_id":31,"raw_value":6192449488289796,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:20] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,39,38,45,64,25,47,29,10,66,212,28,126,1,240,216,227,202,32,4,113,205,218,200,160,239,52,2,152,7,42,128,31],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":202,"original":3341598721,"validated":0},{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":1074208802,"validated":0}]} 
[2026-04-26 22:45:20] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386874178694021120,"timestamp_seconds":3386874178694021.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 22:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:45: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-04-26 22:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969249280001,"66":12287,"106":206,"83":41984,"24":0,"16":114885350056263680,"45":1859212620521383936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969249280001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:45:20] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:45:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114885350056263680,"km_value":114885350056263.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521383936,"description":"Unknown IO ID 45"} 
[2026-04-26 22:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969249280001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859212620521383936}} 
[2026-04-26 22:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:45:20] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:45:20] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:45:21] local.INFO: TCP Data received {"connection_id":54946,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac924a8012d19cd40072019a8002f00981f..."} 
[2026-04-26 22:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac924a8012d19cd40072019a8002f00981f..."} 
[2026-04-26 22:45:21] local.INFO: Processing buffer {"connection_id":54946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac924a8012d19cd40072019a8002f00981f..."} 
[2026-04-26 22:45:21] local.INFO: Packet analysis {"connection_id":54946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac9"} 
[2026-04-26 22:45:21] local.INFO: Extracted packet for processing {"connection_id":54946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac9"} 
[2026-04-26 22:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119544232,"longitude_deg":75.6665664,"latitude_deg":11.9544232,"altitude":47,"angle":152,"satellites":31,"speed":0,"hex_longitude":"2d19cd40","hex_latitude":"072019a8","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969254912001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114885350056263680,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859212620521383936,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777223673000,"timestamp_ms":1777223673000,"timestamp_seconds":1777223673,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac924a8"} 
[2026-04-26 22:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:45:21] 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-04-26 22: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-26 22:45:21] 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-04-26 22: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-04-26 22:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":54946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":54946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:45:21] 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-04-26 22:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969254912001,"66":12232,"106":206,"83":41984,"24":0,"16":114885350056263680,"45":1859212620521383936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969254912001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:45:21] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:45:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114885350056263680,"km_value":114885350056263.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859212620521383936,"description":"Unknown IO ID 45"} 
[2026-04-26 22:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969254912001,"power":12232,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859212620521383936}} 
[2026-04-26 22:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":54946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:45:21] local.INFO: GPS data processed {"connection_id":54946,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:45:21] local.INFO: Acknowledgment sent {"connection_id":54946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:45:50] local.INFO: TCP Data received {"connection_id":55852,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:45:50] local.INFO: Processing buffer {"connection_id":55852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:45:50] local.INFO: Packet analysis {"connection_id":55852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:45:50] local.INFO: Extracted packet for processing {"connection_id":55852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:45:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:45:50] 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-04-26 22: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:45:50] 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-04-26 22:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:45:50] 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-04-26 22:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:45:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":55852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:45:50] local.INFO: GPS data processed {"connection_id":55852,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:45:50] local.INFO: Acknowledgment sent {"connection_id":55852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:46:07] local.INFO: TCP Data received {"connection_id":55178,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:46:07] local.INFO: Processing buffer {"connection_id":55178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:46:07] local.INFO: IMEI packet received {"connection_id":55178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":55178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:46:12] local.INFO: TCP Data received {"connection_id":55178,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:46:12] local.INFO: Processing buffer {"connection_id":55178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:46:12] local.INFO: IMEI packet received {"connection_id":55178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":55178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:46:13] local.INFO: TCP Data received {"connection_id":55178,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaca3230012d19ec00071ffbe8003000751f..."} 
[2026-04-26 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaca3230012d19ec00071ffbe8003000751f..."} 
[2026-04-26 22:46:13] local.INFO: Processing buffer {"connection_id":55178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaca3230012d19ec00071ffbe8003000751f..."} 
[2026-04-26 22:46:13] local.INFO: Packet analysis {"connection_id":55178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaca"} 
[2026-04-26 22:46:13] local.INFO: Extracted packet for processing {"connection_id":55178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaca"} 
[2026-04-26 22:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119536616,"longitude_deg":75.6673536,"latitude_deg":11.9536616,"altitude":48,"angle":117,"satellites":31,"speed":23,"hex_longitude":"2d19ec00","hex_latitude":"071ffbe8","is_valid_coordinates":true} 
[2026-04-26 22:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969277696001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114885886927175680,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867305026099945472,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777223742000,"timestamp_ms":1777223742000,"timestamp_seconds":1777223742,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaca3230"} 
[2026-04-26 22:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:46:13] 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-04-26 22:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 22:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:46:13] 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-04-26 22:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969277696001,"66":13341,"106":206,"83":41984,"24":23,"16":114885886927175680,"45":1867305026099945472},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969277696001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:46:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:46:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114885886927175680,"km_value":114885886927175.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867305026099945472,"description":"Unknown IO ID 45"} 
[2026-04-26 22:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969277696001,"power":13341,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1867305026099945472}} 
[2026-04-26 22:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":55178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:46:13] local.INFO: GPS data processed {"connection_id":55178,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:46:13] local.INFO: Acknowledgment sent {"connection_id":55178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:46:13] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:13] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:13] local.INFO: IMEI packet received {"connection_id":55179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":55179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:46:18] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:18] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:18] local.INFO: IMEI packet received {"connection_id":55179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":55179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:46:19] local.INFO: TCP Data received {"connection_id":55178,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaca3618012d19ee80071ffb70003000641f..."} 
[2026-04-26 22:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaca3618012d19ee80071ffb70003000641f..."} 
[2026-04-26 22:46:19] local.INFO: Processing buffer {"connection_id":55178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaca3618012d19ee80071ffb70003000641f..."} 
[2026-04-26 22:46:19] local.INFO: Packet analysis {"connection_id":55178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaca"} 
[2026-04-26 22:46:19] local.INFO: Extracted packet for processing {"connection_id":55178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaca"} 
[2026-04-26 22:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756674176,"raw_latitude":119536496,"longitude_deg":75.6674176,"latitude_deg":11.9536496,"altitude":48,"angle":100,"satellites":31,"speed":24,"hex_longitude":"2d19ee80","hex_latitude":"071ffb70","is_valid_coordinates":true} 
[2026-04-26 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969277952001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114885921286914048,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976053286912,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46: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-04-26 22:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777223743000,"timestamp_ms":1777223743000,"timestamp_seconds":1777223743,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaca3618"} 
[2026-04-26 22:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:46:19] 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-04-26 22:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 22:46:19] 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-04-26 22:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:46:19] 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-04-26 22:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969277952001,"66":13396,"106":206,"83":41984,"24":24,"16":114885921286914048,"45":1867867976053286912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969277952001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:46:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114885921286914048,"km_value":114885921286914.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976053286912,"description":"Unknown IO ID 45"} 
[2026-04-26 22:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969277952001,"power":13396,"unknown_106":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1867867976053286912}} 
[2026-04-26 22:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":55178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:46:19] local.INFO: GPS data processed {"connection_id":55178,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:46:19] local.INFO: Acknowledgment sent {"connection_id":55178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:46:23] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:23] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:46:23] local.INFO: IMEI packet received {"connection_id":55179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":55179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:46:28] local.INFO: TCP Data received {"connection_id":55179,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:46:28] local.INFO: Processing buffer {"connection_id":55179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:46:28] local.INFO: Packet analysis {"connection_id":55179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:46:28] local.INFO: Extracted packet for processing {"connection_id":55179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:46:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:46:28] 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-04-26 22:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:46:28] 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-04-26 22:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:46:28] 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-04-26 22:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:46:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":55179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:46:28] local.INFO: GPS data processed {"connection_id":55179,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:46:28] local.INFO: Acknowledgment sent {"connection_id":55179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:46:54] local.INFO: TCP Data received {"connection_id":55099,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:46:54] local.INFO: Processing buffer {"connection_id":55099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:46:54] local.INFO: IMEI packet received {"connection_id":55099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":55099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:47:00] local.INFO: TCP Data received {"connection_id":54947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:00] local.INFO: Processing buffer {"connection_id":54947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:00] local.INFO: IMEI packet received {"connection_id":54947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":54947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:47:01] local.INFO: TCP Data received {"connection_id":54947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:01] local.INFO: Processing buffer {"connection_id":54947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:01] local.INFO: IMEI packet received {"connection_id":54947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":54947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:47:07] local.INFO: TCP Data received {"connection_id":54947,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:07] local.INFO: Processing buffer {"connection_id":54947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:47:07] local.INFO: IMEI packet received {"connection_id":54947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":54947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:47:08] local.INFO: TCP Data received {"connection_id":54947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaca3a00012d19f180071ffb80003000581f..."} 
[2026-04-26 22:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaca3a00012d19f180071ffb80003000581f..."} 
[2026-04-26 22:47:08] local.INFO: Processing buffer {"connection_id":54947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaca3a00012d19f180071ffb80003000581f..."} 
[2026-04-26 22:47:08] local.INFO: Packet analysis {"connection_id":54947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaca"} 
[2026-04-26 22:47:08] local.INFO: Extracted packet for processing {"connection_id":54947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaca"} 
[2026-04-26 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":756674944,"raw_latitude":119536512,"longitude_deg":75.6674944,"latitude_deg":11.9536512,"altitude":48,"angle":88,"satellites":31,"speed":27,"hex_longitude":"2d19f180","hex_latitude":"071ffb80","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969278208001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114885955646652416,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868571663495032832,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777223744000,"timestamp_ms":1777223744000,"timestamp_seconds":1777223744,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaca3a00"} 
[2026-04-26 22:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-26 22:47:08] 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-04-26 22: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-04-26 22:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:47:08] 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-04-26 22:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969278208001,"66":13396,"106":206,"83":41984,"24":27,"16":114885955646652416,"45":1868571663495032832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969278208001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:47:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114885955646652416,"km_value":114885955646652.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868571663495032832,"description":"Unknown IO ID 45"} 
[2026-04-26 22:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969278208001,"power":13396,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1868571663495032832}} 
[2026-04-26 22:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":54947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:47:08] local.INFO: GPS data processed {"connection_id":54947,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:47:08] local.INFO: Acknowledgment sent {"connection_id":54947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:47:13] local.INFO: TCP Data received {"connection_id":55854,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:47:13] local.INFO: Processing buffer {"connection_id":55854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:47:13] local.INFO: IMEI packet received {"connection_id":55854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":55854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:47:18] local.INFO: TCP Data received {"connection_id":55854,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:47:18] local.INFO: Processing buffer {"connection_id":55854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:47:18] local.INFO: IMEI packet received {"connection_id":55854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":55854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:47:21] local.INFO: TCP Data received {"connection_id":55854,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:47:21] local.INFO: Processing buffer {"connection_id":55854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcac6c730012cb299c007822ce0005300122e..."} 
[2026-04-26 22:47:21] local.INFO: Packet analysis {"connection_id":55854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:47:21] local.INFO: Extracted packet for processing {"connection_id":55854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcac6"} 
[2026-04-26 22:47:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969143552001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777223518000,"timestamp_ms":1777223518000,"timestamp_seconds":1777223518,"priority":1,"record_length":96,"hex_timestamp":"0000019dcac6c730"} 
[2026-04-26 22:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:47:21] 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-04-26 22: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 22:47:21] 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-04-26 22: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-04-26 22:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:47:21] 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-04-26 22:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969143552001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969143552001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:47:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:47:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969143552001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":55854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:47:21] local.INFO: GPS data processed {"connection_id":55854,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:47:21] local.INFO: Acknowledgment sent {"connection_id":55854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:47:40] local.INFO: TCP Data received {"connection_id":54947,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb8220012d1aa500071f98f8003800711e..."} 
[2026-04-26 22:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb8220012d1aa500071f98f8003800711e..."} 
[2026-04-26 22:47:40] local.INFO: Processing buffer {"connection_id":54947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb8220012d1aa500071f98f8003800711e..."} 
[2026-04-26 22:47:40] local.INFO: Packet analysis {"connection_id":54947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:47:40] local.INFO: Extracted packet for processing {"connection_id":54947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:47:40] local.INFO: GPS Element Parsed {"raw_longitude":756720896,"raw_latitude":119511288,"longitude_deg":75.6720896,"latitude_deg":11.9511288,"altitude":56,"angle":113,"satellites":30,"speed":11,"hex_longitude":"2d1aa500","hex_latitude":"071f98f8","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969299200001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888605641474048,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918533471854931968,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1777223828000,"timestamp_ms":1777223828000,"timestamp_seconds":1777223828,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb8220"} 
[2026-04-26 22:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-26 22:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":54947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":54947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":54947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:47:40] 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-04-26 22:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969299200001,"66":12548,"106":206,"83":41984,"24":11,"16":114888605641474048,"45":1918533471854931968},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969299200001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:47:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:47:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888605641474048,"km_value":114888605641474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918533471854931968,"description":"Unknown IO ID 45"} 
[2026-04-26 22:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969299200001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1918533471854931968}} 
[2026-04-26 22:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":54947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:47:40] local.INFO: GPS data processed {"connection_id":54947,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:47:40] local.INFO: Acknowledgment sent {"connection_id":54947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:47:44] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:47:44] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:47:44] local.INFO: IMEI packet received {"connection_id":55100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":55100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:47:49] local.INFO: TCP Data received {"connection_id":55100,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:47:49] local.INFO: Processing buffer {"connection_id":55100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:47:49] local.INFO: IMEI packet received {"connection_id":55100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 22:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":55100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:47:53] local.INFO: TCP Data received {"connection_id":55854,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:47:53] local.INFO: Processing buffer {"connection_id":55854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:47:53] local.INFO: Packet analysis {"connection_id":55854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:47:53] local.INFO: Extracted packet for processing {"connection_id":55854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:47: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-04-26 22: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-04-26 22:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":55854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":55854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":55854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:47:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:47:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:47:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":55854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:47:53] local.INFO: GPS data processed {"connection_id":55854,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:47:53] local.INFO: Acknowledgment sent {"connection_id":55854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:48:06] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:06] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:06] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:48:06] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:06] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:06] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:48:11] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:11] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:48:11] local.INFO: IMEI packet received {"connection_id":55101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":55101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:48:14] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacc4d40012d1aa580071f98380039011a1d..."} 
[2026-04-26 22:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacc4d40012d1aa580071f98380039011a1d..."} 
[2026-04-26 22:48:14] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacc4d40012d1aa580071f98380039011a1d..."} 
[2026-04-26 22:48:14] local.INFO: Packet analysis {"connection_id":55101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacc"} 
[2026-04-26 22:48:14] local.INFO: Extracted packet for processing {"connection_id":55101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacc"} 
[2026-04-26 22:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756721024,"raw_latitude":119511096,"longitude_deg":75.6721024,"latitude_deg":11.9511096,"altitude":57,"angle":282,"satellites":29,"speed":8,"hex_longitude":"2d1aa580","hex_latitude":"071f9838","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969312512001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888713015656448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920574165435785216,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48: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-04-26 22:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1777223880000,"timestamp_ms":1777223880000,"timestamp_seconds":1777223880,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacc4d40"} 
[2026-04-26 22:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-26 22:48:14] 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-04-26 22: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-04-26 22:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":55101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":55101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":55101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:48:14] 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-04-26 22:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969312512001,"66":13472,"106":206,"83":41984,"24":8,"16":114888713015656448,"45":1920574165435785216},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969312512001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888713015656448,"km_value":114888713015656.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920574165435785216,"description":"Unknown IO ID 45"} 
[2026-04-26 22:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969312512001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1920574165435785216}} 
[2026-04-26 22:48:14] local.INFO: TCP Data received {"connection_id":55855,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:48:14] local.INFO: Processing buffer {"connection_id":55855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:48:14] local.INFO: IMEI packet received {"connection_id":55855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":55855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":55101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:48:14] local.INFO: GPS data processed {"connection_id":55101,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:48:14] local.INFO: Acknowledgment sent {"connection_id":55101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:48:18] local.INFO: TCP Data received {"connection_id":55855,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:48:18] local.INFO: Processing buffer {"connection_id":55855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:48:18] local.INFO: IMEI packet received {"connection_id":55855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":55855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:48:19] local.INFO: TCP Data received {"connection_id":55855,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:48:19] local.INFO: Processing buffer {"connection_id":55855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:48:19] local.INFO: Packet analysis {"connection_id":55855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:48:19] local.INFO: Extracted packet for processing {"connection_id":55855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:48:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:48:19] 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-04-26 22: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-04-26 22:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:48:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:48:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:48:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":55855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:48:19] local.INFO: GPS data processed {"connection_id":55855,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:48:19] local.INFO: Acknowledgment sent {"connection_id":55855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:48:45] local.INFO: TCP Data received {"connection_id":55101,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacc5510012d1aa340071f9920003901281d..."} 
[2026-04-26 22:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacc5510012d1aa340071f9920003901281d..."} 
[2026-04-26 22:48:45] local.INFO: Processing buffer {"connection_id":55101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacc5510012d1aa340071f9920003901281d..."} 
[2026-04-26 22:48:45] local.INFO: Packet analysis {"connection_id":55101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacc"} 
[2026-04-26 22:48:45] local.INFO: Extracted packet for processing {"connection_id":55101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacc"} 
[2026-04-26 22:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756720448,"raw_latitude":119511328,"longitude_deg":75.6720448,"latitude_deg":11.9511328,"altitude":57,"angle":296,"satellites":29,"speed":16,"hex_longitude":"2d1aa340","hex_latitude":"071f9920","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969313280001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114888743080427520,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920081584226580480,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48: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-04-26 22:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777223882000,"timestamp_ms":1777223882000,"timestamp_seconds":1777223882,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacc5510"} 
[2026-04-26 22:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 22:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":55101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":55101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:48:45] 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-04-26 22:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969313280001,"66":13352,"106":206,"83":41984,"24":16,"16":114888743080427520,"45":1920081584226580480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969313280001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:48:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114888743080427520,"km_value":114888743080427.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920081584226580480,"description":"Unknown IO ID 45"} 
[2026-04-26 22:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969313280001,"power":13352,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1920081584226580480}} 
[2026-04-26 22:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":55101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:48:45] local.INFO: GPS data processed {"connection_id":55101,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:48:45] local.INFO: Acknowledgment sent {"connection_id":55101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:48:52] local.INFO: TCP Data received {"connection_id":55855,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:48:52] local.INFO: Processing buffer {"connection_id":55855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:48:52] local.INFO: Packet analysis {"connection_id":55855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:48:52] local.INFO: Extracted packet for processing {"connection_id":55855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:48:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:48:52] 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-04-26 22: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-04-26 22:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:48:52] 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-04-26 22:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:48:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:48:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:48:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":55855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:48:52] local.INFO: GPS data processed {"connection_id":55855,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:48:52] local.INFO: Acknowledgment sent {"connection_id":55855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:49:01] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:01] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:01] local.INFO: IMEI packet received {"connection_id":55103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":55103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:49:01] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:01] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:01] local.INFO: IMEI packet received {"connection_id":55103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":55103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:49:03] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:03] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:03] local.INFO: IMEI packet received {"connection_id":55103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":55103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:49:05] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:05] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:49:05] local.INFO: IMEI packet received {"connection_id":55103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":55103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:49:07] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacd33b8012d19f7c0071ffc28002d01131f..."} 
[2026-04-26 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacd33b8012d19f7c0071ffc28002d01131f..."} 
[2026-04-26 22:49:07] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacd33b8012d19f7c0071ffc28002d01131f..."} 
[2026-04-26 22:49:07] local.INFO: Packet analysis {"connection_id":55103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacd"} 
[2026-04-26 22:49:07] local.INFO: Extracted packet for processing {"connection_id":55103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacd"} 
[2026-04-26 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756676544,"raw_latitude":119536680,"longitude_deg":75.6676544,"latitude_deg":11.953668,"altitude":45,"angle":275,"satellites":31,"speed":33,"hex_longitude":"2d19f7c0","hex_latitude":"071ffc28","is_valid_coordinates":true} 
[2026-04-26 22:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969327872001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891272816164864,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1873004894378184704,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777223939000,"timestamp_ms":1777223939000,"timestamp_seconds":1777223939,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacd33b8"} 
[2026-04-26 22:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-26 22:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":55103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":55103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":55103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:49:07] 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-04-26 22:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969327872001,"66":13341,"106":206,"83":41984,"24":33,"16":114891272816164864,"45":1873004894378184704},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969327872001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:49:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891272816164864,"km_value":114891272816164.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1873004894378184704,"description":"Unknown IO ID 45"} 
[2026-04-26 22:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969327872001,"power":13341,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1873004894378184704}} 
[2026-04-26 22:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":55103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:49:07] local.INFO: GPS data processed {"connection_id":55103,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:49:07] local.INFO: Acknowledgment sent {"connection_id":55103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:49:13] local.INFO: TCP Data received {"connection_id":55180,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:49:13] local.INFO: Processing buffer {"connection_id":55180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:49:13] local.INFO: IMEI packet received {"connection_id":55180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":55180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:49:18] local.INFO: TCP Data received {"connection_id":55180,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:49:18] local.INFO: Processing buffer {"connection_id":55180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:49:18] local.INFO: IMEI packet received {"connection_id":55180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":55180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:49:19] local.INFO: TCP Data received {"connection_id":55180,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:49:19] local.INFO: Processing buffer {"connection_id":55180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:49:19] local.INFO: Packet analysis {"connection_id":55180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:49:19] local.INFO: Extracted packet for processing {"connection_id":55180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:49:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:49:19] 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-04-26 22:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:49:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":55180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:49:19] local.INFO: GPS data processed {"connection_id":55180,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:49:19] local.INFO: Acknowledgment sent {"connection_id":55180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:49:38] local.INFO: TCP Data received {"connection_id":55103,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacd3b88012d19f1c0071ffba0002d01041f..."} 
[2026-04-26 22:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacd3b88012d19f1c0071ffba0002d01041f..."} 
[2026-04-26 22:49:38] local.INFO: Processing buffer {"connection_id":55103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacd3b88012d19f1c0071ffba0002d01041f..."} 
[2026-04-26 22:49:38] local.INFO: Packet analysis {"connection_id":55103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacd"} 
[2026-04-26 22:49:38] local.INFO: Extracted packet for processing {"connection_id":55103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacd"} 
[2026-04-26 22:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756675008,"raw_latitude":119536544,"longitude_deg":75.6675008,"latitude_deg":11.9536544,"altitude":45,"angle":260,"satellites":31,"speed":29,"hex_longitude":"2d19f1c0","hex_latitude":"071ffba0","is_valid_coordinates":true} 
[2026-04-26 22:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969328384001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891345830608896,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871175307029653504,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777223941000,"timestamp_ms":1777223941000,"timestamp_seconds":1777223941,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacd3b88"} 
[2026-04-26 22:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-26 22:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":55103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":55103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":55103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969328384001,"66":13461,"106":206,"83":41984,"24":29,"16":114891345830608896,"45":1871175307029653504},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969328384001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:49:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891345830608896,"km_value":114891345830608.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871175307029653504,"description":"Unknown IO ID 45"} 
[2026-04-26 22:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969328384001,"power":13461,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1871175307029653504}} 
[2026-04-26 22:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":55103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:49:38] local.INFO: GPS data processed {"connection_id":55103,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:49:38] local.INFO: Acknowledgment sent {"connection_id":55103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:49:50] local.INFO: TCP Data received {"connection_id":55180,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:49:50] local.INFO: Processing buffer {"connection_id":55180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:49:50] local.INFO: Packet analysis {"connection_id":55180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:49:50] local.INFO: Extracted packet for processing {"connection_id":55180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:49:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:49:50] 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-04-26 22: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-04-26 22:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:49:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":55180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:49:50] local.INFO: GPS data processed {"connection_id":55180,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:49:50] local.INFO: Acknowledgment sent {"connection_id":55180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:50:00] local.INFO: TCP Data received {"connection_id":54949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:00] local.INFO: Processing buffer {"connection_id":54949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:00] local.INFO: IMEI packet received {"connection_id":54949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":54949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:50:01] local.INFO: TCP Data received {"connection_id":54949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:01] local.INFO: Processing buffer {"connection_id":54949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:01] local.INFO: IMEI packet received {"connection_id":54949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":54949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:50:12] local.INFO: TCP Data received {"connection_id":54949,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:12] local.INFO: Processing buffer {"connection_id":54949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:50:12] local.INFO: IMEI packet received {"connection_id":54949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":54949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:50:18] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:50:18] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:50:18] local.INFO: IMEI packet received {"connection_id":55104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":55104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:50:23] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:50:23] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:50:23] local.INFO: IMEI packet received {"connection_id":55104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":55104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:50:24] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:50:24] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:50:24] local.INFO: Packet analysis {"connection_id":55104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:50:24] local.INFO: Extracted packet for processing {"connection_id":55104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:50:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:50:24] 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-04-26 22: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-04-26 22:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:50:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:50:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:50:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":55104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:50:24] local.INFO: GPS data processed {"connection_id":55104,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:50:24] local.INFO: Acknowledgment sent {"connection_id":55104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:50:25] local.INFO: TCP Data received {"connection_id":54949,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacd81d8012d19dd00072004d0003000d820..."} 
[2026-04-26 22:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacd81d8012d19dd00072004d0003000d820..."} 
[2026-04-26 22:50:25] local.INFO: Processing buffer {"connection_id":54949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacd81d8012d19dd00072004d0003000d820..."} 
[2026-04-26 22:50:25] local.INFO: Packet analysis {"connection_id":54949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacd"} 
[2026-04-26 22:50:25] local.INFO: Extracted packet for processing {"connection_id":54949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacd"} 
[2026-04-26 22:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756669696,"raw_latitude":119538896,"longitude_deg":75.6669696,"latitude_deg":11.9538896,"altitude":48,"angle":216,"satellites":32,"speed":9,"hex_longitude":"2d19dd00","hex_latitude":"072004d0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 22:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969333248001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114891698017927168,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863786588891613184,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1777223959000,"timestamp_ms":1777223959000,"timestamp_seconds":1777223959,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacd81d8"} 
[2026-04-26 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-04-26 22:50:25] 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-04-26 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-26 22:50:25] 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-04-26 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-04-26 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-04-26 22:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":54949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":54949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":54949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:50:25] 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-04-26 22:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969333248001,"66":13135,"106":206,"83":41984,"24":9,"16":114891698017927168,"45":1863786588891613184},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969333248001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:50:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114891698017927168,"km_value":114891698017927.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863786588891613184,"description":"Unknown IO ID 45"} 
[2026-04-26 22:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969333248001,"power":13135,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1863786588891613184}} 
[2026-04-26 22:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":54949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:50:25] local.INFO: GPS data processed {"connection_id":54949,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:50:25] local.INFO: Acknowledgment sent {"connection_id":54949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:50:57] local.INFO: TCP Data received {"connection_id":55104,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:50:57] local.INFO: Processing buffer {"connection_id":55104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:50:57] local.INFO: Packet analysis {"connection_id":55104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:50:57] local.INFO: Extracted packet for processing {"connection_id":55104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:50:57] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:50:57] 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-04-26 22:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":55104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":55104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:50: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-04-26 22:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:50:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:50:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":55104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:50:57] local.INFO: GPS data processed {"connection_id":55104,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:50:57] local.INFO: Acknowledgment sent {"connection_id":55104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:51:01] local.INFO: TCP Data received {"connection_id":55182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:51:01] local.INFO: Processing buffer {"connection_id":55182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:51:01] local.INFO: IMEI packet received {"connection_id":55182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":55182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:51:06] local.INFO: TCP Data received {"connection_id":55182,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:51:06] local.INFO: Processing buffer {"connection_id":55182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:51:06] local.INFO: IMEI packet received {"connection_id":55182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":55182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:51:10] local.INFO: TCP Data received {"connection_id":55182,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacec228012d197e00071feb38003600fb21..."} 
[2026-04-26 22:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacec228012d197e00071feb38003600fb21..."} 
[2026-04-26 22:51:10] local.INFO: Processing buffer {"connection_id":55182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacec228012d197e00071feb38003600fb21..."} 
[2026-04-26 22:51:10] local.INFO: Packet analysis {"connection_id":55182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:51:10] local.INFO: Extracted packet for processing {"connection_id":55182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119532344,"longitude_deg":75.6645376,"latitude_deg":11.9532344,"altitude":54,"angle":251,"satellites":33,"speed":17,"hex_longitude":"2d197e00","hex_latitude":"071feb38","is_valid_coordinates":true} 
[2026-04-26 22:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969353472001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893003687985152,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474536960,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51: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-04-26 22:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1777224041000,"timestamp_ms":1777224041000,"timestamp_seconds":1777224041,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacec228"} 
[2026-04-26 22:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:51:10] 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-04-26 22:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-26 22:51:10] 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-04-26 22:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":55182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":55182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":55182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:51:10] 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-04-26 22:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969353472001,"66":13493,"106":206,"83":41984,"24":17,"16":114893003687985152,"45":1838594578474536960},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969353472001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:51:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893003687985152,"km_value":114893003687985.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474536960,"description":"Unknown IO ID 45"} 
[2026-04-26 22:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969353472001,"power":13493,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1838594578474536960}} 
[2026-04-26 22:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":55182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:51:10] local.INFO: GPS data processed {"connection_id":55182,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:51:10] local.INFO: Acknowledgment sent {"connection_id":55182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:51:13] local.INFO: TCP Data received {"connection_id":55856,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:51:13] local.INFO: Processing buffer {"connection_id":55856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:51:13] local.INFO: IMEI packet received {"connection_id":55856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":55856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:51:18] local.INFO: TCP Data received {"connection_id":55856,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:51:18] local.INFO: Processing buffer {"connection_id":55856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:51:18] local.INFO: IMEI packet received {"connection_id":55856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":55856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:51:21] local.INFO: TCP Data received {"connection_id":55856,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:51:21] local.INFO: Processing buffer {"connection_id":55856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:51:21] local.INFO: Packet analysis {"connection_id":55856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:51:21] local.INFO: Extracted packet for processing {"connection_id":55856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:51:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:51: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-04-26 22: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-04-26 22:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:51: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-04-26 22:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:51:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:51:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:51:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":55856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:51:21] local.INFO: GPS data processed {"connection_id":55856,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:51:21] local.INFO: Acknowledgment sent {"connection_id":55856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:51:56] local.INFO: TCP Data received {"connection_id":55856,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:51:56] local.INFO: Processing buffer {"connection_id":55856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:51:56] local.INFO: Packet analysis {"connection_id":55856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:51:56] local.INFO: Extracted packet for processing {"connection_id":55856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:51:56] 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-04-26 22: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-04-26 22:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":55856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":55856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":55856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:51:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:51:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":55856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:51:56] local.INFO: GPS data processed {"connection_id":55856,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:51:56] local.INFO: Acknowledgment sent {"connection_id":55856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:52:01] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:01] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:01] local.INFO: IMEI packet received {"connection_id":55105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":55105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:52:07] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:07] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:07] local.INFO: IMEI packet received {"connection_id":55105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":55105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:52:12] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:12] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:52:12] local.INFO: IMEI packet received {"connection_id":55105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":55105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:52:13] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacec610012d197c40071feaf00036010921..."} 
[2026-04-26 22:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacec610012d197c40071feaf00036010921..."} 
[2026-04-26 22:52:13] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacec610012d197c40071feaf00036010921..."} 
[2026-04-26 22:52:13] local.INFO: Packet analysis {"connection_id":55105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:52:13] local.INFO: Extracted packet for processing {"connection_id":55105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756644928,"raw_latitude":119532272,"longitude_deg":75.6644928,"latitude_deg":11.9532272,"altitude":54,"angle":265,"satellites":33,"speed":17,"hex_longitude":"2d197c40","hex_latitude":"071feaf0","is_valid_coordinates":true} 
[2026-04-26 22:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969354496001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893025162821632,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836905728614021120,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777224042000,"timestamp_ms":1777224042000,"timestamp_seconds":1777224042,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacec610"} 
[2026-04-26 22:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-26 22:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:52:13] 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-04-26 22:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969354496001,"66":13352,"106":206,"83":41984,"24":17,"16":114893025162821632,"45":1836905728614021120},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969354496001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:52:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:52:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893025162821632,"km_value":114893025162821.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836905728614021120,"description":"Unknown IO ID 45"} 
[2026-04-26 22:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969354496001,"power":13352,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836905728614021120}} 
[2026-04-26 22:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":55105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:52:13] local.INFO: GPS data processed {"connection_id":55105,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:52:13] local.INFO: Acknowledgment sent {"connection_id":55105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:52:18] local.INFO: TCP Data received {"connection_id":55857,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:52:18] local.INFO: Processing buffer {"connection_id":55857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:52:18] local.INFO: IMEI packet received {"connection_id":55857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":55857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:52:23] local.INFO: TCP Data received {"connection_id":55857,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:52:23] local.INFO: Processing buffer {"connection_id":55857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:52:23] local.INFO: IMEI packet received {"connection_id":55857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":55857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:52:24] local.INFO: TCP Data received {"connection_id":55857,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:52:24] local.INFO: Processing buffer {"connection_id":55857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacb5ef8012cb299c007822ce0005700122f..."} 
[2026-04-26 22:52:24] local.INFO: Packet analysis {"connection_id":55857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:52:24] local.INFO: Extracted packet for processing {"connection_id":55857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacb"} 
[2026-04-26 22:52:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":87,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969220608001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777223819000,"timestamp_ms":1777223819000,"timestamp_seconds":1777223819,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacb5ef8"} 
[2026-04-26 22:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:52:24] 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-04-26 22: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-04-26 22:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969220608001,"66":25180,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969220608001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:52:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:52:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:52:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969220608001,"power":25180,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":55857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:52:24] local.INFO: GPS data processed {"connection_id":55857,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:52:24] local.INFO: Acknowledgment sent {"connection_id":55857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:52:43] local.INFO: TCP Data received {"connection_id":55105,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacecde0012d197880071feb180036011621..."} 
[2026-04-26 22:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacecde0012d197880071feb180036011621..."} 
[2026-04-26 22:52:43] local.INFO: Processing buffer {"connection_id":55105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacecde0012d197880071feb180036011621..."} 
[2026-04-26 22:52:43] local.INFO: Packet analysis {"connection_id":55105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:52:43] local.INFO: Extracted packet for processing {"connection_id":55105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756643968,"raw_latitude":119532312,"longitude_deg":75.6643968,"latitude_deg":11.9532312,"altitude":54,"angle":278,"satellites":33,"speed":17,"hex_longitude":"2d197880","hex_latitude":"071feb18","is_valid_coordinates":true} 
[2026-04-26 22:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969354752001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893068112494592,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836413147404759040,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52: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-04-26 22:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1777224044000,"timestamp_ms":1777224044000,"timestamp_seconds":1777224044,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacecde0"} 
[2026-04-26 22:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:52:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 22:52:43] 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-04-26 22:52:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":55105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":55105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":55105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:52:43] 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-04-26 22:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969354752001,"66":13352,"106":206,"83":41984,"24":17,"16":114893068112494592,"45":1836413147404759040},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969354752001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:52:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:52:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893068112494592,"km_value":114893068112494.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836413147404759040,"description":"Unknown IO ID 45"} 
[2026-04-26 22:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969354752001,"power":13352,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836413147404759040}} 
[2026-04-26 22:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":55105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:52:44] local.INFO: GPS data processed {"connection_id":55105,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:52:44] local.INFO: Acknowledgment sent {"connection_id":55105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:52:54] local.INFO: TCP Data received {"connection_id":54951,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54951,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:52:54] local.INFO: Processing buffer {"connection_id":54951,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:52:54] local.INFO: IMEI packet received {"connection_id":54951,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":54951,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:52:55] local.INFO: TCP Data received {"connection_id":55857,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:52:55] local.INFO: Processing buffer {"connection_id":55857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:52:55] local.INFO: Packet analysis {"connection_id":55857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:52:55] local.INFO: Extracted packet for processing {"connection_id":55857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:52:55] 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-04-26 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:52: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-04-26 22:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:52:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:52:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:52:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":55857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:52:55] local.INFO: GPS data processed {"connection_id":55857,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:52:55] local.INFO: Acknowledgment sent {"connection_id":55857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:53:07] local.INFO: TCP Data received {"connection_id":55106,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:53:07] local.INFO: Processing buffer {"connection_id":55106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:53:07] local.INFO: IMEI packet received {"connection_id":55106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":55106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:53:12] local.INFO: TCP Data received {"connection_id":55106,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:53:12] local.INFO: Processing buffer {"connection_id":55106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:53:12] local.INFO: IMEI packet received {"connection_id":55106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":55106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:53:13] local.INFO: TCP Data received {"connection_id":55106,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacef108012d196bc0071febd00036010921..."} 
[2026-04-26 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacef108012d196bc0071febd00036010921..."} 
[2026-04-26 22:53:13] local.INFO: Processing buffer {"connection_id":55106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacef108012d196bc0071febd00036010921..."} 
[2026-04-26 22:53:13] local.INFO: Packet analysis {"connection_id":55106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:53:13] local.INFO: Extracted packet for processing {"connection_id":55106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcace"} 
[2026-04-26 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119532496,"longitude_deg":75.6640704,"latitude_deg":11.9532496,"altitude":54,"angle":265,"satellites":33,"speed":9,"hex_longitude":"2d196bc0","hex_latitude":"071febd0","is_valid_coordinates":true} 
[2026-04-26 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969355264001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893222731317248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835357616242104320,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777224053000,"timestamp_ms":1777224053000,"timestamp_seconds":1777224053,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacef108"} 
[2026-04-26 22:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-26 22:53:13] 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-04-26 22:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:53:13] 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-04-26 22:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:53:13] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969355264001,"66":12613,"106":206,"83":41984,"24":9,"16":114893222731317248,"45":1835357616242104320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969355264001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893222731317248,"km_value":114893222731317.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835357616242104320,"description":"Unknown IO ID 45"} 
[2026-04-26 22:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969355264001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1835357616242104320}} 
[2026-04-26 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:53:13] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:53:13] local.INFO: IMEI packet received {"connection_id":55183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":55183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":55106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:53:13] local.INFO: GPS data processed {"connection_id":55106,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:53:13] local.INFO: Acknowledgment sent {"connection_id":55106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:53:17] local.INFO: TCP Data received {"connection_id":55106,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacf4310012d1968c0071febf80037011320..."} 
[2026-04-26 22:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacf4310012d1968c0071febf80037011320..."} 
[2026-04-26 22:53:17] local.INFO: Processing buffer {"connection_id":55106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacf4310012d1968c0071febf80037011320..."} 
[2026-04-26 22:53:17] local.INFO: Packet analysis {"connection_id":55106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:53:17] local.INFO: Extracted packet for processing {"connection_id":55106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756639936,"raw_latitude":119532536,"longitude_deg":75.6639936,"latitude_deg":11.9532536,"altitude":55,"angle":275,"satellites":32,"speed":0,"hex_longitude":"2d1968c0","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969357568001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893261386022912,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289090560,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53: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-04-26 22:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777224074000,"timestamp_ms":1777224074000,"timestamp_seconds":1777224074,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacf4310"} 
[2026-04-26 22:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:53: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-04-26 22: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":69,"data_length":795,"current_offset":136} 
[2026-04-26 22:53: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-04-26 22: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-04-26 22:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:53:17] 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-04-26 22:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969357568001,"66":12819,"106":206,"83":41984,"24":0,"16":114893261386022912,"45":1831768810289090560},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969357568001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:53:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893261386022912,"km_value":114893261386022.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289090560,"description":"Unknown IO ID 45"} 
[2026-04-26 22:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969357568001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831768810289090560}} 
[2026-04-26 22:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":55106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:53:17] local.INFO: GPS data processed {"connection_id":55106,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:53:17] local.INFO: Acknowledgment sent {"connection_id":55106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:53:18] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:53:18] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:53:18] local.INFO: IMEI packet received {"connection_id":55183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":55183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:53:19] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:53:19] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:53:19] local.INFO: Packet analysis {"connection_id":55183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:53:19] local.INFO: Extracted packet for processing {"connection_id":55183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:53:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:53:19] 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-04-26 22: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:53:19] 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-04-26 22: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-04-26 22:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:53:19] 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-04-26 22:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:53:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:53:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:53:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":55183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:53:19] local.INFO: GPS data processed {"connection_id":55183,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:53:19] local.INFO: Acknowledgment sent {"connection_id":55183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:53:39] local.INFO: TCP Data received {"connection_id":55184,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:53:39] local.INFO: Processing buffer {"connection_id":55184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:53:39] local.INFO: IMEI packet received {"connection_id":55184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":55184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:53:50] local.INFO: TCP Data received {"connection_id":55183,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:53:50] local.INFO: Processing buffer {"connection_id":55183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:53:50] local.INFO: Packet analysis {"connection_id":55183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:53:50] local.INFO: Extracted packet for processing {"connection_id":55183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:53:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:53:50] 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-04-26 22:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:53:50] 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-04-26 22: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-04-26 22:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:53:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:53:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:53:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":55183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:53:50] local.INFO: GPS data processed {"connection_id":55183,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:53:50] local.INFO: Acknowledgment sent {"connection_id":55183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:54:02] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:54:02] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:54:02] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:54:07] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:54:07] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:54:07] local.INFO: IMEI packet received {"connection_id":54952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":54952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:54:08] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacf4ec8012d1967c0071fecb80038014521..."} 
[2026-04-26 22:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacf4ec8012d1967c0071fecb80038014521..."} 
[2026-04-26 22:54:08] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacf4ec8012d1967c0071fecb80038014521..."} 
[2026-04-26 22:54:08] local.INFO: Packet analysis {"connection_id":54952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:08] local.INFO: Extracted packet for processing {"connection_id":54952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:08] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532728,"longitude_deg":75.663968,"latitude_deg":11.9532728,"altitude":56,"angle":325,"satellites":33,"speed":3,"hex_longitude":"2d1967c0","hex_latitude":"071fecb8","is_valid_coordinates":true} 
[2026-04-26 22:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969362944001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893274270924800,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830924385358968832,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224077000,"timestamp_ms":1777224077000,"timestamp_seconds":1777224077,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacf4ec8"} 
[2026-04-26 22:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3402542752,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":13793352415710208,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505352749252608,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":-3569120291825541696,"corrected_to":0} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3946315830,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3819316371100336384,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84752146197061615,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182066500862208,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":52,"raw_value":9151540299745513043,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301031547169476639,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195195136,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:08] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,46,45,192,235,54,33,10,66,205,128,198,64,1,240,40,227,202,31,4,113,17,178,132,32,239,52,2,152,7,55,18,164,123,69],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0},{"io_id":202,"original":-3569120291825541696,"validated":0}]} 
[2026-04-26 22:54:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963470175222628352,"timestamp_seconds":3963470175222628.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-26 22:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":54952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:54:08] 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-04-26 22:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969362944001,"66":13276,"106":206,"83":41984,"24":3,"16":114893274270924800,"45":1830924385358968832},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969362944001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:54:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:54:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893274270924800,"km_value":114893274270924.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830924385358968832,"description":"Unknown IO ID 45"} 
[2026-04-26 22:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969362944001,"power":13276,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830924385358968832}} 
[2026-04-26 22:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":54952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:54:08] local.INFO: GPS data processed {"connection_id":54952,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:54:08] local.INFO: Acknowledgment sent {"connection_id":54952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:54:18] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:54:18] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:54:18] local.INFO: IMEI packet received {"connection_id":55186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":55186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:54:23] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:54:23] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:54:23] local.INFO: IMEI packet received {"connection_id":55186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":55186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:54:24] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:54:24] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:54:24] local.INFO: Packet analysis {"connection_id":55186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:24] local.INFO: Extracted packet for processing {"connection_id":55186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:54:24] 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-04-26 22:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:54: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-04-26 22:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:54:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:54:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:54:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":55186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:54:24] local.INFO: GPS data processed {"connection_id":55186,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:54:24] local.INFO: Acknowledgment sent {"connection_id":55186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:54:28] local.INFO: TCP Data received {"connection_id":55186,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:54:28] local.INFO: Processing buffer {"connection_id":55186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:54:28] local.INFO: Packet analysis {"connection_id":55186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:28] local.INFO: Extracted packet for processing {"connection_id":55186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:54:28] 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-04-26 22: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:54:28] 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-04-26 22:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:54:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:54:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":55186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:54:28] local.INFO: GPS data processed {"connection_id":55186,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:54:28] local.INFO: Acknowledgment sent {"connection_id":55186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:54:39] local.INFO: TCP Data received {"connection_id":54952,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacf52b0012d1967c0071fed180038015321..."} 
[2026-04-26 22:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacf52b0012d1967c0071fed180038015321..."} 
[2026-04-26 22:54:39] local.INFO: Processing buffer {"connection_id":54952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacf52b0012d1967c0071fed180038015321..."} 
[2026-04-26 22:54:39] local.INFO: Packet analysis {"connection_id":54952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:39] local.INFO: Extracted packet for processing {"connection_id":54952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:54:39] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532824,"longitude_deg":75.663968,"latitude_deg":11.9532824,"altitude":56,"angle":339,"satellites":33,"speed":3,"hex_longitude":"2d1967c0","hex_latitude":"071fed18","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969363712001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893282860859392,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382307328,"note":"Value kept but may cause issues"} 
[2026-04-26 22:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224078000,"timestamp_ms":1777224078000,"timestamp_seconds":1777224078,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacf52b0"} 
[2026-04-26 22:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-26 22:54:39] 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-04-26 22: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-04-26 22:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969363712001,"66":13472,"106":206,"83":41984,"24":3,"16":114893282860859392,"45":1830642910382307328},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969363712001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:54:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:54:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893282860859392,"km_value":114893282860859.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382307328,"description":"Unknown IO ID 45"} 
[2026-04-26 22:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969363712001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1830642910382307328}} 
[2026-04-26 22:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":54952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:54:39] local.INFO: GPS data processed {"connection_id":54952,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:54:39] local.INFO: Acknowledgment sent {"connection_id":54952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:55:01] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:55:01] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:55:01] local.INFO: IMEI packet received {"connection_id":55108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":55108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:55:06] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:55:06] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:55:06] local.INFO: IMEI packet received {"connection_id":55108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":55108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:55:08] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacf6e08012d1966c0071fefb00038014721..."} 
[2026-04-26 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacf6e08012d1966c0071fefb00038014721..."} 
[2026-04-26 22:55:08] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacf6e08012d1966c0071fefb00038014721..."} 
[2026-04-26 22:55:08] local.INFO: Packet analysis {"connection_id":55108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:08] local.INFO: Extracted packet for processing {"connection_id":55108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756639424,"raw_latitude":119533488,"longitude_deg":75.6639424,"latitude_deg":11.9533488,"altitude":56,"angle":327,"satellites":33,"speed":4,"hex_longitude":"2d1966c0","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-04-26 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969363968001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893317220597760,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382331904,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224085000,"timestamp_ms":1777224085000,"timestamp_seconds":1777224085,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacf6e08"} 
[2026-04-26 22:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-26 22:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:55:08] 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-04-26 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969363968001,"66":12504,"106":206,"83":41984,"24":4,"16":114893317220597760,"45":1830642910382331904},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969363968001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:55:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893317220597760,"km_value":114893317220597.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382331904,"description":"Unknown IO ID 45"} 
[2026-04-26 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969363968001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1830642910382331904}} 
[2026-04-26 22:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":55108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:55:08] local.INFO: GPS data processed {"connection_id":55108,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:55:08] local.INFO: Acknowledgment sent {"connection_id":55108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:55:13] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:55:13] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:55:13] local.INFO: IMEI packet received {"connection_id":55109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":55109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:55:18] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:55:18] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:55:18] local.INFO: IMEI packet received {"connection_id":55109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":55109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:55:21] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:55:21] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:55:21] local.INFO: Packet analysis {"connection_id":55109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:21] local.INFO: Extracted packet for processing {"connection_id":55109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:21] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:55:21] 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-04-26 22: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:55:21] 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-04-26 22: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-04-26 22:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":55109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:55: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-04-26 22:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:55:21] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:55:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:55:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":55109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:55:21] local.INFO: GPS data processed {"connection_id":55109,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:55:21] local.INFO: Acknowledgment sent {"connection_id":55109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:55:41] local.INFO: TCP Data received {"connection_id":55108,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:55:41] local.INFO: Processing buffer {"connection_id":55108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:55:41] local.INFO: Packet analysis {"connection_id":55108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:41] local.INFO: Extracted packet for processing {"connection_id":55108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533656,"longitude_deg":75.6639232,"latitude_deg":11.9533656,"altitude":57,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-04-26 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969365760001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830361435405791232,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55: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-04-26 22:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1777224100000,"timestamp_ms":1777224100000,"timestamp_seconds":1777224100,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacfa8a0"} 
[2026-04-26 22:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-26 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-26 22:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:55: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-04-26 22:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":55108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":55108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":55108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:55:41] 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-04-26 22:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969365760001,"66":12939,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830361435405791232},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969365760001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:55:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:55:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830361435405791232,"description":"Unknown IO ID 45"} 
[2026-04-26 22:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969365760001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830361435405791232}} 
[2026-04-26 22:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":55108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:55:42] local.INFO: GPS data processed {"connection_id":55108,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:55:42] local.INFO: Acknowledgment sent {"connection_id":55108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:55:52] local.INFO: TCP Data received {"connection_id":55109,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:55:52] local.INFO: Processing buffer {"connection_id":55109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:55:52] local.INFO: Packet analysis {"connection_id":55109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:52] local.INFO: Extracted packet for processing {"connection_id":55109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:55:52] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:55:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:55:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:55:52] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:55:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:55:52] 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-04-26 22: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:55: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-04-26 22: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-04-26 22:55:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:55:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:55:52] local.INFO: Teltonika packet parsed successfully {"connection_id":55109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:55:52] local.INFO: Passing IMEI to GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:55:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":55109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:55: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-04-26 22:55:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:55:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:55:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:55:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:55:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:55:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:55:52] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:55:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:55:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:55:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:55:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":55109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:55:52] local.INFO: GPS data processed {"connection_id":55109,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:55:52] local.INFO: Acknowledgment sent {"connection_id":55109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:56:01] local.INFO: TCP Data received {"connection_id":55858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:56:01] local.INFO: Processing buffer {"connection_id":55858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:56:01] local.INFO: IMEI packet received {"connection_id":55858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":55858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:56:07] local.INFO: TCP Data received {"connection_id":55858,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:56:07] local.INFO: Processing buffer {"connection_id":55858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:56:07] local.INFO: IMEI packet received {"connection_id":55858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":55858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:56:08] local.INFO: TCP Data received {"connection_id":55858,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:56:08] local.INFO: Processing buffer {"connection_id":55858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:56:08] local.INFO: Packet analysis {"connection_id":55858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:08] local.INFO: Extracted packet for processing {"connection_id":55858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533656,"longitude_deg":75.6639232,"latitude_deg":11.9533656,"altitude":57,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-04-26 22:56:08] 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-04-26 22:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224100000,"timestamp_ms":1777224100000,"timestamp_seconds":1777224100,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacfa8a0"} 
[2026-04-26 22:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:56: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-04-26 22: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":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22: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-04-26 22:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:56:08] 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-04-26 22:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":12939,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:56:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:56:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":55858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:56:08] local.INFO: GPS data processed {"connection_id":55858,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:56:08] local.INFO: Acknowledgment sent {"connection_id":55858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:56:13] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:56:13] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:56:13] local.INFO: IMEI packet received {"connection_id":55110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":55110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:56:18] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:56:18] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:56:18] local.INFO: IMEI packet received {"connection_id":55110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":55110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:56:19] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:56:19] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:56:19] local.INFO: Packet analysis {"connection_id":55110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:19] local.INFO: Extracted packet for processing {"connection_id":55110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:56:19] 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-04-26 22:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:56:19] 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-04-26 22:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:56: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-04-26 22:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:56:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:56:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:56:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":55110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:56:19] local.INFO: GPS data processed {"connection_id":55110,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:56:19] local.INFO: Acknowledgment sent {"connection_id":55110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:56:39] local.INFO: TCP Data received {"connection_id":55858,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:56:39] local.INFO: Processing buffer {"connection_id":55858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacfa8a0012d196600071ff0580039013d21..."} 
[2026-04-26 22:56:39] local.INFO: Packet analysis {"connection_id":55858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:39] local.INFO: Extracted packet for processing {"connection_id":55858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533656,"longitude_deg":75.6639232,"latitude_deg":11.9533656,"altitude":57,"angle":317,"satellites":33,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-04-26 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224100000,"timestamp_ms":1777224100000,"timestamp_seconds":1777224100,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacfa8a0"} 
[2026-04-26 22:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:56: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-04-26 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":12939,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:56:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:56:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":12939,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":55858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:56:39] local.INFO: GPS data processed {"connection_id":55858,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:56:39] local.INFO: Acknowledgment sent {"connection_id":55858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:56:50] local.INFO: TCP Data received {"connection_id":55110,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:56:50] local.INFO: Processing buffer {"connection_id":55110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:56:50] local.INFO: Packet analysis {"connection_id":55110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:50] local.INFO: Extracted packet for processing {"connection_id":55110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:56:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:56:50] 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-04-26 22:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:56:50] 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-04-26 22:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:56: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-04-26 22:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:56:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:56:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:56:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":55110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:56:50] local.INFO: GPS data processed {"connection_id":55110,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:56:50] local.INFO: Acknowledgment sent {"connection_id":55110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:57:07] local.INFO: TCP Data received {"connection_id":55859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:57:07] local.INFO: Processing buffer {"connection_id":55859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:57:07] local.INFO: IMEI packet received {"connection_id":55859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":55859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:57:12] local.INFO: TCP Data received {"connection_id":55859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:57:12] local.INFO: Processing buffer {"connection_id":55859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:57:12] local.INFO: IMEI packet received {"connection_id":55859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":55859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:57:13] local.INFO: TCP Data received {"connection_id":54954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:57:13] local.INFO: Processing buffer {"connection_id":54954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:57:13] local.INFO: IMEI packet received {"connection_id":54954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":54954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:57:13] local.INFO: TCP Data received {"connection_id":55859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:57:13] local.INFO: Processing buffer {"connection_id":55859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:57:13] local.INFO: Packet analysis {"connection_id":55859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:57:13] local.INFO: Extracted packet for processing {"connection_id":55859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:57:13] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 22:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 22:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:57:13] 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-04-26 22:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:57:13] 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-04-26 22:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":55859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":55859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":55859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:57:13] 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-04-26 22:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:57:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:57:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":55859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:57:13] local.INFO: GPS data processed {"connection_id":55859,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:57:13] local.INFO: Acknowledgment sent {"connection_id":55859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:57:18] local.INFO: TCP Data received {"connection_id":54954,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:57:18] local.INFO: Processing buffer {"connection_id":54954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:57:18] local.INFO: IMEI packet received {"connection_id":54954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":54954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:57:19] local.INFO: TCP Data received {"connection_id":54954,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:57:19] local.INFO: Processing buffer {"connection_id":54954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcacff6c0012cb299c007822ce0005300122d..."} 
[2026-04-26 22:57:19] local.INFO: Packet analysis {"connection_id":54954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:57:19] local.INFO: Extracted packet for processing {"connection_id":54954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcacf"} 
[2026-04-26 22:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969297664001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224120000,"timestamp_ms":1777224120000,"timestamp_seconds":1777224120,"priority":1,"record_length":96,"hex_timestamp":"0000019dcacff6c0"} 
[2026-04-26 22:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:57:19] 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-04-26 22:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-26 22:57:19] 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-04-26 22:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:57: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-04-26 22:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969297664001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969297664001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:57:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969297664001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":54954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:57:19] local.INFO: GPS data processed {"connection_id":54954,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:57:19] local.INFO: Acknowledgment sent {"connection_id":54954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:57:44] local.INFO: TCP Data received {"connection_id":55859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:57:44] local.INFO: Processing buffer {"connection_id":55859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:57:44] local.INFO: Packet analysis {"connection_id":55859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:57:44] local.INFO: Extracted packet for processing {"connection_id":55859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 22:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57: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-04-26 22:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 22:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":55859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":55859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":55859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:57:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:57:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":55859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:57:44] local.INFO: GPS data processed {"connection_id":55859,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:57:44] local.INFO: Acknowledgment sent {"connection_id":55859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:57:50] local.INFO: TCP Data received {"connection_id":54954,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:57:50] local.INFO: Processing buffer {"connection_id":54954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:57:50] local.INFO: Packet analysis {"connection_id":54954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:57:50] local.INFO: Extracted packet for processing {"connection_id":54954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:57:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 22:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:57:50] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:57:50] 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-04-26 22: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-04-26 22:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:57: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-04-26 22:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:57:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":54954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:57:50] local.INFO: GPS data processed {"connection_id":54954,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:57:50] local.INFO: Acknowledgment sent {"connection_id":54954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:58:02] local.INFO: TCP Data received {"connection_id":55112,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:58:02] local.INFO: Processing buffer {"connection_id":55112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:58:02] local.INFO: IMEI packet received {"connection_id":55112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":55112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:58:07] local.INFO: TCP Data received {"connection_id":55112,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:58:07] local.INFO: Processing buffer {"connection_id":55112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:58:07] local.INFO: IMEI packet received {"connection_id":55112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":55112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:58:08] local.INFO: TCP Data received {"connection_id":55112,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:58:08] local.INFO: Processing buffer {"connection_id":55112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:58:08] local.INFO: Packet analysis {"connection_id":55112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:08] local.INFO: Extracted packet for processing {"connection_id":55112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 22:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 22:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:58: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-04-26 22:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:58:08] 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-04-26 22:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:58:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":55112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:58:08] local.INFO: GPS data processed {"connection_id":55112,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:58:08] local.INFO: Acknowledgment sent {"connection_id":55112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:58:18] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:58:18] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:58:18] local.INFO: IMEI packet received {"connection_id":54955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":54955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:58:23] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:58:23] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:58:23] local.INFO: IMEI packet received {"connection_id":54955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":54955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:58:24] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:58:24] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:58:24] local.INFO: Packet analysis {"connection_id":54955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:24] local.INFO: Extracted packet for processing {"connection_id":54955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 22:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:58:24] 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-04-26 22:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:58:24] 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-04-26 22:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:58:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":54955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:58:24] local.INFO: GPS data processed {"connection_id":54955,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:58:24] local.INFO: Acknowledgment sent {"connection_id":54955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:58:28] local.INFO: TCP Data received {"connection_id":54955,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:58:28] local.INFO: Processing buffer {"connection_id":54955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:58:28] local.INFO: Packet analysis {"connection_id":54955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:28] local.INFO: Extracted packet for processing {"connection_id":54955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 22:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:58:28] 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-04-26 22:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:58:28] 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-04-26 22:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:58:28] 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-04-26 22:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:58:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":54955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:58:28] local.INFO: GPS data processed {"connection_id":54955,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:58:28] local.INFO: Acknowledgment sent {"connection_id":54955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:58:39] local.INFO: TCP Data received {"connection_id":55112,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:58:39] local.INFO: Processing buffer {"connection_id":55112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:58:39] local.INFO: Packet analysis {"connection_id":55112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:39] local.INFO: Extracted packet for processing {"connection_id":55112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 22:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 22:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:58: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-04-26 22:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:58:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":55112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:58:39] local.INFO: GPS data processed {"connection_id":55112,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:58:39] local.INFO: Acknowledgment sent {"connection_id":55112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:59:01] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:59:01] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:59:01] local.INFO: IMEI packet received {"connection_id":54957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 22:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":54957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:59:04] local.INFO: TCP Data received {"connection_id":54956,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:59:04] local.INFO: Processing buffer {"connection_id":54956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:59:04] local.INFO: IMEI packet received {"connection_id":54956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":54956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:59:07] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:59:07] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 22:59:07] local.INFO: IMEI packet received {"connection_id":54957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 22:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":54957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:59:07] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:59:07] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:59:07] local.INFO: Packet analysis {"connection_id":54957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:59:07] local.INFO: Extracted packet for processing {"connection_id":54957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 22:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 22:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 22:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:59:07] 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-04-26 22:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:59:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":54957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:59:08] local.INFO: GPS data processed {"connection_id":54957,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:59:08] local.INFO: Acknowledgment sent {"connection_id":54957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:59:13] local.INFO: TCP Data received {"connection_id":54958,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:13] local.INFO: Processing buffer {"connection_id":54958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:13] local.INFO: IMEI packet received {"connection_id":54958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":54958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:59:38] local.INFO: TCP Data received {"connection_id":54957,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:59:38] local.INFO: Processing buffer {"connection_id":54957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 22:59:38] local.INFO: Packet analysis {"connection_id":54957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:59:38] local.INFO: Extracted packet for processing {"connection_id":54957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 22:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 22:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 22:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 22:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 22:59:38] 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-04-26 22:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 22:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":54957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":54957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":54957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 22:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 22:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 22:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 22:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 22:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 22:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:59:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 22:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 22:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 22:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 22:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":54957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:59:38] local.INFO: GPS data processed {"connection_id":54957,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:59:38] local.INFO: Acknowledgment sent {"connection_id":54957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 22:59:43] local.INFO: TCP Data received {"connection_id":55861,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:43] local.INFO: Processing buffer {"connection_id":55861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:43] local.INFO: IMEI packet received {"connection_id":55861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 22:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":55861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:59:44] local.INFO: TCP Data received {"connection_id":55860,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:59:44] local.INFO: Processing buffer {"connection_id":55860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 22:59:44] local.INFO: IMEI packet received {"connection_id":55860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 22:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":55860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 22:59:48] local.INFO: TCP Data received {"connection_id":55861,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:48] local.INFO: Processing buffer {"connection_id":55861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 22:59:48] local.INFO: IMEI packet received {"connection_id":55861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":55861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 22:59:49] local.INFO: TCP Data received {"connection_id":55861,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:59:49] local.INFO: Processing buffer {"connection_id":55861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 22:59:49] local.INFO: Packet analysis {"connection_id":55861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:59:49] local.INFO: Extracted packet for processing {"connection_id":55861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 22:59:49] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 22: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-04-26 22:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 22:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 22:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 22:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 22:59:49] 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-04-26 22: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 22:59:49] 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-04-26 22: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-04-26 22:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 22:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 22:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 22:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 22:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 22:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 22:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 22:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 22:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 22:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 22:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 22:59:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 22:59:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 22:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 22:59:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 22:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 22:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":55861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 22:59:49] local.INFO: GPS data processed {"connection_id":55861,"processed":1,"errors":0,"total":1} 
[2026-04-26 22:59:49] local.INFO: Acknowledgment sent {"connection_id":55861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:00:07] local.INFO: TCP Data received {"connection_id":55113,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:00:07] local.INFO: Processing buffer {"connection_id":55113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:00:07] local.INFO: IMEI packet received {"connection_id":55113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 23:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":55113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:00:12] local.INFO: TCP Data received {"connection_id":55113,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:00:12] local.INFO: Processing buffer {"connection_id":55113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:00:12] local.INFO: IMEI packet received {"connection_id":55113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 23:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":55113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:00:12] local.INFO: TCP Data received {"connection_id":55113,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:00:12] local.INFO: Processing buffer {"connection_id":55113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:00:12] local.INFO: Packet analysis {"connection_id":55113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:12] local.INFO: Extracted packet for processing {"connection_id":55113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00: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-04-26 23:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 23:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:00:12] 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-04-26 23:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 23:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":55113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":55113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":55113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:00:12] 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-04-26 23:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:00:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:00:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 23:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 23:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":55113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:00:13] local.INFO: GPS data processed {"connection_id":55113,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:00:13] local.INFO: Acknowledgment sent {"connection_id":55113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:00:13] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:00:13] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:00:13] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:00:17] local.INFO: TCP Data received {"connection_id":55113,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:00:17] local.INFO: Processing buffer {"connection_id":55113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:00:17] local.INFO: Packet analysis {"connection_id":55113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:17] local.INFO: Extracted packet for processing {"connection_id":55113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00: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-04-26 23:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 23:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:00:17] 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-04-26 23:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 23:00: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-04-26 23: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-04-26 23:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":55113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":55113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":55113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:00:17] 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-04-26 23:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:00:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 23:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 23:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":55113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:00:17] local.INFO: GPS data processed {"connection_id":55113,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:00:17] local.INFO: Acknowledgment sent {"connection_id":55113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:00:18] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:00:18] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:00:18] local.INFO: IMEI packet received {"connection_id":54959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":54959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:00:19] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:00:19] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:00:19] local.INFO: Packet analysis {"connection_id":54959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:19] local.INFO: Extracted packet for processing {"connection_id":54959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 23:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:00:19] 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-04-26 23:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:00:19] 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-04-26 23:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:00: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-04-26 23:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:00:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:00:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":54959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:00:19] local.INFO: GPS data processed {"connection_id":54959,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:00:19] local.INFO: Acknowledgment sent {"connection_id":54959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:00:50] local.INFO: TCP Data received {"connection_id":54959,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:00:50] local.INFO: Processing buffer {"connection_id":54959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:00:50] local.INFO: Packet analysis {"connection_id":54959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:50] local.INFO: Extracted packet for processing {"connection_id":54959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:00:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 23:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:00:50] 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-04-26 23:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:00:50] 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-04-26 23:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:00: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-04-26 23:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:00:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:00:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:00:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":54959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:00:50] local.INFO: GPS data processed {"connection_id":54959,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:00:50] local.INFO: Acknowledgment sent {"connection_id":54959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:01:02] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:01:02] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:01:02] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 23:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:01:07] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:01:07] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:01:07] local.INFO: IMEI packet received {"connection_id":54960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 23:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":54960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:01:07] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:01:07] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:01:07] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:07] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 23:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 23:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23: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-04-26 23:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:01:07] 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-04-26 23:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:01:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 23:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 23:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:01:08] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:01:08] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:01:13] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:01:13] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:01:13] local.INFO: IMEI packet received {"connection_id":54961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":54961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:01:18] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:01:18] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:01:18] local.INFO: IMEI packet received {"connection_id":54961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":54961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:01:19] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:01:19] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:01:19] local.INFO: Packet analysis {"connection_id":54961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:19] local.INFO: Extracted packet for processing {"connection_id":54961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 23:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:01:19] 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-04-26 23:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:01:19] 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-04-26 23:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:01:19] 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-04-26 23:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:01:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:01:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:01:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":54961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:01:19] local.INFO: GPS data processed {"connection_id":54961,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:01:19] local.INFO: Acknowledgment sent {"connection_id":54961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:01:39] local.INFO: TCP Data received {"connection_id":54960,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:01:39] local.INFO: Processing buffer {"connection_id":54960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad43898012d196500071ff0700039013d26..."} 
[2026-04-26 23:01:39] local.INFO: Packet analysis {"connection_id":54960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:39] local.INFO: Extracted packet for processing {"connection_id":54960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":57,"angle":317,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969369600001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173301248,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224399000,"timestamp_ms":1777224399000,"timestamp_seconds":1777224399,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad43898"} 
[2026-04-26 23:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:01: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-04-26 23:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-26 23:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":54960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":54960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969369600001,"66":2155,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1830150329173301248},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969369600001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:01:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:01:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173301248,"description":"Unknown IO ID 45"} 
[2026-04-26 23:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969369600001,"power":2155,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173301248}} 
[2026-04-26 23:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":54960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:01:39] local.INFO: GPS data processed {"connection_id":54960,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:01:39] local.INFO: Acknowledgment sent {"connection_id":54960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:01:50] local.INFO: TCP Data received {"connection_id":54961,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:01:50] local.INFO: Processing buffer {"connection_id":54961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:01:50] local.INFO: Packet analysis {"connection_id":54961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:50] local.INFO: Extracted packet for processing {"connection_id":54961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:01:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 23:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:01:50] 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-04-26 23:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:01:50] 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-04-26 23: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-04-26 23:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:01:50] 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-04-26 23:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:01:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:01:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:01:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":54961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:01:50] local.INFO: GPS data processed {"connection_id":54961,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:01:50] local.INFO: Acknowledgment sent {"connection_id":54961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:02:02] local.INFO: TCP Data received {"connection_id":55863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:02:02] local.INFO: Processing buffer {"connection_id":55863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:02:02] local.INFO: IMEI packet received {"connection_id":55863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 23:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":55863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:02:07] local.INFO: TCP Data received {"connection_id":55863,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:02:07] local.INFO: Processing buffer {"connection_id":55863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:02:07] local.INFO: IMEI packet received {"connection_id":55863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 23:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":55863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:02:08] local.INFO: TCP Data received {"connection_id":55863,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:02:08] local.INFO: Processing buffer {"connection_id":55863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:02:08] local.INFO: Packet analysis {"connection_id":55863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:02:08] local.INFO: Extracted packet for processing {"connection_id":55863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":69,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969446144001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196596736,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224685000,"timestamp_ms":1777224685000,"timestamp_seconds":1777224685,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad895c8"} 
[2026-04-26 23:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 23:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:02:08] 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-04-26 23:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969446144001,"66":2166,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1829868854196596736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969446144001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:02:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:02:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196596736,"description":"Unknown IO ID 45"} 
[2026-04-26 23:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969446144001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196596736}} 
[2026-04-26 23:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":55863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:02:08] local.INFO: GPS data processed {"connection_id":55863,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:02:08] local.INFO: Acknowledgment sent {"connection_id":55863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:02:13] local.INFO: TCP Data received {"connection_id":55188,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:02:13] local.INFO: Processing buffer {"connection_id":55188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:02:13] local.INFO: IMEI packet received {"connection_id":55188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":55188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:02:18] local.INFO: TCP Data received {"connection_id":55188,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:02:18] local.INFO: Processing buffer {"connection_id":55188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:02:18] local.INFO: IMEI packet received {"connection_id":55188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":55188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:02:19] local.INFO: TCP Data received {"connection_id":55188,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:02:19] local.INFO: Processing buffer {"connection_id":55188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad48e88012cb299c007822ce0005200122f..."} 
[2026-04-26 23:02:19] local.INFO: Packet analysis {"connection_id":55188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:02:19] local.INFO: Extracted packet for processing {"connection_id":55188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad4"} 
[2026-04-26 23:02:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969374720001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224421000,"timestamp_ms":1777224421000,"timestamp_seconds":1777224421,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad48e88"} 
[2026-04-26 23:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:02:19] 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-04-26 23:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:02:19] 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-04-26 23:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969374720001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969374720001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:02:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:02:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:02:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969374720001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":55188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:02:19] local.INFO: GPS data processed {"connection_id":55188,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:02:19] local.INFO: Acknowledgment sent {"connection_id":55188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:02:39] local.INFO: TCP Data received {"connection_id":55863,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:02:39] local.INFO: Processing buffer {"connection_id":55863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:02:39] local.INFO: Packet analysis {"connection_id":55863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:02:39] local.INFO: Extracted packet for processing {"connection_id":55863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":69,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969446144001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196596736,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224685000,"timestamp_ms":1777224685000,"timestamp_seconds":1777224685,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad895c8"} 
[2026-04-26 23:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:02:39] 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-04-26 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 23:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969446144001,"66":2166,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1829868854196596736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969446144001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:02:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:02:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196596736,"description":"Unknown IO ID 45"} 
[2026-04-26 23:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969446144001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196596736}} 
[2026-04-26 23:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":55863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:02:39] local.INFO: GPS data processed {"connection_id":55863,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:02:39] local.INFO: Acknowledgment sent {"connection_id":55863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:02:50] local.INFO: TCP Data received {"connection_id":55188,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:02:50] local.INFO: Processing buffer {"connection_id":55188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:02:50] local.INFO: Packet analysis {"connection_id":55188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:02:50] local.INFO: Extracted packet for processing {"connection_id":55188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:02:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:02:50] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:02:50] 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-04-26 23: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-04-26 23:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:02:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:02:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:02:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":55188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:02:50] local.INFO: GPS data processed {"connection_id":55188,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:02:50] local.INFO: Acknowledgment sent {"connection_id":55188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:03:02] local.INFO: TCP Data received {"connection_id":55115,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:03:02] local.INFO: Processing buffer {"connection_id":55115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:03:02] local.INFO: IMEI packet received {"connection_id":55115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 23:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":55115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:03:07] local.INFO: TCP Data received {"connection_id":55115,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:03:07] local.INFO: Processing buffer {"connection_id":55115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:03:07] local.INFO: IMEI packet received {"connection_id":55115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 23:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":55115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:03:08] local.INFO: TCP Data received {"connection_id":55115,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:03:08] local.INFO: Processing buffer {"connection_id":55115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:03:08] local.INFO: Packet analysis {"connection_id":55115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:03:08] local.INFO: Extracted packet for processing {"connection_id":55115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":69,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969446144001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196596736,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224685000,"timestamp_ms":1777224685000,"timestamp_seconds":1777224685,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad895c8"} 
[2026-04-26 23:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 23:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:03:08] 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-04-26 23:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969446144001,"66":2166,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1829868854196596736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969446144001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:03:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196596736,"description":"Unknown IO ID 45"} 
[2026-04-26 23:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969446144001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196596736}} 
[2026-04-26 23:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":55115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:03:08] local.INFO: GPS data processed {"connection_id":55115,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:03:08] local.INFO: Acknowledgment sent {"connection_id":55115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:03:13] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:03:13] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:03:13] local.INFO: IMEI packet received {"connection_id":54962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":54962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:03:18] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:03:18] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:03:18] local.INFO: IMEI packet received {"connection_id":54962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":54962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:03:19] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:03:19] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:03:19] local.INFO: Packet analysis {"connection_id":54962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:03:19] local.INFO: Extracted packet for processing {"connection_id":54962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:03:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:03:19] 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-04-26 23:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:03:19] 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-04-26 23:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:03:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:03:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:03:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":54962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:03:19] local.INFO: GPS data processed {"connection_id":54962,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:03:19] local.INFO: Acknowledgment sent {"connection_id":54962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:03:39] local.INFO: TCP Data received {"connection_id":55115,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:03:39] local.INFO: Processing buffer {"connection_id":55115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:03:39] local.INFO: Packet analysis {"connection_id":55115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:03:39] local.INFO: Extracted packet for processing {"connection_id":55115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":69,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969446144001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196596736,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224685000,"timestamp_ms":1777224685000,"timestamp_seconds":1777224685,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad895c8"} 
[2026-04-26 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:03:39] 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-04-26 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969446144001,"66":2166,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1829868854196596736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969446144001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:03:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196596736,"description":"Unknown IO ID 45"} 
[2026-04-26 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969446144001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196596736}} 
[2026-04-26 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":55115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:03:39] local.INFO: GPS data processed {"connection_id":55115,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:03:39] local.INFO: Acknowledgment sent {"connection_id":55115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:03:50] local.INFO: TCP Data received {"connection_id":54962,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:03:50] local.INFO: Processing buffer {"connection_id":54962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:03:50] local.INFO: Packet analysis {"connection_id":54962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:03:50] local.INFO: Extracted packet for processing {"connection_id":54962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:03:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:03:50] 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-04-26 23:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:03:50] 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-04-26 23:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:03:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:03:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:03:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":54962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:03:50] local.INFO: GPS data processed {"connection_id":54962,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:03:50] local.INFO: Acknowledgment sent {"connection_id":54962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:04:01] local.INFO: TCP Data received {"connection_id":55116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:04:01] local.INFO: Processing buffer {"connection_id":55116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:04:01] local.INFO: IMEI packet received {"connection_id":55116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":55116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:04:07] local.INFO: TCP Data received {"connection_id":55116,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:04:07] local.INFO: Processing buffer {"connection_id":55116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:04:07] local.INFO: IMEI packet received {"connection_id":55116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-26 23:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":55116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:04:08] local.INFO: TCP Data received {"connection_id":55116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:04:08] local.INFO: Processing buffer {"connection_id":55116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:04:08] local.INFO: Packet analysis {"connection_id":55116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:04:08] local.INFO: Extracted packet for processing {"connection_id":55116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:04:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":69,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969446144001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196596736,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1777224685000,"timestamp_ms":1777224685000,"timestamp_seconds":1777224685,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad895c8"} 
[2026-04-26 23:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 23:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":55116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":55116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":55116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:04:08] 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-04-26 23:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969446144001,"66":2166,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1829868854196596736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969446144001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:04:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:04:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196596736,"description":"Unknown IO ID 45"} 
[2026-04-26 23:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969446144001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196596736}} 
[2026-04-26 23:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":55116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:04:08] local.INFO: GPS data processed {"connection_id":55116,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:04:08] local.INFO: Acknowledgment sent {"connection_id":55116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:04:13] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:04:13] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:04:13] local.INFO: IMEI packet received {"connection_id":54964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":54964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:04:18] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:04:18] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:04:18] local.INFO: IMEI packet received {"connection_id":54964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":54964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:04:19] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:04:19] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:04:19] local.INFO: Packet analysis {"connection_id":54964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:04:19] local.INFO: Extracted packet for processing {"connection_id":54964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:04:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:04:19] 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-04-26 23:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:04:19] 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-04-26 23:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:04:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:04:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:04:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":54964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:04:19] local.INFO: GPS data processed {"connection_id":54964,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:04:19] local.INFO: Acknowledgment sent {"connection_id":54964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:04:39] local.INFO: TCP Data received {"connection_id":55116,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:04:39] local.INFO: Processing buffer {"connection_id":55116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad895c8012d196500071ff0700045013d23..."} 
[2026-04-26 23:04:39] local.INFO: Packet analysis {"connection_id":55116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:04:39] local.INFO: Extracted packet for processing {"connection_id":55116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad8"} 
[2026-04-26 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533680,"longitude_deg":75.6638976,"latitude_deg":11.953368,"altitude":69,"angle":317,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff070","is_valid_coordinates":true} 
[2026-04-26 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969446144001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":114893334400466944,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196596736,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1777224685000,"timestamp_ms":1777224685000,"timestamp_seconds":1777224685,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad895c8"} 
[2026-04-26 23:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:04:39] 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-04-26 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-26 23:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":55116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":55116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":55116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-26 23:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-26 23:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-26 23:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969446144001,"66":2166,"106":206,"83":41984,"24":0,"16":114893334400466944,"45":1829868854196596736},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-26 23:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-26 23:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-26 23:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969446144001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:04:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-26 23:04:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-26 23:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":114893334400466944,"km_value":114893334400466.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196596736,"description":"Unknown IO ID 45"} 
[2026-04-26 23:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969446144001,"power":2166,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196596736}} 
[2026-04-26 23:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":55116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:04:39] local.INFO: GPS data processed {"connection_id":55116,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:04:39] local.INFO: Acknowledgment sent {"connection_id":55116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:04:50] local.INFO: TCP Data received {"connection_id":54964,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:04:50] local.INFO: Processing buffer {"connection_id":54964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:04:50] local.INFO: Packet analysis {"connection_id":54964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:04:50] local.INFO: Extracted packet for processing {"connection_id":54964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:04:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:04:50] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:04:50] 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-04-26 23: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-04-26 23:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:04:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:04:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:04:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":54964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:04:50] local.INFO: GPS data processed {"connection_id":54964,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:04:50] local.INFO: Acknowledgment sent {"connection_id":54964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:05:01] local.INFO: TCP Data received {"connection_id":55117,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:05:01] local.INFO: Processing buffer {"connection_id":55117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-26 23:05:01] local.INFO: IMEI packet received {"connection_id":55117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-26 23:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":55117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:05:12] local.INFO: TCP Data received {"connection_id":55864,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:05:12] local.INFO: Processing buffer {"connection_id":55864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:05:12] local.INFO: IMEI packet received {"connection_id":55864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":55864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:05:14] local.INFO: TCP Data received {"connection_id":55190,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:05:14] local.INFO: Processing buffer {"connection_id":55190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:05:14] local.INFO: IMEI packet received {"connection_id":55190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":55190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:05:18] local.INFO: TCP Data received {"connection_id":55864,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:05:18] local.INFO: Processing buffer {"connection_id":55864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:05:18] local.INFO: IMEI packet received {"connection_id":55864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":55864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:05:19] local.INFO: TCP Data received {"connection_id":55864,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:05:19] local.INFO: Processing buffer {"connection_id":55864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:05:19] local.INFO: Packet analysis {"connection_id":55864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:05:19] local.INFO: Extracted packet for processing {"connection_id":55864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:05:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:05:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:05:19] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:05:19] 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-04-26 23: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-04-26 23:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:05:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:05:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:05:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":55864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:05:19] local.INFO: GPS data processed {"connection_id":55864,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:05:19] local.INFO: Acknowledgment sent {"connection_id":55864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:05:39] local.INFO: TCP Data received {"connection_id":55865,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:05:39] local.INFO: Processing buffer {"connection_id":55865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:05:39] local.INFO: IMEI packet received {"connection_id":55865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":55865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:05:50] local.INFO: TCP Data received {"connection_id":55864,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:05:50] local.INFO: Processing buffer {"connection_id":55864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:05:50] local.INFO: Packet analysis {"connection_id":55864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:05:50] local.INFO: Extracted packet for processing {"connection_id":55864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:05:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:05:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:05:50] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:05:50] 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-04-26 23: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-04-26 23:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:05:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:05:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:05:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":55864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:05:50] local.INFO: GPS data processed {"connection_id":55864,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:05:50] local.INFO: Acknowledgment sent {"connection_id":55864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:06:12] local.INFO: TCP Data received {"connection_id":55866,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:06:12] local.INFO: Processing buffer {"connection_id":55866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:06:12] local.INFO: IMEI packet received {"connection_id":55866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":55866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:06:18] local.INFO: TCP Data received {"connection_id":55866,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:06:18] local.INFO: Processing buffer {"connection_id":55866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:06:18] local.INFO: IMEI packet received {"connection_id":55866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":55866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:06:19] local.INFO: TCP Data received {"connection_id":55866,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:06:19] local.INFO: Processing buffer {"connection_id":55866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:06:19] local.INFO: Packet analysis {"connection_id":55866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:06:19] local.INFO: Extracted packet for processing {"connection_id":55866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:06:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:06:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:06:19] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:06:19] 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-04-26 23: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-04-26 23:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:06:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:06:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:06:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":55866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:06:19] local.INFO: GPS data processed {"connection_id":55866,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:06:19] local.INFO: Acknowledgment sent {"connection_id":55866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:06:50] local.INFO: TCP Data received {"connection_id":55866,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:06:50] local.INFO: Processing buffer {"connection_id":55866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:06:50] local.INFO: Packet analysis {"connection_id":55866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:06:50] local.INFO: Extracted packet for processing {"connection_id":55866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:06:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:06:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:06:50] 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-04-26 23:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:06:50] 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-04-26 23:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:06:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:06:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:06:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":55866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:06:50] local.INFO: GPS data processed {"connection_id":55866,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:06:50] local.INFO: Acknowledgment sent {"connection_id":55866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:07:18] local.INFO: TCP Data received {"connection_id":54965,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:07:18] local.INFO: Processing buffer {"connection_id":54965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:07:18] local.INFO: IMEI packet received {"connection_id":54965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":54965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:07:23] local.INFO: TCP Data received {"connection_id":54965,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:07:23] local.INFO: Processing buffer {"connection_id":54965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:07:23] local.INFO: IMEI packet received {"connection_id":54965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":54965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:07:24] local.INFO: TCP Data received {"connection_id":54965,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:07:24] local.INFO: Processing buffer {"connection_id":54965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:07:24] local.INFO: Packet analysis {"connection_id":54965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:07:24] local.INFO: Extracted packet for processing {"connection_id":54965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:07:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:07:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:07:24] 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-04-26 23:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:07:24] 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-04-26 23: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-04-26 23:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:07:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:07:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:07:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":54965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:07:24] local.INFO: GPS data processed {"connection_id":54965,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:07:24] local.INFO: Acknowledgment sent {"connection_id":54965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:07:28] local.INFO: TCP Data received {"connection_id":54965,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:07:28] local.INFO: Processing buffer {"connection_id":54965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad92650012cb299c007822ce0004f00122e..."} 
[2026-04-26 23:07:28] local.INFO: Packet analysis {"connection_id":54965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:07:28] local.INFO: Extracted packet for processing {"connection_id":54965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad9"} 
[2026-04-26 23:07:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969451776001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:07:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777224722000,"timestamp_ms":1777224722000,"timestamp_seconds":1777224722,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad92650"} 
[2026-04-26 23:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:07:28] 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-04-26 23:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:07:28] 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-04-26 23:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969451776001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969451776001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:07:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:07:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969451776001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":54965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:07:28] local.INFO: GPS data processed {"connection_id":54965,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:07:28] local.INFO: Acknowledgment sent {"connection_id":54965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:08:13] local.INFO: TCP Data received {"connection_id":55191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:08:13] local.INFO: Processing buffer {"connection_id":55191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:08:13] local.INFO: IMEI packet received {"connection_id":55191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":55191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:08:18] local.INFO: TCP Data received {"connection_id":55191,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:08:18] local.INFO: Processing buffer {"connection_id":55191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:08:18] local.INFO: IMEI packet received {"connection_id":55191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":55191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:08:19] local.INFO: TCP Data received {"connection_id":55191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:08:19] local.INFO: Processing buffer {"connection_id":55191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:08:19] local.INFO: Packet analysis {"connection_id":55191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:08:19] local.INFO: Extracted packet for processing {"connection_id":55191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:08:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:08:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:08:19] 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-04-26 23:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:08:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:08:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:08:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":55191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:08:19] local.INFO: GPS data processed {"connection_id":55191,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:08:19] local.INFO: Acknowledgment sent {"connection_id":55191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:08:50] local.INFO: TCP Data received {"connection_id":55191,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:08:50] local.INFO: Processing buffer {"connection_id":55191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:08:50] local.INFO: Packet analysis {"connection_id":55191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:08:50] local.INFO: Extracted packet for processing {"connection_id":55191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:08:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:08:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:08:50] 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-04-26 23:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:08:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:08:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:08:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":55191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:08:50] local.INFO: GPS data processed {"connection_id":55191,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:08:50] local.INFO: Acknowledgment sent {"connection_id":55191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:09:12] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:09:12] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:09:12] local.INFO: IMEI packet received {"connection_id":55118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":55118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:09:18] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:09:18] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:09:18] local.INFO: IMEI packet received {"connection_id":55118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":55118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:09:19] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:09:19] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:09:19] local.INFO: Packet analysis {"connection_id":55118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:09:19] local.INFO: Extracted packet for processing {"connection_id":55118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:09:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:09:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:09:19] 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-04-26 23: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-04-26 23:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:09:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:09:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:09:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":55118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:09:19] local.INFO: GPS data processed {"connection_id":55118,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:09:19] local.INFO: Acknowledgment sent {"connection_id":55118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:09:50] local.INFO: TCP Data received {"connection_id":55118,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:09:50] local.INFO: Processing buffer {"connection_id":55118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:09:50] local.INFO: Packet analysis {"connection_id":55118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:09:50] local.INFO: Extracted packet for processing {"connection_id":55118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:09:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:09:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:09:50] 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-04-26 23: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-04-26 23:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:09:50] 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-04-26 23:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:09:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:09:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:09:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":55118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:09:50] local.INFO: GPS data processed {"connection_id":55118,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:09:50] local.INFO: Acknowledgment sent {"connection_id":55118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:10:12] local.INFO: TCP Data received {"connection_id":55871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:10:12] local.INFO: Processing buffer {"connection_id":55871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:10:12] local.INFO: IMEI packet received {"connection_id":55871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":55871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:10:18] local.INFO: TCP Data received {"connection_id":55871,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:10:18] local.INFO: Processing buffer {"connection_id":55871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:10:18] local.INFO: IMEI packet received {"connection_id":55871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":55871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:10:19] local.INFO: TCP Data received {"connection_id":55871,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:10:19] local.INFO: Processing buffer {"connection_id":55871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:10:19] local.INFO: Packet analysis {"connection_id":55871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:10:19] local.INFO: Extracted packet for processing {"connection_id":55871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:10: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-04-26 23:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:10:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:10: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:10:19] 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-04-26 23:10: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-04-26 23:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:10: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-04-26 23:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:10:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:10:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:10:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":55871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:10:19] local.INFO: GPS data processed {"connection_id":55871,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:10:19] local.INFO: Acknowledgment sent {"connection_id":55871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:10:50] local.INFO: TCP Data received {"connection_id":55871,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:10:50] local.INFO: Processing buffer {"connection_id":55871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:10:50] local.INFO: Packet analysis {"connection_id":55871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:10:50] local.INFO: Extracted packet for processing {"connection_id":55871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:10:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:10:50] 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-04-26 23: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-04-26 23:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:10: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-04-26 23:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:10:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:10:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:10:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":55871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:10:50] local.INFO: GPS data processed {"connection_id":55871,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:10:50] local.INFO: Acknowledgment sent {"connection_id":55871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:11:04] local.INFO: TCP Data received {"connection_id":55192,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:04] local.INFO: Processing buffer {"connection_id":55192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:04] local.INFO: IMEI packet received {"connection_id":55192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":55192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:11:18] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:11:18] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:11:18] local.INFO: IMEI packet received {"connection_id":55119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":55119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:11:23] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:11:23] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:11:23] local.INFO: IMEI packet received {"connection_id":55119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":55119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:11:24] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:11:24] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:11:24] local.INFO: Packet analysis {"connection_id":55119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:11:24] local.INFO: Extracted packet for processing {"connection_id":55119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:11:24] 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-04-26 23: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-04-26 23:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:11:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:11:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:11:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":55119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:11:24] local.INFO: GPS data processed {"connection_id":55119,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:11:24] local.INFO: Acknowledgment sent {"connection_id":55119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:11:28] local.INFO: TCP Data received {"connection_id":55119,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:11:28] local.INFO: Processing buffer {"connection_id":55119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:11:28] local.INFO: Packet analysis {"connection_id":55119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:11:28] local.INFO: Extracted packet for processing {"connection_id":55119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:11:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:11:28] 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-04-26 23:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:11:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:11:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":55119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:11:28] local.INFO: GPS data processed {"connection_id":55119,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:11:28] local.INFO: Acknowledgment sent {"connection_id":55119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:11:39] local.INFO: TCP Data received {"connection_id":55872,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:39] local.INFO: Processing buffer {"connection_id":55872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:39] local.INFO: IMEI packet received {"connection_id":55872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":55872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:11:44] local.INFO: TCP Data received {"connection_id":55872,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:44] local.INFO: Processing buffer {"connection_id":55872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:11:44] local.INFO: IMEI packet received {"connection_id":55872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 23:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":55872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:11:45] local.INFO: TCP Data received {"connection_id":55872,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcad1eac0012cb29ac007822ea8004700da2c..."} 
[2026-04-26 23:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcad1eac0012cb29ac007822ea8004700da2c..."} 
[2026-04-26 23:11:45] local.INFO: Processing buffer {"connection_id":55872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcad1eac0012cb29ac007822ea8004700da2c..."} 
[2026-04-26 23:11:45] local.INFO: Packet analysis {"connection_id":55872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcad1"} 
[2026-04-26 23:11:45] local.INFO: Extracted packet for processing {"connection_id":55872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcad1"} 
[2026-04-26 23:11:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972136,"longitude_deg":74.9902528,"latitude_deg":12.5972136,"altitude":71,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822ea8","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969330432001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063538176,"note":"Value kept but may cause issues"} 
[2026-04-26 23:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777224248000,"timestamp_ms":1777224248000,"timestamp_seconds":1777224248,"priority":1,"record_length":96,"hex_timestamp":"0000019dcad1eac0"} 
[2026-04-26 23:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:11:45] 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-04-26 23:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-26 23:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":55872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":55872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 23:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 23:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 23:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 23:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969330432001,"66":25114,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063538176},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 23:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 23:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 23:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969330432001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:11:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 23:11:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 23:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:11:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063538176,"description":"Unknown IO ID 44"} 
[2026-04-26 23:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969330432001,"power":25114,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063538176}} 
[2026-04-26 23:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":55872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:11:45] local.INFO: GPS data processed {"connection_id":55872,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:11:45] local.INFO: Acknowledgment sent {"connection_id":55872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:12:13] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:12:13] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:12:13] local.INFO: IMEI packet received {"connection_id":54967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":54967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:12:18] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:12:18] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:12:18] local.INFO: IMEI packet received {"connection_id":54967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":54967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:12:19] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:12:19] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaddbe18012cb299c007822ce0005000122f..."} 
[2026-04-26 23:12:19] local.INFO: Packet analysis {"connection_id":54967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:12:19] local.INFO: Extracted packet for processing {"connection_id":54967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcadd"} 
[2026-04-26 23:12:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":47,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:12: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-04-26 23:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969528832001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:12:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225023000,"timestamp_ms":1777225023000,"timestamp_seconds":1777225023,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaddbe18"} 
[2026-04-26 23:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:12: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:12:19] 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-04-26 23:12: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-04-26 23:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969528832001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969528832001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:12:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:12:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:12:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969528832001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":54967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:12:19] local.INFO: GPS data processed {"connection_id":54967,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:12:19] local.INFO: Acknowledgment sent {"connection_id":54967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:12:39] local.INFO: TCP Data received {"connection_id":55193,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:12:39] local.INFO: Processing buffer {"connection_id":55193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:12:39] local.INFO: IMEI packet received {"connection_id":55193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":55193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:12:50] local.INFO: TCP Data received {"connection_id":54967,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:12:50] local.INFO: Processing buffer {"connection_id":54967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:12:50] local.INFO: Packet analysis {"connection_id":54967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:12:50] local.INFO: Extracted packet for processing {"connection_id":54967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:12:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:12:50] 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-04-26 23: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-04-26 23:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:12:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:12:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:12:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":54967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":66999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:12:50] local.INFO: GPS data processed {"connection_id":54967,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:12:50] local.INFO: Acknowledgment sent {"connection_id":54967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:13:12] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:13:12] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:13:12] local.INFO: IMEI packet received {"connection_id":54968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":54968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:13:18] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:13:18] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:13:18] local.INFO: IMEI packet received {"connection_id":54968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":54968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:13:19] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:13:19] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:13:19] local.INFO: Packet analysis {"connection_id":54968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:13:19] local.INFO: Extracted packet for processing {"connection_id":54968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:13:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:13:19] 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-04-26 23: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-04-26 23:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:13:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:13:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":54968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:13:19] local.INFO: GPS data processed {"connection_id":54968,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:13:19] local.INFO: Acknowledgment sent {"connection_id":54968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:13:50] local.INFO: TCP Data received {"connection_id":54968,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:13:50] local.INFO: Processing buffer {"connection_id":54968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:13:50] local.INFO: Packet analysis {"connection_id":54968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:13:50] local.INFO: Extracted packet for processing {"connection_id":54968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:13:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:13:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:13:50] 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-04-26 23: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-04-26 23:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:13:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:13:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":54968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:13:50] local.INFO: GPS data processed {"connection_id":54968,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:13:50] local.INFO: Acknowledgment sent {"connection_id":54968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:14:18] local.INFO: TCP Data received {"connection_id":55873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:14:18] local.INFO: Processing buffer {"connection_id":55873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:14:18] local.INFO: IMEI packet received {"connection_id":55873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":55873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:14:23] local.INFO: TCP Data received {"connection_id":55873,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:14:23] local.INFO: Processing buffer {"connection_id":55873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:14:23] local.INFO: IMEI packet received {"connection_id":55873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":55873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:14:24] local.INFO: TCP Data received {"connection_id":55873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:14:24] local.INFO: Processing buffer {"connection_id":55873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:14:24] local.INFO: Packet analysis {"connection_id":55873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:14:24] local.INFO: Extracted packet for processing {"connection_id":55873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:14:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:14:24] 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-04-26 23:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:14:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:14:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:14:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":55873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:14:24] local.INFO: GPS data processed {"connection_id":55873,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:14:24] local.INFO: Acknowledgment sent {"connection_id":55873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:14:28] local.INFO: TCP Data received {"connection_id":55873,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:14:28] local.INFO: Processing buffer {"connection_id":55873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:14:28] local.INFO: Packet analysis {"connection_id":55873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:14:28] local.INFO: Extracted packet for processing {"connection_id":55873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:14:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:14:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:14:28] 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-04-26 23:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:14:28] 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-04-26 23:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:14:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:14:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":55873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:14:28] local.INFO: GPS data processed {"connection_id":55873,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:14:28] local.INFO: Acknowledgment sent {"connection_id":55873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:15:13] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:15:13] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:15:13] local.INFO: IMEI packet received {"connection_id":55121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":55121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:15:18] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:15:18] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:15:18] local.INFO: IMEI packet received {"connection_id":55121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":55121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:15:19] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:15:19] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:15:19] local.INFO: Packet analysis {"connection_id":55121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:15:19] local.INFO: Extracted packet for processing {"connection_id":55121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:15:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:15:19] 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-04-26 23: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-04-26 23:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:15:19] 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-04-26 23:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:15:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:15:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":55121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:15:19] local.INFO: GPS data processed {"connection_id":55121,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:15:19] local.INFO: Acknowledgment sent {"connection_id":55121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:15:50] local.INFO: TCP Data received {"connection_id":55121,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:15:50] local.INFO: Processing buffer {"connection_id":55121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:15:50] local.INFO: Packet analysis {"connection_id":55121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:15:50] local.INFO: Extracted packet for processing {"connection_id":55121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:15:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:15:50] 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-04-26 23:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:15:50] 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-04-26 23:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:15:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:15:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":55121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:15:50] local.INFO: GPS data processed {"connection_id":55121,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:15:50] local.INFO: Acknowledgment sent {"connection_id":55121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:16:13] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:16:13] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:16:13] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:16:18] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:16:18] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:16:18] local.INFO: IMEI packet received {"connection_id":54969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":54969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:16:19] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:16:19] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:16:19] local.INFO: Packet analysis {"connection_id":54969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:16:19] local.INFO: Extracted packet for processing {"connection_id":54969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:16:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:16:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:16:19] 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-04-26 23:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:16:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:16:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":54969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:16:19] local.INFO: GPS data processed {"connection_id":54969,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:16:19] local.INFO: Acknowledgment sent {"connection_id":54969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:16:50] local.INFO: TCP Data received {"connection_id":54969,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:16:50] local.INFO: Processing buffer {"connection_id":54969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:16:50] local.INFO: Packet analysis {"connection_id":54969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:16:50] local.INFO: Extracted packet for processing {"connection_id":54969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:16:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:16:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:16:50] 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-04-26 23: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-04-26 23:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:16:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:16:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":54969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:16:50] local.INFO: GPS data processed {"connection_id":54969,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:16:50] local.INFO: Acknowledgment sent {"connection_id":54969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:17:13] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:17:13] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:17:13] local.INFO: IMEI packet received {"connection_id":55122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":55122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:17:18] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:17:18] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:17:18] local.INFO: IMEI packet received {"connection_id":55122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":55122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:17:19] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:17:19] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae255e0012cb299c007822ce0005000122e..."} 
[2026-04-26 23:17:19] local.INFO: Packet analysis {"connection_id":55122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:17:19] local.INFO: Extracted packet for processing {"connection_id":55122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae2"} 
[2026-04-26 23:17:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":80,"angle":18,"satellites":46,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969605888001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:17:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225324000,"timestamp_ms":1777225324000,"timestamp_seconds":1777225324,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae255e0"} 
[2026-04-26 23:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:17:19] 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-04-26 23: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-04-26 23:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:17:19] 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-04-26 23:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969605888001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969605888001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:17:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969605888001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":55122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:17:19] local.INFO: GPS data processed {"connection_id":55122,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:17:19] local.INFO: Acknowledgment sent {"connection_id":55122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:17:50] local.INFO: TCP Data received {"connection_id":55122,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:17:50] local.INFO: Processing buffer {"connection_id":55122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:17:50] local.INFO: Packet analysis {"connection_id":55122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:17:50] local.INFO: Extracted packet for processing {"connection_id":55122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:17:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:17:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:17:50] 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-04-26 23: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-04-26 23:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:17:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:17:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:17:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":55122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:17:50] local.INFO: GPS data processed {"connection_id":55122,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:17:50] local.INFO: Acknowledgment sent {"connection_id":55122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:18:14] local.INFO: TCP Data received {"connection_id":54970,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:18:14] local.INFO: Processing buffer {"connection_id":54970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:18:14] local.INFO: IMEI packet received {"connection_id":54970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":54970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:18:18] local.INFO: TCP Data received {"connection_id":55876,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:18:18] local.INFO: Processing buffer {"connection_id":55876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:18:18] local.INFO: IMEI packet received {"connection_id":55876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":55876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:18:23] local.INFO: TCP Data received {"connection_id":55876,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:18:23] local.INFO: Processing buffer {"connection_id":55876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:18:23] local.INFO: IMEI packet received {"connection_id":55876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":55876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:18:24] local.INFO: TCP Data received {"connection_id":55876,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:18:24] local.INFO: Processing buffer {"connection_id":55876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:18:24] local.INFO: Packet analysis {"connection_id":55876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:18:24] local.INFO: Extracted packet for processing {"connection_id":55876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:18:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:18:24] 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-04-26 23:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:18:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:18:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:18:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":55876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:18:24] local.INFO: GPS data processed {"connection_id":55876,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:18:24] local.INFO: Acknowledgment sent {"connection_id":55876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:18:28] local.INFO: TCP Data received {"connection_id":55876,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:18:28] local.INFO: Processing buffer {"connection_id":55876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:18:28] local.INFO: Packet analysis {"connection_id":55876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:18:28] local.INFO: Extracted packet for processing {"connection_id":55876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:18:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:18:28] 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-04-26 23:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:18:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:18:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":55876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:18:28] local.INFO: GPS data processed {"connection_id":55876,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:18:28] local.INFO: Acknowledgment sent {"connection_id":55876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:18:39] local.INFO: TCP Data received {"connection_id":55195,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:18:39] local.INFO: Processing buffer {"connection_id":55195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:18:39] local.INFO: IMEI packet received {"connection_id":55195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":55195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:19:13] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:19:13] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:19:13] local.INFO: IMEI packet received {"connection_id":55123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":55123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:19:18] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:19:18] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:19:18] local.INFO: IMEI packet received {"connection_id":55123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":55123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:19:19] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:19:19] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:19:19] local.INFO: Packet analysis {"connection_id":55123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:19:19] local.INFO: Extracted packet for processing {"connection_id":55123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:19:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:19:19] 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-04-26 23:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:19:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:19:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:19:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":55123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:19:19] local.INFO: GPS data processed {"connection_id":55123,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:19:19] local.INFO: Acknowledgment sent {"connection_id":55123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:19:50] local.INFO: TCP Data received {"connection_id":55123,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:19:50] local.INFO: Processing buffer {"connection_id":55123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:19:50] local.INFO: Packet analysis {"connection_id":55123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:19:50] local.INFO: Extracted packet for processing {"connection_id":55123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:19:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:19:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:19:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:19:50] 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-04-26 23:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:19:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:19:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:19:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":55123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:19:50] local.INFO: GPS data processed {"connection_id":55123,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:19:50] local.INFO: Acknowledgment sent {"connection_id":55123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:20:13] local.INFO: TCP Data received {"connection_id":55125,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:20:13] local.INFO: Processing buffer {"connection_id":55125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:20:13] local.INFO: IMEI packet received {"connection_id":55125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":55125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:20:18] local.INFO: TCP Data received {"connection_id":55125,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:20:18] local.INFO: Processing buffer {"connection_id":55125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:20:18] local.INFO: IMEI packet received {"connection_id":55125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":55125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:20:19] local.INFO: TCP Data received {"connection_id":55125,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:20:19] local.INFO: Processing buffer {"connection_id":55125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:20:19] local.INFO: Packet analysis {"connection_id":55125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:20:19] local.INFO: Extracted packet for processing {"connection_id":55125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:20:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:20:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:20:19] 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-04-26 23:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:20:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:20:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":55125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:20:19] local.INFO: GPS data processed {"connection_id":55125,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:20:19] local.INFO: Acknowledgment sent {"connection_id":55125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:20:50] local.INFO: TCP Data received {"connection_id":55125,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:20:50] local.INFO: Processing buffer {"connection_id":55125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:20:50] local.INFO: Packet analysis {"connection_id":55125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:20:50] local.INFO: Extracted packet for processing {"connection_id":55125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:20:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:20:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:20:50] 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-04-26 23:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:20:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:20:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:20:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":55125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:20:50] local.INFO: GPS data processed {"connection_id":55125,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:20:50] local.INFO: Acknowledgment sent {"connection_id":55125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:21:12] local.INFO: TCP Data received {"connection_id":55197,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:21:12] local.INFO: Processing buffer {"connection_id":55197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:21:12] local.INFO: IMEI packet received {"connection_id":55197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":55197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:21:18] local.INFO: TCP Data received {"connection_id":55197,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:21:18] local.INFO: Processing buffer {"connection_id":55197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:21:18] local.INFO: IMEI packet received {"connection_id":55197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":55197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:21:19] local.INFO: TCP Data received {"connection_id":55197,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:21:19] local.INFO: Processing buffer {"connection_id":55197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:21:19] local.INFO: Packet analysis {"connection_id":55197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:21:19] local.INFO: Extracted packet for processing {"connection_id":55197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:21:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:21:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:21:19] 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-04-26 23:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:21: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-04-26 23:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:21:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:21:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:21:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":55197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:21:19] local.INFO: GPS data processed {"connection_id":55197,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:21:19] local.INFO: Acknowledgment sent {"connection_id":55197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:21:50] local.INFO: TCP Data received {"connection_id":55197,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:21:50] local.INFO: Processing buffer {"connection_id":55197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:21:50] local.INFO: Packet analysis {"connection_id":55197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:21:50] local.INFO: Extracted packet for processing {"connection_id":55197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:21:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:21:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:21:50] 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-04-26 23: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-04-26 23:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:21: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-04-26 23:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:21:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:21:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:21:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":55197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:21:50] local.INFO: GPS data processed {"connection_id":55197,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:21:50] local.INFO: Acknowledgment sent {"connection_id":55197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:22:12] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:22:12] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:22:12] local.INFO: IMEI packet received {"connection_id":55126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":55126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:22:18] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:22:18] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:22:18] local.INFO: IMEI packet received {"connection_id":55126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":55126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:22:19] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:22:19] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae6eda8012cb299c007822ce0005400122d..."} 
[2026-04-26 23:22:19] local.INFO: Packet analysis {"connection_id":55126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:22:19] local.INFO: Extracted packet for processing {"connection_id":55126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae6"} 
[2026-04-26 23:22:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":84,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969682944001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:22:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225625000,"timestamp_ms":1777225625000,"timestamp_seconds":1777225625,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae6eda8"} 
[2026-04-26 23:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:22:19] 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-04-26 23:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:22:19] 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-04-26 23:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969682944001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969682944001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:22:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:22:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:22:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969682944001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":55126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:22:19] local.INFO: GPS data processed {"connection_id":55126,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:22:19] local.INFO: Acknowledgment sent {"connection_id":55126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:22:50] local.INFO: TCP Data received {"connection_id":55126,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:22:50] local.INFO: Processing buffer {"connection_id":55126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:22:50] local.INFO: Packet analysis {"connection_id":55126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:22:50] local.INFO: Extracted packet for processing {"connection_id":55126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:22:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:22:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:22:50] 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-04-26 23: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-04-26 23:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:22:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:22:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:22:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":55126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:22:50] local.INFO: GPS data processed {"connection_id":55126,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:22:50] local.INFO: Acknowledgment sent {"connection_id":55126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:23:18] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:23:18] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:23:18] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:23:23] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:23:23] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:23:23] local.INFO: IMEI packet received {"connection_id":54972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":54972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:23:24] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:23:24] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:23:24] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:23:24] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:23:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:23:24] 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-04-26 23:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:23:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:23:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:23:24] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:23:24] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:23:54] local.INFO: TCP Data received {"connection_id":55127,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:23:54] local.INFO: Processing buffer {"connection_id":55127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:23:54] local.INFO: IMEI packet received {"connection_id":55127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":55127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:23:55] local.INFO: TCP Data received {"connection_id":54972,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:23:55] local.INFO: Processing buffer {"connection_id":54972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:23:55] local.INFO: Packet analysis {"connection_id":54972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:23:55] local.INFO: Extracted packet for processing {"connection_id":54972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:23:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23: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-04-26 23:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":54972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":54972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:23:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:23:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:23:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":54972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:23:55] local.INFO: GPS data processed {"connection_id":54972,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:23:55] local.INFO: Acknowledgment sent {"connection_id":54972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:24:13] local.INFO: TCP Data received {"connection_id":55878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:24:13] local.INFO: Processing buffer {"connection_id":55878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:24:13] local.INFO: IMEI packet received {"connection_id":55878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":55878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:24:18] local.INFO: TCP Data received {"connection_id":55878,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:24:18] local.INFO: Processing buffer {"connection_id":55878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:24:18] local.INFO: IMEI packet received {"connection_id":55878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":55878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:24:19] local.INFO: TCP Data received {"connection_id":55878,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:24:19] local.INFO: Processing buffer {"connection_id":55878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:24:19] local.INFO: Packet analysis {"connection_id":55878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:24:19] local.INFO: Extracted packet for processing {"connection_id":55878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:24:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:24:19] 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-04-26 23:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:24:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:24:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":55878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:24:19] local.INFO: GPS data processed {"connection_id":55878,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:24:19] local.INFO: Acknowledgment sent {"connection_id":55878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:24:39] local.INFO: TCP Data received {"connection_id":55198,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:24:39] local.INFO: Processing buffer {"connection_id":55198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:24:39] local.INFO: IMEI packet received {"connection_id":55198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:24:39] local.INFO: IMEI acknowledgment sent {"connection_id":55198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:24:50] local.INFO: TCP Data received {"connection_id":55878,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:24:50] local.INFO: Processing buffer {"connection_id":55878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:24:50] local.INFO: Packet analysis {"connection_id":55878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:24:50] local.INFO: Extracted packet for processing {"connection_id":55878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:24:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:24:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:24:50] 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-04-26 23:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:24:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:24:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":55878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:24:50] local.INFO: GPS data processed {"connection_id":55878,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:24:50] local.INFO: Acknowledgment sent {"connection_id":55878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:25:12] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:25:12] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:25:12] local.INFO: IMEI packet received {"connection_id":55199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":55199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:25:18] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.95","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:25:18] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:25:18] local.INFO: IMEI packet received {"connection_id":55199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":55199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:25:19] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:25:19] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:25:19] local.INFO: Packet analysis {"connection_id":55199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:25:19] local.INFO: Extracted packet for processing {"connection_id":55199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:25:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:25:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:25:19] 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-04-26 23:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:25:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:25:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:25:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":55199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:25:19] local.INFO: GPS data processed {"connection_id":55199,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:25:19] local.INFO: Acknowledgment sent {"connection_id":55199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:25:50] local.INFO: TCP Data received {"connection_id":55199,"ip":"42.106.6.95","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:25:50] local.INFO: Processing buffer {"connection_id":55199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:25:50] local.INFO: Packet analysis {"connection_id":55199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:25:50] local.INFO: Extracted packet for processing {"connection_id":55199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:25:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:25:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:25:50] 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-04-26 23:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.95","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.95","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:25:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:25:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:25:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":55199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:25:50] local.INFO: GPS data processed {"connection_id":55199,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:25:50] local.INFO: Acknowledgment sent {"connection_id":55199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:26:12] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:26:12] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:26:12] local.INFO: IMEI packet received {"connection_id":54973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":54973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:26:18] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:26:18] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:26:18] local.INFO: IMEI packet received {"connection_id":54973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":54973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:26:19] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:26:19] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:26:19] local.INFO: Packet analysis {"connection_id":54973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:26:19] local.INFO: Extracted packet for processing {"connection_id":54973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:26:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:26:19] 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-04-26 23:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:26:19] 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-04-26 23:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:26:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:26:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":54973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:26:19] local.INFO: GPS data processed {"connection_id":54973,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:26:19] local.INFO: Acknowledgment sent {"connection_id":54973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:26:50] local.INFO: TCP Data received {"connection_id":54973,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:26:50] local.INFO: Processing buffer {"connection_id":54973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:26:50] local.INFO: Packet analysis {"connection_id":54973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:26:50] local.INFO: Extracted packet for processing {"connection_id":54973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:26:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:26:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:26:50] 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-04-26 23:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:26:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:26:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:26:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":54973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:26:50] local.INFO: GPS data processed {"connection_id":54973,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:26:50] local.INFO: Acknowledgment sent {"connection_id":54973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:27:18] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:27:18] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:27:18] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:27:23] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:27:23] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:27:23] local.INFO: IMEI packet received {"connection_id":54974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":54974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:27:24] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:27:24] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:27:24] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:27:24] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:27:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:27:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:27:24] 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-04-26 23:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:27:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:27:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:27:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:27:24] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:27:24] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:27:28] local.INFO: TCP Data received {"connection_id":54974,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:27:28] local.INFO: Processing buffer {"connection_id":54974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaeb8570012cb299c007822ce0005200122c..."} 
[2026-04-26 23:27:28] local.INFO: Packet analysis {"connection_id":54974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:27:28] local.INFO: Extracted packet for processing {"connection_id":54974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaeb"} 
[2026-04-26 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969760000001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:27:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777225926000,"timestamp_ms":1777225926000,"timestamp_seconds":1777225926,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaeb8570"} 
[2026-04-26 23:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:27:28] 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-04-26 23:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:27:28] 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-04-26 23:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969760000001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969760000001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:27:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:27:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969760000001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":54974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:27:28] local.INFO: GPS data processed {"connection_id":54974,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:27:28] local.INFO: Acknowledgment sent {"connection_id":54974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:28:13] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:28:13] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:28:13] local.INFO: IMEI packet received {"connection_id":55129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":55129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:28:18] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:28:18] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:28:18] local.INFO: IMEI packet received {"connection_id":55129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":55129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:28:19] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:28:19] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:28:19] local.INFO: Packet analysis {"connection_id":55129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:28:19] local.INFO: Extracted packet for processing {"connection_id":55129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:28:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:28:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:28:19] 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-04-26 23:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:28: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-04-26 23:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:28:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:28:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:28:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":55129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:28:19] local.INFO: GPS data processed {"connection_id":55129,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:28:19] local.INFO: Acknowledgment sent {"connection_id":55129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:28:50] local.INFO: TCP Data received {"connection_id":55129,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:28:50] local.INFO: Processing buffer {"connection_id":55129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:28:50] local.INFO: Packet analysis {"connection_id":55129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:28:50] local.INFO: Extracted packet for processing {"connection_id":55129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:28:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:28:50] 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-04-26 23:28: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-04-26 23:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:28: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-04-26 23:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:28:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:28:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":55129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:28:50] local.INFO: GPS data processed {"connection_id":55129,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:28:50] local.INFO: Acknowledgment sent {"connection_id":55129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:29:13] local.INFO: TCP Data received {"connection_id":55882,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:29:13] local.INFO: Processing buffer {"connection_id":55882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:29:13] local.INFO: IMEI packet received {"connection_id":55882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":55882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:29:18] local.INFO: TCP Data received {"connection_id":55882,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:29:18] local.INFO: Processing buffer {"connection_id":55882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:29:18] local.INFO: IMEI packet received {"connection_id":55882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":55882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:29:19] local.INFO: TCP Data received {"connection_id":55882,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:29:19] local.INFO: Processing buffer {"connection_id":55882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:29:19] local.INFO: Packet analysis {"connection_id":55882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:29:19] local.INFO: Extracted packet for processing {"connection_id":55882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:29:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:29:19] 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-04-26 23:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:29:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:29:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:29:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":55882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:29:19] local.INFO: GPS data processed {"connection_id":55882,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:29:19] local.INFO: Acknowledgment sent {"connection_id":55882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:29:50] local.INFO: TCP Data received {"connection_id":55882,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:29:50] local.INFO: Processing buffer {"connection_id":55882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:29:50] local.INFO: Packet analysis {"connection_id":55882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:29:50] local.INFO: Extracted packet for processing {"connection_id":55882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:29:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:29:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:29:50] 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-04-26 23: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-04-26 23:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:29:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:29:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":55882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:29:50] local.INFO: GPS data processed {"connection_id":55882,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:29:50] local.INFO: Acknowledgment sent {"connection_id":55882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:29:53] local.INFO: TCP Data received {"connection_id":55883,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:29:54] local.INFO: Processing buffer {"connection_id":55883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:29:54] local.INFO: IMEI packet received {"connection_id":55883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":55883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:30:12] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:30:12] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:30:12] local.INFO: IMEI packet received {"connection_id":54976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":54976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:30:18] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:30:18] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:30:18] local.INFO: IMEI packet received {"connection_id":54976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":54976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:30:19] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:30:19] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:30:19] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:30:19] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:30:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:30:19] 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-04-26 23: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-04-26 23:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:30:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:30:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:30:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:30:19] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:30:19] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:30:39] local.INFO: TCP Data received {"connection_id":55130,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:30:39] local.INFO: Processing buffer {"connection_id":55130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:30:39] local.INFO: IMEI packet received {"connection_id":55130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":55130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:30:50] local.INFO: TCP Data received {"connection_id":54976,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:30:50] local.INFO: Processing buffer {"connection_id":54976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:30:50] local.INFO: Packet analysis {"connection_id":54976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:30:50] local.INFO: Extracted packet for processing {"connection_id":54976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:30:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:30:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:30:50] 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-04-26 23: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-04-26 23:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:30:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:30:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:30:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":54976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:30:50] local.INFO: GPS data processed {"connection_id":54976,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:30:50] local.INFO: Acknowledgment sent {"connection_id":54976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:31:12] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:31:12] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:31:12] local.INFO: IMEI packet received {"connection_id":55200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":55200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:31:17] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:31:17] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:31:17] local.INFO: IMEI packet received {"connection_id":55200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":55200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:31:18] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:31:18] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:31:18] local.INFO: Packet analysis {"connection_id":55200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:31:18] local.INFO: Extracted packet for processing {"connection_id":55200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:31:18] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:31:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23: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-04-26 23:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:31:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:31:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:31:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":55200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:31:18] local.INFO: GPS data processed {"connection_id":55200,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:31:18] local.INFO: Acknowledgment sent {"connection_id":55200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:31:50] local.INFO: TCP Data received {"connection_id":55200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:31:50] local.INFO: Processing buffer {"connection_id":55200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:31:50] local.INFO: Packet analysis {"connection_id":55200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:31:50] local.INFO: Extracted packet for processing {"connection_id":55200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:31:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:31:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:31:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:31:50] 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-04-26 23: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-04-26 23:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:31:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:31:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:31:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":55200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:31:50] local.INFO: GPS data processed {"connection_id":55200,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:31:50] local.INFO: Acknowledgment sent {"connection_id":55200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:32:18] local.INFO: TCP Data received {"connection_id":55132,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:32:18] local.INFO: Processing buffer {"connection_id":55132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:32:18] local.INFO: IMEI packet received {"connection_id":55132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":55132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:32:23] local.INFO: TCP Data received {"connection_id":55132,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:32:23] local.INFO: Processing buffer {"connection_id":55132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:32:23] local.INFO: IMEI packet received {"connection_id":55132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":55132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:32:24] local.INFO: TCP Data received {"connection_id":55132,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:32:24] local.INFO: Processing buffer {"connection_id":55132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:32:24] local.INFO: Packet analysis {"connection_id":55132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:32:24] local.INFO: Extracted packet for processing {"connection_id":55132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:32:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:32:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:32:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:32:24] 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-04-26 23: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-04-26 23:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:32:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:32:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:32:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":55132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:32:24] local.INFO: GPS data processed {"connection_id":55132,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:32:24] local.INFO: Acknowledgment sent {"connection_id":55132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:32:28] local.INFO: TCP Data received {"connection_id":55132,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:32:28] local.INFO: Processing buffer {"connection_id":55132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf01d38012cb299c007822ce0005100122d..."} 
[2026-04-26 23:32:28] local.INFO: Packet analysis {"connection_id":55132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:32:28] local.INFO: Extracted packet for processing {"connection_id":55132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf0"} 
[2026-04-26 23:32:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":81,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969837056001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:32:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777226227000,"timestamp_ms":1777226227000,"timestamp_seconds":1777226227,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf01d38"} 
[2026-04-26 23:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:32:28] 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-04-26 23:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:32:28] 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-04-26 23:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969837056001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969837056001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:32:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:32:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969837056001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":55132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:32:28] local.INFO: GPS data processed {"connection_id":55132,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:32:28] local.INFO: Acknowledgment sent {"connection_id":55132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:33:13] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:33:13] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:33:13] local.INFO: IMEI packet received {"connection_id":54977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":54977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:33:18] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:33:18] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:33:18] local.INFO: IMEI packet received {"connection_id":54977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":54977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:33:19] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:33:19] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:33:19] local.INFO: Packet analysis {"connection_id":54977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:33:19] local.INFO: Extracted packet for processing {"connection_id":54977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:33:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:33:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:33:19] 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-04-26 23:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:33:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:33:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:33:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":54977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:33:19] local.INFO: GPS data processed {"connection_id":54977,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:33:19] local.INFO: Acknowledgment sent {"connection_id":54977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:33:50] local.INFO: TCP Data received {"connection_id":54977,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:33:50] local.INFO: Processing buffer {"connection_id":54977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:33:50] local.INFO: Packet analysis {"connection_id":54977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:33:50] local.INFO: Extracted packet for processing {"connection_id":54977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:33:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:33:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:33:50] 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-04-26 23: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-04-26 23:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:33:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:33:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:33:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":54977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:33:50] local.INFO: GPS data processed {"connection_id":54977,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:33:50] local.INFO: Acknowledgment sent {"connection_id":54977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:34:13] local.INFO: TCP Data received {"connection_id":55884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:34:13] local.INFO: Processing buffer {"connection_id":55884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:34:13] local.INFO: IMEI packet received {"connection_id":55884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":55884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:34:18] local.INFO: TCP Data received {"connection_id":55884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:34:18] local.INFO: Processing buffer {"connection_id":55884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:34:18] local.INFO: IMEI packet received {"connection_id":55884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":55884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:34:19] local.INFO: TCP Data received {"connection_id":55884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:34:19] local.INFO: Processing buffer {"connection_id":55884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:34:19] local.INFO: Packet analysis {"connection_id":55884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:34:19] local.INFO: Extracted packet for processing {"connection_id":55884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:34:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:34:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:34:19] 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-04-26 23:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:34:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:34:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:34:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":55884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:34:19] local.INFO: GPS data processed {"connection_id":55884,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:34:19] local.INFO: Acknowledgment sent {"connection_id":55884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:34:50] local.INFO: TCP Data received {"connection_id":55884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:34:50] local.INFO: Processing buffer {"connection_id":55884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:34:50] local.INFO: Packet analysis {"connection_id":55884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:34:50] local.INFO: Extracted packet for processing {"connection_id":55884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:34:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:34:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:34:50] 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-04-26 23: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-04-26 23:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:34:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:34:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:34:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":55884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:34:50] local.INFO: GPS data processed {"connection_id":55884,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:34:50] local.INFO: Acknowledgment sent {"connection_id":55884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:35:12] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:35:12] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:35:12] local.INFO: IMEI packet received {"connection_id":55202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":55202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:35:17] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:35:17] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:35:17] local.INFO: IMEI packet received {"connection_id":55202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":55202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:35:18] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:35:18] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:35:18] local.INFO: Packet analysis {"connection_id":55202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:35:18] local.INFO: Extracted packet for processing {"connection_id":55202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:35:18] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:35:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:35:18] 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-04-26 23:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:35: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-04-26 23:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:35:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":55202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:35:18] local.INFO: GPS data processed {"connection_id":55202,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:35:18] local.INFO: Acknowledgment sent {"connection_id":55202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:35:49] local.INFO: TCP Data received {"connection_id":55202,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:35:49] local.INFO: Processing buffer {"connection_id":55202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:35:49] local.INFO: Packet analysis {"connection_id":55202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:35:49] local.INFO: Extracted packet for processing {"connection_id":55202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:35:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:35:49] 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-04-26 23: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-04-26 23:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:35: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-04-26 23:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:35:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:35:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:35:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":55202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:35:49] local.INFO: GPS data processed {"connection_id":55202,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:35:49] local.INFO: Acknowledgment sent {"connection_id":55202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:36:09] local.INFO: TCP Data received {"connection_id":55203,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:09] local.INFO: Processing buffer {"connection_id":55203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:09] local.INFO: IMEI packet received {"connection_id":55203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":55203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:36:12] local.INFO: TCP Data received {"connection_id":55885,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:36:12] local.INFO: Processing buffer {"connection_id":55885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:36:12] local.INFO: IMEI packet received {"connection_id":55885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":55885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:36:18] local.INFO: TCP Data received {"connection_id":55885,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:36:18] local.INFO: Processing buffer {"connection_id":55885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:36:18] local.INFO: IMEI packet received {"connection_id":55885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":55885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:36:19] local.INFO: TCP Data received {"connection_id":55885,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:36:19] local.INFO: Processing buffer {"connection_id":55885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:36:19] local.INFO: Packet analysis {"connection_id":55885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:36:19] local.INFO: Extracted packet for processing {"connection_id":55885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:36:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:36:19] 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-04-26 23: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-04-26 23:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:36:19] 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-04-26 23:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:36:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:36:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:36:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":55885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:36:19] local.INFO: GPS data processed {"connection_id":55885,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:36:19] local.INFO: Acknowledgment sent {"connection_id":55885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:36:38] local.INFO: TCP Data received {"connection_id":55134,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:38] local.INFO: Processing buffer {"connection_id":55134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:38] local.INFO: IMEI packet received {"connection_id":55134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":55134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:36:44] local.INFO: TCP Data received {"connection_id":55134,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:44] local.INFO: Processing buffer {"connection_id":55134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:36:44] local.INFO: IMEI packet received {"connection_id":55134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-26 23:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":55134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:36:45] local.INFO: TCP Data received {"connection_id":55134,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dcae449e0012cb29ac007822ea8004700da2c..."} 
[2026-04-26 23:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcae449e0012cb29ac007822ea8004700da2c..."} 
[2026-04-26 23:36:45] local.INFO: Processing buffer {"connection_id":55134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcae449e0012cb29ac007822ea8004700da2c..."} 
[2026-04-26 23:36:45] local.INFO: Packet analysis {"connection_id":55134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcae4"} 
[2026-04-26 23:36:45] local.INFO: Extracted packet for processing {"connection_id":55134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcae4"} 
[2026-04-26 23:36:45] local.INFO: GPS Element Parsed {"raw_longitude":749902528,"raw_latitude":125972136,"longitude_deg":74.9902528,"latitude_deg":12.5972136,"altitude":71,"angle":218,"satellites":44,"speed":0,"hex_longitude":"2cb29ac0","hex_latitude":"07822ea8","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969638656001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":107951073817264128,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5576934050063538176,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,184,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1777225452000,"timestamp_ms":1777225452000,"timestamp_seconds":1777225452,"priority":1,"record_length":96,"hex_timestamp":"0000019dcae449e0"} 
[2026-04-26 23:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:36:45] 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-04-26 23: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-26 23:36:45] 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-04-26 23: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-04-26 23:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":55134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":55134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 23:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":55134,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-26 23:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-26 23:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-26 23:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969638656001,"66":25104,"184":206,"85":36096,"24":0,"16":107951073817264128,"44":-5576934050063538176},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,184,85,24,16,44]} 
[2026-04-26 23:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-26 23:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-26 23:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969638656001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:36:45] local.INFO: Unknown IO ID detected {"io_id":184,"value":206,"description":"Unknown IO ID 184"} 
[2026-04-26 23:36:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":36096,"description":"Unknown IO ID 85"} 
[2026-04-26 23:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":107951073817264128,"km_value":107951073817264.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5576934050063538176,"description":"Unknown IO ID 44"} 
[2026-04-26 23:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969638656001,"power":25104,"unknown_184":206,"unknown_85":36096,"ignition":0,"odometer":null,"unknown_44":-5576934050063538176}} 
[2026-04-26 23:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":55134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:36:45] local.INFO: GPS data processed {"connection_id":55134,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:36:45] local.INFO: Acknowledgment sent {"connection_id":55134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:36:50] local.INFO: TCP Data received {"connection_id":55885,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:36:50] local.INFO: Processing buffer {"connection_id":55885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:36:50] local.INFO: Packet analysis {"connection_id":55885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:36:50] local.INFO: Extracted packet for processing {"connection_id":55885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:36:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:36:50] 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-04-26 23: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-04-26 23:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:36:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:36:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:36:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":55885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:36:50] local.INFO: GPS data processed {"connection_id":55885,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:36:50] local.INFO: Acknowledgment sent {"connection_id":55885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:37:18] local.INFO: TCP Data received {"connection_id":55204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:37:18] local.INFO: Processing buffer {"connection_id":55204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:37:18] local.INFO: IMEI packet received {"connection_id":55204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":55204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:37:23] local.INFO: TCP Data received {"connection_id":55204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:37:23] local.INFO: Processing buffer {"connection_id":55204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:37:23] local.INFO: IMEI packet received {"connection_id":55204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":55204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:37:24] local.INFO: TCP Data received {"connection_id":55204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:37:24] local.INFO: Processing buffer {"connection_id":55204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:37:24] local.INFO: Packet analysis {"connection_id":55204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:37:24] local.INFO: Extracted packet for processing {"connection_id":55204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:37:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:37:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:37:24] 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-04-26 23:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:37:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:37:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:37:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":55204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:37:24] local.INFO: GPS data processed {"connection_id":55204,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:37:24] local.INFO: Acknowledgment sent {"connection_id":55204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:37:28] local.INFO: TCP Data received {"connection_id":55204,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:37:28] local.INFO: Processing buffer {"connection_id":55204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf4b500012cb299c007822ce0004d00122c..."} 
[2026-04-26 23:37:28] local.INFO: Packet analysis {"connection_id":55204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:37:28] local.INFO: Extracted packet for processing {"connection_id":55204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf4"} 
[2026-04-26 23:37:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":77,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969914112001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:37:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777226528000,"timestamp_ms":1777226528000,"timestamp_seconds":1777226528,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf4b500"} 
[2026-04-26 23:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-26 23:37:28] 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-04-26 23:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:37:28] 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-04-26 23:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969914112001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969914112001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:37:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:37:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969914112001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":55204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:37:28] local.INFO: GPS data processed {"connection_id":55204,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:37:28] local.INFO: Acknowledgment sent {"connection_id":55204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:37:29] local.INFO: TCP Data received {"connection_id":54980,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:37:29] local.INFO: Processing buffer {"connection_id":54980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:37:29] local.INFO: IMEI packet received {"connection_id":54980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":54980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:38:13] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:38:13] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:38:13] local.INFO: IMEI packet received {"connection_id":55135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":55135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:38:18] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:38:18] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:38:18] local.INFO: IMEI packet received {"connection_id":55135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":55135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:38:19] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:38:19] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:38:19] local.INFO: Packet analysis {"connection_id":55135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:38:19] local.INFO: Extracted packet for processing {"connection_id":55135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:38:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:38:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:38:19] 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-04-26 23:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:38:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:38:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":55135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:38:19] local.INFO: GPS data processed {"connection_id":55135,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:38:19] local.INFO: Acknowledgment sent {"connection_id":55135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:38:50] local.INFO: TCP Data received {"connection_id":55135,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:38:50] local.INFO: Processing buffer {"connection_id":55135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:38:50] local.INFO: Packet analysis {"connection_id":55135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:38:50] local.INFO: Extracted packet for processing {"connection_id":55135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:38:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:38:50] 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-04-26 23: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-04-26 23:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:38: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-04-26 23:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:38:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":55135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:38:50] local.INFO: GPS data processed {"connection_id":55135,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:38:50] local.INFO: Acknowledgment sent {"connection_id":55135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:39:13] local.INFO: TCP Data received {"connection_id":55205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:39:13] local.INFO: Processing buffer {"connection_id":55205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:39:13] local.INFO: IMEI packet received {"connection_id":55205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":55205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:39:18] local.INFO: TCP Data received {"connection_id":55205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:39:18] local.INFO: Processing buffer {"connection_id":55205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:39:18] local.INFO: IMEI packet received {"connection_id":55205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":55205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:39:19] local.INFO: TCP Data received {"connection_id":55205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:39:19] local.INFO: Processing buffer {"connection_id":55205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:39:19] local.INFO: Packet analysis {"connection_id":55205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:39:19] local.INFO: Extracted packet for processing {"connection_id":55205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:39:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:39:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:39:19] 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-04-26 23: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-04-26 23:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23: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-04-26 23:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:39:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:39:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:39:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":55205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:39:19] local.INFO: GPS data processed {"connection_id":55205,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:39:19] local.INFO: Acknowledgment sent {"connection_id":55205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:39:50] local.INFO: TCP Data received {"connection_id":55205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:39:50] local.INFO: Processing buffer {"connection_id":55205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:39:50] local.INFO: Packet analysis {"connection_id":55205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:39:50] local.INFO: Extracted packet for processing {"connection_id":55205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:39:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:39:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:39:50] 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-04-26 23: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-04-26 23:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23: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-04-26 23:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:39:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:39:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:39:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":55205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:39:50] local.INFO: GPS data processed {"connection_id":55205,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:39:50] local.INFO: Acknowledgment sent {"connection_id":55205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:40:12] local.INFO: TCP Data received {"connection_id":55887,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:40:12] local.INFO: Processing buffer {"connection_id":55887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:40:12] local.INFO: IMEI packet received {"connection_id":55887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":55887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:40:18] local.INFO: TCP Data received {"connection_id":55887,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:40:18] local.INFO: Processing buffer {"connection_id":55887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:40:18] local.INFO: IMEI packet received {"connection_id":55887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":55887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:40:19] local.INFO: TCP Data received {"connection_id":55887,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:40:19] local.INFO: Processing buffer {"connection_id":55887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:40:19] local.INFO: Packet analysis {"connection_id":55887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:40:19] local.INFO: Extracted packet for processing {"connection_id":55887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:40:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:40:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:40:19] 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-04-26 23: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-04-26 23:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:40: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-04-26 23:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:40:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:40:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":55887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:40:19] local.INFO: GPS data processed {"connection_id":55887,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:40:19] local.INFO: Acknowledgment sent {"connection_id":55887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:40:50] local.INFO: TCP Data received {"connection_id":55887,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:40:50] local.INFO: Processing buffer {"connection_id":55887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:40:50] local.INFO: Packet analysis {"connection_id":55887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:40:50] local.INFO: Extracted packet for processing {"connection_id":55887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:40:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:40:50] 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-04-26 23:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:40: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-04-26 23:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:40:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":55887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:40:50] local.INFO: GPS data processed {"connection_id":55887,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:40:50] local.INFO: Acknowledgment sent {"connection_id":55887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:41:12] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:41:12] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:41:12] local.INFO: IMEI packet received {"connection_id":55206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":55206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:41:18] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:41:18] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:41:18] local.INFO: IMEI packet received {"connection_id":55206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":55206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:41:19] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:41:19] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:41:19] local.INFO: Packet analysis {"connection_id":55206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:41:19] local.INFO: Extracted packet for processing {"connection_id":55206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:41:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:41: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-04-26 23:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:41:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:41: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:41:19] 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-04-26 23:41: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-04-26 23:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:41:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:41:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:41:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":55206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:41:19] local.INFO: GPS data processed {"connection_id":55206,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:41:19] local.INFO: Acknowledgment sent {"connection_id":55206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:41:50] local.INFO: TCP Data received {"connection_id":55206,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:41:50] local.INFO: Processing buffer {"connection_id":55206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:41:50] local.INFO: Packet analysis {"connection_id":55206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:41:50] local.INFO: Extracted packet for processing {"connection_id":55206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:41:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:41:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:41:50] 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-04-26 23: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-04-26 23:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:41:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:41:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:41:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":55206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:41:50] local.INFO: GPS data processed {"connection_id":55206,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:41:50] local.INFO: Acknowledgment sent {"connection_id":55206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:42:18] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:42:18] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:42:18] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:42:23] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:42:23] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:42:23] local.INFO: IMEI packet received {"connection_id":54982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":54982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:42:24] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:42:24] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:42:24] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:42:24] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:42:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:42:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:42:24] 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-04-26 23:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:42:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:42:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:42:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:42:24] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:42:24] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:42:28] local.INFO: TCP Data received {"connection_id":54982,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:42:28] local.INFO: Processing buffer {"connection_id":54982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcaf94cc8012cb299c007822ce0005300122d..."} 
[2026-04-26 23:42:28] local.INFO: Packet analysis {"connection_id":54982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:42:28] local.INFO: Extracted packet for processing {"connection_id":54982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcaf9"} 
[2026-04-26 23:42:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":83,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454969991168001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:42:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777226829000,"timestamp_ms":1777226829000,"timestamp_seconds":1777226829,"priority":1,"record_length":96,"hex_timestamp":"0000019dcaf94cc8"} 
[2026-04-26 23:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:42:28] 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-04-26 23:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:42:28] 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-04-26 23:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454969991168001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454969991168001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:42:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:42:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454969991168001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":54982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:42:28] local.INFO: GPS data processed {"connection_id":54982,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:42:28] local.INFO: Acknowledgment sent {"connection_id":54982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:42:49] local.INFO: TCP Data received {"connection_id":55889,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:42:49] local.INFO: Processing buffer {"connection_id":55889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:42:49] local.INFO: IMEI packet received {"connection_id":55889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":55889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:43:13] local.INFO: TCP Data received {"connection_id":55137,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:43:13] local.INFO: Processing buffer {"connection_id":55137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:43:13] local.INFO: IMEI packet received {"connection_id":55137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":55137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:43:18] local.INFO: TCP Data received {"connection_id":55137,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:43:18] local.INFO: Processing buffer {"connection_id":55137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:43:18] local.INFO: IMEI packet received {"connection_id":55137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":55137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:43:19] local.INFO: TCP Data received {"connection_id":55137,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:43:19] local.INFO: Processing buffer {"connection_id":55137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:43:19] local.INFO: Packet analysis {"connection_id":55137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:43:19] local.INFO: Extracted packet for processing {"connection_id":55137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:43:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:43:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:43:19] 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-04-26 23: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-04-26 23:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:43:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:43:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:43:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":55137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:43:19] local.INFO: GPS data processed {"connection_id":55137,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:43:19] local.INFO: Acknowledgment sent {"connection_id":55137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:43:50] local.INFO: TCP Data received {"connection_id":55137,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:43:50] local.INFO: Processing buffer {"connection_id":55137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:43:50] local.INFO: Packet analysis {"connection_id":55137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:43:50] local.INFO: Extracted packet for processing {"connection_id":55137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:43:50] 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-04-26 23:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:43:50] 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-04-26 23:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:43:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:43:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":55137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:43:50] local.INFO: GPS data processed {"connection_id":55137,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:43:50] local.INFO: Acknowledgment sent {"connection_id":55137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:44:12] local.INFO: TCP Data received {"connection_id":55138,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:44:12] local.INFO: Processing buffer {"connection_id":55138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:44:12] local.INFO: IMEI packet received {"connection_id":55138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":55138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:44:18] local.INFO: TCP Data received {"connection_id":55138,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:44:18] local.INFO: Processing buffer {"connection_id":55138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:44:18] local.INFO: IMEI packet received {"connection_id":55138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":55138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:44:19] local.INFO: TCP Data received {"connection_id":55138,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:44:19] local.INFO: Processing buffer {"connection_id":55138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:44:19] local.INFO: Packet analysis {"connection_id":55138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:44:19] local.INFO: Extracted packet for processing {"connection_id":55138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:44:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:44:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:44:19] 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-04-26 23:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:44:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:44:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:44:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":55138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:44:19] local.INFO: GPS data processed {"connection_id":55138,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:44:19] local.INFO: Acknowledgment sent {"connection_id":55138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:44:50] local.INFO: TCP Data received {"connection_id":55138,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:44:50] local.INFO: Processing buffer {"connection_id":55138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:44:50] local.INFO: Packet analysis {"connection_id":55138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:44:50] local.INFO: Extracted packet for processing {"connection_id":55138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:44:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:44:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:44:50] 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-04-26 23: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-04-26 23:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:44:50] 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-04-26 23:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:44:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:44:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:44:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":55138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:44:50] local.INFO: GPS data processed {"connection_id":55138,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:44:50] local.INFO: Acknowledgment sent {"connection_id":55138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:45:12] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:45:12] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:45:12] local.INFO: IMEI packet received {"connection_id":55139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":55139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:45:18] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:45:18] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:45:18] local.INFO: IMEI packet received {"connection_id":55139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":55139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:45:19] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:45:19] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:45:19] local.INFO: Packet analysis {"connection_id":55139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:45:19] local.INFO: Extracted packet for processing {"connection_id":55139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:45:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:45:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:45:19] 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-04-26 23: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-04-26 23:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:45:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:45:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:45:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":55139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:45:19] local.INFO: GPS data processed {"connection_id":55139,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:45:19] local.INFO: Acknowledgment sent {"connection_id":55139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:45:50] local.INFO: TCP Data received {"connection_id":55139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:45:50] local.INFO: Processing buffer {"connection_id":55139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:45:50] local.INFO: Packet analysis {"connection_id":55139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:45:50] local.INFO: Extracted packet for processing {"connection_id":55139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:45:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:45:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:45:50] 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-04-26 23:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:45:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:45:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:45:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":55139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:45:50] local.INFO: GPS data processed {"connection_id":55139,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:45:50] local.INFO: Acknowledgment sent {"connection_id":55139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:46:18] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:46:18] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:46:18] local.INFO: IMEI packet received {"connection_id":54985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":54985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:46:23] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:46:23] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:46:23] local.INFO: IMEI packet received {"connection_id":54985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":54985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:46:24] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:46:24] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:46:24] local.INFO: Packet analysis {"connection_id":54985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:46:24] local.INFO: Extracted packet for processing {"connection_id":54985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:46:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:46:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:46:24] 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-04-26 23: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-04-26 23:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":54985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:46:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:46:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:46:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":54985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:46:24] local.INFO: GPS data processed {"connection_id":54985,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:46:24] local.INFO: Acknowledgment sent {"connection_id":54985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:46:28] local.INFO: TCP Data received {"connection_id":54985,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:46:28] local.INFO: Processing buffer {"connection_id":54985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:46:28] local.INFO: Packet analysis {"connection_id":54985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:46:28] local.INFO: Extracted packet for processing {"connection_id":54985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:46:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:46:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:46:28] 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-04-26 23:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":54985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":54985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:46:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:46:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":54985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:46:28] local.INFO: GPS data processed {"connection_id":54985,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:46:28] local.INFO: Acknowledgment sent {"connection_id":54985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:47:13] local.INFO: TCP Data received {"connection_id":55207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:47:13] local.INFO: Processing buffer {"connection_id":55207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:47:13] local.INFO: IMEI packet received {"connection_id":55207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":55207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:47:18] local.INFO: TCP Data received {"connection_id":55207,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:47:18] local.INFO: Processing buffer {"connection_id":55207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:47:18] local.INFO: IMEI packet received {"connection_id":55207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":55207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:47:19] local.INFO: TCP Data received {"connection_id":55207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:47:19] local.INFO: Processing buffer {"connection_id":55207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcafde490012cb299c007822ce0005200122c..."} 
[2026-04-26 23:47:19] local.INFO: Packet analysis {"connection_id":55207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:47:19] local.INFO: Extracted packet for processing {"connection_id":55207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcafd"} 
[2026-04-26 23:47:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":82,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970068224001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:47:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227130000,"timestamp_ms":1777227130000,"timestamp_seconds":1777227130,"priority":1,"record_length":96,"hex_timestamp":"0000019dcafde490"} 
[2026-04-26 23:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:47:19] 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-04-26 23:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970068224001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970068224001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:47:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:47:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:47:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970068224001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":55207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:47:19] local.INFO: GPS data processed {"connection_id":55207,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:47:19] local.INFO: Acknowledgment sent {"connection_id":55207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:47:50] local.INFO: TCP Data received {"connection_id":55207,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:47:50] local.INFO: Processing buffer {"connection_id":55207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:47:50] local.INFO: Packet analysis {"connection_id":55207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:47:50] local.INFO: Extracted packet for processing {"connection_id":55207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:47:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:47:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:47:50] 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-04-26 23:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:47: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-04-26 23:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:47:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:47:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:47:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":55207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:47:50] local.INFO: GPS data processed {"connection_id":55207,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:47:50] local.INFO: Acknowledgment sent {"connection_id":55207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:48:18] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:48:18] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:48:18] local.INFO: IMEI packet received {"connection_id":55141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":55141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:48:23] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:48:23] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:48:23] local.INFO: IMEI packet received {"connection_id":55141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":55141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:48:24] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:48:24] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:48:24] local.INFO: Packet analysis {"connection_id":55141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:48:24] local.INFO: Extracted packet for processing {"connection_id":55141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:48:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:48:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:48:24] 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-04-26 23:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:48:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:48:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:48:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":55141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:48:24] local.INFO: GPS data processed {"connection_id":55141,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:48:24] local.INFO: Acknowledgment sent {"connection_id":55141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:48:38] local.INFO: TCP Data received {"connection_id":55892,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:48:38] local.INFO: Processing buffer {"connection_id":55892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:48:38] local.INFO: IMEI packet received {"connection_id":55892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":55892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:48:55] local.INFO: TCP Data received {"connection_id":55141,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:48:55] local.INFO: Processing buffer {"connection_id":55141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:48:55] local.INFO: Packet analysis {"connection_id":55141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:48:55] local.INFO: Extracted packet for processing {"connection_id":55141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:48:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:48:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:48:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:48:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":55141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:48:55] local.INFO: GPS data processed {"connection_id":55141,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:48:55] local.INFO: Acknowledgment sent {"connection_id":55141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:49:13] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:49:13] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:49:13] local.INFO: IMEI packet received {"connection_id":55208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":55208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:49:18] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:49:18] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:49:18] local.INFO: IMEI packet received {"connection_id":55208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":55208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:49:19] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:49:19] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:49:19] local.INFO: Packet analysis {"connection_id":55208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:49:19] local.INFO: Extracted packet for processing {"connection_id":55208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:49:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:49:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:49:19] 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-04-26 23:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:49:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:49:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:49:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":55208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:49:19] local.INFO: GPS data processed {"connection_id":55208,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:49:19] local.INFO: Acknowledgment sent {"connection_id":55208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:49:50] local.INFO: TCP Data received {"connection_id":55208,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:49:50] local.INFO: Processing buffer {"connection_id":55208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:49:50] local.INFO: Packet analysis {"connection_id":55208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:49:50] local.INFO: Extracted packet for processing {"connection_id":55208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:49:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:49:50] 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-04-26 23: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-04-26 23:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:49:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:49:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":55208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:49:50] local.INFO: GPS data processed {"connection_id":55208,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:49:50] local.INFO: Acknowledgment sent {"connection_id":55208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:50:13] local.INFO: TCP Data received {"connection_id":55894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:50:13] local.INFO: Processing buffer {"connection_id":55894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:50:13] local.INFO: IMEI packet received {"connection_id":55894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":55894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:50:18] local.INFO: TCP Data received {"connection_id":55894,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:50:18] local.INFO: Processing buffer {"connection_id":55894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:50:18] local.INFO: IMEI packet received {"connection_id":55894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":55894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:50:19] local.INFO: TCP Data received {"connection_id":55894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:50:19] local.INFO: Processing buffer {"connection_id":55894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:50:19] local.INFO: Packet analysis {"connection_id":55894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:50:19] local.INFO: Extracted packet for processing {"connection_id":55894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:50:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:50:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:50:19] 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-04-26 23: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-04-26 23:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:50:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:50:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:50:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":55894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:50:19] local.INFO: GPS data processed {"connection_id":55894,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:50:19] local.INFO: Acknowledgment sent {"connection_id":55894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:50:50] local.INFO: TCP Data received {"connection_id":55894,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:50:50] local.INFO: Processing buffer {"connection_id":55894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:50:50] local.INFO: Packet analysis {"connection_id":55894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:50:50] local.INFO: Extracted packet for processing {"connection_id":55894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:50:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:50:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:50:50] 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-04-26 23:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:50:50] 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-04-26 23:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:50:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:50:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:50:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":55894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:50:50] local.INFO: GPS data processed {"connection_id":55894,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:50:50] local.INFO: Acknowledgment sent {"connection_id":55894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:51:12] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:51:12] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:51:12] local.INFO: IMEI packet received {"connection_id":55142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":55142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:51:18] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:51:18] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:51:18] local.INFO: IMEI packet received {"connection_id":55142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":55142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:51:19] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:51:19] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:51:19] local.INFO: Packet analysis {"connection_id":55142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:51:19] local.INFO: Extracted packet for processing {"connection_id":55142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:51:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 23:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:51:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 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-04-26 23:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:51:19] 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-04-26 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-04-26 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-04-26 23:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:51:19] 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-04-26 23:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:51:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:51:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:51:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":55142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:51:19] local.INFO: GPS data processed {"connection_id":55142,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:51:19] local.INFO: Acknowledgment sent {"connection_id":55142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:51:50] local.INFO: TCP Data received {"connection_id":55142,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:51:50] local.INFO: Processing buffer {"connection_id":55142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:51:50] local.INFO: Packet analysis {"connection_id":55142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:51:50] local.INFO: Extracted packet for processing {"connection_id":55142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:51:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:51:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:51:50] 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-04-26 23: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-04-26 23:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:51:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:51:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:51:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":55142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:51:50] local.INFO: GPS data processed {"connection_id":55142,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:51:50] local.INFO: Acknowledgment sent {"connection_id":55142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:52:12] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:52:12] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:52:12] local.INFO: IMEI packet received {"connection_id":54986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":54986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:52:18] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:52:18] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:52:18] local.INFO: IMEI packet received {"connection_id":54986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":54986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:52:19] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:52:19] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:52:19] local.INFO: Packet analysis {"connection_id":54986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:52:19] local.INFO: Extracted packet for processing {"connection_id":54986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:52: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-04-26 23:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:52:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:52: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":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:52:19] 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-04-26 23:52: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-04-26 23:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:52:19] 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-04-26 23:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:52:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:52:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:52:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":54986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:52:19] local.INFO: GPS data processed {"connection_id":54986,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:52:19] local.INFO: Acknowledgment sent {"connection_id":54986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:52:50] local.INFO: TCP Data received {"connection_id":54986,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:52:50] local.INFO: Processing buffer {"connection_id":54986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb027c58012cb299c007822ce00055001229..."} 
[2026-04-26 23:52:50] local.INFO: Packet analysis {"connection_id":54986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:52:50] local.INFO: Extracted packet for processing {"connection_id":54986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb02"} 
[2026-04-26 23:52:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":85,"angle":18,"satellites":41,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970145280001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227431000,"timestamp_ms":1777227431000,"timestamp_seconds":1777227431,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb027c58"} 
[2026-04-26 23:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:52:50] 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-04-26 23:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970145280001,"66":25147,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970145280001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:52:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970145280001,"power":25147,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":54986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:52:50] local.INFO: GPS data processed {"connection_id":54986,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:52:50] local.INFO: Acknowledgment sent {"connection_id":54986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:53:18] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:53:18] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:53:18] local.INFO: IMEI packet received {"connection_id":55211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":55211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:53:23] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:53:23] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:53:23] local.INFO: IMEI packet received {"connection_id":55211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":55211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:53:24] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:53:24] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:53:24] local.INFO: Packet analysis {"connection_id":55211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:53:24] local.INFO: Extracted packet for processing {"connection_id":55211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:53:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:53:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:53:24] 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-04-26 23:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:53:24] 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-04-26 23:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:53:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:53:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:53:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":55211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:53:24] local.INFO: GPS data processed {"connection_id":55211,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:53:24] local.INFO: Acknowledgment sent {"connection_id":55211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:53:55] local.INFO: TCP Data received {"connection_id":55211,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:53:55] local.INFO: Processing buffer {"connection_id":55211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:53:55] local.INFO: Packet analysis {"connection_id":55211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:53:55] local.INFO: Extracted packet for processing {"connection_id":55211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:53:55] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:53:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:53:55] 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-04-26 23:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23: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-04-26 23:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":55211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":55211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:53:55] 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-04-26 23:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:53:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:53:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:53:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":55211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:53:55] local.INFO: GPS data processed {"connection_id":55211,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:53:55] local.INFO: Acknowledgment sent {"connection_id":55211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:53:59] local.INFO: TCP Data received {"connection_id":55895,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:53:59] local.INFO: Processing buffer {"connection_id":55895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:53:59] local.INFO: IMEI packet received {"connection_id":55895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":55895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:54:12] local.INFO: TCP Data received {"connection_id":55896,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:54:12] local.INFO: Processing buffer {"connection_id":55896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:54:12] local.INFO: IMEI packet received {"connection_id":55896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":55896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:54:18] local.INFO: TCP Data received {"connection_id":55896,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:54:18] local.INFO: Processing buffer {"connection_id":55896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:54:18] local.INFO: IMEI packet received {"connection_id":55896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":55896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:54:19] local.INFO: TCP Data received {"connection_id":55896,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:54:19] local.INFO: Processing buffer {"connection_id":55896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:54:19] local.INFO: Packet analysis {"connection_id":55896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:54:19] local.INFO: Extracted packet for processing {"connection_id":55896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:54:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:54:19] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:54:19] 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-04-26 23: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-04-26 23:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23: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-04-26 23:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:54:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:54:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":55896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:54:19] local.INFO: GPS data processed {"connection_id":55896,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:54:19] local.INFO: Acknowledgment sent {"connection_id":55896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:54:39] local.INFO: TCP Data received {"connection_id":55897,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:54:39] local.INFO: Processing buffer {"connection_id":55897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-26 23:54:39] local.INFO: IMEI packet received {"connection_id":55897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-26 23:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":55897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:54:50] local.INFO: TCP Data received {"connection_id":55896,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:54:50] local.INFO: Processing buffer {"connection_id":55896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:54:50] local.INFO: Packet analysis {"connection_id":55896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:54:50] local.INFO: Extracted packet for processing {"connection_id":55896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:54:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:54:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:54:50] 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-04-26 23:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:54:50] 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-04-26 23:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:54: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-04-26 23:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:54:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:54:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:54:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":55896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:54:50] local.INFO: GPS data processed {"connection_id":55896,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:54:50] local.INFO: Acknowledgment sent {"connection_id":55896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:55:12] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:55:12] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:55:12] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:55:17] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:55:17] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:55:17] local.INFO: IMEI packet received {"connection_id":55144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":55144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:55:18] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:55:18] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:55:18] local.INFO: Packet analysis {"connection_id":55144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:55:18] local.INFO: Extracted packet for processing {"connection_id":55144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:55:18] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:55:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:55:18] 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-04-26 23:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":55144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:55:18] 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-04-26 23:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:55:18] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:55:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":55144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:55:18] local.INFO: GPS data processed {"connection_id":55144,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:55:18] local.INFO: Acknowledgment sent {"connection_id":55144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:55:49] local.INFO: TCP Data received {"connection_id":55144,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:55:49] local.INFO: Processing buffer {"connection_id":55144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:55:49] local.INFO: Packet analysis {"connection_id":55144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:55:49] local.INFO: Extracted packet for processing {"connection_id":55144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:55:49] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 23:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:55:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 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-04-26 23:55:49] 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-04-26 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:55:49] 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-04-26 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-04-26 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-04-26 23:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":55144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":55144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:55:49] 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-04-26 23:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:55:49] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:55:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:55:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":55144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:55:49] local.INFO: GPS data processed {"connection_id":55144,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:55:49] local.INFO: Acknowledgment sent {"connection_id":55144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:56:18] local.INFO: TCP Data received {"connection_id":55899,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:56:18] local.INFO: Processing buffer {"connection_id":55899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:56:18] local.INFO: IMEI packet received {"connection_id":55899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":55899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:56:23] local.INFO: TCP Data received {"connection_id":55899,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:56:23] local.INFO: Processing buffer {"connection_id":55899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:56:23] local.INFO: IMEI packet received {"connection_id":55899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":55899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:56:24] local.INFO: TCP Data received {"connection_id":55899,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:56:24] local.INFO: Processing buffer {"connection_id":55899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:56:24] local.INFO: Packet analysis {"connection_id":55899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:56:24] local.INFO: Extracted packet for processing {"connection_id":55899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:56:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:56:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:56:24] 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-04-26 23:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:56:24] 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-04-26 23:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:56:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:56:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:56:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":55899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:56:24] local.INFO: GPS data processed {"connection_id":55899,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:56:24] local.INFO: Acknowledgment sent {"connection_id":55899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:56:28] local.INFO: TCP Data received {"connection_id":55899,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:56:28] local.INFO: Processing buffer {"connection_id":55899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:56:28] local.INFO: Packet analysis {"connection_id":55899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:56:28] local.INFO: Extracted packet for processing {"connection_id":55899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:56:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:56:28] 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-04-26 23:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:56:28] 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-04-26 23:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:56:28] 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-04-26 23:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:56:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:56:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":55899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:56:28] local.INFO: GPS data processed {"connection_id":55899,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:56:28] local.INFO: Acknowledgment sent {"connection_id":55899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:57:13] local.INFO: TCP Data received {"connection_id":54987,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:57:13] local.INFO: Processing buffer {"connection_id":54987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:57:13] local.INFO: IMEI packet received {"connection_id":54987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":54987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:57:18] local.INFO: TCP Data received {"connection_id":54987,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:57:18] local.INFO: Processing buffer {"connection_id":54987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:57:18] local.INFO: IMEI packet received {"connection_id":54987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":54987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:57:19] local.INFO: TCP Data received {"connection_id":54987,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:57:19] local.INFO: Processing buffer {"connection_id":54987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:57:19] local.INFO: Packet analysis {"connection_id":54987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:57:19] local.INFO: Extracted packet for processing {"connection_id":54987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:57:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:57:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:57:19] 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-04-26 23:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:57:19] 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-04-26 23:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":54987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":54987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":54987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:57:19] 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-04-26 23:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:57:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:57:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:57:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":54987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:57:19] local.INFO: GPS data processed {"connection_id":54987,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:57:19] local.INFO: Acknowledgment sent {"connection_id":54987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:57:50] local.INFO: TCP Data received {"connection_id":54987,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":54987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:57:50] local.INFO: Processing buffer {"connection_id":54987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb071420012cb299c007822ce0004f00122d..."} 
[2026-04-26 23:57:50] local.INFO: Packet analysis {"connection_id":54987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:57:50] local.INFO: Extracted packet for processing {"connection_id":54987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb07"} 
[2026-04-26 23:57:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":79,"angle":18,"satellites":45,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970222336001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:57:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777227732000,"timestamp_ms":1777227732000,"timestamp_seconds":1777227732,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb071420"} 
[2026-04-26 23:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:57:50] 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-04-26 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-26 23:57:50] 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-04-26 23: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-04-26 23:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":54987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":54987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":54987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:57:50] 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-04-26 23:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970222336001,"66":25093,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970222336001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:57:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:57:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:57:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970222336001,"power":25093,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":54987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:57:50] local.INFO: GPS data processed {"connection_id":54987,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:57:50] local.INFO: Acknowledgment sent {"connection_id":54987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:58:18] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:58:18] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:58:18] local.INFO: IMEI packet received {"connection_id":55146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":55146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:58:23] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:58:23] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:58:23] local.INFO: IMEI packet received {"connection_id":55146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":55146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:58:24] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:58:24] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:58:24] local.INFO: Packet analysis {"connection_id":55146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:58:24] local.INFO: Extracted packet for processing {"connection_id":55146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:58:24] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 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-04-26 23:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970299392001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:58:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1777228033000,"timestamp_ms":1777228033000,"timestamp_seconds":1777228033,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb0babe8"} 
[2026-04-26 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-04-26 23:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 23:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 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-04-26 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-04-26 23:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":55146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:58: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-04-26 23:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970299392001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970299392001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:58:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:58:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:58:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970299392001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":55146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:58:24] local.INFO: GPS data processed {"connection_id":55146,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:58:24] local.INFO: Acknowledgment sent {"connection_id":55146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:58:28] local.INFO: TCP Data received {"connection_id":55146,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:58:28] local.INFO: Processing buffer {"connection_id":55146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:58:28] local.INFO: Packet analysis {"connection_id":55146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:58:28] local.INFO: Extracted packet for processing {"connection_id":55146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970299392001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:58:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1777228033000,"timestamp_ms":1777228033000,"timestamp_seconds":1777228033,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb0babe8"} 
[2026-04-26 23:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 23:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":55146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":55146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:58: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-04-26 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970299392001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970299392001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:58:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:58:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970299392001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":55146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:58:28] local.INFO: GPS data processed {"connection_id":55146,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:58:28] local.INFO: Acknowledgment sent {"connection_id":55146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:59:12] local.INFO: TCP Data received {"connection_id":55900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:59:12] local.INFO: Processing buffer {"connection_id":55900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:59:12] local.INFO: IMEI packet received {"connection_id":55900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-26 23:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":55900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-26 23:59:18] local.INFO: TCP Data received {"connection_id":55900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:59:18] local.INFO: Processing buffer {"connection_id":55900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-26 23:59:18] local.INFO: IMEI packet received {"connection_id":55900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-26 23:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":55900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-26 23:59:19] local.INFO: TCP Data received {"connection_id":55900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:59:19] local.INFO: Processing buffer {"connection_id":55900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:59:19] local.INFO: Packet analysis {"connection_id":55900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:59:19] local.INFO: Extracted packet for processing {"connection_id":55900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:59:19] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23: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-04-26 23:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970299392001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:59:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1777228033000,"timestamp_ms":1777228033000,"timestamp_seconds":1777228033,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb0babe8"} 
[2026-04-26 23:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 23:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23: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-04-26 23:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":55900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":55900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":55900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970299392001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970299392001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:59:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:59:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:59:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970299392001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":55900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:59:19] local.INFO: GPS data processed {"connection_id":55900,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:59:19] local.INFO: Acknowledgment sent {"connection_id":55900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-26 23:59:50] local.INFO: TCP Data received {"connection_id":55900,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":55900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:59:50] local.INFO: Processing buffer {"connection_id":55900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019dcb0babe8012cb299c007822ce0004e00122c..."} 
[2026-04-26 23:59:50] local.INFO: Packet analysis {"connection_id":55900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:59:50] local.INFO: Extracted packet for processing {"connection_id":55900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019dcb0b"} 
[2026-04-26 23:59:50] local.INFO: GPS Element Parsed {"raw_longitude":749902272,"raw_latitude":125971680,"longitude_deg":74.9902272,"latitude_deg":12.597168,"altitude":78,"angle":18,"satellites":44,"speed":0,"hex_longitude":"2cb299c0","hex_latitude":"07822ce0","is_valid_coordinates":true} 
[2026-04-26 23:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-26 23:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454970299392001,"note":"Value kept but may cause issues"} 
[2026-04-26 23:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":280450575470952448,"note":"Value kept but may cause issues"} 
[2026-04-26 23:59:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5577215525040365568,"note":"Value kept but may cause issues"} 
[2026-04-26 23:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-26 23:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1777228033000,"timestamp_ms":1777228033000,"timestamp_seconds":1777228033,"priority":1,"record_length":96,"hex_timestamp":"0000019dcb0babe8"} 
[2026-04-26 23:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-26 23:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-26 23:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-26 23:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-26 23:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-26 23:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-26 23:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-26 23:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":55900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-26 23:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":55900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":55900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-26 23:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-26 23:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-26 23:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-26 23:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454970299392001,"66":25158,"221":206,"85":36864,"24":0,"16":280450575470952448,"44":-5577215525040365568},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,44]} 
[2026-04-26 23:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-26 23:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-26 23:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454970299392001,"description":"Unknown IO ID 0"} 
[2026-04-26 23:59:50] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-04-26 23:59:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-04-26 23:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":280450575470952448,"km_value":280450575470952.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-26 23:59:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5577215525040365568,"description":"Unknown IO ID 44"} 
[2026-04-26 23:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454970299392001,"power":25158,"unknown_221":206,"unknown_85":36864,"ignition":0,"odometer":null,"unknown_44":-5577215525040365568}} 
[2026-04-26 23:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":55900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":67094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-26 23:59:50] local.INFO: GPS data processed {"connection_id":55900,"processed":1,"errors":0,"total":1} 
[2026-04-26 23:59:50] local.INFO: Acknowledgment sent {"connection_id":55900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
